-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathicebreaker.pcf
More file actions
92 lines (75 loc) · 1.95 KB
/
icebreaker.pcf
File metadata and controls
92 lines (75 loc) · 1.95 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# 12 MHz clock
set_io -nowarn clk12 35
set_frequency clk12 12
# RS232
set_io -nowarn RX 6
set_io -nowarn TX 9
# LEDs and Button
set_io -nowarn BTN_N 10
set_io -nowarn LEDR_N 11
set_io -nowarn LEDG_N 37
# RGB LED Driver
set_io -nowarn LED_RED_N 39
set_io -nowarn LED_GRN_N 40
set_io -nowarn LED_BLU_N 41
set_io -nowarn LED_RGB[0] 39
set_io -nowarn LED_RGB[1] 40
set_io -nowarn LED_RGB[2] 41
# SPI Flash
set_io -nowarn FLASH_SCK 15
set_io -nowarn FLASH_SSB 16
set_io -nowarn FLASH_IO0 14
set_io -nowarn FLASH_IO1 17
set_io -nowarn FLASH_IO2 12
set_io -nowarn FLASH_IO3 13
# PMOD 1A
set_io -nowarn P1A1 4
set_io -nowarn P1A2 2
set_io -nowarn P1A3 47
set_io -nowarn P1A4 45
set_io -nowarn P1A7 3
set_io -nowarn P1A8 48
set_io -nowarn P1A9 46
set_io -nowarn P1A10 44
# PMOD 1B
set_io -nowarn P1B1 43
set_io -nowarn P1B2 38
set_io -nowarn P1B3 34
set_io -nowarn P1B4 31
set_io -nowarn P1B7 42
set_io -nowarn P1B8 36
set_io -nowarn P1B9 32
set_io -nowarn P1B10 28
# most of pmod 1a and 1b are used by the vga. only P1B9 and P1B10 are unused.
set_io vga_h_sync 42
set_io vga_v_sync 36
set_io r[0] 4
set_io r[1] 2
set_io r[2] 47
set_io r[3] 45
set_io g[0] 43
set_io g[1] 38
set_io g[2] 34
set_io g[3] 31
set_io b[0] 3
set_io b[1] 48
set_io b[2] 46
set_io b[3] 44
# PMOD 2
set_io -nowarn rts_n 27
set_io -nowarn txd 25
set_io -nowarn rxd 21
set_io -nowarn cts_n 19
set_io -nowarn P2_7 26
set_io -nowarn P2_8 23
set_io -nowarn P2_9 20
set_io -nowarn P2_10 18
# LEDs and Buttons (PMOD 2)
set_io -nowarn LED1 26
# set_io -nowarn LED2 27
# set_io -nowarn LED3 25
set_io -nowarn LED4 23
# set_io -nowarn LED5 21
set_io -nowarn BTN1 20
# set_io -nowarn BTN2 19
set_io -nowarn BTN3 18