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

Subversion Repositories a-z80

[/] [a-z80/] [trunk/] [cpu/] [toplevel/] [coremodules.vh] - Blame information for rev 8

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

Line No. Rev Author Line
1 8 gdevic
// Automatically generated by gencoremodules.py
2
 
3
clk_delay clk_delay_(
4
    .clk (clk),
5
    .in_intr (in_intr),
6
    .nreset (nreset),
7
    .T1 (T1),
8
    .latch_wait (latch_wait),
9
    .mwait (mwait),
10
    .M1 (M1),
11
    .busrq (busrq),
12
    .setM1 (setM1),
13
    .hold_clk_iorq (hold_clk_iorq),
14
    .hold_clk_wait (hold_clk_wait),
15
    .iorq_Tw (iorq_Tw),
16
    .busack (busack),
17
    .pin_control_oe (pin_control_oe),
18
    .hold_clk_busrq (hold_clk_busrq)
19
);
20
 
21
decode_state decode_state_(
22
    .ctl_state_iy_set (ctl_state_iy_set),
23
    .ctl_state_ixiy_clr (ctl_state_ixiy_clr),
24
    .ctl_state_ixiy_we (ctl_state_ixiy_we),
25
    .ctl_state_halt_set (ctl_state_halt_set),
26
    .ctl_state_tbl_clr (ctl_state_tbl_clr),
27
    .ctl_state_tbl_ed_set (ctl_state_tbl_ed_set),
28
    .ctl_state_tbl_cb_set (ctl_state_tbl_cb_set),
29
    .ctl_state_alu (ctl_state_alu),
30
    .clk (clk),
31
    .address_is_1 (address_is_1),
32
    .ctl_repeat_we (ctl_repeat_we),
33
    .in_intr (in_intr),
34
    .in_nmi (in_nmi),
35
    .nreset (nreset),
36
    .in_halt (in_halt),
37
    .table_cb (table_cb),
38
    .table_ed (table_ed),
39
    .table_xx (table_xx),
40
    .use_ix (use_ix),
41
    .use_ixiy (use_ixiy),
42
    .in_alu (in_alu),
43
    .repeat_en (repeat_en)
44
);
45
 
