]> cvs.zerfleddert.de Git - fpga-games/blame - galaxian/src/z80ip.v
picture getting better again
[fpga-games] / galaxian / src / z80ip.v
CommitLineData
782690d0
MG
1//===============================================================================\r
2// FPGA MOONCRESTA T80_IP I/F\r
3//\r
4// Version : 1.00\r
5//\r
6// Copyright(c) 2004 Katsumi Degawa , All rights reserved\r
7//\r
8// Important !\r
9//\r
10// This program is freeware for non-commercial use. \r
11// An author does no guarantee about this program.\r
12// You can use this under your own risk.\r
13// \r
14//================================================================================\r
15\r
16module Z80IP(\r
17\r
18ADRS,\r
19DINP,\r
20DOUT,\r
21BUSWO,\r
22RESET_N,\r
23INT_N,\r
24NMI_N,\r
25WAIT_N,\r
26M1_N,\r
27MREQ_N,\r
28IORQ_N,\r
29RD_N, \r
30WR_N,\r
31RFSH_N,\r
32HALT_N,\r
33CLK\r
34\r
35);\r
36\r
37// I/O assign\r
38output [15:0]ADRS;\r
39input [7:0] DINP;\r
40output [7:0] DOUT;\r
41input RESET_N,INT_N,NMI_N,WAIT_N,CLK;\r
42output M1_N,MREQ_N,IORQ_N,RD_N,WR_N,RFSH_N,HALT_N,BUSWO;\r
43\r
44// Z80IP interface\r
45T80as z80core (\r
46\r
47.RESET_n(RESET_N),\r
48.CLK_n(CLK),\r
49.WAIT_n(WAIT_N),\r
50.INT_n(INT_N),\r
51.NMI_n(NMI_N),\r
52.BUSRQ_n(1'b1),\r
53.M1_n(M1_N),\r
54.MREQ_n(MREQ_N),\r
55.IORQ_n(IORQ_N),\r
56.RD_n(RD_N),\r
57.WR_n(WR_N),\r
58.RFSH_n(RFSH_N),\r
59.HALT_n(HALT_N),\r
60.BUSAK_n(),\r
61.A(ADRS),\r
62.DI(DINP),\r
63.DO(DOUT),\r
64.DOE(BUSWO)\r
65\r
66);\r
67\r
68endmodule\r
69\r
Impressum, Datenschutz