A template for starting a spinalHDL project targeted at the Lattice icestick FPGA.
cd spinalHDL
sbt "runMain MyImplementation"
cd ..
cp spinalHDL/MyImplementation.v icestick/
cd icestick
make prog
Pin PMOD1 is an input. Pin LED D1 (99) is an output. Input and output gets connected via an inverter.