46
execute execute_(
47
    .ctl_state_iy_set (ctl_state_iy_set),
48
    .ctl_state_ixiy_clr (ctl_state_ixiy_clr),
49
    .ctl_state_ixiy_we (ctl_state_ixiy_we),
50
    .ctl_state_halt_set (ctl_state_halt_set),
51
    .ctl_state_tbl_clr (ctl_state_tbl_clr),
52
    .ctl_state_tbl_ed_set (ctl_state_tbl_ed_set),
53
    .ctl_state_tbl_cb_set (ctl_state_tbl_cb_set),
54
    .ctl_state_alu (ctl_state_alu),
55
    .ctl_repeat_we (ctl_repeat_we),
56
    .ctl_iff1_iff2 (ctl_iff1_iff2),
57
    .ctl_iffx_we (ctl_iffx_we),
58
    .ctl_iffx_bit (ctl_iffx_bit),
59
    .ctl_im_we (ctl_im_we),
60
    .ctl_no_ints (ctl_no_ints),
61
    .ctl_ir_we (ctl_ir_we),
62
    .ctl_mRead (ctl_mRead),
63
    .ctl_mWrite (ctl_mWrite),
64
    .ctl_iorw (ctl_iorw),
65
    .ctl_shift_en (ctl_shift_en),
66
    .ctl_daa_oe (ctl_daa_oe),
67
    .ctl_alu_op_low (ctl_alu_op_low),
68
    .ctl_cond_short (ctl_cond_short),
69
    .ctl_alu_core_hf (ctl_alu_core_hf),
70
    .ctl_eval_cond (ctl_eval_cond),
71
    .ctl_66_oe (ctl_66_oe),
72
    .ctl_pf_sel (ctl_pf_sel),
73
    .ctl_alu_oe (ctl_alu_oe),
74
    .ctl_alu_shift_oe (ctl_alu_shift_oe),
75
    .ctl_alu_op2_oe (ctl_alu_op2_oe),
76
    .ctl_alu_res_oe (ctl_alu_res_oe),
77
    .ctl_alu_op1_oe (ctl_alu_op1_oe),
78
    .ctl_alu_bs_oe (ctl_alu_bs_oe),
79
    .ctl_alu_op1_sel_bus (ctl_alu_op1_sel_bus),
80
    .ctl_alu_op1_sel_low (ctl_alu_op1_sel_low),
81
    .ctl_alu_op1_sel_zero (ctl_alu_op1_sel_zero),
82
    .ctl_alu_op2_sel_zero (ctl_alu_op2_sel_zero),
83
    .ctl_alu_op2_sel_bus (ctl_alu_op2_sel_bus),
84
    .ctl_alu_op2_sel_lq (ctl_alu_op2_sel_lq),
85
    .ctl_alu_sel_op2_neg (ctl_alu_sel_op2_neg),
86
    .ctl_alu_sel_op2_high (ctl_alu_sel_op2_high),
87
    .ctl_alu_core_R (ctl_alu_core_R),
88
    .ctl_alu_core_V (ctl_alu_core_V),
89
    .ctl_alu_core_S (ctl_alu_core_S),
90
    .ctl_flags_oe (ctl_flags_oe),
91
    .ctl_flags_bus (ctl_flags_bus),
92
    .ctl_flags_alu (ctl_flags_alu),
93
    .ctl_flags_nf_set (ctl_flags_nf_set),
94
    .ctl_flags_cf_set (ctl_flags_cf_set),
95
    .ctl_flags_cf_cpl (ctl_flags_cf_cpl),
96
    .ctl_flags_cf_we (ctl_flags_cf_we),
97
    .ctl_flags_sz_we (ctl_flags_sz_we),
98
    .ctl_flags_xy_we (ctl_flags_xy_we),
99
    .ctl_flags_hf_we (ctl_flags_hf_we),
100
    .ctl_flags_pf_we (ctl_flags_pf_we),
101
    .ctl_flags_nf_we (ctl_flags_nf_we),
102
    .ctl_flags_cf2_we (ctl_flags_cf2_we),
103
    .ctl_flags_hf_cpl (ctl_flags_hf_cpl),
104
    .ctl_flags_use_cf2 (ctl_flags_use_cf2),
105
    .ctl_flags_hf2_we (ctl_flags_hf2_we),
106
    .ctl_flags_nf_clr (ctl_flags_nf_clr),
107
    .ctl_alu_zero_16bit (ctl_alu_zero_16bit),
108
    .ctl_flags_cf2_sel_shift (ctl_flags_cf2_sel_shift),
109
    .ctl_flags_cf2_sel_daa (ctl_flags_cf2_sel_daa),
110
    .ctl_sw_4u (ctl_sw_4u),
111
    .ctl_reg_in_hi (ctl_reg_in_hi),
112
    .ctl_reg_in_lo (ctl_reg_in_lo),
113
    .ctl_reg_out_lo (ctl_reg_out_lo),
114
    .ctl_reg_out_hi (ctl_reg_out_hi),
115
    .ctl_reg_exx (ctl_reg_exx),
116
    .ctl_reg_ex_af (ctl_reg_ex_af),
117
    .ctl_reg_ex_de_hl (ctl_reg_ex_de_hl),
118
    .ctl_reg_use_sp (ctl_reg_use_sp),
119
    .ctl_reg_sel_pc (ctl_reg_sel_pc),
120
    .ctl_reg_sel_ir (ctl_reg_sel_ir),
121
    .ctl_reg_sel_wz (ctl_reg_sel_wz),
122
    .ctl_reg_gp_we (ctl_reg_gp_we),
123
    .ctl_reg_not_pc (ctl_reg_not_pc),
124
    .ctl_reg_sys_we_lo (ctl_reg_sys_we_lo),
125
    .ctl_reg_sys_we_hi (ctl_reg_sys_we_hi),
126
    .ctl_reg_sys_we (ctl_reg_sys_we),
127
    .ctl_sw_4d (ctl_sw_4d),
128
    .ctl_reg_gp_hilo (ctl_reg_gp_hilo),
129
    .ctl_reg_gp_sel (ctl_reg_gp_sel),
130
    .ctl_reg_sys_hilo (ctl_reg_sys_hilo),
131
    .ctl_inc_cy (ctl_inc_cy),
132
    .ctl_inc_dec (ctl_inc_dec),
133
    .ctl_al_we (ctl_al_we),
134
    .ctl_inc_limit6 (ctl_inc_limit6),
135
    .ctl_bus_inc_oe (ctl_bus_inc_oe),
136
    .ctl_apin_mux (ctl_apin_mux),
137
    .ctl_apin_mux2 (ctl_apin_mux2),
138
    .ctl_bus_ff_oe (ctl_bus_ff_oe),
139
    .ctl_bus_zero_oe (ctl_bus_zero_oe),
140
    .ctl_sw_1u (ctl_sw_1u),
141
    .ctl_sw_1d (ctl_sw_1d),
142
    .ctl_sw_2u (ctl_sw_2u),
143
    .ctl_sw_2d (ctl_sw_2d),
144
    .ctl_sw_mask543_en (ctl_sw_mask543_en),
145
    .ctl_bus_db_we (ctl_bus_db_we),
146
    .ctl_bus_db_oe (ctl_bus_db_oe),
147
    .nextM (nextM),
148
    .setM1 (setM1),
149
    .fFetch (fFetch),
150
    .fMRead (fMRead),
151
    .fMWrite (fMWrite),
152
    .fIORead (fIORead),
153
    .fIOWrite (fIOWrite),
154
    .pla (pla),
155
    .in_intr (in_intr),
156
    .in_nmi (in_nmi),
157
    .in_halt (in_halt),
158
    .im1 (im1),
159
    .im2 (im2),
160
    .use_ixiy (use_ixiy),
161
    .flags_cond_true (flags_cond_true),
162
    .repeat_en (repeat_en),
163
    .flags_zf (flags_zf),
164
    .flags_nf (flags_nf),
165
    .flags_sf (flags_sf),
166
    .flags_cf (flags_cf),
167
    .M1 (M1),
168
    .M2 (M2),
169
    .M3 (M3),
170
    .M4 (M4),
171
    .M5 (M5),
172
    .T1 (T1),
173
    .T2 (T2),
174
    .T3 (T3),
175
    .T4 (T4),
176
    .T5 (T5),
177
    .T6 (T6)
178
);
179
 
