-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathOnChipIO.bsf
260 lines (260 loc) · 8.2 KB
/
OnChipIO.bsf
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2013 Altera Corporation
Your use of Altera Corporation's design tools, logic functions
and other software and tools, and its AMPP partner logic
functions, and any output files from any of the foregoing
(including device programming or simulation files), and any
associated documentation or information are expressly subject
to the terms and conditions of the Altera Program License
Subscription Agreement, Altera MegaCore Function License
Agreement, or other applicable license agreement, including,
without limitation, that your use is for the sole purpose of
programming logic devices manufactured by Altera and sold by
Altera or its authorized distributors. Please refer to the
applicable agreement for further details.
*/
(header "symbol" (version "1.2"))
(symbol
(rect 16 16 256 400)
(text "OnChipIO" (rect 5 0 58 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 368 25 380)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "InPortA[7..0]" (rect 0 0 69 14)(font "Arial" (font_size 8)))
(text "InPortA[7..0]" (rect 21 27 90 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "Address[15..0]" (rect 0 0 84 14)(font "Arial" (font_size 8)))
(text "Address[15..0]" (rect 21 43 105 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "IOSelect_H" (rect 0 0 62 14)(font "Arial" (font_size 8)))
(text "IOSelect_H" (rect 21 59 83 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "WE_L" (rect 0 0 33 14)(font "Arial" (font_size 8)))
(text "WE_L" (rect 21 75 54 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "UDS_L" (rect 0 0 38 14)(font "Arial" (font_size 8)))
(text "UDS_L" (rect 21 91 59 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96))
)
(port
(pt 0 112)
(input)
(text "InPortB[7..0]" (rect 0 0 68 14)(font "Arial" (font_size 8)))
(text "InPortB[7..0]" (rect 21 107 89 121)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "InPortC[7..0]" (rect 0 0 68 14)(font "Arial" (font_size 8)))
(text "InPortC[7..0]" (rect 21 123 89 137)(font "Arial" (font_size 8)))
(line (pt 0 128)(pt 16 128)(line_width 3))
)
(port
(pt 0 144)
(input)
(text "InPortD[7..0]" (rect 0 0 68 14)(font "Arial" (font_size 8)))
(text "InPortD[7..0]" (rect 21 139 89 153)(font "Arial" (font_size 8)))
(line (pt 0 144)(pt 16 144)(line_width 3))
)
(port
(pt 0 160)
(input)
(text "Clk" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Clk" (rect 21 155 37 169)(font "Arial" (font_size 8)))
(line (pt 0 160)(pt 16 160))
)
(port
(pt 0 176)
(input)
(text "InPortE[7..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "InPortE[7..0]" (rect 21 171 88 185)(font "Arial" (font_size 8)))
(line (pt 0 176)(pt 16 176)(line_width 3))
)
(port
(pt 0 192)
(input)
(text "Reset_L" (rect 0 0 47 14)(font "Arial" (font_size 8)))
(text "Reset_L" (rect 21 187 68 201)(font "Arial" (font_size 8)))
(line (pt 0 192)(pt 16 192))
)
(port
(pt 0 208)
(input)
(text "DataIn[7..0]" (rect 0 0 63 14)(font "Arial" (font_size 8)))
(text "DataIn[7..0]" (rect 21 203 84 217)(font "Arial" (font_size 8)))
(line (pt 0 208)(pt 16 208)(line_width 3))
)
(port
(pt 240 32)
(output)
(text "HexDisplay7[6..0]" (rect 0 0 99 14)(font "Arial" (font_size 8)))
(text "HexDisplay7[6..0]" (rect 120 27 219 41)(font "Arial" (font_size 8)))
(line (pt 240 32)(pt 224 32)(line_width 3))
)
(port
(pt 240 48)
(output)
(text "HexDisplay6[6..0]" (rect 0 0 99 14)(font "Arial" (font_size 8)))
(text "HexDisplay6[6..0]" (rect 120 43 219 57)(font "Arial" (font_size 8)))
(line (pt 240 48)(pt 224 48)(line_width 3))
)
(port
(pt 240 64)
(output)
(text "HexDisplay5[6..0]" (rect 0 0 99 14)(font "Arial" (font_size 8)))
(text "HexDisplay5[6..0]" (rect 120 59 219 73)(font "Arial" (font_size 8)))
(line (pt 240 64)(pt 224 64)(line_width 3))
)
(port
(pt 240 80)
(output)
(text "HexDisplay4[6..0]" (rect 0 0 99 14)(font "Arial" (font_size 8)))
(text "HexDisplay4[6..0]" (rect 120 75 219 89)(font "Arial" (font_size 8)))
(line (pt 240 80)(pt 224 80)(line_width 3))
)
(port
(pt 240 96)
(output)
(text "HexDisplay3[6..0]" (rect 0 0 99 14)(font "Arial" (font_size 8)))
(text "HexDisplay3[6..0]" (rect 120 91 219 105)(font "Arial" (font_size 8)))
(line (pt 240 96)(pt 224 96)(line_width 3))
)
(port
(pt 240 112)
(output)
(text "HexDisplay2[6..0]" (rect 0 0 99 14)(font "Arial" (font_size 8)))
(text "HexDisplay2[6..0]" (rect 120 107 219 121)(font "Arial" (font_size 8)))
(line (pt 240 112)(pt 224 112)(line_width 3))
)
(port
(pt 240 128)
(output)
(text "HexDisplay1[6..0]" (rect 0 0 99 14)(font "Arial" (font_size 8)))
(text "HexDisplay1[6..0]" (rect 120 123 219 137)(font "Arial" (font_size 8)))
(line (pt 240 128)(pt 224 128)(line_width 3))
)
(port
(pt 240 144)
(output)
(text "HexDisplay0[6..0]" (rect 0 0 99 14)(font "Arial" (font_size 8)))
(text "HexDisplay0[6..0]" (rect 120 139 219 153)(font "Arial" (font_size 8)))
(line (pt 240 144)(pt 224 144)(line_width 3))
)
(port
(pt 240 160)
(output)
(text "OutPortA[7..0]" (rect 0 0 80 14)(font "Arial" (font_size 8)))
(text "OutPortA[7..0]" (rect 139 155 219 169)(font "Arial" (font_size 8)))
(line (pt 240 160)(pt 224 160)(line_width 3))
)
(port
(pt 240 176)
(output)
(text "OutPortB[7..0]" (rect 0 0 79 14)(font "Arial" (font_size 8)))
(text "OutPortB[7..0]" (rect 140 171 219 185)(font "Arial" (font_size 8)))
(line (pt 240 176)(pt 224 176)(line_width 3))
)
(port
(pt 240 192)
(output)
(text "OutPortC[1..0]" (rect 0 0 79 14)(font "Arial" (font_size 8)))
(text "OutPortC[1..0]" (rect 140 187 219 201)(font "Arial" (font_size 8)))
(line (pt 240 192)(pt 224 192)(line_width 3))
)
(port
(pt 240 208)
(output)
(text "OutPortD[7..0]" (rect 0 0 79 14)(font "Arial" (font_size 8)))
(text "OutPortD[7..0]" (rect 140 203 219 217)(font "Arial" (font_size 8)))
(line (pt 240 208)(pt 224 208)(line_width 3))
)
(port
(pt 240 224)
(output)
(text "OutPortE[7..0]" (rect 0 0 77 14)(font "Arial" (font_size 8)))
(text "OutPortE[7..0]" (rect 142 219 219 233)(font "Arial" (font_size 8)))
(line (pt 240 224)(pt 224 224)(line_width 3))
)
(port
(pt 240 240)
(output)
(text "DataOut[7..0]" (rect 0 0 74 14)(font "Arial" (font_size 8)))
(text "DataOut[7..0]" (rect 145 235 219 249)(font "Arial" (font_size 8)))
(line (pt 240 240)(pt 224 240)(line_width 3))
)
(port
(pt 240 256)
(output)
(text "LCDDataOut[7..0]" (rect 0 0 97 14)(font "Arial" (font_size 8)))
(text "LCDDataOut[7..0]" (rect 122 251 219 265)(font "Arial" (font_size 8)))
(line (pt 240 256)(pt 224 256)(line_width 3))
)
(port
(pt 240 272)
(output)
(text "RS" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "RS" (rect 203 267 219 281)(font "Arial" (font_size 8)))
(line (pt 240 272)(pt 224 272))
)
(port
(pt 240 288)
(output)
(text "E" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "E" (rect 212 283 219 297)(font "Arial" (font_size 8)))
(line (pt 240 288)(pt 224 288))
)
(port
(pt 240 304)
(output)
(text "RW" (rect 0 0 20 14)(font "Arial" (font_size 8)))
(text "RW" (rect 199 299 219 313)(font "Arial" (font_size 8)))
(line (pt 240 304)(pt 224 304))
)
(port
(pt 240 320)
(output)
(text "LCD_ON" (rect 0 0 48 14)(font "Arial" (font_size 8)))
(text "LCD_ON" (rect 171 315 219 329)(font "Arial" (font_size 8)))
(line (pt 240 320)(pt 224 320))
)
(port
(pt 240 336)
(output)
(text "LCD_BLON" (rect 0 0 63 14)(font "Arial" (font_size 8)))
(text "LCD_BLON" (rect 156 331 219 345)(font "Arial" (font_size 8)))
(line (pt 240 336)(pt 224 336))
)
(port
(pt 240 352)
(output)
(text "Timer_IRQs" (rect 0 0 64 14)(font "Arial" (font_size 8)))
(text "Timer_IRQs" (rect 155 347 219 361)(font "Arial" (font_size 8)))
(line (pt 240 352)(pt 224 352))
)
(drawing
(rectangle (rect 16 16 224 368))
)
)