1 |
3 |
gdevic |
/*
|
2 |
|
|
WARNING: Do NOT edit the input and output ports in this file in a text
|
3 |
|
|
editor if you plan to continue editing the block that represents it in
|
4 |
|
|
the Block Editor! File corruption is VERY likely to occur.
|
5 |
|
|
*/
|
6 |
|
|
/*
|
7 |
|
|
Copyright (C) 1991-2013 Altera Corporation
|
8 |
|
|
Your use of Altera Corporation's design tools, logic functions
|
9 |
|
|
and other software and tools, and its AMPP partner logic
|
10 |
|
|
functions, and any output files from any of the foregoing
|
11 |
|
|
(including device programming or simulation files), and any
|
12 |
|
|
associated documentation or information are expressly subject
|
13 |
|
|
to the terms and conditions of the Altera Program License
|
14 |
|
|
Subscription Agreement, Altera MegaCore Function License
|
15 |
|
|
Agreement, or other applicable license agreement, including,
|
16 |
|
|
without limitation, that your use is for the sole purpose of
|
17 |
|
|
programming logic devices manufactured by Altera and sold by
|
18 |
|
|
Altera or its authorized distributors. Please refer to the
|
19 |
|
|
applicable agreement for further details.
|
20 |
|
|
*/
|
21 |
|
|
(header "symbol" (version "1.2"))
|
22 |
|
|
(symbol
|
23 |
|
|
(rect 16 16 280 400)
|
24 |
|
|
(text "reg_control" (rect 5 0 69 14)(font "Arial" (font_size 8)))
|
25 |
|
|
(text "inst" (rect 8 368 25 380)(font "Arial" ))
|
26 |
|
|
(port
|
27 |
|
|
(pt 0 32)
|
28 |
|
|
(input)
|
29 |
|
|
(text "ctl_reg_gp_we" (rect 0 0 86 14)(font "Arial" (font_size 8)))
|
30 |
|
|
(text "ctl_reg_gp_we" (rect 21 27 107 41)(font "Arial" (font_size 8)))
|
31 |
|
|
(line (pt 0 32)(pt 16 32))
|
32 |
|
|
)
|
33 |
|
|
(port
|
34 |
|
|
(pt 0 48)
|
35 |
|
|
(input)
|
36 |
|
|
(text "ctl_reg_gp_hilo[1..0]" (rect 0 0 114 14)(font "Arial" (font_size 8)))
|
37 |
|
|
(text "ctl_reg_gp_hilo[1..0]" (rect 21 43 135 57)(font "Arial" (font_size 8)))
|
38 |
|
|
(line (pt 0 48)(pt 16 48)(line_width 3))
|
39 |
|
|
)
|
40 |
|
|
(port
|
41 |
|
|
(pt 0 64)
|
42 |
|
|
(input)
|
43 |
|
|
(text "ctl_reg_gp_sel[1..0]" (rect 0 0 112 14)(font "Arial" (font_size 8)))
|
44 |
|
|
(text "ctl_reg_gp_sel[1..0]" (rect 21 59 133 73)(font "Arial" (font_size 8)))
|
45 |
|
|
(line (pt 0 64)(pt 16 64)(line_width 3))
|
46 |
|
|
)
|
47 |
|
|
(port
|
48 |
|
|
(pt 0 80)
|
49 |
|
|
(input)
|
50 |
|
|
(text "ctl_reg_ex_de_hl" (rect 0 0 97 14)(font "Arial" (font_size 8)))
|
51 |
|
|
(text "ctl_reg_ex_de_hl" (rect 21 75 118 89)(font "Arial" (font_size 8)))
|
52 |
|
|
(line (pt 0 80)(pt 16 80))
|
53 |
|
|
)
|
54 |
|
|
(port
|
55 |
|
|
(pt 0 96)
|
56 |
|
|
(input)
|
57 |
|
|
(text "ctl_reg_exx" (rect 0 0 67 14)(font "Arial" (font_size 8)))
|
58 |
|
|
(text "ctl_reg_exx" (rect 21 91 88 105)(font "Arial" (font_size 8)))
|
59 |
|
|
(line (pt 0 96)(pt 16 96))
|
60 |
|
|
)
|
61 |
|
|
(port
|
62 |
|
|
(pt 0 112)
|
63 |
|
|
(input)
|
64 |
|
|
(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
65 |
|
|
(text "clk" (rect 21 107 36 121)(font "Arial" (font_size 8)))
|
66 |
|
|
(line (pt 0 112)(pt 16 112))
|
67 |
|
|
)
|
68 |
|
|
(port
|
69 |
|
|
(pt 0 128)
|
70 |
|
|
(input)
|
71 |
|
|
(text "nreset" (rect 0 0 36 14)(font "Arial" (font_size 8)))
|
72 |
|
|
(text "nreset" (rect 21 123 57 137)(font "Arial" (font_size 8)))
|
73 |
|
|
(line (pt 0 128)(pt 16 128))
|
74 |
|
|
)
|
75 |
|
|
(port
|
76 |
|
|
(pt 0 144)
|
77 |
|
|
(input)
|
78 |
|
|
(text "use_ixiy" (rect 0 0 47 14)(font "Arial" (font_size 8)))
|
79 |
|
|
(text "use_ixiy" (rect 21 139 68 153)(font "Arial" (font_size 8)))
|
80 |
|
|
(line (pt 0 144)(pt 16 144))
|
81 |
|
|
)
|
82 |
|
|
(port
|
83 |
|
|
(pt 0 160)
|
84 |
|
|
(input)
|
85 |
|
|
(text "use_ix" (rect 0 0 37 14)(font "Arial" (font_size 8)))
|
86 |
|
|
(text "use_ix" (rect 21 155 58 169)(font "Arial" (font_size 8)))
|
87 |
|
|
(line (pt 0 160)(pt 16 160))
|
88 |
|
|
)
|
89 |
|
|
(port
|
90 |
|
|
(pt 0 176)
|
91 |
|
|
(input)
|
92 |
|
|
(text "ctl_reg_ex_af" (rect 0 0 79 14)(font "Arial" (font_size 8)))
|
93 |
|
|
(text "ctl_reg_ex_af" (rect 21 171 100 185)(font "Arial" (font_size 8)))
|
94 |
|
|
(line (pt 0 176)(pt 16 176))
|
95 |
|
|
)
|
96 |
|
|
(port
|
97 |
|
|
(pt 0 192)
|
98 |
|
|
(input)
|
99 |
|
|
(text "ctl_reg_use_sp" (rect 0 0 88 14)(font "Arial" (font_size 8)))
|
100 |
|
|
(text "ctl_reg_use_sp" (rect 21 187 109 201)(font "Arial" (font_size 8)))
|
101 |
|
|
(line (pt 0 192)(pt 16 192))
|
102 |
|
|
)
|
103 |
|
|
(port
|
104 |
|
|
(pt 0 208)
|
105 |
|
|
(input)
|
106 |
|
|
(text "ctl_reg_sys_we_hi" (rect 0 0 109 14)(font "Arial" (font_size 8)))
|
107 |
|
|
(text "ctl_reg_sys_we_hi" (rect 21 203 130 217)(font "Arial" (font_size 8)))
|
108 |
|
|
(line (pt 0 208)(pt 16 208))
|
109 |
|
|
)
|
110 |
|
|
(port
|
111 |
|
|
(pt 0 224)
|
112 |
|
|
(input)
|
113 |
|
|
(text "ctl_reg_sys_we" (rect 0 0 93 14)(font "Arial" (font_size 8)))
|
114 |
|
|
(text "ctl_reg_sys_we" (rect 21 219 114 233)(font "Arial" (font_size 8)))
|
115 |
|
|
(line (pt 0 224)(pt 16 224))
|
116 |
|
|
)
|
117 |
|
|
(port
|
118 |
|
|
(pt 0 240)
|
119 |
|
|
(input)
|
120 |
|
|
(text "ctl_reg_sys_we_lo" (rect 0 0 109 14)(font "Arial" (font_size 8)))
|
121 |
|
|
(text "ctl_reg_sys_we_lo" (rect 21 235 130 249)(font "Arial" (font_size 8)))
|
122 |
|
|
(line (pt 0 240)(pt 16 240))
|
123 |
|
|
)
|
124 |
|
|
(port
|
125 |
|
|
(pt 0 256)
|
126 |
|
|
(input)
|
127 |
|
|
(text "ctl_reg_sys_hilo[1..0]" (rect 0 0 121 14)(font "Arial" (font_size 8)))
|
128 |
|
|
(text "ctl_reg_sys_hilo[1..0]" (rect 21 251 142 265)(font "Arial" (font_size 8)))
|
129 |
|
|
(line (pt 0 256)(pt 16 256)(line_width 3))
|
130 |
|
|
)
|
131 |
|
|
(port
|
132 |
|
|
(pt 0 272)
|
133 |
|
|
(input)
|
134 |
|
|
(text "ctl_reg_sel_ir" (rect 0 0 76 14)(font "Arial" (font_size 8)))
|
135 |
|
|
(text "ctl_reg_sel_ir" (rect 21 267 97 281)(font "Arial" (font_size 8)))
|
136 |
|
|
(line (pt 0 272)(pt 16 272))
|
137 |
|
|
)
|
138 |
|
|
(port
|
139 |
|
|
(pt 0 288)
|
140 |
|
|
(input)
|
141 |
|
|
(text "ctl_reg_sel_pc" (rect 0 0 83 14)(font "Arial" (font_size 8)))
|
142 |
|
|
(text "ctl_reg_sel_pc" (rect 21 283 104 297)(font "Arial" (font_size 8)))
|
143 |
|
|
(line (pt 0 288)(pt 16 288))
|
144 |
|
|
)
|
145 |
|
|
(port
|
146 |
|
|
(pt 0 304)
|
147 |
|
|
(input)
|
148 |
|
|
(text "ctl_reg_not_pc" (rect 0 0 84 14)(font "Arial" (font_size 8)))
|
149 |
|
|
(text "ctl_reg_not_pc" (rect 21 299 105 313)(font "Arial" (font_size 8)))
|
150 |
|
|
(line (pt 0 304)(pt 16 304))
|
151 |
|
|
)
|
152 |
|
|
(port
|
153 |
|
|
(pt 0 320)
|
154 |
|
|
(input)
|
155 |
|
|
(text "ctl_reg_sel_wz" (rect 0 0 88 14)(font "Arial" (font_size 8)))
|
156 |
|
|
(text "ctl_reg_sel_wz" (rect 21 315 109 329)(font "Arial" (font_size 8)))
|
157 |
|
|
(line (pt 0 320)(pt 16 320))
|
158 |
|
|
)
|
159 |
|
|
(port
|
160 |
|
|
(pt 264 32)
|
161 |
|
|
(output)
|
162 |
|
|
(text "reg_gp_we" (rect 0 0 66 14)(font "Arial" (font_size 8)))
|
163 |
|
|
(text "reg_gp_we" (rect 177 27 243 41)(font "Arial" (font_size 8)))
|
164 |
|
|
(line (pt 264 32)(pt 248 32))
|
165 |
|
|
)
|
166 |
|
|
(port
|
167 |
|
|
(pt 264 48)
|
168 |
|
|
(output)
|
169 |
|
|
(text "reg_sel_gp_lo" (rect 0 0 80 14)(font "Arial" (font_size 8)))
|
170 |
|
|
(text "reg_sel_gp_lo" (rect 163 43 243 57)(font "Arial" (font_size 8)))
|
171 |
|
|
(line (pt 264 48)(pt 248 48))
|
172 |
|
|
)
|
173 |
|
|
(port
|
174 |
|
|
(pt 264 64)
|
175 |
|
|
(output)
|
176 |
|
|
(text "reg_sel_gp_hi" (rect 0 0 80 14)(font "Arial" (font_size 8)))
|
177 |
|
|
(text "reg_sel_gp_hi" (rect 163 59 243 73)(font "Arial" (font_size 8)))
|
178 |
|
|
(line (pt 264 64)(pt 248 64))
|
179 |
|
|
)
|
180 |
|
|
(port
|
181 |
|
|
(pt 264 80)
|
182 |
|
|
(output)
|
183 |
|
|
(text "reg_sel_bc2" (rect 0 0 70 14)(font "Arial" (font_size 8)))
|
184 |
|
|
(text "reg_sel_bc2" (rect 173 75 243 89)(font "Arial" (font_size 8)))
|
185 |
|
|
(line (pt 264 80)(pt 248 80))
|
186 |
|
|
)
|
187 |
|
|
(port
|
188 |
|
|
(pt 264 96)
|
189 |
|
|
(output)
|
190 |
|
|
(text "reg_sel_bc" (rect 0 0 63 14)(font "Arial" (font_size 8)))
|
191 |
|
|
(text "reg_sel_bc" (rect 180 91 243 105)(font "Arial" (font_size 8)))
|
192 |
|
|
(line (pt 264 96)(pt 248 96))
|
193 |
|
|
)
|
194 |
|
|
(port
|
195 |
|
|
(pt 264 112)
|
196 |
|
|
(output)
|
197 |
|
|
(text "reg_sel_de2" (rect 0 0 70 14)(font "Arial" (font_size 8)))
|
198 |
|
|
(text "reg_sel_de2" (rect 173 107 243 121)(font "Arial" (font_size 8)))
|
199 |
|
|
(line (pt 264 112)(pt 248 112))
|
200 |
|
|
)
|
201 |
|
|
(port
|
202 |
|
|
(pt 264 128)
|
203 |
|
|
(output)
|
204 |
|
|
(text "reg_sel_hl2" (rect 0 0 66 14)(font "Arial" (font_size 8)))
|
205 |
|
|
(text "reg_sel_hl2" (rect 177 123 243 137)(font "Arial" (font_size 8)))
|
206 |
|
|
(line (pt 264 128)(pt 248 128))
|
207 |
|
|
)
|
208 |
|
|
(port
|
209 |
|
|
(pt 264 144)
|
210 |
|
|
(output)
|
211 |
|
|
(text "reg_sel_de" (rect 0 0 63 14)(font "Arial" (font_size 8)))
|
212 |
|
|
(text "reg_sel_de" (rect 180 139 243 153)(font "Arial" (font_size 8)))
|
213 |
|
|
(line (pt 264 144)(pt 248 144))
|
214 |
|
|
)
|
215 |
|
|
(port
|
216 |
|
|
(pt 264 160)
|
217 |
|
|
(output)
|
218 |
|
|
(text "reg_sel_hl" (rect 0 0 59 14)(font "Arial" (font_size 8)))
|
219 |
|
|
(text "reg_sel_hl" (rect 184 155 243 169)(font "Arial" (font_size 8)))
|
220 |
|
|
(line (pt 264 160)(pt 248 160))
|
221 |
|
|
)
|
222 |
|
|
(port
|
223 |
|
|
(pt 264 176)
|
224 |
|
|
(output)
|
225 |
|
|
(text "reg_sel_ix" (rect 0 0 59 14)(font "Arial" (font_size 8)))
|
226 |
|
|
(text "reg_sel_ix" (rect 184 171 243 185)(font "Arial" (font_size 8)))
|
227 |
|
|
(line (pt 264 176)(pt 248 176))
|
228 |
|
|
)
|
229 |
|
|
(port
|
230 |
|
|
(pt 264 192)
|
231 |
|
|
(output)
|
232 |
|
|
(text "reg_sel_iy" (rect 0 0 59 14)(font "Arial" (font_size 8)))
|
233 |
|
|
(text "reg_sel_iy" (rect 184 187 243 201)(font "Arial" (font_size 8)))
|
234 |
|
|
(line (pt 264 192)(pt 248 192))
|
235 |
|
|
)
|
236 |
|
|
(port
|
237 |
|
|
(pt 264 208)
|
238 |
|
|
(output)
|
239 |
|
|
(text "reg_sel_af2" (rect 0 0 68 14)(font "Arial" (font_size 8)))
|
240 |
|
|
(text "reg_sel_af2" (rect 175 203 243 217)(font "Arial" (font_size 8)))
|
241 |
|
|
(line (pt 264 208)(pt 248 208))
|
242 |
|
|
)
|
243 |
|
|
(port
|
244 |
|
|
(pt 264 224)
|
245 |
|
|
(output)
|
246 |
|
|
(text "reg_sel_af" (rect 0 0 61 14)(font "Arial" (font_size 8)))
|
247 |
|
|
(text "reg_sel_af" (rect 182 219 243 233)(font "Arial" (font_size 8)))
|
248 |
|
|
(line (pt 264 224)(pt 248 224))
|
249 |
|
|
)
|
250 |
|
|
(port
|
251 |
|
|
(pt 264 240)
|
252 |
|
|
(output)
|
253 |
|
|
(text "reg_sel_sp" (rect 0 0 63 14)(font "Arial" (font_size 8)))
|
254 |
|
|
(text "reg_sel_sp" (rect 180 235 243 249)(font "Arial" (font_size 8)))
|
255 |
|
|
(line (pt 264 240)(pt 248 240))
|
256 |
|
|
)
|
257 |
|
|
(port
|
258 |
|
|
(pt 264 256)
|
259 |
|
|
(output)
|
260 |
|
|
(text "reg_sys_we_hi" (rect 0 0 89 14)(font "Arial" (font_size 8)))
|
261 |
|
|
(text "reg_sys_we_hi" (rect 154 251 243 265)(font "Arial" (font_size 8)))
|
262 |
|
|
(line (pt 264 256)(pt 248 256))
|
263 |
|
|
)
|
264 |
|
|
(port
|
265 |
|
|
(pt 264 272)
|
266 |
|
|
(output)
|
267 |
|
|
(text "reg_sys_we_lo" (rect 0 0 89 14)(font "Arial" (font_size 8)))
|
268 |
|
|
(text "reg_sys_we_lo" (rect 154 267 243 281)(font "Arial" (font_size 8)))
|
269 |
|
|
(line (pt 264 272)(pt 248 272))
|
270 |
|
|
)
|
271 |
|
|
(port
|
272 |
|
|
(pt 264 288)
|
273 |
|
|
(output)
|
274 |
|
|
(text "reg_sel_sys_lo" (rect 0 0 87 14)(font "Arial" (font_size 8)))
|
275 |
|
|
(text "reg_sel_sys_lo" (rect 156 283 243 297)(font "Arial" (font_size 8)))
|
276 |
|
|
(line (pt 264 288)(pt 248 288))
|
277 |
|
|
)
|
278 |
|
|
(port
|
279 |
|
|
(pt 264 304)
|
280 |
|
|
(output)
|
281 |
|
|
(text "reg_sel_sys_hi" (rect 0 0 87 14)(font "Arial" (font_size 8)))
|
282 |
|
|
(text "reg_sel_sys_hi" (rect 156 299 243 313)(font "Arial" (font_size 8)))
|
283 |
|
|
(line (pt 264 304)(pt 248 304))
|
284 |
|
|
)
|
285 |
|
|
(port
|
286 |
|
|
(pt 264 320)
|
287 |
|
|
(output)
|
288 |
|
|
(text "reg_sel_ir" (rect 0 0 56 14)(font "Arial" (font_size 8)))
|
289 |
|
|
(text "reg_sel_ir" (rect 187 315 243 329)(font "Arial" (font_size 8)))
|
290 |
|
|
(line (pt 264 320)(pt 248 320))
|
291 |
|
|
)
|
292 |
|
|
(port
|
293 |
|
|
(pt 264 336)
|
294 |
|
|
(output)
|
295 |
|
|
(text "reg_sel_pc" (rect 0 0 63 14)(font "Arial" (font_size 8)))
|
296 |
|
|
(text "reg_sel_pc" (rect 180 331 243 345)(font "Arial" (font_size 8)))
|
297 |
|
|
(line (pt 264 336)(pt 248 336))
|
298 |
|
|
)
|
299 |
|
|
(port
|
300 |
|
|
(pt 264 352)
|
301 |
|
|
(output)
|
302 |
|
|
(text "reg_sel_wz" (rect 0 0 68 14)(font "Arial" (font_size 8)))
|
303 |
|
|
(text "reg_sel_wz" (rect 175 347 243 361)(font "Arial" (font_size 8)))
|
304 |
|
|
(line (pt 264 352)(pt 248 352))
|
305 |
|
|
)
|
306 |
|
|
(drawing
|
307 |
|
|
(rectangle (rect 16 16 248 368))
|
308 |
|
|
)
|
309 |
|
|
)
|