OpenCores
URL https://opencores.org/ocsvn/a-z80/a-z80/trunk

Subversion Repositories a-z80

[/] [a-z80/] [trunk/] [cpu/] [toplevel/] [toplevel.bdf] - Blame information for rev 4

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
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 "graphic" (version "1.4"))
22
(properties
23
        (page_setup "orientation\n1\npaper_size\n2\npaper_source\n12\nmargin\n0.400:1.000:0.400:0.400\n")
24
)
25
(alias "<<__$DEF_ALIAS430>>""nBUSACK")
26
(alias "<<__$DEF_ALIAS6200>>""db0[7..0]")
27
(alias "<<__$DEF_ALIAS423>>""nM1")
28
(alias "<<__$DEF_ALIAS89>>""nNMI")
29
(alias "<<__$DEF_ALIAS90>>""nRESET")
30
(alias "<<__$DEF_ALIAS424>>""nMREQ")
31
(alias "<<__$DEF_ALIAS91>>""nBUSRQ")
32
(alias "<<__$DEF_ALIAS425>>""nIORQ")
33
(alias "<<__$DEF_ALIAS92>>""CLK")
34
(alias "<<__$DEF_ALIAS426>>""nRD")
35
(alias "<<__$DEF_ALIAS427>>""nWR")
36
(alias "<<__$DEF_ALIAS5116>>""db0[7..0]")
37
(alias "<<__$DEF_ALIAS428>>""nM1;nMREQ;nIORQ;nRD;nWR;nRFSH;nHALT;nWAIT;nBUSACK;nINT;nNMI;nRESET;nBUSRQ;CLK")
38
(alias "<<__$DEF_ALIAS5171>>""db0[7..0]")
39
(alias "<<__$DEF_ALIAS429>>""nHALT")
40
(alias "<<__$DEF_ALIAS87>>""nWAIT")
41
(alias "<<__$DEF_ALIAS5119>>""db0[7..0]")
42
(alias "<<__$DEF_ALIAS6208>>""db0[7..0]")
43
(alias "<<__$DEF_ALIAS88>>""nINT")
44
(pin
45
        (input)
46
        (rect 32 192 208 208)
47
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
48
        (text "nWAIT" (rect 9 0 42 12)(font "Arial" ))
49
        (pt 176 8)
50
        (drawing
51
                (line (pt 92 12)(pt 117 12))
52
                (line (pt 92 4)(pt 117 4))
53
                (line (pt 121 8)(pt 176 8))
54
                (line (pt 92 12)(pt 92 4))
55
                (line (pt 117 4)(pt 121 8))
56
                (line (pt 117 12)(pt 121 8))
57
        )
58
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
59
)
60
(pin
61
        (input)
62
        (rect 32 208 208 224)
63
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
64
        (text "nINT" (rect 9 0 32 12)(font "Arial" ))
65
        (pt 176 8)
66
        (drawing
67
                (line (pt 92 12)(pt 117 12))
68
                (line (pt 92 4)(pt 117 4))
69
                (line (pt 121 8)(pt 176 8))
70
                (line (pt 92 12)(pt 92 4))
71
                (line (pt 117 4)(pt 121 8))
72
                (line (pt 117 12)(pt 121 8))
73
        )
74
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
75
)
76
(pin
77
        (input)
78
        (rect 32 224 208 240)
79
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
80
        (text "nNMI" (rect 9 0 34 12)(font "Arial" ))
81
        (pt 176 8)
82
        (drawing
83
                (line (pt 92 12)(pt 117 12))
84
                (line (pt 92 4)(pt 117 4))
85
                (line (pt 121 8)(pt 176 8))
86
                (line (pt 92 12)(pt 92 4))
87
                (line (pt 117 4)(pt 121 8))
88
                (line (pt 117 12)(pt 121 8))
89
        )
90
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
91
)
92
(pin
93
        (input)
94
        (rect 32 240 208 256)
95
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
96
        (text "nRESET" (rect 9 0 50 12)(font "Arial" ))
97
        (pt 176 8)
98
        (drawing
99
                (line (pt 92 12)(pt 117 12))
100
                (line (pt 92 4)(pt 117 4))
101
                (line (pt 121 8)(pt 176 8))
102
                (line (pt 92 12)(pt 92 4))
103
                (line (pt 117 4)(pt 121 8))
104
                (line (pt 117 12)(pt 121 8))
105
        )
106
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
107
)
108
(pin
109
        (input)
110
        (rect 32 256 208 272)
111
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
112
        (text "nBUSRQ" (rect 9 0 53 12)(font "Arial" ))
113
        (pt 176 8)
114
        (drawing
115
                (line (pt 92 12)(pt 117 12))
116
                (line (pt 92 4)(pt 117 4))
117
                (line (pt 121 8)(pt 176 8))
118
                (line (pt 92 12)(pt 92 4))
119
                (line (pt 117 4)(pt 121 8))
120
                (line (pt 117 12)(pt 121 8))
121
        )
122
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
123
)
124
(pin
125
        (input)
126
        (rect 32 280 208 296)
127
        (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
128
        (text "CLK" (rect 9 0 30 12)(font "Arial" ))
129
        (pt 176 8)
130
        (drawing
131
                (line (pt 92 12)(pt 117 12))
132
                (line (pt 92 4)(pt 117 4))
133
                (line (pt 121 8)(pt 176 8))
134
                (line (pt 92 12)(pt 92 4))
135
                (line (pt 117 4)(pt 121 8))
136
                (line (pt 117 12)(pt 121 8))
137
        )
138
        (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
139
)
140
(pin
141
        (output)
142
        (rect 32 48 208 64)
143
        (text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
144
        (text "nM1" (rect 66 0 86 12)(font "Arial" ))
145
        (pt 176 8)
146
        (drawing
147
                (line (pt 176 8)(pt 124 8))
148
                (line (pt 124 4)(pt 98 4))
149
                (line (pt 124 12)(pt 98 12))
150
                (line (pt 124 12)(pt 124 4))
151
                (line (pt 98 4)(pt 94 8))
152
                (line (pt 94 8)(pt 98 12))
153
                (line (pt 98 12)(pt 94 8))
154
        )
155
        (flipy)
156
)
157
(pin
158
        (output)
159
        (rect 32 64 208 80)
160
        (text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
161
        (text "nMREQ" (rect 49 0 86 12)(font "Arial" ))
162
        (pt 176 8)
163
        (drawing
164
                (line (pt 176 8)(pt 124 8))
165
                (line (pt 124 4)(pt 98 4))
166
                (line (pt 124 12)(pt 98 12))
167
                (line (pt 124 12)(pt 124 4))
168
                (line (pt 98 4)(pt 94 8))
169
                (line (pt 94 8)(pt 98 12))
170
                (line (pt 98 12)(pt 94 8))
171
        )
172
        (flipy)
173
)
174
(pin
175
        (output)
176
        (rect 32 80 208 96)
177
        (text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
178
        (text "nIORQ" (rect 52 0 86 12)(font "Arial" ))
179
        (pt 176 8)
180
        (drawing
181
                (line (pt 176 8)(pt 124 8))
182
                (line (pt 124 4)(pt 98 4))
183
                (line (pt 124 12)(pt 98 12))
184
                (line (pt 124 12)(pt 124 4))
185
                (line (pt 98 4)(pt 94 8))
186
                (line (pt 94 8)(pt 98 12))
187
                (line (pt 98 12)(pt 94 8))
188
        )
189
        (flipy)
190
)
191
(pin
192
        (output)
193
        (rect 32 96 208 112)
194
        (text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
195
        (text "nRD" (rect 64 0 86 12)(font "Arial" ))
196
        (pt 176 8)
197
        (drawing
198
                (line (pt 176 8)(pt 124 8))
199
                (line (pt 124 4)(pt 98 4))
200
                (line (pt 124 12)(pt 98 12))
201
                (line (pt 124 12)(pt 124 4))
202
                (line (pt 98 4)(pt 94 8))
203
                (line (pt 94 8)(pt 98 12))
204
                (line (pt 98 12)(pt 94 8))
205
        )
206
        (flipy)
207
)
208
(pin
209
        (output)
210
        (rect 32 112 208 128)
211
        (text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
212
        (text "nWR" (rect 62 0 86 12)(font "Arial" ))
213
        (pt 176 8)
214
        (drawing
215
                (line (pt 176 8)(pt 124 8))
216
                (line (pt 124 4)(pt 98 4))
217
                (line (pt 124 12)(pt 98 12))
218
                (line (pt 124 12)(pt 124 4))
219
                (line (pt 98 4)(pt 94 8))
220
                (line (pt 94 8)(pt 98 12))
221
                (line (pt 98 12)(pt 94 8))
222
        )
223
        (flipy)
224
)
225
(pin
226
        (output)
227
        (rect 32 128 208 144)
228
        (text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
229
        (text "nRFSH" (rect 50 0 86 12)(font "Arial" ))
230
        (pt 176 8)
231
        (drawing
232
                (line (pt 176 8)(pt 124 8))
233
                (line (pt 124 4)(pt 98 4))
234
                (line (pt 124 12)(pt 98 12))
235
                (line (pt 124 12)(pt 124 4))
236
                (line (pt 98 4)(pt 94 8))
237
                (line (pt 94 8)(pt 98 12))
238
                (line (pt 98 12)(pt 94 8))
239
        )
240
        (flipy)
241
)
242
(pin
243
        (output)
244
        (rect 32 160 208 176)
245
        (text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
246
        (text "nBUSACK" (rect 36 0 86 12)(font "Arial" ))
247
        (pt 176 8)
248
        (drawing
249
                (line (pt 176 8)(pt 124 8))
250
                (line (pt 124 4)(pt 98 4))
251
                (line (pt 124 12)(pt 98 12))
252
                (line (pt 124 12)(pt 124 4))
253
                (line (pt 98 4)(pt 94 8))
254
                (line (pt 94 8)(pt 98 12))
255
                (line (pt 98 12)(pt 94 8))
256
        )
257
        (flipy)
258
)
259
(pin
260
        (output)
261
        (rect 32 144 208 160)
262
        (text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
263
        (text "nHALT" (rect 53 0 86 12)(font "Arial" ))
264
        (pt 176 8)
265
        (drawing
266
                (line (pt 176 8)(pt 124 8))
267
                (line (pt 124 4)(pt 98 4))
268
                (line (pt 124 12)(pt 98 12))
269
                (line (pt 124 12)(pt 124 4))
270
                (line (pt 98 4)(pt 94 8))
271
                (line (pt 94 8)(pt 98 12))
272
                (line (pt 98 12)(pt 94 8))
273
        )
274
        (flipy)
275
)
276
(pin
277
        (output)
278
        (rect 1288 968 1464 984)
279
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
280
        (text "A[15..0]" (rect 90 0 128 12)(font "Arial" ))
281
        (pt 0 8)
282
        (drawing
283
                (line (pt 0 8)(pt 52 8))
284
                (line (pt 52 4)(pt 78 4))
285
                (line (pt 52 12)(pt 78 12))
286
                (line (pt 52 12)(pt 52 4))
287
                (line (pt 78 4)(pt 82 8))
288
                (line (pt 82 8)(pt 78 12))
289
                (line (pt 78 12)(pt 82 8))
290
        )
291
)
292
(pin
293
        (bidir)
294
        (rect 1440 728 1456 904)
295
        (text "BIDIR" (rect 6 1 16 25)(font "Arial" (font_size 6))(vertical))
296
        (text "D[7..0]" (rect 4 90 16 124)(font "Arial" )(vertical))
297
        (pt 8 0)
298
        (drawing
299
                (line (pt 12 56)(pt 12 78))
300
                (line (pt 8 0)(pt 8 52))
301
                (line (pt 4 56)(pt 4 78))
302
                (line (pt 12 78)(pt 8 82))
303
                (line (pt 4 78)(pt 8 82))
304
                (line (pt 12 56)(pt 8 52))
305
                (line (pt 8 52)(pt 4 56))
306
        )
307
        (rotate270)
308
        (text "VCC" (rect -1 4 9 24)(font "Arial" (font_size 6))(vertical))
309
)
310
(block
311
        (rect 488 120 624 192)
312
        (text "pin_control" (rect 5 5 58 17)(font "Arial" ))    (text "pin_control_" (rect 5 70 64 82)(font "Arial" ))  (block_io "T1" (input))
313
        (block_io "T2" (input))
314
        (block_io "T3" (input))
315
        (block_io "T4" (input))
316
        (block_io "fFetch" (input))
317
        (block_io "fMRead" (input))
318
        (block_io "fMWrite" (input))
319
        (block_io "fIORead" (input))
320
        (block_io "fIOWrite" (input))
321
        (block_io "bus_ab_pin_we" (output))
322
        (block_io "bus_db_pin_oe" (output))
323
        (block_io "bus_db_pin_re" (output))
324
)
325
(block
326
        (rect 352 256 456 344)
327
        (text "clk_delay" (rect 5 5 52 17)(font "Arial" ))      (text "clk_delay_" (rect 5 86 58 98)(font "Arial" ))    (block_io "in_intr" (input))
328
        (block_io "M1" (input))
329
        (block_io "T1" (input))
330
        (block_io "clk" (input))
331
        (block_io "mwait" (input))
332
        (block_io "latch_wait" (input))
333
        (block_io "busrq" (input))
334
        (block_io "nreset" (input))
335
        (block_io "setM1" (input))
336
        (block_io "hold_clk_iorq" (output))
337
        (block_io "iorq_Tw" (output))
338
        (block_io "hold_clk_wait" (output))
339
        (block_io "busack" (output))
340
        (block_io "hold_clk_busrq" (output))
341
        (block_io "pin_control_oe" (output))
342
)
343
(block
344
        (rect 1344 392 1432 504)
345
        (text "bus_control" (rect 5 5 61 17)(font "Arial" ))    (text "bus_control_" (rect 5 110 67 122)(font "Arial" ))        (block_io "ctl_bus_db_oe" (input))
346
        (block_io "ctl_bus_zero_oe" (input))
347
        (block_io "ctl_bus_ff_oe" (input))
348
        (block_io "bus_db_oe" (output))
349
        (block_io "db[7..0]" (bidir))
350
        (mapper
351
                (pt 0 56)
352
                (bidir)
353
                )
354
)
355
(block
356
        (rect 1296 624 1400 744)
357
        (text "SW1" (rect 5 5 28 17)(font "Arial" ))    (text "sw1_" (rect 5 118 29 130)(font "Arial" ))        (block_io "sw_up_en" (input))
358
        (block_io "sw_down_en" (input))
359
        (block_io "sw_mask543_en" (input))
360
        (block_io "db_down[7..0]" (bidir))
361
        (block_io "db_up[7..0]" (bidir))
362
        (mapper
363
                (pt 24 0)
364
                (bidir)
365
                )
366
        (mapper
367
                (pt 0 72)
368
                (bidir)
369
                )
370
)
371
(block
372
        (rect 744 672 840 784)
373
        (text "SW2" (rect 5 5 28 17)(font "Arial" ))    (text "sw2_" (rect 5 110 29 122)(font "Arial" ))        (block_io "sw_up_en" (input))
374
        (block_io "sw_down_en" (input))
375
        (block_io "db_down[7..0]" (bidir))
376
        (block_io "db_up[7..0]" (bidir))
377
        (mapper
378
                (pt 96 24)
379
                (bidir)
380
                )
381
        (mapper
382
                (pt 0 64)
383
                (bidir)
384
                )
385
        (mapper
386
                (pt 48 112)
387
                (bidir)
388
                )
389
)
390
(block
391
        (rect 888 720 1264 912)
392
        (text "4-BIT ALU CORE UNIT" (rect 5 5 120 17)(font "Arial" ))   (text "alu_" (rect 5 190 25 202)(font "Arial" ))        (block_io "alu_oe" (input))
393
        (block_io "alu_shift_in" (input))
394
        (block_io "alu_shift_left" (input))
395
        (block_io "alu_shift_right" (input))
396
        (block_io "alu_core_R" (input))
397
        (block_io "alu_core_V" (input))
398
        (block_io "alu_core_S" (input))
399
        (block_io "alu_bs_oe" (input))
400
        (block_io "alu_parity_in" (input))
401
        (block_io "alu_shift_oe" (input))
402
        (block_io "alu_core_cf_in" (input))
403
        (block_io "alu_op2_oe" (input))
404
        (block_io "alu_op1_oe" (input))
405
        (block_io "alu_res_oe" (input))
406
        (block_io "alu_op1_sel_low" (input))
407
        (block_io "alu_op1_sel_zero" (input))
408
        (block_io "alu_op1_sel_bus" (input))
409
        (block_io "alu_op2_sel_zero" (input))
410
        (block_io "alu_op2_sel_bus" (input))
411
        (block_io "alu_op2_sel_lq" (input))
412
        (block_io "alu_op_low" (input))
413
        (block_io "alu_sel_op2_neg" (input))
414
        (block_io "alu_sel_op2_high" (input))
415
        (block_io "clk" (input))
416
        (block_io "bsel[2..0]" (input))
417
        (block_io "alu_zero" (output))
418
        (block_io "alu_parity_out" (output))
419
        (block_io "alu_high_eq_9" (output))
420
        (block_io "alu_high_gt_9" (output))
421
        (block_io "alu_low_gt_9" (output))
422
        (block_io "alu_shift_db0" (output))
423
        (block_io "alu_shift_db7" (output))
424
        (block_io "alu_core_cf_out" (output))
425
        (block_io "alu_sf_out" (output))
426
        (block_io "alu_yf_out" (output))
427
        (block_io "alu_xf_out" (output))
428
        (block_io "alu_vf_out" (output))
429
        (block_io "test_db_low[3..0]" (output))
430
        (block_io "test_db_high[3..0]" (output))
431
        (block_io "db[7..0]" (bidir))
432
        (mapper
433
                (pt 320 0)
434
                (bidir)
435
                )
436
        (mapper
437
                (pt 112 0)
438
                (bidir)
439
                )
440
        (mapper
441
                (pt 0 120)
442
                (bidir)
443
                )
444
)
445
(block
446
        (rect 888 592 1112 664)
447
        (text "ALU FLAGS" (rect 5 5 65 17)(font "Arial" ))      (text "alu_flags_" (rect 5 70 55 82)(font "Arial" ))    (block_io "ctl_flags_oe" (input))
448
        (block_io "ctl_flags_bus" (input))
449
        (block_io "ctl_flags_alu" (input))
450
        (block_io "alu_sf_out" (input))
451
        (block_io "ctl_flags_sz_we" (input))
452
        (block_io "alu_zero" (input))
453
        (block_io "ctl_alu_zero_16bit" (input))
454
        (block_io "alu_yf_out" (input))
455
        (block_io "ctl_flags_xy_we" (input))
456
        (block_io "ctl_flags_hf_we" (input))
457
        (block_io "ctl_flags_hf_cpl" (input))
458
        (block_io "ctl_flags_hf2_we" (input))
459
        (block_io "alu_xf_out" (input))
460
        (block_io "pf_sel" (input))
461
        (block_io "ctl_flags_pf_we" (input))
462
        (block_io "ctl_flags_nf_set" (input))
463
        (block_io "ctl_flags_nf_clr" (input))
464
        (block_io "ctl_flags_nf_we" (input))
465
        (block_io "alu_core_cf_out" (input))
466
        (block_io "ctl_flags_cf_we" (input))
467
        (block_io "ctl_flags_cf2_we" (input))
468
        (block_io "ctl_flags_cf2_sel[1..0]" (input))
469
        (block_io "shift_cf_out" (input))
470
        (block_io "daa_cf_out" (input))
471
        (block_io "clk" (input))
472
        (block_io "ctl_flags_use_cf2" (input))
473
        (block_io "ctl_flags_cf_set" (input))
474
        (block_io "ctl_flags_cf_cpl" (input))
475
        (block_io "flags_sf" (output))
476
        (block_io "flags_zf" (output))
477
        (block_io "flags_hf" (output))
478
        (block_io "flags_hf2" (output))
479
        (block_io "flags_pf" (output))
480
        (block_io "flags_nf" (output))
481
        (block_io "flags_cf_latch" (output))
482
        (block_io "flags_cf" (output))
483
        (block_io "db[7..0]" (bidir))
484
        (mapper
485
                (pt 112 72)
486
                (bidir)
487
                )
488
        (mapper
489
                (pt 112 0)
490
                (bidir)
491
                )
492
)
493
(block
494
        (rect 432 688 696 912)
495
        (text "REGISTER FILE ARRAY" (rect 5 5 130 17)(font "Arial" ))   (text "reg_file_" (rect 5 222 47 234)(font "Arial" ))   (block_io "reg_sel_ir" (input))
496
        (block_io "reg_sel_pc" (input))
497
        (block_io "ctl_sw_4d" (input))
498
        (block_io "ctl_sw_4u" (input))
499
        (block_io "reg_sel_wz" (input))
500
        (block_io "reg_sel_sp" (input))
501
        (block_io "reg_sel_iy" (input))
502
        (block_io "reg_sel_ix" (input))
503
        (block_io "reg_sel_hl2" (input))
504
        (block_io "reg_sel_hl" (input))
505
        (block_io "reg_sel_de2" (input))
506
        (block_io "reg_sel_de" (input))
507
        (block_io "reg_sel_bc2" (input))
508
        (block_io "reg_sel_bc" (input))
509
        (block_io "reg_sel_af2" (input))
510
        (block_io "reg_sel_af" (input))
511
        (block_io "ctl_reg_in_hi" (input))
512
        (block_io "ctl_reg_in_lo" (input))
513
        (block_io "ctl_reg_out_lo" (input))
514
        (block_io "ctl_reg_out_hi" (input))
515
        (block_io "reg_gp_we" (input))
516
        (block_io "reg_sys_we_lo" (input))
517
        (block_io "reg_sel_sys_lo" (input))
518
        (block_io "reg_sel_gp_lo" (input))
519
        (block_io "clk" (input))
520
        (block_io "reg_sys_we_hi" (input))
521
        (block_io "reg_sel_sys_hi" (input))
522
        (block_io "reg_sel_gp_hi" (input))
523
        (block_io "db_lo_ds[7..0]" (bidir))
524
        (block_io "db_lo_as[7..0]" (bidir))
525
        (block_io "db_hi_ds[7..0]" (bidir))
526
        (block_io "db_hi_as[7..0]" (bidir))
527
        (mapper
528
                (pt 264 152)
529
                (bidir)
530
                )
531
        (mapper
532
                (pt 264 48)
533
                (bidir)
534
                )
535
        (mapper
536
                (pt 128 0)
537
                (bidir)
538
                )
539
        (mapper
540
                (pt 0 112)
541
                (bidir)
542
                )
543
)
544
(block
545
        (rect 432 592 696 664)
546
        (text "REGISTER CONTROL" (rect 5 5 117 17)(font "Arial" ))      (text "reg_control_" (rect 5 70 65 82)(font "Arial" ))  (block_io "ctl_reg_gp_we" (input))
547
        (block_io "ctl_reg_gp_hilo[1..0]" (input))
548
        (block_io "ctl_reg_gp_sel[1..0]" (input))
549
        (block_io "ctl_reg_ex_de_hl" (input))
550
        (block_io "ctl_reg_exx" (input))
551
        (block_io "clk" (input))
552
        (block_io "nreset" (input))
553
        (block_io "use_ixiy" (input))
554
        (block_io "use_ix" (input))
555
        (block_io "ctl_reg_ex_af" (input))
556
        (block_io "ctl_reg_use_sp" (input))
557
        (block_io "ctl_reg_sys_we_hi" (input))
558
        (block_io "ctl_reg_sys_we" (input))
559
        (block_io "ctl_reg_sys_we_lo" (input))
560
        (block_io "ctl_reg_sys_hilo[1..0]" (input))
561
        (block_io "ctl_reg_sel_ir" (input))
562
        (block_io "ctl_reg_sel_pc" (input))
563
        (block_io "ctl_reg_not_pc" (input))
564
        (block_io "ctl_reg_sel_wz" (input))
565
        (block_io "reg_gp_we" (output))
566
        (block_io "reg_sel_gp_lo" (output))
567
        (block_io "reg_sel_gp_hi" (output))
568
        (block_io "reg_sel_bc2" (output))
569
        (block_io "reg_sel_bc" (output))
570
        (block_io "reg_sel_de2" (output))
571
        (block_io "reg_sel_hl2" (output))
572
        (block_io "reg_sel_de" (output))
573
        (block_io "reg_sel_hl" (output))
574
        (block_io "reg_sel_ix" (output))
575
        (block_io "reg_sel_iy" (output))
576
        (block_io "reg_sel_af2" (output))
577
        (block_io "reg_sel_af" (output))
578
        (block_io "reg_sel_sp" (output))
579
        (block_io "reg_sys_we_hi" (output))
580
        (block_io "reg_sys_we_lo" (output))
581
        (block_io "reg_sel_sys_lo" (output))
582
        (block_io "reg_sel_sys_hi" (output))
583
        (block_io "reg_sel_ir" (output))
584
        (block_io "reg_sel_pc" (output))
585
        (block_io "reg_sel_wz" (output))
586
        (mapper
587
                (pt 128 72)
588
                (bidir)
589
                )
590
        (mapper
591
                (pt 216 0)
592
                (bidir)
593
                )
594
)
595
(block
596
        (rect 216 688 368 912)
597
        (text "A. LATCH AND INCREMENTER" (rect 5 5 165 17)(font "Arial" ))      (text "address_latch_" (rect 5 222 79 234)(font "Arial" ))      (block_io "ctl_inc_zero" (input))
598
        (block_io "ctl_bus_inc_oe" (input))
599
        (block_io "ctl_inc_limit6" (input))
600
        (block_io "ctl_inc_dec" (input))
601
        (block_io "ctl_inc_cy" (input))
602
        (block_io "clk" (input))
603
        (block_io "ctl_al_we" (input))
604
        (block_io "ctl_apin_mux2" (input))
605
        (block_io "ctl_apin_mux" (input))
606
        (block_io "address_is_1" (output))
607
        (block_io "address[15..0]" (output))
608
        (block_io "abus[15..0]" (bidir))
609
        (mapper
610
                (pt 152 112)
611
                (bidir)
612
                )
613
        (mapper
614
                (pt 72 224)
615
                (bidir)
616
                )
617
)
618
(block
619
        (rect 200 952 1280 1008)
620
        (text "ADDRESS PIN LATCHES AND PADS" (rect 5 5 193 17)(font "Arial" ))  (text "address_pins_" (rect 5 54 75 66)(font "Arial" )) (block_io "pin_control_oe" (input))
621
        (block_io "address[15..0]" (input))
622
        (block_io "clk" (input))
623
        (block_io "bus_ab_pin_we" (input))
624
        (block_io "abus[15..0]" (output))
625
        (mapper
626
                (pt 1080 24)
627
                (bidir)
628
                )
629
        (mapper
630
                (pt 88 0)
631
                (bidir)
632
                )
633
)
634
(block
635
        (rect 1368 104 1456 368)
636
        (text "DATA PINS" (rect 5 5 62 17)(font "Arial" ))      (text "data_pins_" (rect 5 262 58 274)(font "Arial" ))  (block_io "bus_db_pin_oe" (input))
637
        (block_io "clk" (input))
638
        (block_io "bus_db_pin_re" (input))
639
        (block_io "ctl_bus_db_we" (input))
640
        (block_io "bus_db_oe" (input))
641
        (block_io "D[7..0]" (bidir))
642
        (block_io "db[7..0]" (bidir))
643
        (mapper
644
                (pt 0 56)
645
                (bidir)
646
                (mapping "db[7..0]" "db0[7..0]" )
647
                (annotation_block (mapping)(rect 1248 176 1352 208))
648
        )
649
        (mapper
650
                (pt 80 264)
651
                (bidir)
652
                )
653
)
654
(block
655
        (rect 688 224 1264 504)
656
        (text "EXECUTE TIMING MATRIX" (rect 5 5 138 17)(font "Arial" )) (text "execute_" (rect 5 278 49 290)(font "Arial" ))    (block_io "pla[104..0]" (input))
657
        (block_io "fpga_reset" (input))
658
        (block_io "nreset" (input))
659
        (block_io "clk" (input))
660
        (block_io "in_intr" (input))
661
        (block_io "in_nmi" (input))
662
        (block_io "in_halt" (input))
663
        (block_io "im1" (input))
664
        (block_io "im2" (input))
665
        (block_io "use_ixiy" (input))
666
        (block_io "flags_cond_true" (input))
667
        (block_io "repeat_en" (input))
668
        (block_io "flags_zf" (input))
669
        (block_io "flags_nf" (input))
670
        (block_io "flags_sf" (input))
671
        (block_io "flags_cf" (input))
672
        (block_io "M1" (input))
673
        (block_io "M2" (input))
674
        (block_io "M3" (input))
675
        (block_io "M4" (input))
676
        (block_io "M5" (input))
677
        (block_io "M6" (input))
678
        (block_io "T1" (input))
679
        (block_io "T2" (input))
680
        (block_io "T3" (input))
681
        (block_io "T4" (input))
682
        (block_io "T5" (input))
683
        (block_io "T6" (input))
684
        (block_io "ctl_state_iy_set" (output))
685
        (block_io "ctl_state_ixiy_clr" (output))
686
        (block_io "ctl_state_ixiy_we" (output))
687
        (block_io "ctl_state_halt_set" (output))
688
        (block_io "ctl_state_tbl_clr" (output))
689
        (block_io "ctl_state_tbl_ed_set" (output))
690
        (block_io "ctl_state_tbl_cb_set" (output))
691
        (block_io "ctl_state_alu" (output))
692
        (block_io "ctl_repeat_we" (output))
693
        (block_io "ctl_iff1_iff2" (output))
694
        (block_io "ctl_iffx_we" (output))
695
        (block_io "ctl_iffx_bit" (output))
696
        (block_io "ctl_im_we" (output))
697
        (block_io "ctl_no_ints" (output))
698
        (block_io "ctl_ir_we" (output))
699
        (block_io "ctl_mRead" (output))
700
        (block_io "ctl_mWrite" (output))
701
        (block_io "ctl_iorw" (output))
702
        (block_io "ctl_shift_en" (output))
703
        (block_io "ctl_daa_oe" (output))
704
        (block_io "ctl_alu_op_low" (output))
705
        (block_io "ctl_cond_short" (output))
706
        (block_io "ctl_alu_core_hf" (output))
707
        (block_io "ctl_eval_cond" (output))
708
        (block_io "ctl_66_oe" (output))
709
        (block_io "ctl_pf_sel[1..0]" (output))
710
        (block_io "ctl_alu_oe" (output))
711
        (block_io "ctl_alu_shift_oe" (output))
712
        (block_io "ctl_alu_op2_oe" (output))
713
        (block_io "ctl_alu_res_oe" (output))
714
        (block_io "ctl_alu_op1_oe" (output))
715
        (block_io "ctl_alu_bs_oe" (output))
716
        (block_io "ctl_alu_op1_sel_bus" (output))
717
        (block_io "ctl_alu_op1_sel_low" (output))
718
        (block_io "ctl_alu_op1_sel_zero" (output))
719
        (block_io "ctl_alu_op2_sel_zero" (output))
720
        (block_io "ctl_alu_op2_sel_bus" (output))
721
        (block_io "ctl_alu_op2_sel_lq" (output))
722
        (block_io "ctl_alu_sel_op2_neg" (output))
723
        (block_io "ctl_alu_sel_op2_high" (output))
724
        (block_io "ctl_alu_core_R" (output))
725
        (block_io "ctl_alu_core_V" (output))
726
        (block_io "ctl_alu_core_S" (output))
727
        (block_io "ctl_flags_oe" (output))
728
        (block_io "ctl_flags_bus" (output))
729
        (block_io "ctl_flags_alu" (output))
730
        (block_io "ctl_flags_nf_set" (output))
731
        (block_io "ctl_flags_cf_set" (output))
732
        (block_io "ctl_flags_cf_cpl" (output))
733
        (block_io "ctl_flags_cf_we" (output))
734
        (block_io "ctl_flags_sz_we" (output))
735
        (block_io "ctl_flags_xy_we" (output))
736
        (block_io "ctl_flags_hf_we" (output))
737
        (block_io "ctl_flags_pf_we" (output))
738
        (block_io "ctl_flags_nf_we" (output))
739
        (block_io "ctl_flags_cf2_we" (output))
740
        (block_io "ctl_flags_hf_cpl" (output))
741
        (block_io "ctl_flags_use_cf2" (output))
742
        (block_io "ctl_flags_hf2_we" (output))
743
        (block_io "ctl_flags_nf_clr" (output))
744
        (block_io "ctl_alu_zero_16bit" (output))
745
        (block_io "ctl_flags_cf2_sel[1..0]" (output))
746
        (block_io "ctl_sw_4d" (output))
747
        (block_io "ctl_sw_4u" (output))
748
        (block_io "ctl_reg_in_hi" (output))
749
        (block_io "ctl_reg_in_lo" (output))
750
        (block_io "ctl_reg_out_lo" (output))
751
        (block_io "ctl_reg_out_hi" (output))
752
        (block_io "ctl_reg_exx" (output))
753
        (block_io "ctl_reg_ex_af" (output))
754
        (block_io "ctl_reg_ex_de_hl" (output))
755
        (block_io "ctl_reg_use_sp" (output))
756
        (block_io "ctl_reg_sel_pc" (output))
757
        (block_io "ctl_reg_sel_ir" (output))
758
        (block_io "ctl_reg_sel_wz" (output))
759
        (block_io "ctl_reg_gp_we" (output))
760
        (block_io "ctl_reg_not_pc" (output))
761
        (block_io "ctl_reg_sys_we_lo" (output))
762
        (block_io "ctl_reg_sys_we_hi" (output))
763
        (block_io "ctl_reg_sys_we" (output))
764
        (block_io "ctl_reg_gp_hilo[1..0]" (output))
765
        (block_io "ctl_reg_gp_sel[1..0]" (output))
766
        (block_io "ctl_reg_sys_hilo[1..0]" (output))
767
        (block_io "ctl_inc_cy" (output))
768
        (block_io "ctl_inc_dec" (output))
769
        (block_io "ctl_inc_zero" (output))
770
        (block_io "ctl_al_we" (output))
771
        (block_io "ctl_inc_limit6" (output))
772
        (block_io "ctl_bus_inc_oe" (output))
773
        (block_io "ctl_apin_mux" (output))
774
        (block_io "ctl_apin_mux2" (output))
775
        (block_io "ctl_bus_ff_oe" (output))
776
        (block_io "ctl_bus_zero_oe" (output))
777
        (block_io "ctl_bus_db_oe" (output))
778
        (block_io "ctl_sw_1u" (output))
779
        (block_io "ctl_sw_1d" (output))
780
        (block_io "ctl_sw_2u" (output))
781
        (block_io "ctl_sw_2d" (output))
782
        (block_io "ctl_sw_mask543_en" (output))
783
        (block_io "ctl_bus_db_we" (output))
784
        (block_io "nextM" (output))
785
        (block_io "setM1" (output))
786
        (block_io "fFetch" (output))
787
        (block_io "fMRead" (output))
788
        (block_io "fMWrite" (output))
789
        (block_io "fIORead" (output))
790
        (block_io "fIOWrite" (output))
791
        (mapper
792
                (pt 184 0)
793
                (bidir)
794
                )
795
        (mapper
796
                (pt 536 0)
797
                (bidir)
798
                )
799
        (mapper
800
                (pt 520 280)
801
                (bidir)
802
                )
803
        (mapper
804
                (pt 312 280)
805
                (bidir)
806
                )
807
        (mapper
808
                (pt 72 280)
809
                (bidir)
810
                )
811
        (mapper
812
                (pt 0 72)
813
                (bidir)
814
                )
815
        (mapper
816
                (pt 0 232)
817
                (bidir)
818
                )
819
)
820
(block
821
        (rect 688 120 1104 200)
822
        (text "PLA STATIC DECODE ARRAY" (rect 5 5 159 17)(font "Arial" ))       (text "pla_decode_" (rect 5 78 66 90)(font "Arial" ))   (block_io "opcode[7..0]" (input))
823
        (block_io "prefix[6..0]" (input))
824
        (block_io "pla[104..0]" (output))
825
        (mapper
826
                (pt 416 56)
827
                (bidir)
828
                )
829
        (mapper
830
                (pt 184 80)
831
                (bidir)
832
                )
833
)
834
(block
835
        (rect 1136 120 1264 200)
836
        (text "INSTRUCTION REGISTER" (rect 5 5 139 17)(font "Arial" ))  (text "instruction_reg_" (rect 5 78 82 90)(font "Arial" ))      (block_io "db[7..0]" (input))
837
        (block_io "clk" (input))
838
        (block_io "ctl_ir_we" (input))
839
        (block_io "opcode[7..0]" (output))
840
        (mapper
841
                (pt 128 40)
842
                (bidir)
843
                (mapping "db[7..0]" "db0[7..0]" )
844
                (annotation_block (mapping)(rect 1312 176 1416 208))
845
        )
846
        (mapper
847
                (pt 0 56)
848
                (bidir)
849
                )
850
        (mapper
851
                (pt 88 80)
852
                (bidir)
853
                )
854
)
855
(block
856
        (rect 216 24 320 328)
857
        (text "CONTROL PINS" (rect 5 5 87 17)(font "Arial" ))   (text "control_pins_" (rect 5 302 69 314)(font "Arial" ))       (block_io "nM1_out" (input))
858
        (block_io "pin_control_oe" (input))
859
        (block_io "nMREQ_out" (input))
860
        (block_io "nIORQ_out" (input))
861
        (block_io "nRD_out" (input))
862
        (block_io "nWR_out" (input))
863
        (block_io "nRFSH_out" (input))
864
        (block_io "in_halt" (input))
865
        (block_io "pin_nWAIT" (input))
866
        (block_io "pin_nBUSRQ" (input))
867
        (block_io "busack" (input))
868
        (block_io "CPUCLK" (input))
869
        (block_io "pin_nINT" (input))
870
        (block_io "pin_nNMI" (input))
871
        (block_io "pin_nRESET" (input))
872
        (block_io "pin_nM1" (output))
873
        (block_io "pin_nMREQ" (output))
874
        (block_io "pin_nIORQ" (output))
875
        (block_io "pin_nRD" (output))
876
        (block_io "pin_nWR" (output))
877
        (block_io "pin_nRFSH" (output))
878
        (block_io "pin_nHALT" (output))
879
        (block_io "mwait" (output))
880
        (block_io "busrq" (output))
881
        (block_io "pin_nBUSACK" (output))
882
        (block_io "clk" (output))
883
        (block_io "intr" (output))
884
        (block_io "nmi" (output))
885
        (block_io "reset_in" (output))
886
        (mapper
887
                (pt 0 32)
888
                (bidir)
889
                (mapping "pin_nM1" "nM1" )
890
                (annotation_block (mapping)(rect 96 72 200 104))
891
        )
892
        (mapper
893
                (pt 0 48)
894
                (bidir)
895
                (mapping "pin_nMREQ" "nMREQ" )
896
                (annotation_block (mapping)(rect 80 88 200 120))
897
        )
898
        (mapper
899
                (pt 0 64)
900
                (bidir)
901
                (mapping "pin_nIORQ" "nIORQ" )
902
                (annotation_block (mapping)(rect 88 104 200 136))
903
        )
904
        (mapper
905
                (pt 0 80)
906
                (bidir)
907
                (mapping "pin_nRD" "nRD" )
908
                (annotation_block (mapping)(rect 96 120 200 152))
909
        )
910
        (mapper
911
                (pt 0 96)
912
                (bidir)
913
                (mapping "pin_nWR" "nWR" )
914
                (annotation_block (mapping)(rect 96 136 200 168))
915
        )
916
        (mapper
917
                (pt 0 112)
918
                (bidir)
919
                (mapping "pin_nRFSH" "nRFSH" )
920
                (annotation_block (mapping)(rect 80 152 200 184))
921
        )
922
        (mapper
923
                (pt 0 128)
924
                (bidir)
925
                (mapping "pin_nHALT" "nHALT" )
926
                (annotation_block (mapping)(rect 80 168 200 200))
927
        )
928
        (mapper
929
                (pt 0 144)
930
                (bidir)
931
                (mapping "pin_nBUSACK" "nBUSACK" )
932
                (annotation_block (mapping)(rect 56 184 200 216))
933
        )
934
        (mapper
935
                (pt 0 176)
936
                (bidir)
937
                (mapping "pin_nWAIT" "nWAIT" )
938
                (annotation_block (mapping)(rect 80 216 200 248))
939
        )
940
        (mapper
941
                (pt 0 192)
942
                (bidir)
943
                (mapping "pin_nINT" "nINT" )
944
                (annotation_block (mapping)(rect 96 232 200 264))
945
        )
946
        (mapper
947
                (pt 0 208)
948
                (bidir)
949
                (mapping "pin_nNMI" "nNMI" )
950
                (annotation_block (mapping)(rect 88 248 200 280))
951
        )
952
        (mapper
953
                (pt 0 224)
954
                (bidir)
955
                (mapping "pin_nRESET" "nRESET" )
956
                (annotation_block (mapping)(rect 80 264 200 296))
957
        )
958
        (mapper
959
                (pt 0 264)
960
                (bidir)
961
                (mapping "CPUCLK" "CLK" )
962
                (annotation_block (mapping)(rect 96 304 200 336))
963
        )
964
        (mapper
965
                (pt 0 240)
966
                (bidir)
967
                (mapping "pin_nBUSRQ" "nBUSRQ" )
968
                (annotation_block (mapping)(rect 80 280 201 308))
969
        )
970
)
971
(block
972
        (rect 336 24 1280 80)
973
        (text "TIMINGS FOR CONTROL PINS" (rect 5 5 163 17)(font "Arial" ))      (text "memory_ifc_" (rect 5 54 71 66)(font "Arial" ))   (block_io "nM1_int" (input))
974
        (block_io "clk" (input))
975
        (block_io "nreset" (input))
976
        (block_io "setM1" (input))
977
        (block_io "timings_en" (input))
978
        (block_io "in_intr" (input))
979
        (block_io "ctl_mRead" (input))
980
        (block_io "ctl_mWrite" (input))
981
        (block_io "ctl_iorw" (input))
982
        (block_io "fIORead" (input))
983
        (block_io "fIOWrite" (input))
984
        (block_io "iorq_Tw" (input))
985
        (block_io "hold_clk_wait" (input))
986
        (block_io "nM1_out" (output))
987
        (block_io "nRFSH_out" (output))
988
        (block_io "nMREQ_out" (output))
989
        (block_io "nRD_out" (output))
990
        (block_io "nWR_out" (output))
991
        (block_io "nIORQ_out" (output))
992
        (block_io "latch_wait" (output))
993
)
994
(block
995
        (rect 352 376 456 472)
996
        (text "RESET UNIT" (rect 5 5 69 17)(font "Arial" ))     (text "resets_" (rect 5 94 41 106)(font "Arial" ))      (block_io "fpga_reset" (input))
997
        (block_io "reset_in" (input))
998
        (block_io "M1" (input))
999
        (block_io "T2" (input))
1000
        (block_io "clk" (input))
1001
        (block_io "clrpc" (output))
1002
        (block_io "nreset" (output))
1003
)
1004
(block
1005
        (rect 488 400 656 504)
1006
        (text "CPU STATE" (rect 5 5 65 17)(font "Arial" ))      (text "decode_state_" (rect 5 102 76 114)(font "Arial" ))       (block_io "ctl_state_iy_set" (input))
1007
        (block_io "ctl_state_ixiy_clr" (input))
1008
        (block_io "ctl_state_ixiy_we" (input))
1009
        (block_io "ctl_state_halt_set" (input))
1010
        (block_io "in_intr" (input))
1011
        (block_io "in_nmi" (input))
1012
        (block_io "ctl_state_tbl_cb_set" (input))
1013
        (block_io "ctl_state_tbl_clr" (input))
1014
        (block_io "ctl_state_tbl_ed_set" (input))
1015
        (block_io "address_is_1" (input))
1016
        (block_io "clk" (input))
1017
        (block_io "ctl_repeat_we" (input))
1018
        (block_io "nreset" (input))
1019
        (block_io "ctl_state_alu" (input))
1020
        (block_io "use_ix" (output))
1021
        (block_io "use_ixiy" (output))
1022
        (block_io "in_halt" (output))
1023
        (block_io "table_cb" (output))
1024
        (block_io "table_xx" (output))
1025
        (block_io "table_ed" (output))
1026
        (block_io "repeat_en" (output))
1027
        (block_io "in_alu" (output))
1028
        (mapper
1029
                (pt 168 56)
1030
                (bidir)
1031
                )
1032
)
1033
(block
1034
        (rect 488 224 656 376)
1035
        (text "THE SEQUENCER" (rect 5 5 99 17)(font "Arial" ))  (text "sequencer_" (rect 5 150 61 162)(font "Arial" ))  (block_io "setM1" (input))
1036
        (block_io "clk" (input))
1037
        (block_io "nreset" (input))
1038
        (block_io "nextM" (input))
1039
        (block_io "hold_clk_iorq" (input))
1040
        (block_io "hold_clk_wait" (input))
1041
        (block_io "hold_clk_busrq" (input))
1042
        (block_io "M1" (output))
1043
        (block_io "M2" (output))
1044
        (block_io "M3" (output))
1045
        (block_io "M4" (output))
1046
        (block_io "M5" (output))
1047
        (block_io "M6" (output))
1048
        (block_io "T1" (output))
1049
        (block_io "T2" (output))
1050
        (block_io "T3" (output))
1051
        (block_io "T4" (output))
1052
        (block_io "T5" (output))
1053
        (block_io "T6" (output))
1054
        (block_io "timings_en" (output))
1055
        (mapper
1056
                (pt 168 72)
1057
                (bidir)
1058
                )
1059
)
1060
(block
1061
        (rect 1144 592 1264 664)
1062
        (text "ALU CONTROL" (rect 5 5 82 17)(font "Arial" ))    (text "alu_select_" (rect 5 70 60 82)(font "Arial" ))   (block_io "ctl_alu_oe" (input))
1063
        (block_io "ctl_alu_shift_oe" (input))
1064
        (block_io "ctl_alu_op2_oe" (input))
1065
        (block_io "ctl_alu_res_oe" (input))
1066
        (block_io "ctl_alu_op1_oe" (input))
1067
        (block_io "ctl_alu_bs_oe" (input))
1068
        (block_io "ctl_alu_op1_sel_bus" (input))
1069
        (block_io "ctl_alu_op1_sel_low" (input))
1070
        (block_io "ctl_alu_op1_sel_zero" (input))
1071
        (block_io "ctl_alu_op2_sel_zero" (input))
1072
        (block_io "ctl_alu_op2_sel_bus" (input))
1073
        (block_io "ctl_alu_op2_sel_lq" (input))
1074
        (block_io "ctl_alu_sel_op2_neg" (input))
1075
        (block_io "ctl_alu_sel_op2_high" (input))
1076
        (block_io "ctl_alu_core_R" (input))
1077
        (block_io "ctl_alu_core_V" (input))
1078
        (block_io "ctl_alu_core_S" (input))
1079
        (block_io "alu_oe" (output))
1080
        (block_io "alu_shift_oe" (output))
1081
        (block_io "alu_op2_oe" (output))
1082
        (block_io "alu_res_oe" (output))
1083
        (block_io "alu_op1_oe" (output))
1084
        (block_io "alu_bs_oe" (output))
1085
        (block_io "alu_op1_sel_bus" (output))
1086
        (block_io "alu_op1_sel_low" (output))
1087
        (block_io "alu_op1_sel_zero" (output))
1088
        (block_io "alu_op2_sel_zero" (output))
1089
        (block_io "alu_op2_sel_bus" (output))
1090
        (block_io "alu_op2_sel_lq" (output))
1091
        (block_io "alu_sel_op2_neg" (output))
1092
        (block_io "alu_sel_op2_high" (output))
1093
        (block_io "alu_core_R" (output))
1094
        (block_io "alu_core_V" (output))
1095
        (block_io "alu_core_S" (output))
1096
        (mapper
1097
                (pt 64 72)
1098
                (bidir)
1099
                )
1100
        (mapper
1101
                (pt 64 0)
1102
                (bidir)
1103
                )
1104
)
1105
(block
1106
        (rect 1344 528 1432 584)
1107
        (text "SW CTRL" (rect 5 5 54 17)(font "Arial" ))        (text "bus_switch_" (rect 5 54 65 66)(font "Arial" ))   (block_io "ctl_sw_1u" (input))
1108
        (block_io "ctl_sw_1d" (input))
1109
        (block_io "ctl_sw_2u" (input))
1110
        (block_io "ctl_sw_2d" (input))
1111
        (block_io "ctl_sw_mask543_en" (input))
1112
        (block_io "bus_sw_1u" (output))
1113
        (block_io "bus_sw_1d" (output))
1114
        (block_io "bus_sw_2u" (output))
1115
        (block_io "bus_sw_2d" (output))
1116
        (block_io "bus_sw_mask543_en" (output))
1117
)
1118
(block
1119
        (rect 352 120 456 232)
1120
        (text "INTERRUPT CONTROL" (rect 5 5 124 17)(font "Arial" ))     (text "interrupts_" (rect 5 110 56 122)(font "Arial" )) (block_io "ctl_iff1_iff2" (input))
1121
        (block_io "ctl_iffx_we" (input))
1122
        (block_io "ctl_iffx_bit" (input))
1123
        (block_io "nmi" (input))
1124
        (block_io "intr" (input))
1125
        (block_io "setM1" (input))
1126
        (block_io "ctl_no_ints" (input))
1127
        (block_io "db[1..0]" (input))
1128
        (block_io "clk" (input))
1129
        (block_io "ctl_im_we" (input))
1130
        (block_io "nreset" (input))
1131
        (block_io "iff1" (output))
1132
        (block_io "iff2" (output))
1133
        (block_io "in_nmi" (output))
1134
        (block_io "in_intr" (output))
1135
        (block_io "im1" (output))
1136
        (block_io "im2" (output))
1137
)
1138
(connector
1139
        (pt 1104 176)
1140
        (pt 1136 176)
1141
        (conduit)
1142
        (color 85 0 127)
1143
)
1144
(connector
1145
        (pt 872 200)
1146
        (pt 872 224)
1147
        (conduit)
1148
)
1149
(connector
1150
        (pt 1224 200)
1151
        (pt 1224 224)
1152
        (conduit)
1153
)
1154
(connector
1155
        (text "<<__$DEF_ALIAS5116>>" (rect 256 0 379 12)(font "Arial" )(invisible))
1156
        (pt 1344 448)
1157
        (pt 1320 448)
1158
        (conduit)
1159
)
1160
(connector
1161
        (pt 1208 664)
1162
        (pt 1208 720)
1163
        (conduit)
1164
)
1165
(connector
1166
        (pt 1000 664)
1167
        (pt 1000 720)
1168
        (conduit)
1169
)
1170
(connector
1171
        (pt 560 664)
1172
        (pt 560 688)
1173
        (conduit)
1174
)
1175
(connector
1176
        (pt 1208 592)
1177
        (pt 1208 504)
1178
        (conduit)
1179
)
1180
(connector
1181
        (pt 1000 592)
1182
        (pt 1000 504)
1183
        (conduit)
1184
)
1185
(connector
1186
        (pt 648 592)
1187
        (pt 648 552)
1188
        (conduit)
1189
)
1190
(connector
1191
        (pt 648 552)
1192
        (pt 760 552)
1193
        (conduit)
1194
)
1195
(connector
1196
        (pt 760 552)
1197
        (pt 760 504)
1198
        (conduit)
1199
)
1200
(connector
1201
        (pt 656 296)
1202
        (pt 688 296)
1203
        (conduit)
1204
)
1205
(connector
1206
        (pt 656 456)
1207
        (pt 688 456)
1208
        (conduit)
1209
)
1210
(connector
1211
        (pt 1296 696)
1212
        (pt 840 696)
1213
        (conduit)
1214
        (color 255 0 127)
1215
)
1216
(connector
1217
        (pt 792 784)
1218
        (pt 792 840)
1219
        (conduit)
1220
        (color 255 0 127)
1221
)
1222
(connector
1223
        (pt 696 736)
1224
        (pt 744 736)
1225
        (conduit)
1226
        (color 255 0 127)
1227
)
1228
(connector
1229
        (pt 432 800)
1230
        (pt 368 800)
1231
        (conduit)
1232
        (color 255 0 127)
1233
)
1234
(connector
1235
        (pt 288 912)
1236
        (pt 288 952)
1237
        (conduit)
1238
        (color 255 0 127)
1239
)
1240
(connector
1241
        (text "<<__$DEF_ALIAS5119>>" (rect 256 0 379 12)(font "Arial" )(invisible))
1242
        (pt 1320 160)
1243
        (pt 1320 448)
1244
        (conduit)
1245
        (color 255 0 127)
1246
)
1247
(connector
1248
        (text "<<__$DEF_ALIAS6200>>" (rect 0 0 123 12)(font "Arial" )(invisible))
1249
        (pt 1320 448)
1250
        (pt 1320 624)
1251
        (conduit)
1252
        (color 255 0 127)
1253
)
1254
(connector
1255
        (pt 696 840)
1256
        (pt 792 840)
1257
        (conduit)
1258
        (color 255 0 127)
1259
)
1260
(connector
1261
        (pt 792 840)
1262
        (pt 888 840)
1263
        (conduit)
1264
        (color 255 0 127)
1265
)
1266
(connector
1267
        (text "<<__$DEF_ALIAS6208>>" (rect 0 0 123 12)(font "Arial" )(invisible))
1268
        (pt 1264 160)
1269
        (pt 1320 160)
1270
        (conduit)
1271
        (color 255 0 0)
1272
)
1273
(connector
1274
        (text "<<__$DEF_ALIAS5171>>" (rect 1274 120 1452 136)(font "Arial" (font_size 10)))
1275
        (pt 1320 160)
1276
        (pt 1368 160)
1277
        (conduit)
1278
        (color 255 0 0)
1279
)
1280
(connector
1281
        (pt 1448 368)
1282
        (pt 1448 728)
1283
        (conduit)
1284
)
1285
(connector
1286
        (text "<<__$DEF_ALIAS423>>" (rect -240 -96 -122 -84)(font "Arial" )(invisible))
1287
        (pt 216 56)
1288
        (pt 208 56)
1289
        (conduit)
1290
)
1291
(connector
1292
        (text "<<__$DEF_ALIAS424>>" (rect -240 -96 -122 -84)(font "Arial" )(invisible))
1293
        (pt 216 72)
1294
        (pt 208 72)
1295
        (conduit)
1296
)
1297
(connector
1298
        (text "<<__$DEF_ALIAS425>>" (rect -240 -96 -122 -84)(font "Arial" )(invisible))
1299
        (pt 216 88)
1300
        (pt 208 88)
1301
        (conduit)
1302
)
1303
(connector
1304
        (text "<<__$DEF_ALIAS426>>" (rect -240 -96 -122 -84)(font "Arial" )(invisible))
1305
        (pt 216 104)
1306
        (pt 208 104)
1307
        (conduit)
1308
)
1309
(connector
1310
        (text "<<__$DEF_ALIAS427>>" (rect -240 -96 -122 -84)(font "Arial" )(invisible))
1311
        (pt 216 120)
1312
        (pt 208 120)
1313
        (conduit)
1314
)
1315
(connector
1316
        (text "<<__$DEF_ALIAS428>>" (rect -240 -96 -122 -84)(font "Arial" )(invisible))
1317
        (pt 216 136)
1318
        (pt 208 136)
1319
        (conduit)
1320
)
1321
(connector
1322
        (text "<<__$DEF_ALIAS429>>" (rect -240 -96 -122 -84)(font "Arial" )(invisible))
1323
        (pt 216 152)
1324
        (pt 208 152)
1325
        (conduit)
1326
)
1327
(connector
1328
        (text "<<__$DEF_ALIAS430>>" (rect -240 -96 -122 -84)(font "Arial" )(invisible))
1329
        (pt 216 168)
1330
        (pt 208 168)
1331
        (conduit)
1332
)
1333
(connector
1334
        (text "<<__$DEF_ALIAS87>>" (rect -240 -96 -128 -84)(font "Arial" )(invisible))
1335
        (pt 216 200)
1336
        (pt 208 200)
1337
        (conduit)
1338
)
1339
(connector
1340
        (text "<<__$DEF_ALIAS88>>" (rect -240 -96 -128 -84)(font "Arial" )(invisible))
1341
        (pt 216 216)
1342
        (pt 208 216)
1343
        (conduit)
1344
)
1345
(connector
1346
        (text "<<__$DEF_ALIAS89>>" (rect -240 -96 -128 -84)(font "Arial" )(invisible))
1347
        (pt 216 232)
1348
        (pt 208 232)
1349
        (conduit)
1350
)
1351
(connector
1352
        (text "<<__$DEF_ALIAS90>>" (rect -240 -96 -128 -84)(font "Arial" )(invisible))
1353
        (pt 216 248)
1354
        (pt 208 248)
1355
        (conduit)
1356
)
1357
(connector
1358
        (text "<<__$DEF_ALIAS91>>" (rect -240 -96 -128 -84)(font "Arial" )(invisible))
1359
        (pt 216 264)
1360
        (pt 208 264)
1361
        (conduit)
1362
)
1363
(connector
1364
        (text "<<__$DEF_ALIAS92>>" (rect -240 -96 -128 -84)(font "Arial" )(invisible))
1365
        (pt 216 288)
1366
        (pt 208 288)
1367
        (conduit)
1368
)
1369
(connector
1370
        (pt 1280 976)
1371
        (pt 1288 976)
1372
        (conduit)
1373
)
1374
(junction (pt 1320 160))
1375
(junction (pt 1320 448))
1376
(junction (pt 792 840))
1377
(text "CONTROL UNIT" (rect 688 80 901 110)(font "Arial Black" (color 0 0 0)(font_size 16)))
1378
(text "ALU" (rect 880 536 936 566)(font "Arial Black" (color 0 0 0)(font_size 16)))
1379
(text "REGISTER FILE" (rect 416 536 623 566)(font "Arial Black" (color 0 0 0)(font_size 16)))
1380
(text "ADDRESS INCR" (rect 216 632 421 662)(font "Arial Black" (color 0 0 0)(font_size 16)))
1381
(text "DB0" (rect 1332 288 1354 332)(font "Arial" (color 0 0 0)(font_size 14))(vertical))
1382
(text "DB1" (rect 1064 672 1108 694)(font "Arial" (color 0 0 0)(font_size 14)))
1383
(text "DB2" (rect 768 856 812 878)(font "Arial" (color 0 0 0)(font_size 14)))
1384
(text "SW1" (rect 1328 752 1378 774)(font "Arial" (color 0 0 0)(font_size 14)))
1385
(text "SW2" (rect 768 648 818 670)(font "Arial" (color 0 0 0)(font_size 14)))
1386
(text "A-Z80 is internally modelled on the\noriginal Zilog Z80 CPU. This is a\nhigh-level block diagram that also\napproximates the location of modules,\nbuses and switches on a die.\n\nwww.baltazarstudios.com\n" (rect 56 432 315 560)(font "Arial" (font_size 10)))
1387
(rectangle (rect 336 104 1280 520)(fill (color 217 255 255)))
1388
(rectangle (rect 872 576 1280 928)(fill (color 217 255 255)))
1389
(rectangle (rect 416 576 712 928)(fill (color 217 255 255)))
1390
(rectangle (rect 200 672 384 928)(fill (color 217 255 255)))
1391
(rectangle (rect 776 784 808 824)(color 255 255 255)(fill (color 253 211 206)))
1392
(rectangle (rect 696 824 888 856)(color 253 211 206)(fill (color 253 211 206)))
1393
(rectangle (rect 384 768 416 832)(color 253 211 206)(fill (color 253 211 206)))
1394
(rectangle (rect 696 720 744 752)(color 253 211 206)(fill (color 253 211 206)))
1395
(rectangle (rect 840 680 1296 712)(color 253 211 206)(fill (color 253 211 206)))
1396
(rectangle (rect 1304 144 1336 624)(color 253 211 206)(fill (color 253 211 206)))
1397
(rectangle (rect 1280 144 1368 176)(color 253 211 206)(fill (color 253 211 206)))
1398
(title_block
1399
        (rect 56 688 117 1009)
1400
        (name "title-custom-medium")
1401
        (rotate90)
1402
        (section (rect 41 81 60 321)(text "DATE" (rect 0 210 12 238)(font "Arial" )(vertical))(text "November 16, 2014" (rect 3 54 19 184)(font "Arial" (font_size 10))(vertical))(border))
1403
        (section (rect 21 1 40 321)(text "DESIGNER" (rect 0 261 12 318)(font "Arial" )(vertical))(text "Goran Devic" (rect 2 169 19 264)(font "Arial" (font_size 11))(vertical))(border))
1404
        (section (rect 0 1 20 191)(text "MODULE" (rect 1 142 13 188)(font "Arial" )(vertical))(text "CPU TOP LEVEL" (rect 2 -5 21 147)(font "Arial" (font_size 12)(bold))(vertical))(border))
1405
        (section (rect 0 1 20 321)(text "PROJECT" (rect 0 268 12 318)(font "Arial" )(vertical))(text "A-Z80" (rect 2 214 21 264)(font "Arial" (font_size 12)(bold))(vertical))(border))
1406
        (section (rect 41 1 60 80)(text "REV" (rect 1 54 13 77)(font "Arial" )(vertical))(text "1.0" (rect 3 15 19 36)(font "Arial" (font_size 10))(vertical))(border))
1407
        (drawing
1408
        )
1409
)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.