User manual:
de0_nano_user_manual_v1.9.pdf
Quartus project directory:
https://github.com/f32c/f32c/blob/master/rtl/proj/altera/de0_bram
Top-level module:
https://github.com/f32c/f32c/blob/master/rtl/altera/de0_toplevel_bram.vhd
I/O pin enumeration
Arduino
| 0 | 1 | 2 | 3
| 4 | 5 | 6 | 7
| DE0
| btn_right | btn_left | | | | | | |
Arduino
| 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
DE0
| LED #0 | LED #1 | LED #2 | LED #3
| LED #4 | LED #5 | LED #6 | LED #7 |
Arduino
| 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
DE0
| switch #0 | switch #1 | switch #2 | switch #3 | | | | |
Arduino
| 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
DE0 | | | | | | | | |
Notes
The DE0-Nano board has neither a DB-9 style RS-232 port nor a USB-UART
interface. Our SoC expects an external TTL UART interface, such as
FT232R, to be connected to PIN_M16 (rs232_rxd - from PC to FPGA) and
to PIN_B16 (rs232_txd - from FPGA to PC). Those signals are routed
to the 2x13 header as GPIO_2_IN[2] and GPIO_2[1] respectedly. If
you prefer a different pinout please edit the I/O constraints
accordingly and re-synthesize the bitstream.