Special thanks to the author of the Dockerized FPGA toolchains blog post.
Basic dockerization scripts for Lattice Diamond 3.13 can be found in lattice-diamond/
.
- Run
docker build -t diamond .
- Download and copy these files into the
work
folder:diamond_3_13-base-56-2-x86_64-linux.rpm
- Copy your license.dat to the
work
folder - Run
./install.sh
This should build a docker image containing a working Lattice Diamond installation set up for your current user.
Run ./run.sh
to start Lattice Diamond. The script sets up X11 forwarding, mounts a persistent volume at /home/youruser
, mounts your host-side home directory as a writable volume at /home/youruser/home
.
Run ./root.sh
to start a root bash shell.
Basic dockerization scripts for Lattice iCEcube2 2020.12 can be found in lattice-icecube2/
.
- Run
docker build -t icecube2 .
- Download and copy these files into the
work
folder:iCEcube2setup_Dec_10_2020_2012
(not the zip file you can download but the installer file inside it!)
- Copy your license.dat to the
work
folder - Run
./install.sh
- Install iCEcube2 to
/opt/docker-fpga/icecube2
when prompted. Ignore the warning about the directory already existing, skip the license file selection, and uncheck the box "Launch iCEcube2 now".
This should build a docker image containing a working Lattice iCEcube2 installation set up for your current user.
Run ./run.sh
to start Lattice iCEcube2. The script sets up X11 forwarding, mounts a persistent volume at /home/youruser
, mounts your host-side home directory as a writable volume at /home/youruser/home
.
Run ./root.sh
to start a root bash shell.
These scripts are released into the public domain according to The Unlicense.
Note: Lattice Diamond and iCEcube2 themselves are proprietary licensed software, and you as the user are responsible for following their license agreements.