Basic dockerization scripts for Lattice Diamond 3.12 can be found in
lattice-diamond/
.
Special thanks to the author of the Dockerized FPGA toolchains blog post.
docker build -t diamond .
- Download and copy
diamond_3_12-base-240-2-x86_64-linux.rpm
and to the work folder - Copy your license.dat to the work folder
./install.sh
This should build a docker image containing a working Lattice Diamond 3.12 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.
These scripts are released into the public domain according to The Unlicense.
Note: Lattice Diamond itself is proprietary licensed software, and you as the user are responsible for following its license agreement.