-
Notifications
You must be signed in to change notification settings - Fork 0
/
hx8k-breakout-default.pcf
34 lines (30 loc) · 1.27 KB
/
hx8k-breakout-default.pcf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ##############################################################################
# Family & Device: iCE40HX8K
# Package: CT256
# ##############################################################################
# onboard quartz
set_io clock_12mhz J3
# onboard LEDs
set_io led[0] B5 # labelled 'D9'
set_io led[1] B4 # labelled 'D8'
set_io led[2] A2 # labelled 'D7'
set_io led[3] A1 # labelled 'D6'
set_io led[4] C5 # labelled 'D5'
set_io led[5] C4 # labelled 'D4'
set_io led[6] B3 # labelled 'D3'
set_io led[7] C3 # labelled 'D2'
# programming pins (list here to prevent usage elsewhere)
set_io iCE_SS R12 --warn-no-port # FPGA output or high-Z
set_io iCE_SCK R11 --warn-no-port # FPGA output or high-Z
set_io iCE_MOSI P11 --warn-no-port # FPGA input
set_io iCE_MISO P12 --warn-no-port # FPGA output or high-Z
set_io iCE_CDONE M10 --warn-no-port # FPGA output
set_io iCE_CRESET N11 --warn-no-port # FPGA input
# UART interface from/to PC
set_io uart_dcd B15 --warn-no-port # FPGA output
set_io uart_dsr B14 --warn-no-port # FPGA output
set_io uart_dtr A16 --warn-no-port # FPGA input
set_io uart_cts A15 --warn-no-port # FPGA output
set_io uart_rts B13 --warn-no-port # FPGA input
set_io uart_tx B12 # FPGA output
set_io uart_rx B10 # FPGA input