ECP5 Mini Projects
August 29, 2021 ยท View on GitHub
A collection of projects for the ECP5 Mini FPGA development board.
These projects are my own, and probably have more mistakes and bad practices in them than you can poke a stick at. Use them at your own risk.
Verilog
Verilog projects are in verilog, and after changing into the project directory have the below options.
maketo build the projectmake flashto program flash over JTAG using ecpprog and a FTDI cable.make sramto program SRAM as above.make dfuto flash the board over USB. Requires the bootloader to be flashed to the board first.make DEVICE=25kto build for a non 12F ECP5.make simulateto simulate the design with iverilog using the$(PROJ)_tb.vsimulation file.make new NAME="name"to copy current project to new folder callednamealong with changing all in text references.
Litex
Litex projects are in litex , and after changing into the project directory run python3 ecp5_mini.py --build --load
Append --device=25F to build for a non 12F ECP5.
nMigen
nMigen projects are in nmigen, and after changing into the project directory run python3 project.py.
Thanks
Thanks to Konrad Beckmann for his Pergola Projects which this was based off.
Thanks to Greg Davill for the soc-hr example.