The-OpenROAD-Project / OpenROAD-flow-scripts

OpenROAD's scripts implementing an RTL-to-GDS Flow. Documentation at https://openroad-flow-scripts.readthedocs.io/en/latest/
https://theopenroadproject.org/
Other
282 stars 262 forks source link

makefile: fix eqy failure, use ORFS built eqy #2078

Closed oharboe closed 1 week ago

oharboe commented 1 week ago

@maliberty A quick stab at boarding up the broken window with room to refine in the future...

$ make DESIGN_CONFIG=designs/nangate45/aes/config.mk cts
[deleted]
[INFO RSZ-0032] Inserted 3 hold buffers.
Error: cts.tcl, 102 couldn't execute eqy: no such file or directory
oharboe commented 1 week ago

@maliberty failed... Something else is needed here. Thoughts?

$ make DESIGN_CONFIG=designs/nangate45/aes/config.mk do-cts
[deleted]
[INFO RSZ-0032] Inserted 3 hold buffers.
Error: cts.tcl, 102 ERROR: Failed to combine designs. For details see './logs/nangate45/aes/base/4_eqy_output/combine.log'.
Command exited with non-zero status 1
Elapsed time: 3:06.23[h:]min:sec. CPU time: user 196.70 sys 0.90 (106%). Peak memory: 418444KB.
make[1]: *** [Makefile:759: do-4_1_cts] Error 1
make: *** [Makefile:767: do-cts] Error 2
-- Executing script file `./logs/nangate45/aes/base/4_eqy_output/combine.ys' --
ERROR: Can't load module `/home/oyvind/OpenROAD-flow-scripts/dependencies/bin/../share/yosys/plugins/eqy_combine.so': /home/oyvind/OpenROAD-flow-scripts/dependencies/bin/../share/yosys/plugins/eqy_combine.so: undefined symbol: _ZN5Yosys5RTLIL8IdString17destruct_guard_okE
maliberty commented 1 week ago

You might look at KLAYOUT_CMD and how we have a preferred path and a fall back. Currently there is no version requirement though I suppose that could arise in the future.

oharboe commented 1 week ago

Where is eqy locally and on the build server in ORFS?

maliberty commented 1 week ago

Where is eqy locally and on the build server in ORFS?

I think you should use the location that the dependency installer uses or the users path rather than list other possible locations.