-
Notifications
You must be signed in to change notification settings - Fork 894
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
Internal Yosys nodes not removed #4738
Comments
If you enclose your script in three backticks (```) on the line before and after github won't try to expand it as markdown which is why it looks like you have big headers throughout the commands. Without an actual testcase its hard to check exactly what behaviour you are seeing/expecting. At a guess, this may be the same bug as #4712 which causes some processes not to be lowered correctly. Could you check if a build of Yosys with #4714 applied fixes it? If not, it would be helpful if you could provide a reproducible testcase (including inputs etc needed to reproduce this issue). |
Thank you for the quick reply. If you want I can share the test link with you. But I need to give me your email, then I can share the link with you. |
Were you able to check if the pull request I linked fixes your issues? I think that would be a good starting point as this issue looks very similar to the issue that that pr fixes.
I'm afraid that is probably more hassle than I am willing to go to for this, I don't have openroad installed and it is much easier for people looking at this issue later on if the reproducer can be attached to the github issue. If you are able to create a small reproducer that shows the same behaviour (perhaps start by trying to extract the definition of |
I updated to |
That PR is not yet merged into main so a22ff47 does not contain the patch. If you have the github cli installed you can check it out by doing Assuming you have YosysHQ/yosys setup as a remote called origin (which is the default if you just
|
|
Ahh that is frustrating, I suppose you can send it to georgerennie (at) gmail.com and I can try to have a look at it (or at least creating a reproducer that can be shared without giving away design details) |
I sent you files. |
The issue is with latches, which become |
Version
Yosys 0.47+46 (git sha1 9da7341, g++ 11.4.0-1ubuntu1~22.04 -fPIC -O3)
On which OS did this happen?
Linux
Reproduction Steps
I used custom library:
Expected Behavior
Eliminate internal nodes
Actual Behavior
reg par3;
(* src = "./designs/qr_encoding_4x4_15_11/verilog/qr_encoding_4x4_15_11.v:26.9-26.13" *)
reg par4;
These internal nodes are appeared in the synthesized verilog code
So Openroad returns this error:
[ERROR STA-0164] ./designs/qr_encoding_4x4_15_11/results/run/synth_qr_encoding_4x4_15_11.v line 139, syntax error
The text was updated successfully, but these errors were encountered: