symbiflow install issue

Post Reply
xyphro
Posts: 1
Joined: Thu Feb 22, 2024 7:49 pm

Hi!

I was very enthusiastic about the product, but after many hours I need help and motivation. Please help me :-)

I followed the instructions here:
https://github.com/QuickLogic-Corp/quic ... -toolchain

All fine so far... but when trying to build the counter example as shown in the instructions I get an error:
ERROR: TCL interpreter returned an error: Yosys command produced an error

And when looking into the logfile I see this here:

ERROR: Can't open input file `/home/xyphro/symbiflow/conda/bin/../share/quicklogic/cells_sim.v' for reading: No such file or directory


INSTALL_DIR is correctly set... but indeed the above path does not exist. Where does symbiflow get this path from?


(base) xyphro@C3Air:~/symbiflow/quicklogic-arch-defs/tests/counter_16bit/build$ echo $INSTALL_DIR
/home/xyphro/symbiflow

I just see that there were no updates since 3 years in the symbiflow repository. Is this outdated? Or is the product dead?

Best regards,

Kai
philtor
Posts: 1
Joined: Tue Jun 11, 2024 11:16 pm

I'm having exactly the same problem. Looking into it some and I think the place it's looking for techmap files (cells_sim.v) is slightly wrong. In my case the error message is:

ERROR: Can't open input file `/eq/tools/QuickLogic/conda/bin/../share/quicklogic/cells_sim.v' for reading: No such file or directory

There is no cells_sim.v file there, but there is one at this path:

/eq/tools/QL/quicklogic-arch-defs/share/techmaps/quicklogic/pp3/techmap

So the path to the techmaps (TECHMAP_PATH) is wrong for some reason. I tried finding out where that gets set and it seems to be in the bash script symbiflow_synth - however, when I echo $TECHMAP_PATH inside of that script the path seems correct. Then going to the synth.tcl script (in /eq/tools/QuickLogic/quicklogic-arch-defs/share/quicklogic) I notice references to $::env(TECHMAP_PATH) and I added a 'puts $::env(TECHMAP_PATH) there at the start of the script and that also seems to print out the correct path. I even went in and replaced all of those references with the complete path to the cells_sim.v file and still get the same error message.

So I'm starting to think that the problem is in the synth_quicklogic command for this particular yosys build. Somehow the path is incorrect inside of that command.
As this has been out there for 3 years now (I installed using the latest Symbiflow_v1.3.2 install script downloaded from here: https://github.com/QuickLogic-Corp/quic ... /releases/ ) I wonder how many people are actually using this software?
Last edited by philtor on Tue Jun 11, 2024 11:40 pm, edited 1 time in total.
Post Reply