- Gowin GW1NR-LV9QN88PC6/I5
- interrupts: timer & button
- basic uart with print functions
- /fw directory contains demo code
- run make in /fw directory to generate rom.v
- build system with Gowin FPGA Designer software
- download bitstream to FPGA
-
After downloading FPGA bitstream to Tang Nano board, connect comm port 115200 N81
-
Press "S1" Reset button on Tang Nano. Onboard LEDs will light up in the following sequence
-
110011 defined in top.v
-
000011 -> 000010 -> 000001 -> 000000 bootload_check in start.S
-
101010 bootload_check done, before calling main in main.c
-
-
Serial port display on reset
[a] - displays "Gowin Tang9k [RiscV]"
[t] - 1 second timer interrupt incrementing LEDs (toggles)
[b] - enable/disable "S2" button interrupt. Internal LED counter will be printed to the comm port when S2 is pressed
- bootloader sdcard support to avoid re-synthsis on fw change
btko - Jul 2022