180
interrupts interrupts_(
181
    .ctl_iff1_iff2 (ctl_iff1_iff2),
182
    .nmi (nmi),
183
    .setM1 (setM1),
184
    .intr (intr),
185
    .ctl_iffx_we (ctl_iffx_we),
186
    .ctl_iffx_bit (ctl_iffx_bit),
187
    .ctl_im_we (ctl_im_we),
188
    .clk (clk),
189
    .ctl_no_ints (ctl_no_ints),
190
    .nreset (nreset),
191
    .db (db0[4:3]),
192
    .iff2 (iff2),
193
    .im1 (im1),
194
    .im2 (im2),
195
    .in_nmi (in_nmi),
196
    .in_intr (in_intr)
197
);
198
 
199
ir ir_(
200
    .ctl_ir_we (ctl_ir_we),
201
    .clk (clk),
202
    .nreset (nreset),
203
    .db (db0[7:0]),
204
    .opcode (opcode)
205
);
206
 
207
pin_control pin_control_(
208
    .fFetch (fFetch),
209
    .fMRead (fMRead),
210
    .fMWrite (fMWrite),
211
    .fIORead (fIORead),
212
    .fIOWrite (fIOWrite),
213
    .T1 (T1),
214
    .T2 (T2),
215
    .T3 (T3),
216
    .T4 (T4),
217
    .bus_ab_pin_we (bus_ab_pin_we),
218
    .bus_db_pin_oe (bus_db_pin_oe),
219
    .bus_db_pin_re (bus_db_pin_re)
220
);
221
 
222
pla_decode pla_decode_(
223
    .prefix (prefix),
224
    .opcode (opcode),
225
    .pla (pla)
226
);
227
 
228
resets resets_(
229
    .reset_in (reset_in),
230
    .clk (clk),
231
    .M1 (M1),
232
    .T2 (T2),
233
    .fpga_reset (fpga_reset),
234
    .clrpc (clrpc),
235
    .nreset (nreset)
236
);
237
 
