Skip to content
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

EOS-S3 Tarball Issue / ql_symbiflow: command not found #162

Open
mlaga97 opened this issue Jul 13, 2021 · 1 comment
Open

EOS-S3 Tarball Issue / ql_symbiflow: command not found #162

mlaga97 opened this issue Jul 13, 2021 · 1 comment

Comments

@mlaga97
Copy link

mlaga97 commented Jul 13, 2021

The instructions for installing SymbiFlow found here state to download architecture definitions using the following command:

wget -qO- https://storage.googleapis.com/symbiflow-arch-defs-install/quicklogic-arch-defs-63c3d8f9.tar.gz | tar -xz -C $INSTALL_DIR/eos-s3/

However, upon doing this and attempting to build the examples, the following error is obtained.

(eos-s3) root@e28a048119eb:/test/symbiflow-examples/eos-s3# make -C btn_counter
make: Entering directory '/test/symbiflow-examples/eos-s3/btn_counter'
ql_symbiflow -compile -d ql-eos-s3 -P pd64 -v btn_counter.v -t top -p chandalar.pcf
make: ql_symbiflow: No such file or directory
make: *** [Makefile:10: all] Error 127
make: Leaving directory '/test/symbiflow-examples/eos-s3/btn_counter'

Poking around in $INSTALL_DIR/eos-s3/, it appears that the tarball is extracted to $INSTALL_DIR/eos-s3/quicklogic-arch-defs rather than $INSTALL_DIR/eos-s3/install as expected.

This issue doesn't exist with the xc7 architecture definitions because those have the files directly within the tarball whereas the eos-s3 tarball has the files within a directory within the tarball.

Several workarounds exist, but the one that is easiest for end users is to run the following:

rm -rf $INSTALL_DIR/eos-s3/install
mv $INSTALL_DIR/eos-s3/quicklogic-arch-defs/ $INSTALL_DIR/eos-s3/install/

On the maintainer side, the eos-s3 architecture definition tarball should be updated to omit the containing directory.

@kgugala
Copy link
Member

kgugala commented Jul 14, 2021

hmm, the CI seems to be handling this correctly (see: https://github.com/SymbiFlow/symbiflow-examples/runs/3062350594?check_suite_focus=true).

Did you activate conda env before you call make?

GitHub
GitHub is where people build software. More than 65 million people use GitHub to discover, fork, and contribute to over 200 million projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants