-
Notifications
You must be signed in to change notification settings - Fork 1
/
blackice.pcf
155 lines (134 loc) · 3.67 KB
/
blackice.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
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
###############################################################################
# #
# Copyright 2016 myStorm Copyright and related #
# rights are licensed under the Solderpad Hardware License, Version 0.51 #
# (the “License”); you may not use this file except in compliance with #
# the License. You may obtain a copy of the License at #
# http://solderpad.org/licenses/SHL-0.51. Unless required by applicable #
# law or agreed to in writing, software, hardware and materials #
# distributed under this License is distributed on an “AS IS” BASIS, #
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or #
# implied. See the License for the specific language governing #
# permissions and limitations under the License. #
# #
###############################################################################
# User Constraint File for myStorm
#pmod 1
set_io PMOD[0] 94 # rd6
set_io PMOD[1] 91 # rd4
set_io PMOD[2] 88 # rd2
set_io PMOD[3] 85 # rd0
#pmod 2
set_io PMOD[4] 95 # rd7
set_io PMOD[5] 93 # rd5
set_io PMOD[6] 90 # rd3
set_io PMOD[7] 87 # rd1
#pmod 3 GPIO
set_io PMOD[8] 105 # c5
set_io PMOD[9] 102 # c3
set_io PMOD[10] 99 # c1
set_io PMOD[11] 97 # i_tx
#pmod 4
set_io PMOD[12] 104 # c4
set_io PMOD[13] 101 # c2
set_io PMOD[14] 98 # c0
set_io PMOD[15] 96 # i_rx
#pmod 5 GPIO
set_io PMOD[16] 143 #g2
set_io PMOD[17] 114 #c11
set_io PMOD[18] 112 #c9
set_io PMOD[19] 107 #c7
#pmod 6 GPIO
set_io PMOD[20] 144 #G1
set_io PMOD[21] 113 #C10
set_io PMOD[22] 110 #C8
set_io PMOD[23] 106 #C6
#pmod 7 lvds pairs 2 & 5
set_io PMOD[24] 10 # 5b
set_io PMOD[25] 9 # 5a
set_io PMOD[26] 2 # 2b
set_io PMOD[27] 1 # 2a
#pmod 8 lvds pairs 3 & 4
set_io PMOD[28] 8 # 4b
set_io PMOD[29] 7 # 4a
set_io PMOD[30] 4 # 3b
set_io PMOD[31] 3 # 3a
#pmod 9 lvds pairs 10 & 13
set_io PMOD[32] 20 # 13b
set_io PMOD[33] 19 # 13a
set_io PMOD[34] 16 # 10b
set_io PMOD[35] 15 # 10a
#pmod 10 lvds pairs 8 & 12
set_io PMOD[36] 18 # 12b
set_io PMOD[37] 17 # 12a
set_io PMOD[38] 12 # 8b
set_io PMOD[39] 11 # 8a
#pmod 11 lvds pairs 14 & 25
set_io PMOD[40] 34 # 25b
set_io PMOD[41] 33 # 25a
set_io PMOD[42] 22 # 14B
set_io PMOD[43] 21 # 14a
#pmod 12 lvds pairs 18 & 24
set_io PMOD[44] 32 # 24b
set_io PMOD[45] 31 # 24a
set_io PMOD[46] 26 # 18b
set_io PMOD[47] 25 # 18a
#pmod 13 lvds pairs 17 & 23
set_io PMOD[48] 29 # 23b
set_io PMOD[49] 28 # 23a
set_io PMOD[50] 24 # 17b
set_io PMOD[51] 23 # 17a
#pmod 14 SPI muxed with leds
set_io PMOD[52] 71 #LD4,!SS,p14_1
set_io PMOD[53] 67 #LD3,MISO,p14_2
set_io PMOD[54] 68 #LD2,MOSI,p14_3
set_io PMOD[55] 70 #LD1,SCL,p14_4
# SRAM
set_io ADR[0] 137
set_io ADR[1] 138
set_io ADR[2] 139
set_io ADR[3] 141
set_io ADR[4] 142
set_io ADR[5] 42
set_io ADR[6] 43
set_io ADR[7] 44
set_io ADR[8] 73
set_io ADR[9] 74
set_io ADR[10] 75
set_io ADR[11] 76
set_io ADR[12] 115
set_io ADR[13] 116
set_io ADR[14] 117
set_io ADR[15] 118
set_io ADR[16] 119
set_io ADR[17] 78
set_io ADR[18] 62
set_io DAT[0] 135
set_io DAT[1] 134
set_io DAT[2] 130
set_io DAT[3] 128
set_io DAT[4] 125
set_io DAT[5] 124
set_io DAT[6] 122
set_io DAT[7] 121
set_io DAT[8] 61
set_io DAT[9] 60
set_io DAT[10] 56
set_io DAT[11] 55
set_io DAT[12] 52
set_io DAT[13] 49
set_io DAT[14] 48
set_io DAT[15] 47
set_io RAMOE 45
set_io RAMWE 120
set_io RAMCS 136
# Onboard 12Mhz oscillator
set_io clk 129
# Buttons
set_io BUT[0] 63 # S3
set_io BUT[1] 64 # S4
#dip switches
set_io DIP[0] 37 #S1(2)
set_io DIP[1] 38 #S1(1)
set_io DIP[2] 39 #S2(2)
set_io DIP[3] 41 #S2(1)