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
synth_ice40 -abc9 fails assertion `(int)Aig_Regular(pObjNew)->Level <= Required' #1561
Comments
Can repro on master (ecb0c68). Am suspecting an upstream abc issue... EDIT: Yosys' abc is 33 commits behind upstream abc master. I can also reproduce this on same Yosys + abc master (berkeley-abc/abc@24d9ce6) EDIT2: Problem goes away if |
@eddyb Actually before I report this upstream, can you try and minimise the number of |
@eddiehung I'm not sure I can reduce this, as decreasing the main parameter (number of decimal digits, which leads to the bitwidths I mentioned before), or removing the division by 3, results in success. Here's the source |
Reported upstream: berkeley-abc/abc#61 |
Can still reproduce this on the latest master 5ebdc0f |
It's now 2021 and I just hit this again while working on multiplier inference for QuickLogic... |
I attempted to reduce the testcase with |
Some more information that might be useful: if I replace the timings in |
Can no longer reproduce with linked top.il + top.ys on b2e9717. Closing for now. |
Steps to reproduce the issue
See
top.il
+top.ys
.TODO: check this(only tried it onYosys 0.9+932 (git sha1 3c41599ee1, g++ 8.3.0 -fPIC -Os)
)EDIT: confirmed by @eddiehung, see below.
Expected behavior
Should succeed, worst case with an error because it can't fit the 24-bit division by 3, into an
iCEstick
.Smaller sizes, such as 17-bit or 20-bit do succeed and perform correctly AFAICT, with
-abc9
.EDIT: 27-bit works as well, which was surprising to me, as I assumed larger bitwidths would only aggravate the issue, but apparently not.
Actual behavior
Crashes with:
The text was updated successfully, but these errors were encountered: