- Dockerfile: to build the basic spinalhdl:spinalhdl image (Note: this file is unmodified clone from SpinalHDL/docker)
- interactive/FPGA.dockerfile: to build a spinalhdl:yosysflow image
- interactive/Interactive.dockerfile: to build a spinalhdl:dev image
The Idea: Have different levels of docker images wich are
- Travis-CI level - image spinalhdl:spinalhdl
- Yosys interactive level, based on Travis-CI level with Yosys workflow for FPGA (without Softcores and firmware dev tools) - image spinalhdl:yosysflow
- IDE level based on Yosys level with IDE for developing SpinalHDL based designs - image spinalhdl:dev
docker image build -f Dockerfile -t spinalhdl:spinalhdl
than
cd interactive docker image build -f FPGA.dockerfile -t spinalhdl:yosysflow
than
docker image build -f Interactive.dockerfile -t spinalhdl:dev
From a terminal window type:
docker run -it spinalhdl:yosysflow
this will bring you into a bash shell in user directory /home/spinaldev. You can check if all tools are in place:
ls /usr/local/binreturnsarachne-pnr icebox_explain icemulti verilator yosys ghdl icebox_hlc2asc icepack verilator_bin yosys-abc ghdl1-llvm icebox_html icepll verilator_bin_dbg yosys-config icebox.py icebox_maps iceprog verilator_coverage yosys-filterlib icebox_asc2hlc icebox_stat icetime verilator_coverage_bin_dbg yosys-smtbmc icebox_chipdb icebox_vlog iceunpack verilator_gantt icebox_colbuf iceboxdb.py iverilog verilator_profcfunc icebox_diff icebram iverilog-vpi vvpInstalled editors are vim and nano. To keep the image small, no gui tools needing X are installed.
Note that exiting the shell removes the container and all changed or new data is lost!
###TODOs
- description what these images offer
- show how to add a volume for pemanent work storage