This is some shared code for building FPGA projects using the Icestorm toolchain.
yosys
- logic sythesis of Verilogarachne-pnr
- placement and routingfpga-icestorm
- transferring the design to the FPGAiverilog
- simulation and running test benchesgtkwave
- viewing the simulation resultstinyprog
- for TinyFPGA BXiCEburn
- for iceblink
The build system uses GNU make, bash and sed.
Just include the following in your Makefile:
include .../fpga.mk
See fpga.mk.txt
for list of possible commands.
The components
directory contains some useful Verilog modules:
Support for WaveShare monochrome and color displays (include with .color(1)
or
.color(0)
parameter).
This is a module for UART communication by Tim Goddard, copied here:
- osdvu - the module page on opencores.org
- iCEstick-UART-Demo - example usage
This is a module for 16 button keypad, like the one you can find here at SparkFun.
You're free to use all of the code under MIT license. See LICENSE
for
details.
Note that uart.v
does not belong to me, as mentioned above.