238
memory_ifc memory_ifc_(
239
    .clk (clk),
240
    .nM1_int (nM1_int),
241
    .ctl_mRead (ctl_mRead),
242
    .ctl_mWrite (ctl_mWrite),
243
    .in_intr (in_intr),
244
    .nreset (nreset),
245
    .fIORead (fIORead),
246
    .fIOWrite (fIOWrite),
247
    .setM1 (setM1),
248
    .ctl_iorw (ctl_iorw),
249
    .timings_en (timings_en),
250
    .iorq_Tw (iorq_Tw),
251
    .hold_clk_wait (hold_clk_wait),
252
    .nM1_out (nM1_out),
253
    .nRFSH_out (nRFSH_out),
254
    .nMREQ_out (nMREQ_out),
255
    .nRD_out (nRD_out),
256
    .nWR_out (nWR_out),
257
    .nIORQ_out (nIORQ_out),
258
    .latch_wait (latch_wait)
259
);
260
 
261
sequencer sequencer_(
262
    .clk (clk),
263
    .nextM (nextM),
264
    .setM1 (setM1),
265
    .nreset (nreset),
266
    .hold_clk_iorq (hold_clk_iorq),
267
    .hold_clk_wait (hold_clk_wait),
268
    .hold_clk_busrq (hold_clk_busrq),
269
    .M1 (M1),
270
    .M2 (M2),
271
    .M3 (M3),
272
    .M4 (M4),
273
    .M5 (M5),
274
    .T1 (T1),
275
    .T2 (T2),
276
    .T3 (T3),
277
    .T4 (T4),
278
    .T5 (T5),
279
    .T6 (T6),
280
    .timings_en (timings_en)
281
);
282
 
283
alu_control alu_control_(
284
    .alu_shift_db0 (alu_shift_db0),
285
    .alu_shift_db7 (alu_shift_db7),
286
    .ctl_shift_en (ctl_shift_en),
287
    .alu_low_gt_9 (alu_low_gt_9),
288
    .alu_high_gt_9 (alu_high_gt_9),
289
    .alu_high_eq_9 (alu_high_eq_9),
290
    .ctl_daa_oe (ctl_daa_oe),
291
    .ctl_alu_op_low (ctl_alu_op_low),
292
    .alu_parity_out (alu_parity_out),
293
    .flags_cf (flags_cf),
294
    .flags_zf (flags_zf),
295
    .flags_pf (flags_pf),
296
    .flags_sf (flags_sf),
297
    .ctl_cond_short (ctl_cond_short),
298
    .alu_vf_out (alu_vf_out),
299
    .iff2 (iff2),
300
    .ctl_alu_core_hf (ctl_alu_core_hf),
301
    .ctl_eval_cond (ctl_eval_cond),
302
    .repeat_en (repeat_en),
303
    .flags_cf_latch (flags_cf_latch),
304
    .flags_hf2 (flags_hf2),
305
    .flags_hf (flags_hf),
306
    .ctl_66_oe (ctl_66_oe),
307
    .clk (clk),
308
    .ctl_pf_sel (ctl_pf_sel),
309
    .op543 ({pla[104],pla[103],pla[102]}),
310
    .alu_shift_in (alu_shift_in),
311
    .alu_shift_right (alu_shift_right),
312
    .alu_shift_left (alu_shift_left),
313
    .shift_cf_out (shift_cf_out),
314
    .alu_parity_in (alu_parity_in),
315
    .flags_cond_true (flags_cond_true),
316
    .daa_cf_out (daa_cf_out),
317
    .pf_sel (pf_sel),
318
    .alu_op_low (alu_op_low),
319
    .alu_core_cf_in (alu_core_cf_in),
320
    .db (db1[7:0])
321
);
322
 
