Dockerized FPGA toolchain experiments
Lattice Diamond
Basic dockerization scripts for Lattice Diamond 3.12 SP1 can be found in
lattice-diamond/
.
Special thanks to the author of the Dockerized FPGA toolchains blog post.
Initial setup
- Run
docker build -t diamond .
- Download and these files into the
work
folder:diamond_3_12-base-240-2-x86_64-linux.rpm
diamond_3_12-sp1-454-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 3.12 SP1 installation set up for your current user.
Usage
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
.
Debugging Lattice Diamond problems
Run ./root.sh
to start a root bash shell.
License
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.