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 21

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 "T1" (input))
678
        (block_io "T2" (input))
679
        (block_io "T3" (input))
680
        (block_io "T4" (input))
681
        (block_io "T5" (input))
682
        (block_io "T6" (input))
683
        (block_io "ctl_state_iy_set" (output))
684
        (block_io "ctl_state_ixiy_clr" (output))
685
        (block_io "ctl_state_ixiy_we" (output))
686
        (block_io "ctl_state_halt_set" (output))
687
        (block_io "ctl_state_tbl_clr" (output))
688
        (block_io "ctl_state_tbl_ed_set" (output))
689
        (block_io "ctl_state_tbl_cb_set" (output))
690
        (block_io "ctl_state_alu" (output))
691
        (block_io "ctl_repeat_we" (output))
692
        (block_io "ctl_iff1_iff2" (output))
693
        (block_io "ctl_iffx_we" (output))
694
        (block_io "ctl_iffx_bit" (output))
695
        (block_io "ctl_im_we" (output))
696
        (block_io "ctl_no_ints" (output))
697
        (block_io "ctl_ir_we" (output))
698
        (block_io "ctl_mRead" (output))
699
        (block_io "ctl_mWrite" (output))
700
        (block_io "ctl_iorw" (output))
701
        (block_io "ctl_shift_en" (output))
702
        (block_io "ctl_daa_oe" (output))
703
        (block_io "ctl_alu_op_low" (output))
704
        (block_io "ctl_cond_short" (output))
705
        (block_io "ctl_alu_core_hf" (output))
706
        (block_io "ctl_eval_cond" (output))
707
        (block_io "ctl_66_oe" (output))
708
        (block_io "ctl_pf_sel[1..0]" (output))
709
        (block_io "ctl_alu_oe" (output))
710
        (block_io "ctl_alu_shift_oe" (output))
711
        (block_io "ctl_alu_op2_oe" (output))
712
        (block_io "ctl_alu_res_oe" (output))
713
        (block_io "ctl_alu_op1_oe" (output))
714
        (block_io "ctl_alu_bs_oe" (output))
715
        (block_io "ctl_alu_op1_sel_bus" (output))
716
        (block_io "ctl_alu_op1_sel_low" (output))
717
        (block_io "ctl_alu_op1_sel_zero" (output))
718
        (block_io "ctl_alu_op2_sel_zero" (output))
719
        (block_io "ctl_alu_op2_sel_bus" (output))
720
        (block_io "ctl_alu_op2_sel_lq" (output))
721
        (block_io "ctl_alu_sel_op2_neg" (output))
722
        (block_io "ctl_alu_sel_op2_high" (output))
723
        (block_io "ctl_alu_core_R" (output))
724
        (block_io "ctl_alu_core_V" (output))
725
        (block_io "ctl_alu_core_S" (output))
726
        (block_io "ctl_flags_oe" (output))
727
        (block_io "ctl_flags_bus" (output))
728
        (block_io "ctl_flags_alu" (output))
729
        (block_io "ctl_flags_nf_set" (output))
730
        (block_io "ctl_flags_cf_set" (output))
731
        (block_io "ctl_flags_cf_cpl" (output))
732
        (block_io "ctl_flags_cf_we" (output))
733
        (block_io "ctl_flags_sz_we" (output))
734
        (block_io "ctl_flags_xy_we" (output))
735
        (block_io "ctl_flags_hf_we" (output))
736
        (block_io "ctl_flags_pf_we" (output))
737
        (block_io "ctl_flags_nf_we" (output))
738
        (block_io "ctl_flags_cf2_we" (output))
739
        (block_io "ctl_flags_hf_cpl" (output))
740
        (block_io "ctl_flags_use_cf2" (output))
741
        (block_io "ctl_flags_hf2_we" (output))
742
        (block_io "ctl_flags_nf_clr" (output))
743
        (block_io "ctl_alu_zero_16bit" (output))
744
        (block_io "ctl_flags_cf2_sel[1..0]" (output))
745
        (block_io "ctl_sw_4d" (output))
746
        (block_io "ctl_sw_4u" (output))
747
        (block_io "ctl_reg_in_hi" (output))
748
        (block_io "ctl_reg_in_lo" (output))
749
        (block_io "ctl_reg_out_lo" (output))
750
        (block_io "ctl_reg_out_hi" (output))
751
        (block_io "ctl_reg_exx" (output))
752
        (block_io "ctl_reg_ex_af" (output))
753
        (block_io "ctl_reg_ex_de_hl" (output))
754
        (block_io "ctl_reg_use_sp" (output))
755
        (block_io "ctl_reg_sel_pc" (output))
756
        (block_io "ctl_reg_sel_ir" (output))
757
        (block_io "ctl_reg_sel_wz" (output))
758
        (block_io "ctl_reg_gp_we" (output))
759
        (block_io "ctl_reg_not_pc" (output))
760
        (block_io "ctl_reg_sys_we_lo" (output))
761
        (block_io "ctl_reg_sys_we_hi" (output))
762
        (block_io "ctl_reg_sys_we" (output))
763
        (block_io "ctl_reg_gp_hilo[1..0]" (output))
764
        (block_io "ctl_reg_gp_sel[1..0]" (output))
765
        (block_io "ctl_reg_sys_hilo[1..0]" (output))
766
        (block_io "ctl_inc_cy" (output))
767
        (block_io "ctl_inc_dec" (output))
768
        (block_io "ctl_inc_zero" (output))
769
        (block_io "ctl_al_we" (output))
770
        (block_io "ctl_inc_limit6" (output))
771
        (block_io "ctl_bus_inc_oe" (output))
772
        (block_io "ctl_apin_mux" (output))
773
        (block_io "ctl_apin_mux2" (output))
774
        (block_io "ctl_bus_ff_oe" (output))
775
        (block_io "ctl_bus_zero_oe" (output))
776
        (block_io "ctl_bus_db_oe" (output))
777
        (block_io "ctl_sw_1u" (output))
778
        (block_io "ctl_sw_1d" (output))
779
        (block_io "ctl_sw_2u" (output))
780
        (block_io "ctl_sw_2d" (output))
781
        (block_io "ctl_sw_mask543_en" (output))
782
        (block_io "ctl_bus_db_we" (output))
783
        (block_io "nextM" (output))
784
        (block_io "setM1" (output))
785
        (block_io "fFetch" (output))
786
        (block_io "fMRead" (output))
787
        (block_io "fMWrite" (output))
788
        (block_io "fIORead" (output))
789
        (block_io "fIOWrite" (output))
790
        (mapper
791
                (pt 184 0)
792
                (bidir)
793
                )
794
        (mapper
795
                (pt 536 0)
796
                (bidir)
797
                )
798
        (mapper
799
                (pt 520 280)
800
                (bidir)
801
                )
802
        (mapper
803
                (pt 312 280)
804
                (bidir)
805
                )
806
        (mapper
807
                (pt 72 280)
808
                (bidir)
809
                )
810
        (mapper
811
                (pt 0 72)
812
                (bidir)
813
                )
814
        (mapper
815
                (pt 0 232)
816
                (bidir)
817
                )
818
)
819
(block
820
        (rect 688 120 1104 200)
821
        (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))
822
        (block_io "prefix[6..0]" (input))
823
        (block_io "pla[104..0]" (output))
824
        (mapper
825
                (pt 416 56)
826
                (bidir)
827
                )
828
        (mapper
829
                (pt 184 80)
830
                (bidir)
831
                )
832
)
833
(block
834
        (rect 1136 120 1264 200)
835
        (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))
836
        (block_io "clk" (input))
837
        (block_io "ctl_ir_we" (input))
838
        (block_io "opcode[7..0]" (output))
839
        (mapper
840
                (pt 128 40)
841
                (bidir)
842
                (mapping "db[7..0]" "db0[7..0]" )
843
                (annotation_block (mapping)(rect 1312 176 1416 208))
844
        )
845
        (mapper
846
                (pt 0 56)
847
                (bidir)
848
                )
849
        (mapper
850
                (pt 88 80)
851
                (bidir)
852
                )
853
)
854
(block
855
        (rect 216 24 320 328)
856
        (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))
857
        (block_io "pin_control_oe" (input))
858
        (block_io "nMREQ_out" (input))
859
        (block_io "nIORQ_out" (input))
860
        (block_io "nRD_out" (input))
861
        (block_io "nWR_out" (input))
862
        (block_io "nRFSH_out" (input))
863
        (block_io "in_halt" (input))
864
        (block_io "pin_nWAIT" (input))
865
        (block_io "pin_nBUSRQ" (input))
866
        (block_io "busack" (input))
867
        (block_io "CPUCLK" (input))
868
        (block_io "pin_nINT" (input))
869
        (block_io "pin_nNMI" (input))
870
        (block_io "pin_nRESET" (input))
871
        (block_io "pin_nM1" (output))
872
        (block_io "pin_nMREQ" (output))
873
        (block_io "pin_nIORQ" (output))
874
        (block_io "pin_nRD" (output))
875
        (block_io "pin_nWR" (output))
876
        (block_io "pin_nRFSH" (output))
877
        (block_io "pin_nHALT" (output))
878
        (block_io "mwait" (output))
879
        (block_io "busrq" (output))
880
        (block_io "pin_nBUSACK" (output))
881
        (block_io "clk" (output))
882
        (block_io "intr" (output))
883
        (block_io "nmi" (output))
884
        (block_io "reset_in" (output))
885
        (mapper
886
                (pt 0 32)
887
                (bidir)
888
                (mapping "pin_nM1" "nM1" )
889
                (annotation_block (mapping)(rect 96 72 200 104))
890
        )
891
        (mapper
892
                (pt 0 48)
893
                (bidir)
894
                (mapping "pin_nMREQ" "nMREQ" )
895
                (annotation_block (mapping)(rect 80 88 200 120))
896
        )
897
        (mapper
898
                (pt 0 64)
899
                (bidir)
900
                (mapping "pin_nIORQ" "nIORQ" )
901
                (annotation_block (mapping)(rect 88 104 200 136))
902
        )
903
        (mapper
904
                (pt 0 80)
905
                (bidir)
906
                (mapping "pin_nRD" "nRD" )
907
                (annotation_block (mapping)(rect 96 120 200 152))
908
        )
909
        (mapper
910
                (pt 0 96)
911
                (bidir)
912
                (mapping "pin_nWR" "nWR" )
913
                (annotation_block (mapping)(rect 96 136 200 168))
914
        )
915
        (mapper
916
                (pt 0 112)
917
                (bidir)
918
                (mapping "pin_nRFSH" "nRFSH" )
919
                (annotation_block (mapping)(rect 80 152 200 184))
920
        )
921
        (mapper
922
                (pt 0 128)
923
                (bidir)
924
                (mapping "pin_nHALT" "nHALT" )
925
                (annotation_block (mapping)(rect 80 168 200 200))
926
        )
927
        (mapper
928
                (pt 0 144)
929
                (bidir)
930
                (mapping "pin_nBUSACK" "nBUSACK" )
931
                (annotation_block (mapping)(rect 56 184 200 216))
932
        )
933
        (mapper
934
                (pt 0 176)
935
                (bidir)
936
                (mapping "pin_nWAIT" "nWAIT" )
937
                (annotation_block (mapping)(rect 80 216 200 248))
938
        )
939
        (mapper
940
                (pt 0 192)
941
                (bidir)
942
                (mapping "pin_nINT" "nINT" )
943
                (annotation_block (mapping)(rect 96 232 200 264))
944
        )
