Awesome
FPGA tools
This is some shared code for building FPGA projects using the Icestorm toolchain.
Prerequisites
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.
Build system
Just include the following in your Makefile:
include .../fpga.mk
See fpga.mk.txt
for list of possible commands.
Components
The components
directory contains some useful Verilog modules:
oled.v
Support for WaveShare monochrome and color displays (include with .color(1)
or
.color(0)
parameter).
uart.v
This is a module for UART communication by Tim Goddard, copied here:
- osdvu - the module page on opencores.org
- iCEstick-UART-Demo - example usage
keypad.v
This is a module for 16 button keypad, like the one you can find here at SparkFun.
License
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.