-
Notifications
You must be signed in to change notification settings - Fork 910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
splitcells
causes an assert failure
#4909
Labels
Comments
Thank you for responsibly submitting a fuzzer-generated testcase! At a glance it looks short enough to dig into, although if you could use the |
No worries! I've just minimised it using
Should be reproducible with:
|
Yep, perfect! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
Yosys 0.50+7 (git sha1 9d3ab96, ccache clang++ 19.1.7 -Og -fPIC)
On which OS did this happen?
Linux
Reproduction Steps
The following Verilog sample,
3510.v
, causes thesplitcells
command to fail with an assert failure.Please let me know if the above sample is too long, and I will have a go at reducing it further.
Use the following script:
This was discovered because I have been using the Verismith fuzzer to find bugs in the Yosys pass I'm writing for my thesis, which incidentally discovered this bug, which I believe is an upstream issue.
Expected Behavior
The
splitcells
command should not cause an assert failure.Actual Behavior
Yosys crashes with the following assert failure:
This is what I believe is the relevant backtrace:
The text was updated successfully, but these errors were encountered: