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
yosys exit with gf180mcu full liberty files #1535
Comments
@kareefardi |
Yes designs will pass. Sorry, I forgot to mention that this happens when setting |
I have this issue too. I have a dead-simple design which tries to instantiate a single mux4_1:
Following the OpenLane instructions I set
and the flow crashes with:
|
@growly A fix was deployed in the pdk sources and will be propagated to openlane. Until then, you can use |
2 of my submissions for GF180MPW#0 seem to be blocked by this issue, is there a way that I can fix that liberty file it in my local environment directly? |
@kareefardi adding What version of OpenLane will include the fix? |
A workaround I've been using is to add eg in config.tcl
Populate the verilog file with blackbox module of the cells you're using like so, this should keep yosys happy.
You could also add this file under you standard verilog sources due to |
The current pdk and openlane versions should fix the problem. Let me know if it sill persists. |
I wasn't solved me yet, so I have manually replaced !RN with "!RN" and !SETN with "!SETN" in all the *.lib files in the gf180mcuC PDK, and that solved the issue. |
It seems that Liberty files can be parsed with just a alphanumeric names, but as soon as you use the ! operator you need "" around the expression. |
@thesourcerer8 what you are describing is the patch that got applied to the pdk. Are you sure you are using the latest version of the pdk? |
Ah, so I somehow didn't succeed to update the pdk properly. |
Description
yosys exits with a syntax error
Expected Behavior
yosys passing
Environment report
Reproduction material
issue_reproducible.tar.gz
Relevant log output
Reading /openlane/designs/spm/runs/missing-func/tmp/synthesis/1-gf180mcu_fd_sc_mcu7t5v0__tt_025C_3v30.no_pg.lib as a blackbox 1. Executing Liberty frontend. ERROR: Syntax error in liberty file on line 274514.
The text was updated successfully, but these errors were encountered: