Closed dearmrlv closed 5 months ago
Cannot be reproduced with: yosys 0.36+40 (build from source code – ABC UC Berkeley 1.01) and openroad (prebuilt binary, Dec 18, 23)
and also cannot be reproduced with: yosys 0.33 and openroad v2.0-11613 ( both build with openroad_build.sh )
What does yosys -version say? What does yosys-abc say?
By the way: the extra “export DFF_LIB_FILE = $($(CORNER)_DFF_LIB_FILE)” in config.mk is not needed there anymore.
Thanks for replying!
yosys -version
:
Yosys 0.33 (git sha1 2584903a0, clang 14.0.0-1ubuntu1.1 -fPIC -Os)
yosys-abc
:
UC Berkeley, ABC 1.01 (compiled Jan 1 2024 06:48:35)
abc 01>
And OpenROAD-flow-scripts is with git commit '3d05440525390fe651bd9ad60df2267f2cb6ad23'
A quick look, i would expect in your log something like this:
<deleted>
35.1. Executing DFFLEGALIZE pass (convert FFs to types supported by the target).
abc -script /cyberpi/OpenROAD-flow-scripts/flow/scripts/abc_speed.script -liberty ./objects/asap7/riscv32i/base/lib/merged.lib -constr ./objects/asap7/riscv32i/base/abc.constr -D 1660
36. Executing ABC pass (technology mapping using ABC).
<deleted>
So your never reached line 66 in scripts/synth.tcl, before abc will be called.
(a) does the temporary file /tmp/... exists ? (b) write permission ?
Alternatively: hide systemwide your pre-build openroad and pre-build yosys, try a fresh apt clone --recursive https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts.git and a fresh local build. Use the unmodified config.mk
This might be better filed with the yosys team. Either you have a filesystem problem or an abc crash.
Subject
[Documentation] for documentation errors.
Describe the bug
Get failures when running design riscv32i and swerv_wrapper with ASAP7 PDK. And flow is OK for designs without hierarchy (e.g. ibex). For riscv32i, the error is as blow:
The
/tmp
directory on my machine is mounted and with enough space:Besides, I modified the
config.mk
according to https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/issues/202#issuecomment-953195443. Otherwise yosys will end withSegment Fault
. Here is myriscvi/config.mk
:Expected Behavior
The flow runs without such error.
Environment
To Reproduce
As showed.
Relevant log output
No response
Screenshots
No response
Additional Context
No response