945
        (mapper
946
                (pt 0 208)
947
                (bidir)
948
                (mapping "pin_nNMI" "nNMI" )
949
                (annotation_block (mapping)(rect 88 248 200 280))
950
        )
951
        (mapper
952
                (pt 0 224)
953
                (bidir)
954
                (mapping "pin_nRESET" "nRESET" )
955
                (annotation_block (mapping)(rect 80 264 200 296))
956
        )
957
        (mapper
958
                (pt 0 264)
959
                (bidir)
960
                (mapping "CPUCLK" "CLK" )
961
                (annotation_block (mapping)(rect 96 304 200 336))
962
        )
963
        (mapper
964
                (pt 0 240)
965
                (bidir)
966
                (mapping "pin_nBUSRQ" "nBUSRQ" )
967
                (annotation_block (mapping)(rect 80 280 201 308))
968
        )
969
)
970
(block
971
        (rect 336 24 1280 80)
972
        (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))
973
        (block_io "clk" (input))
974
        (block_io "nreset" (input))
975
        (block_io "setM1" (input))
976
        (block_io "timings_en" (input))
977
        (block_io "in_intr" (input))
978
        (block_io "ctl_mRead" (input))
979
        (block_io "ctl_mWrite" (input))
980
        (block_io "ctl_iorw" (input))
981
        (block_io "fIORead" (input))
982
        (block_io "fIOWrite" (input))
983
        (block_io "iorq_Tw" (input))
984
        (block_io "hold_clk_wait" (input))
985
        (block_io "nM1_out" (output))
986
        (block_io "nRFSH_out" (output))
987
        (block_io "nMREQ_out" (output))
988
        (block_io "nRD_out" (output))
989
        (block_io "nWR_out" (output))
990
        (block_io "nIORQ_out" (output))
991
        (block_io "latch_wait" (output))
992
)
993
(block
994
        (rect 352 376 456 472)
995
        (text "RESET UNIT" (rect 5 5 69 17)(font "Arial" ))     (text "resets_" (rect 5 94 41 106)(font "Arial" ))      (block_io "fpga_reset" (input))
996
        (block_io "reset_in" (input))
997
        (block_io "M1" (input))
998
        (block_io "T2" (input))
999
        (block_io "clk" (input))
1000
        (block_io "clrpc" (output))
1001
        (block_io "nreset" (output))
1002
)
1003
(block
1004
        (rect 488 400 656 504)
1005
        (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))
1006
        (block_io "ctl_state_ixiy_clr" (input))
1007
        (block_io "ctl_state_ixiy_we" (input))
1008
        (block_io "ctl_state_halt_set" (input))
1009
        (block_io "in_intr" (input))
1010
        (block_io "in_nmi" (input))
1011
        (block_io "ctl_state_tbl_cb_set" (input))
1012
        (block_io "ctl_state_tbl_clr" (input))
1013
        (block_io "ctl_state_tbl_ed_set" (input))
1014
        (block_io "address_is_1" (input))
1015
        (block_io "clk" (input))
1016
        (block_io "ctl_repeat_we" (input))
1017
        (block_io "nreset" (input))
1018
        (block_io "ctl_state_alu" (input))
1019
        (block_io "use_ix" (output))
1020
        (block_io "use_ixiy" (output))
1021
        (block_io "in_halt" (output))
1022
        (block_io "table_cb" (output))
1023
        (block_io "table_xx" (output))
1024
        (block_io "table_ed" (output))
1025
        (block_io "repeat_en" (output))
1026
        (block_io "in_alu" (output))
1027
        (mapper
1028
                (pt 168 56)
1029
                (bidir)
1030
                )
