This example shows how functions work in verilog.
Functions can have any number of inputs but only one output (one return value).
- Yosys
- Arachne-pnr
- Project IceStorm
-
make
Builds
chip.bin
bitstream -
make flash
Program the bitstream to the device.
Pretty loosly based on tomverbeure/upduino