-
Notifications
You must be signed in to change notification settings - Fork 657
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
ASAP7 + OpenRoad. ERROR: Can't open ABC output file. #1936
Comments
I entered into the folder /tmp/yosys-abc-fmM0q5 and use
I applied this setup on TinyRocket and the same error occured. Then I compared the temporary files generated by example "sky130-openroad", and the temp file showed that instead of reading a SRAM .lib file as a whitebox:
it read pdk's .lib file as a whitebox:
I don't know if this error matters with Hammer or just Yosys & ABC ? |
Maybe I know where the problem is. It is not about the Yosys & ABC. It is about how to choose the .lib file by the Hammer. When using ASAP7 + Yosys to produce syn.tcl, the liberty file for abc is set as below:
but for the sky130 + Yosys, the counterpart in syn.tcl will be produced as:
So could somebody tell me how to change the liberty file in the syn.tcl? |
I have solved this problem. It's too damn hard! Because ASAP7 has multiple files for multiple gates, I had to merge SIMPLE, OA, AO, and INVBUF into a .lib file with ABC. The command I used is
Also in the file hammer/synthesis/yosys/__init__.py, I changed the function
After doing these, I can use Yosys with ASAP7 to synthesize the designs. |
Background Work
Chipyard Version and Hash
Chipyard Release: 1.11.0
OS Setup
Ubuntu: 22.04
Other Setup
yosys Release: 0.27_4_gb58664d44
Current Behavior
I'm trying to use ASAP7 + OpenRoad to run VLSI Flow. I added the below code to the file tutorial.mk to run the VLSI Flow:
I can produce the file hammer.d after running
make buildfile tutorial=asap7-openroad
, but when I runmake syn tutorial=asap7-openroad
, an error always occurs when the below step is running:and the ERROR is:
I have tried the method like The-OpenROAD-Project/OpenLane#123 or The-OpenROAD-Project/OpenLane#1523 to add a command like
set ::env(SYNTH_STRATEGY) {DELAY 2}
before the synthesis stepsyn_generic
in the syn.tcl file, but it doesn't work.Additionally, the director /tmp is mounted on /, and there is still 62G available.
Expected Behavior
How to resolve this problem?
What is the matter with this problem?
Other Information
No response
The text was updated successfully, but these errors were encountered: