70 lines
2.0 KiB
Plaintext
70 lines
2.0 KiB
Plaintext
#| iCESugar-v1.5
|
|
|
|
|
|
#> Clock (12 MHz)
|
|
set_io --warn-no-port iCESugarv15_CLK 35
|
|
|
|
|
|
#> Tri-colour LED
|
|
set_io --warn-no-port iCESugarv15_LED_G 41
|
|
set_io --warn-no-port iCESugarv15_LED_R 40
|
|
set_io --warn-no-port iCESugarv15_LED_B 39
|
|
|
|
|
|
#> UART
|
|
set_io --warn-no-port iCESugarv15_RX 4
|
|
set_io --warn-no-port iCESugarv15_TX 6
|
|
|
|
|
|
#> USB
|
|
set_io --warn-no-port iCESugarv15_USB_DN 9
|
|
set_io --warn-no-port iCESugarv15_USB_DP 10
|
|
set_io --warn-no-port iCESugarv15_USB_DP_PU 11
|
|
|
|
|
|
#> PMOD 1
|
|
set_io --warn-no-port iCESugarv15_PMOD1A_0 10
|
|
set_io --warn-no-port iCESugarv15_PMOD1A_1 6
|
|
set_io --warn-no-port iCESugarv15_PMOD1A_2 3
|
|
set_io --warn-no-port iCESugarv15_PMOD1A_3 48
|
|
set_io --warn-no-port iCESugarv15_PMOD1B_0 47
|
|
set_io --warn-no-port iCESugarv15_PMOD1B_1 2
|
|
set_io --warn-no-port iCESugarv15_PMOD1B_2 4
|
|
set_io --warn-no-port iCESugarv15_PMOD1B_3 9
|
|
|
|
|
|
#> PMOD 2
|
|
set_io --warn-no-port iCESugarv15_PMOD2A_0 46
|
|
set_io --warn-no-port iCESugarv15_PMOD2A_1 44
|
|
set_io --warn-no-port iCESugarv15_PMOD2A_2 42
|
|
set_io --warn-no-port iCESugarv15_PMOD2A_3 37
|
|
set_io --warn-no-port iCESugarv15_PMOD2B_0 36
|
|
set_io --warn-no-port iCESugarv15_PMOD2B_1 38
|
|
set_io --warn-no-port iCESugarv15_PMOD2B_2 43
|
|
set_io --warn-no-port iCESugarv15_PMOD2B_3 45
|
|
|
|
|
|
#> PMOD 3
|
|
set_io --warn-no-port iCESugarv15_PMOD3A_0 34
|
|
set_io --warn-no-port iCESugarv15_PMOD3A_1 31
|
|
set_io --warn-no-port iCESugarv15_PMOD3A_2 27
|
|
set_io --warn-no-port iCESugarv15_PMOD3A_3 25
|
|
set_io --warn-no-port iCESugarv15_PMOD3B_0 23
|
|
set_io --warn-no-port iCESugarv15_PMOD3B_1 26
|
|
set_io --warn-no-port iCESugarv15_PMOD3B_2 28
|
|
set_io --warn-no-port iCESugarv15_PMOD3B_3 32
|
|
|
|
|
|
#> PMOD 4 | Switches
|
|
set_io --warn-no-port iCESugarv15_PMOD4_0 21
|
|
set_io --warn-no-port iCESugarv15_PMOD4_1 20
|
|
set_io --warn-no-port iCESugarv15_PMOD4_2 19
|
|
set_io --warn-no-port iCESugarv15_PMOD4_3 18
|
|
|
|
|
|
#> SPI
|
|
set_io --warn-no-port iCESugarv15_SPI_SS 16
|
|
set_io --warn-no-port iCESugarv15_SPI_SCK 15
|
|
set_io --warn-no-port iCESugarv15_SPI_MOSI 17
|
|
set_io --warn-no-port iCESugarv15_SPI_MISO 14
|