323
alu_select alu_select_(
324
    .ctl_alu_oe (ctl_alu_oe),
325
    .ctl_alu_shift_oe (ctl_alu_shift_oe),
326
    .ctl_alu_op2_oe (ctl_alu_op2_oe),
327
    .ctl_alu_res_oe (ctl_alu_res_oe),
328
    .ctl_alu_op1_oe (ctl_alu_op1_oe),
329
    .ctl_alu_bs_oe (ctl_alu_bs_oe),
330
    .ctl_alu_op1_sel_bus (ctl_alu_op1_sel_bus),
331
    .ctl_alu_op1_sel_low (ctl_alu_op1_sel_low),
332
    .ctl_alu_op1_sel_zero (ctl_alu_op1_sel_zero),
333
    .ctl_alu_op2_sel_zero (ctl_alu_op2_sel_zero),
334
    .ctl_alu_op2_sel_bus (ctl_alu_op2_sel_bus),
335
    .ctl_alu_op2_sel_lq (ctl_alu_op2_sel_lq),
336
    .ctl_alu_sel_op2_neg (ctl_alu_sel_op2_neg),
337
    .ctl_alu_sel_op2_high (ctl_alu_sel_op2_high),
338
    .ctl_alu_core_R (ctl_alu_core_R),
339
    .ctl_alu_core_V (ctl_alu_core_V),
340
    .ctl_alu_core_S (ctl_alu_core_S),
341
    .alu_oe (alu_oe),
342
    .alu_shift_oe (alu_shift_oe),
343
    .alu_op2_oe (alu_op2_oe),
344
    .alu_res_oe (alu_res_oe),
345
    .alu_op1_oe (alu_op1_oe),
346
    .alu_bs_oe (alu_bs_oe),
347
    .alu_op1_sel_bus (alu_op1_sel_bus),
348
    .alu_op1_sel_low (alu_op1_sel_low),
349
    .alu_op1_sel_zero (alu_op1_sel_zero),
350
    .alu_op2_sel_zero (alu_op2_sel_zero),
351
    .alu_op2_sel_bus (alu_op2_sel_bus),
352
    .alu_op2_sel_lq (alu_op2_sel_lq),
353
    .alu_sel_op2_neg (alu_sel_op2_neg),
354
    .alu_sel_op2_high (alu_sel_op2_high),
355
    .alu_core_R (alu_core_R),
356
    .alu_core_V (alu_core_V),
357
    .alu_core_S (alu_core_S)
358
);
359
 
360
alu_flags alu_flags_(
361
    .ctl_flags_oe (ctl_flags_oe),
362
    .ctl_flags_bus (ctl_flags_bus),
363
    .ctl_flags_alu (ctl_flags_alu),
364
    .alu_sf_out (alu_sf_out),
365
    .alu_yf_out (alu_yf_out),
366
    .alu_xf_out (alu_xf_out),
367
    .ctl_flags_nf_set (ctl_flags_nf_set),
368
    .alu_zero (alu_zero),
369
    .shift_cf_out (shift_cf_out),
370
    .alu_core_cf_out (alu_core_cf_out),
371
    .daa_cf_out (daa_cf_out),
372
    .ctl_flags_cf_set (ctl_flags_cf_set),
373
    .ctl_flags_cf_cpl (ctl_flags_cf_cpl),
374
    .pf_sel (pf_sel),
375
    .ctl_flags_cf_we (ctl_flags_cf_we),
376
    .ctl_flags_sz_we (ctl_flags_sz_we),
377
    .ctl_flags_xy_we (ctl_flags_xy_we),
378
    .ctl_flags_hf_we (ctl_flags_hf_we),
379
    .ctl_flags_pf_we (ctl_flags_pf_we),
380
    .ctl_flags_nf_we (ctl_flags_nf_we),
381
    .ctl_flags_cf2_we (ctl_flags_cf2_we),
382
    .ctl_flags_hf_cpl (ctl_flags_hf_cpl),
383
    .ctl_flags_use_cf2 (ctl_flags_use_cf2),
384
    .ctl_flags_hf2_we (ctl_flags_hf2_we),
385
    .ctl_flags_nf_clr (ctl_flags_nf_clr),
386
    .ctl_alu_zero_16bit (ctl_alu_zero_16bit),
387
    .clk (clk),
388
    .ctl_flags_cf2_sel_shift (ctl_flags_cf2_sel_shift),
389
    .ctl_flags_cf2_sel_daa (ctl_flags_cf2_sel_daa),
390
    .flags_sf (flags_sf),
391
    .flags_zf (flags_zf),
392
    .flags_hf (flags_hf),
393
    .flags_pf (flags_pf),
394
    .flags_cf (flags_cf),
395
    .flags_nf (flags_nf),
396
    .flags_cf_latch (flags_cf_latch),
397
    .flags_hf2 (flags_hf2),
398
    .db (db1[7:0])
399
);
400
 
