2017-08-07 09:13:27 -04:00
|
|
|
|
|
|
|
# Pinout for the iCE40-HX8K Breakout Board
|
|
|
|
|
|
|
|
set_io clk J3
|
|
|
|
|
|
|
|
set_io flash_csb R12
|
|
|
|
set_io flash_clk R11
|
|
|
|
set_io flash_io0 P12
|
|
|
|
set_io flash_io1 P11
|
2017-09-15 09:34:45 -04:00
|
|
|
|
|
|
|
# for QSPI mode the flash chip on the iCE40-HX8K Breakout Board
|
|
|
|
# must be replaced with one that supports QSPI and the IO2 and IO3
|
|
|
|
# pins must be soldered to T9 and P8 (center on J3)
|
|
|
|
set_io flash_io2 T9
|
|
|
|
set_io flash_io3 P8
|
2017-08-07 09:13:27 -04:00
|
|
|
|
|
|
|
set_io ser_tx B12
|
|
|
|
set_io ser_rx B10
|
|
|
|
|
2017-09-15 09:34:45 -04:00
|
|
|
# left on J3
|
|
|
|
set_io debug_ser_tx T1
|
|
|
|
set_io debug_ser_rx R3
|
|
|
|
|
|
|
|
# right on J3
|
|
|
|
set_io debug_flash_csb T15
|
|
|
|
set_io debug_flash_clk R16
|
|
|
|
set_io debug_flash_io0 N12
|
|
|
|
set_io debug_flash_io1 P13
|
|
|
|
set_io debug_flash_io2 T13
|
|
|
|
set_io debug_flash_io3 T14
|
|
|
|
|
2017-08-08 06:07:17 -04:00
|
|
|
set_io leds[7] B5 # D9
|
|
|
|
set_io leds[6] B4 # D8
|
|
|
|
set_io leds[5] A2 # D7
|
|
|
|
set_io leds[4] A1 # D6
|
|
|
|
set_io leds[3] C5 # D5
|
|
|
|
set_io leds[2] C4 # D4
|
|
|
|
set_io leds[1] B3 # D3
|
|
|
|
set_io leds[0] C3 # D2
|
2017-08-07 09:13:27 -04:00
|
|
|
|