1031
)
1032
(block
1033
        (rect 488 224 656 376)
1034
        (text "THE SEQUENCER" (rect 5 5 99 17)(font "Arial" ))  (text "sequencer_" (rect 5 150 61 162)(font "Arial" ))  (block_io "setM1" (input))
1035
        (block_io "clk" (input))
1036
        (block_io "nreset" (input))
1037
        (block_io "nextM" (input))
1038
        (block_io "hold_clk_iorq" (input))
1039
        (block_io "hold_clk_wait" (input))
1040
        (block_io "hold_clk_busrq" (input))
1041
        (block_io "M1" (output))
1042
        (block_io "M2" (output))
1043
        (block_io "M3" (output))
1044
        (block_io "M4" (output))
1045
        (block_io "M5" (output))
1046
        (block_io "T1" (output))
1047
        (block_io "T2" (output))
1048
        (block_io "T3" (output))
1049
        (block_io "T4" (output))
1050
        (block_io "T5" (output))
1051
        (block_io "T6" (output))
1052
        (block_io "timings_en" (output))
1053
        (mapper
1054
                (pt 168 72)
1055
                (bidir)
1056
                )
1057
)
1058
(block
1059
        (rect 1144 592 1264 664)
1060
        (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))
1061
        (block_io "ctl_alu_shift_oe" (input))
1062
        (block_io "ctl_alu_op2_oe" (input))
1063
        (block_io "ctl_alu_res_oe" (input))
1064
        (block_io "ctl_alu_op1_oe" (input))
1065
        (block_io "ctl_alu_bs_oe" (input))
1066
        (block_io "ctl_alu_op1_sel_bus" (input))
1067
        (block_io "ctl_alu_op1_sel_low" (input))
1068
        (block_io "ctl_alu_op1_sel_zero" (input))
1069
        (block_io "ctl_alu_op2_sel_zero" (input))
1070
        (block_io "ctl_alu_op2_sel_bus" (input))
1071
        (block_io "ctl_alu_op2_sel_lq" (input))
1072
        (block_io "ctl_alu_sel_op2_neg" (input))
1073
        (block_io "ctl_alu_sel_op2_high" (input))
1074
        (block_io "ctl_alu_core_R" (input))
1075
        (block_io "ctl_alu_core_V" (input))
1076
        (block_io "ctl_alu_core_S" (input))
1077
        (block_io "alu_oe" (output))
1078
        (block_io "alu_shift_oe" (output))
1079
        (block_io "alu_op2_oe" (output))
1080
        (block_io "alu_res_oe" (output))
1081
        (block_io "alu_op1_oe" (output))
1082
        (block_io "alu_bs_oe" (output))
1083
        (block_io "alu_op1_sel_bus" (output))
1084
        (block_io "alu_op1_sel_low" (output))
1085
        (block_io "alu_op1_sel_zero" (output))
1086
        (block_io "alu_op2_sel_zero" (output))
1087
        (block_io "alu_op2_sel_bus" (output))
1088
        (block_io "alu_op2_sel_lq" (output))
1089
        (block_io "alu_sel_op2_neg" (output))
1090
        (block_io "alu_sel_op2_high" (output))
1091
        (block_io "alu_core_R" (output))
1092
        (block_io "alu_core_V" (output))
1093
        (block_io "alu_core_S" (output))
1094
        (mapper
1095
                (pt 64 72)
1096
                (bidir)
1097
                )
1098
        (mapper
1099
                (pt 64 0)
1100
                (bidir)
1101
                )
1102
)
1103
(block
1104
        (rect 1344 528 1432 584)
1105
        (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))
1106
        (block_io "ctl_sw_1d" (input))
1107
        (block_io "ctl_sw_2u" (input))
1108
        (block_io "ctl_sw_2d" (input))
1109
        (block_io "ctl_sw_mask543_en" (input))
1110
        (block_io "bus_sw_1u" (output))
1111
        (block_io "bus_sw_1d" (output))
1112
        (block_io "bus_sw_2u" (output))