401
alu alu_(
402
    .alu_core_R (alu_core_R),
403
    .alu_core_V (alu_core_V),
404
    .alu_core_S (alu_core_S),
405
    .alu_bs_oe (alu_bs_oe),
406
    .alu_parity_in (alu_parity_in),
407
    .alu_oe (alu_oe),
408
    .alu_shift_oe (alu_shift_oe),
409
    .alu_core_cf_in (alu_core_cf_in),
410
    .alu_op2_oe (alu_op2_oe),
411
    .alu_op1_oe (alu_op1_oe),
412
    .alu_res_oe (alu_res_oe),
413
    .alu_op1_sel_low (alu_op1_sel_low),
414
    .alu_op1_sel_zero (alu_op1_sel_zero),
415
    .alu_op1_sel_bus (alu_op1_sel_bus),
416
    .alu_op2_sel_zero (alu_op2_sel_zero),
417
    .alu_op2_sel_bus (alu_op2_sel_bus),
418
    .alu_op2_sel_lq (alu_op2_sel_lq),
419
    .alu_op_low (alu_op_low),
420
    .alu_shift_in (alu_shift_in),
421
    .alu_sel_op2_neg (alu_sel_op2_neg),
422
    .alu_sel_op2_high (alu_sel_op2_high),
423
    .alu_shift_left (alu_shift_left),
424
    .alu_shift_right (alu_shift_right),
425
    .clk (clk),
426
    .bsel (db0[5:3]),
427
    .alu_zero (alu_zero),
428
    .alu_parity_out (alu_parity_out),
429
    .alu_high_eq_9 (alu_high_eq_9),
430
    .alu_high_gt_9 (alu_high_gt_9),
431
    .alu_low_gt_9 (alu_low_gt_9),
432
    .alu_shift_db0 (alu_shift_db0),
433
    .alu_shift_db7 (alu_shift_db7),
434
    .alu_core_cf_out (alu_core_cf_out),
435
    .alu_sf_out (alu_sf_out),
436
    .alu_yf_out (alu_yf_out),
437
    .alu_xf_out (alu_xf_out),
438
    .alu_vf_out (alu_vf_out),
439
    .db (db2[7:0]),
440
    .test_db_high (test_db_high),
441
    .test_db_low (test_db_low)
442
);
443
 
444
reg_file reg_file_(
445
    .reg_sel_sys_lo (reg_sel_sys_lo),
446
    .reg_sel_gp_lo (reg_sel_gp_lo),
447
    .reg_sel_sys_hi (reg_sel_sys_hi),
448
    .reg_sel_gp_hi (reg_sel_gp_hi),
449
    .reg_sel_ir (reg_sel_ir),
450
    .reg_sel_pc (reg_sel_pc),
451
    .ctl_sw_4u (ctl_sw_4u),
452
    .reg_sel_wz (reg_sel_wz),
453
    .reg_sel_sp (reg_sel_sp),
454
    .reg_sel_iy (reg_sel_iy),
455
    .reg_sel_ix (reg_sel_ix),
456
    .reg_sel_hl2 (reg_sel_hl2),
457
    .reg_sel_hl (reg_sel_hl),
458
    .reg_sel_de2 (reg_sel_de2),
459
    .reg_sel_de (reg_sel_de),
460
    .reg_sel_bc2 (reg_sel_bc2),
461
    .reg_sel_bc (reg_sel_bc),
462
    .reg_sel_af2 (reg_sel_af2),
463
    .reg_sel_af (reg_sel_af),
464
    .reg_gp_we (reg_gp_we),
465
    .reg_sys_we_lo (reg_sys_we_lo),
466
    .reg_sys_we_hi (reg_sys_we_hi),
467
    .ctl_reg_in_hi (ctl_reg_in_hi),
468
    .ctl_reg_in_lo (ctl_reg_in_lo),
469
    .ctl_reg_out_lo (ctl_reg_out_lo),
470
    .ctl_reg_out_hi (ctl_reg_out_hi),
471
    .clk (clk),
472
    .reg_sw_4d_lo (reg_sw_4d_lo),
473
    .reg_sw_4d_hi (reg_sw_4d_hi),
474
    .db_hi_as (db_hi_as[7:0]),
475
    .db_hi_ds (db2[7:0]),
476
    .db_lo_as (db_lo_as[7:0]),
477
    .db_lo_ds (db1[7:0])
478
);
479
 
