-
Notifications
You must be signed in to change notification settings - Fork 48
/
fpga_icebreaker.pcf
43 lines (35 loc) · 1.57 KB
/
fpga_icebreaker.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
35
36
37
38
39
40
41
42
43
# 12 MHz oscillator
set_io clk_osc 35
# JTAG is on FTDI B channel so it doesn't inadvertently assert flash CS pin
# (usually UART would be on the B channel).
# Note TDO/TMS require two of the solder jumpers on the back of the board to
# be bridged. On the v1.0e board these are jumpers J3/J4. To find these, look
# for the box of 5 x 2 jumpers (with a few others hanging off the side) and
# they are the two in the central column. They line up with the space in
# between "Jump" and "for" in the silk text "Jump for FTDI FIFO".
set_io tck 6 # FTDI BDBUS0
set_io tdi 9 # FTDI BDBUS1
set_io tdo 18 # FTDI BDBUS2
set_io tms 19 # FTDI BDBUS3
# UART is moved over to FTDI A channel -- this means flash is inaccessible
# (and stays in a quiescent state since CSn is disconnected and pulled high)
set_io uart_rx 15 # FTDI ADBUS0, flash SCK, iCE SCK
set_io uart_tx 14 # FTDI ADBUS1, flash MOSI, iCE SO (if jumper J15 connected)
set_io led 37 # Green on main board
# # Buttons
# set_io dpad_u 20 # Snapoff top
# set_io dpad_d 18 # Snapoff bottom
# set_io dpad_l 10 # Main board
# set_io dpad_r 19 # Snapoff middle
set_io mirror_tck 27 # Left on snapoff (L2)
set_io mirror_tms 25 # Right on snapoff (L3)
set_io mirror_tdi 23 # Top on snapoff (L4)
set_io mirror_tdo 21 # Bottom on snapoff (L5)
# # LEDs
# set_io led[0] 37 # Green on main board
# set_io led[1] 11 # Red on main board
# set_io led[2] 26 # Middle on snapoff (L1)
# set_io led[3] 27 # Left on snapoff (L2)
# set_io led[4] 25 # Right on snapoff (L3)
# set_io led[5] 23 # Top on snapoff (L4)
# set_io led[6] 21 # Bottom on snapoff (L5)