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

Dockerfiles for xc7 and eos #220

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

smohiudd
Copy link

@smohiudd smohiudd commented Dec 2, 2021

Scripts to download architecture definitions, build docker images and run docker containers:

scripts/docker/download --xc7
scripts/docker/update --xc7
scripts/docker/console --xc7

@kgugala
Copy link
Member

kgugala commented Dec 2, 2021

Hi @smohiudd thanks for this, but I don't think examples repo is the best place to keep the Dockerfiles. Maybe a better place for this PR is https://github.com/hdl/containers?

GitHub
Building and deploying container images for open source electronic design automation (EDA) - GitHub - hdl/containers: Building and deploying container images for open source electronic design autom...

@smohiudd
Copy link
Author

smohiudd commented Dec 2, 2021

@kgugala Sounds good, I'll have a look at https://github.com/hdl/containers. Still getting familiar with the Symbiflow structure but where does this issue about docker from Symbiflow/make-env fit into everything?

GitHub
Building and deploying container images for open source electronic design automation (EDA) - GitHub - hdl/containers: Building and deploying container images for open source electronic design autom...

@mithro
Copy link
Contributor

mithro commented Dec 6, 2021

@kgugala Sounds good, I'll have a look at https://github.com/hdl/containers. Still getting familiar with the Symbiflow structure but where does this issue about docker from Symbiflow/make-env fit into everything?

make-env is a convenient way for a Makefile to build and keep up to date environment to run commands from theake file in. I'm unsure if make-env is used in the symbiflow-examples repository?

make-env should support multiple ways for the environment to be supplied. Currently it is only conda, it would be good to support Docker and other methods too.

GitHub
Building and deploying container images for open source electronic design automation (EDA) - GitHub - hdl/containers: Building and deploying container images for open source electronic design autom...

@umarcor
Copy link
Contributor

umarcor commented Dec 13, 2021

FTR, there was a draft PR in hdl/containers about SymbiFlow, opened by @carlosedp in June: hdl/containers#26. I completed it during this weekend (see https://github.com/hdl/containers/pull/26/files) and there are now SymbiFlow containers available, ready to use with the examples in this repo. See https://hdl.github.io/containers/#_symbiflow_conda and https://hdl.github.io/containers/ug/index.html#_symbiflow (note that these URLs might change in the following days/weeks, because the docs are being migrated to Sphinx).

Images from hdl/containers use "latest" arch def tarballs. Related: #223.

Usage example:

:~# git clone https://github.com/SymbiFlow/symbiflow-examples
...
:~# cd symbiflow-examples

:~/symbiflow-examples# docker run --rm -it \
  -v /$(pwd)://wrk \
  -w //wrk \
  gcr.io/hdl-containers/symbiflow/xc7/a100t
...
root@c3d4dd1d97cc:/wrk# conda activate xc7
...
(xc7) root@c3d4dd1d97cc:/wrk# TARGET="arty_100" make -C xc7/picosoc_demo/
GitHub
New container images for Xilinx XC7 series and QLogic EOS FPGAs. Signed-off-by: Carlos de Paula me@carlosedp.com
Container images for hardware description and Electronic Design Automation
Container images for hardware description and Electronic Design Automation

@smohiudd
Copy link
Author

@umarcor thanks for the update and great to see the docker images are hosted!

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

Successfully merging this pull request may close these issues.

4 participants