480
reg_control reg_control_(
481
    .ctl_reg_exx (ctl_reg_exx),
482
    .ctl_reg_ex_af (ctl_reg_ex_af),
483
    .ctl_reg_ex_de_hl (ctl_reg_ex_de_hl),
484
    .ctl_reg_use_sp (ctl_reg_use_sp),
485
    .nreset (nreset),
486
    .ctl_reg_sel_pc (ctl_reg_sel_pc),
487
    .ctl_reg_sel_ir (ctl_reg_sel_ir),
488
    .ctl_reg_sel_wz (ctl_reg_sel_wz),
489
    .ctl_reg_gp_we (ctl_reg_gp_we),
490
    .ctl_reg_not_pc (ctl_reg_not_pc),
491
    .use_ixiy (use_ixiy),
492
    .use_ix (use_ix),
493
    .ctl_reg_sys_we_lo (ctl_reg_sys_we_lo),
494
    .ctl_reg_sys_we_hi (ctl_reg_sys_we_hi),
495
    .ctl_reg_sys_we (ctl_reg_sys_we),
496
    .clk (clk),
497
    .ctl_sw_4d (ctl_sw_4d),
498
    .ctl_reg_gp_hilo (ctl_reg_gp_hilo),
499
    .ctl_reg_gp_sel (ctl_reg_gp_sel),
500
    .ctl_reg_sys_hilo (ctl_reg_sys_hilo),
501
    .reg_sel_bc (reg_sel_bc),
502
    .reg_sel_bc2 (reg_sel_bc2),
503
    .reg_sel_ix (reg_sel_ix),
504
    .reg_sel_iy (reg_sel_iy),
505
    .reg_sel_de (reg_sel_de),
506
    .reg_sel_hl (reg_sel_hl),
507
    .reg_sel_de2 (reg_sel_de2),
508
    .reg_sel_hl2 (reg_sel_hl2),
509
    .reg_sel_af (reg_sel_af),
510
    .reg_sel_af2 (reg_sel_af2),
511
    .reg_sel_wz (reg_sel_wz),
512
    .reg_sel_pc (reg_sel_pc),
513
    .reg_sel_ir (reg_sel_ir),
514
    .reg_sel_sp (reg_sel_sp),
515
    .reg_sel_gp_hi (reg_sel_gp_hi),
516
    .reg_sel_gp_lo (reg_sel_gp_lo),
517
    .reg_sel_sys_lo (reg_sel_sys_lo),
518
    .reg_sel_sys_hi (reg_sel_sys_hi),
519
    .reg_gp_we (reg_gp_we),
520
    .reg_sys_we_lo (reg_sys_we_lo),
521
    .reg_sys_we_hi (reg_sys_we_hi),
522
    .reg_sw_4d_lo (reg_sw_4d_lo),
523
    .reg_sw_4d_hi (reg_sw_4d_hi)
524
);
525
 
526
address_latch address_latch_(
527
    .ctl_inc_cy (ctl_inc_cy),
528
    .ctl_inc_dec (ctl_inc_dec),
529
    .ctl_al_we (ctl_al_we),
530
    .ctl_inc_limit6 (ctl_inc_limit6),
531
    .ctl_bus_inc_oe (ctl_bus_inc_oe),
532
    .clk (clk),
533
    .ctl_apin_mux (ctl_apin_mux),
534
    .ctl_apin_mux2 (ctl_apin_mux2),
535
    .clrpc (clrpc),
536
    .nreset (nreset),
537
    .address_is_1 (address_is_1),
538
    .abus ({db_hi_as[7:0], db_lo_as[7:0]}),
539
    .address (address)
540
);
541
 
542
bus_control bus_control_(
543
    .ctl_bus_ff_oe (ctl_bus_ff_oe),
544
    .ctl_bus_zero_oe (ctl_bus_zero_oe),
545
    .db (db0[7:0])
546
);
547
 
548
bus_switch bus_switch_(
549
    .ctl_sw_1u (ctl_sw_1u),
550
    .ctl_sw_1d (ctl_sw_1d),
551
    .ctl_sw_2u (ctl_sw_2u),
552
    .ctl_sw_2d (ctl_sw_2d),
553
    .ctl_sw_mask543_en (ctl_sw_mask543_en),
554
    .bus_sw_1u (bus_sw_1u),
555
    .bus_sw_1d (bus_sw_1d),
556
    .bus_sw_2u (bus_sw_2u),
557
    .bus_sw_2d (bus_sw_2d),
558
    .bus_sw_mask543_en (bus_sw_mask543_en)
559
);

powered by: WebSVN 2.1.0

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