f4pga-examples icon indicating copy to clipboard operation
f4pga-examples copied to clipboard

Dockerfiles for xc7 and eos

Open smohiudd opened this issue 4 years ago • 5 comments

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

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

smohiudd avatar Dec 02 '21 07:12 smohiudd

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...

kgugala avatar Dec 02 '21 11:12 kgugala

@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...

smohiudd avatar Dec 02 '21 16:12 smohiudd

@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...

mithro avatar Dec 06 '21 14:12 mithro

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 [email protected]
Container images for hardware description and Electronic Design Automation
Container images for hardware description and Electronic Design Automation

umarcor avatar Dec 13 '21 04:12 umarcor

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

smohiudd avatar Dec 13 '21 05:12 smohiudd