1113
        (block_io "bus_sw_2d" (output))
1114
        (block_io "bus_sw_mask543_en" (output))
1115
)
1116
(block
1117
        (rect 352 120 456 232)
1118
        (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))
1119
        (block_io "ctl_iffx_we" (input))
1120
        (block_io "ctl_iffx_bit" (input))
1121
        (block_io "nmi" (input))
1122
        (block_io "intr" (input))
1123
        (block_io "setM1" (input))
1124
        (block_io "ctl_no_ints" (input))
1125
        (block_io "db[1..0]" (input))
1126
        (block_io "clk" (input))
1127
        (block_io "ctl_im_we" (input))
1128
        (block_io "nreset" (input))
1129
        (block_io "iff1" (output))
1130
        (block_io "iff2" (output))
1131
        (block_io "in_nmi" (output))
1132
        (block_io "in_intr" (output))
1133
        (block_io "im1" (output))
1134
        (block_io "im2" (output))
1135
)
1136
(connector
1137
        (pt 1104 176)
1138
        (pt 1136 176)
1139
        (conduit)
1140
        (color 85 0 127)
1141
)
1142
(connector
1143
        (pt 872 200)
1144
        (pt 872 224)
1145
        (conduit)
1146
)
1147
(connector
1148
        (pt 1224 200)
1149
        (pt 1224 224)
1150
        (conduit)
1151
)
1152
(connector
1153
        (text "<<__$DEF_ALIAS5116>>" (rect 256 0 379 12)(font "Arial" )(invisible))
1154
        (pt 1344 448)
1155
        (pt 1320 448)
1156
        (conduit)
1157
)
1158
(connector
1159
        (pt 1208 664)
1160
        (pt 1208 720)
1161
        (conduit)
1162
)
1163
(connector
1164
        (pt 1000 664)
1165
        (pt 1000 720)
1166
        (conduit)
1167
)
1168
(connector
1169
        (pt 560 664)
1170
        (pt 560 688)
1171
        (conduit)
1172
)
1173
(connector
1174
        (pt 1208 592)
1175
        (pt 1208 504)
1176
        (conduit)
1177
)
1178
(connector
1179
        (pt 1000 592)
1180
        (pt 1000 504)
1181
        (conduit)
1182
)
1183
(connector
1184
        (pt 648 592)
1185
        (pt 648 552)
1186
        (conduit)
1187
)
1188
(connector
1189
        (pt 648 552)
1190
        (pt 760 552)
1191
        (conduit)
1192
)
1193
(connector
1194
        (pt 760 552)
1195
        (pt 760 504)
1196
        (conduit)
1197
)
1198
(connector
1199
        (pt 656 296)
1200
        (pt 688 296)
1201
        (conduit)
1202
)
1203
(connector
1204
        (pt 656 456)
1205
        (pt 688 456)
1206
        (conduit)
1207
)
1208
(connector
1209
        (pt 1296 696)
1210
        (pt 840 696)
1211
        (conduit)
1212
        (color 255 0 127)
1213
)
1214
(connector
1215
        (pt 792 784)
1216
        (pt 792 840)
1217
        (conduit)
1218
        (color 255 0 127)
1219
)
1220
(connector
1221
        (pt 696 736)
1222
        (pt 744 736)
1223
        (conduit)
1224
        (color 255 0 127)
1225
)
1226
(connector
1227
        (pt 432 800)
1228
        (pt 368 800)
1229
        (conduit)
1230
        (color 255 0 127)
1231
)
1232
(connector
1233
        (pt 288 912)
1234
        (pt 288 952)
1235
        (conduit)
1236
        (color 255 0 127)
1237
)
1238
(connector
1239
        (text "<<__$DEF_ALIAS5119>>" (rect 256 0 379 12)(font "Arial" )(invisible))
1240
        (pt 1320 160)
1241
        (pt 1320 448)
1242
        (conduit)
1243
        (color 255 0 127)
1244
)
1245
(connector
1246
        (text "<<__$DEF_ALIAS6200>>" (rect 0 0 123 12)(font "Arial" )(invisible))
1247
        (pt 1320 448)
1248
        (pt 1320 624)
1249
        (conduit)
1250
        (color 255 0 127)
1251
)
1252
(connector
1253
        (pt 696 840)
1254
        (pt 792 840)
1255
        (conduit)
1256
        (color 255 0 127)
1257
)
1258
(connector
1259
        (pt 792 840)
1260
        (pt 888 840)
1261
        (conduit)
1262
        (color 255 0 127)
1263
)
1264
(connector
1265
        (text "<<__$DEF_ALIAS6208>>" (rect 0 0 123 12)(font "Arial" )(invisible))
1266
        (pt 1264 160)
1267
        (pt 1320 160)
1268
        (conduit)
1269
        (color 255 0 0)
1270
)
1271
(connector
1272
        (text "<<__$DEF_ALIAS5171>>" (rect 1274 120 1452 136)(font "Arial" (font_size 10)))
1273
        (pt 1320 160)
1274
        (pt 1368 160)
1275
        (conduit)
1276
        (color 255 0 0)
1277
)
1278
(connector
1279
        (pt 1448 368)
1280
        (pt 1448 728)
1281
        (conduit)
1282
)
1283
(connector
1284
        (text "<<__$DEF_ALIAS423>>" (rect -240 -96 -122 -84)(font "Arial" )(invisible))
1285
        (pt 216 56)
1286
        (pt 208 56)
1287
        (conduit)
1288
)
1289
(connector
1290
        (text "<<__$DEF_ALIAS424>>" (rect -240 -96 -122 -84)(font "Arial" )(invisible))
1291
        (pt 216 72)
1292
        (pt 208 72)
1293
        (conduit)
1294
)
1295
(connector
1296
        (text "<<__$DEF_ALIAS425>>" (rect -240 -96 -122 -84)(font "Arial" )(invisible))
1297
        (pt 216 88)
1298
        (pt 208 88)
1299
        (conduit)
1300
)
1301
(connector
1302
        (text "<<__$DEF_ALIAS426>>" (rect -240 -96 -122 -84)(font "Arial" )(invisible))
1303
        (pt 216 104)
1304
        (pt 208 104)
1305
        (conduit)
1306
)
1307
(connector
1308
        (text "<<__$DEF_ALIAS427>>" (rect -240 -96 -122 -84)(font "Arial" )(invisible))
1309
        (pt 216 120)
1310
        (pt 208 120)
1311
        (conduit)
1312
)
1313
(connector
1314
        (text "<<__$DEF_ALIAS428>>" (rect -240 -96 -122 -84)(font "Arial" )(invisible))
1315
        (pt 216 136)
1316
        (pt 208 136)
1317
        (conduit)
1318
)
1319
(connector
1320
        (text "<<__$DEF_ALIAS429>>" (rect -240 -96 -122 -84)(font "Arial" )(invisible))
1321
        (pt 216 152)
1322
        (pt 208 152)
1323
        (conduit)
1324
)
1325
(connector
1326
        (text "<<__$DEF_ALIAS430>>" (rect -240 -96 -122 -84)(font "Arial" )(invisible))
1327
        (pt 216 168)
1328
        (pt 208 168)
1329
        (conduit)
1330
)
1331
(connector
1332
        (text "<<__$DEF_ALIAS87>>" (rect -240 -96 -128 -84)(font "Arial" )(invisible))
1333
        (pt 216 200)
1334
        (pt 208 200)
1335
        (conduit)
1336
)
1337
(connector
1338
        (text "<<__$DEF_ALIAS88>>" (rect -240 -96 -128 -84)(font "Arial" )(invisible))
1339
        (pt 216 216)
1340
        (pt 208 216)
1341
        (conduit)
1342
)
1343
(connector
1344
        (text "<<__$DEF_ALIAS89>>" (rect -240 -96 -128 -84)(font "Arial" )(invisible))
1345
        (pt 216 232)
1346
        (pt 208 232)
1347
        (conduit)
1348
)
1349
(connector
1350
        (text "<<__$DEF_ALIAS90>>" (rect -240 -96 -128 -84)(font "Arial" )(invisible))
1351
        (pt 216 248)
1352
        (pt 208 248)
1353
        (conduit)
1354
)
1355
(connector
1356
        (text "<<__$DEF_ALIAS91>>" (rect -240 -96 -128 -84)(font "Arial" )(invisible))
1357
        (pt 216 264)
1358
        (pt 208 264)
1359
        (conduit)
1360
)
1361
(connector
1362
        (text "<<__$DEF_ALIAS92>>" (rect -240 -96 -128 -84)(font "Arial" )(invisible))
1363
        (pt 216 288)
1364
        (pt 208 288)
1365
        (conduit)
1366
)
1367
(connector
1368
        (pt 1280 976)
1369
        (pt 1288 976)
1370
        (conduit)
1371
)
1372
(junction (pt 1320 160))
1373
(junction (pt 1320 448))
1374
(junction (pt 792 840))
1375
(text "CONTROL UNIT" (rect 688 80 901 110)(font "Arial Black" (color 0 0 0)(font_size 16)))
1376
(text "ALU" (rect 880 536 936 566)(font "Arial Black" (color 0 0 0)(font_size 16)))
1377
(text "REGISTER FILE" (rect 416 536 623 566)(font "Arial Black" (color 0 0 0)(font_size 16)))
1378
(text "ADDRESS INCR" (rect 216 632 421 662)(font "Arial Black" (color 0 0 0)(font_size 16)))
1379
(text "DB0" (rect 1332 288 1354 332)(font "Arial" (color 0 0 0)(font_size 14))(vertical))
1380
(text "DB1" (rect 1064 672 1108 694)(font "Arial" (color 0 0 0)(font_size 14)))
1381
(text "DB2" (rect 768 856 812 878)(font "Arial" (color 0 0 0)(font_size 14)))
1382
(text "SW1" (rect 1328 752 1378 774)(font "Arial" (color 0 0 0)(font_size 14)))
1383
(text "SW2" (rect 768 648 818 670)(font "Arial" (color 0 0 0)(font_size 14)))
1384
(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)))
1385
(rectangle (rect 336 104 1280 520)(fill (color 217 255 255)))
1386
(rectangle (rect 872 576 1280 928)(fill (color 217 255 255)))
1387
(rectangle (rect 416 576 712 928)(fill (color 217 255 255)))
1388
(rectangle (rect 200 672 384 928)(fill (color 217 255 255)))
1389
(rectangle (rect 776 784 808 824)(color 255 255 255)(fill (color 253 211 206)))
1390
(rectangle (rect 696 824 888 856)(color 253 211 206)(fill (color 253 211 206)))
1391
(rectangle (rect 384 768 416 832)(color 253 211 206)(fill (color 253 211 206)))
1392
(rectangle (rect 696 720 744 752)(color 253 211 206)(fill (color 253 211 206)))
1393
(rectangle (rect 840 680 1296 712)(color 253 211 206)(fill (color 253 211 206)))
1394
(rectangle (rect 1304 144 1336 624)(color 253 211 206)(fill (color 253 211 206)))
1395
(rectangle (rect 1280 144 1368 176)(color 253 211 206)(fill (color 253 211 206)))
1396
(title_block
1397
        (rect 56 688 117 1009)
1398
        (name "title-custom-medium")
1399
        (rotate90)
1400
        (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))
1401
        (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))
1402
        (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))
1403
        (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))
1404
        (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))
1405
        (drawing
1406
        )
1407
)

powered by: WebSVN 2.1.0

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