OpenCores
URL https://opencores.org/ocsvn/smii/smii/trunk

Subversion Repositories smii

[/] [smii/] [trunk/] [rtl/] [verilog/] [smii_module_inst_2.v] - Blame information for rev 7

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 unneback
wire         m1tx_clk;
2
wire [3:0]            m1txd;
3
wire         m1txen;
4
wire         m1txerr;
5
wire         m1rx_clk;
6
wire [3:0]            m1rxd;
7
wire         m1rxdv;
8
wire         m1rxerr;
9
wire         m1coll;
10
wire         m1crs;
11
wire         m2tx_clk;
12
wire [3:0]            m2txd;
13
wire         m2txen;
14
wire         m2txerr;
15
wire         m2rx_clk;
16
wire [3:0]            m2rxd;
17
wire         m2rxdv;
18
wire         m2rxerr;
19
wire         m2coll;
20
wire         m2crs;
21
wire [1:10]          state;
22
wire              sync;
23
wire [1:2]    rx, tx;
24
wire [1:2]    mdc_o, md_i, md_o, md_oe;
25
smii_sync smii_sync1
26
  (
27
   .sync(sync),
28
   .state(state),
29
   .clk(eth_clk),
30
   .rst(wb_rst)
31
   );
32
eth_top eth_top1
33
        (
34
         .wb_clk_i(wb_clk),
35
         .wb_rst_i(wb_rst),
36
         .wb_dat_i(wbs_eth1_cfg_dat_i),
37
         .wb_dat_o(wbs_eth1_cfg_dat_o),
38
         .wb_adr_i(wbs_eth1_cfg_adr_i[11:2]),
39
         .wb_sel_i(wbs_eth1_cfg_sel_i),
40
         .wb_we_i(wbs_eth1_cfg_we_i),
41
         .wb_cyc_i(wbs_eth1_cfg_cyc_i),
42
         .wb_stb_i(wbs_eth1_cfg_stb_i),
43
         .wb_ack_o(wbs_eth1_cfg_ack_o),
44
         .wb_err_o(wbs_eth1_cfg_err_o),
45
         .m_wb_adr_o(wbm_eth1_adr_o),
46
         .m_wb_sel_o(wbm_eth1_sel_o),
47
         .m_wb_we_o(wbm_eth1_we_o),
48
         .m_wb_dat_o(wbm_eth1_dat_o),
49
         .m_wb_dat_i(wbm_eth1_dat_i),
50
         .m_wb_cyc_o(wbm_eth1_cyc_o),
51
         .m_wb_stb_o(wbm_eth1_stb_o),
52
         .m_wb_ack_i(wbm_eth1_ack_i),
53
         .m_wb_err_i(wbm_eth1_err_i),
54
         .m_wb_cti_o(wbm_eth1_cti_o),
55
         .m_wb_bte_o(wbm_eth1_bte_o),
56
         .mtx_clk_pad_i(m1tx_clk),
57
         .mtxd_pad_o(m1txd),
58
         .mtxen_pad_o(m1txen),
59
         .mtxerr_pad_o(m1txerr),
60
         .mrx_clk_pad_i(m1rx_clk),
61
         .mrxd_pad_i(m1rxd),
62
         .mrxdv_pad_i(m1rxdv),
63
         .mrxerr_pad_i(m1rxerr),
64
         .mcoll_pad_i(m1coll),
65
         .mcrs_pad_i(m1crs),
66
         .mdc_pad_o(mdc_o[1]),
67
         .md_pad_i(md_i[1]),
68
         .md_pad_o(md_o[1]),
69
         .md_padoe_o(md_oe[1]),
70
         .int_o(eth_int[1])
71
         );
72
iobuftri iobuftri1
73
  (
74
   .i(md_o[1]),
75
   .oe(md_oe[1]),
76
   .o(md_i[1]),
77
   .pad(eth_md_pad_io[1])
78
   );
79
obuf obuf1
80
  (
81
   .i(mdc_o[1]),
82
   .pad(eth_mdc_pad_o[1])
83
   );
84
smii_txrx smii_txrx1
85
  (
86
   .tx(tx[1]),
87
   .rx(rx[1]),
88
   .mtx_clk(m1tx_clk),
89
   .mtxd(m1txd),
90
   .mtxen(m1txen),
91
   .mtxerr(m1txerr),
92
   .mrx_clk(m1rx_clk),
93
   .mrxd(m1rxd),
94
   .mrxdv(m1rxdv),
95
   .mrxerr(m1rxerr),
96
   .mcoll(m1coll),
97
   .mcrs(m1crs),
98
   .state(state),
99
   .clk(eth_clk),
100
   .rst(wb_rst)
101
   );
102 7 unneback
obufdff obufdff_sync1
103
  (
104
   .d(sync),
105
   .pad(eth_sync_pad_o[1]),
106
   .clk(eth_clk),
107
   .rst(wb_rst)
108
   );
109 3 unneback
obufdff obufdff_tx1
110
  (
111
   .d(tx[1]),
112
   .pad(eth_tx_pad_o[1]),
113
   .clk(eth_clk),
114
   .rst(wb_rst)
115
   );
116
ibufdff ibufdff_rx1
117
  (
118
   .pad(eth_rx_pad_i[1]),
119
   .q(rx[1]),
120
   .clk(eth_clk),
121
   .rst(wb_rst)
122
   );
123
eth_top eth_top2
124
        (
125
         .wb_clk_i(wb_clk),
126
         .wb_rst_i(wb_rst),
127
         .wb_dat_i(wbs_eth2_cfg_dat_i),
128
         .wb_dat_o(wbs_eth2_cfg_dat_o),
129
         .wb_adr_i(wbs_eth2_cfg_adr_i[11:2]),
130
         .wb_sel_i(wbs_eth2_cfg_sel_i),
131
         .wb_we_i(wbs_eth2_cfg_we_i),
132
         .wb_cyc_i(wbs_eth2_cfg_cyc_i),
133
         .wb_stb_i(wbs_eth2_cfg_stb_i),
134
         .wb_ack_o(wbs_eth2_cfg_ack_o),
135
         .wb_err_o(wbs_eth2_cfg_err_o),
136
         .m_wb_adr_o(wbm_eth2_adr_o),
137
         .m_wb_sel_o(wbm_eth2_sel_o),
138
         .m_wb_we_o(wbm_eth2_we_o),
139
         .m_wb_dat_o(wbm_eth2_dat_o),
140
         .m_wb_dat_i(wbm_eth2_dat_i),
141
         .m_wb_cyc_o(wbm_eth2_cyc_o),
142
         .m_wb_stb_o(wbm_eth2_stb_o),
143
         .m_wb_ack_i(wbm_eth2_ack_i),
144
         .m_wb_err_i(wbm_eth2_err_i),
145
         .m_wb_cti_o(wbm_eth2_cti_o),
146
         .m_wb_bte_o(wbm_eth2_bte_o),
147
         .mtx_clk_pad_i(m2tx_clk),
148
         .mtxd_pad_o(m2txd),
149
         .mtxen_pad_o(m2txen),
150
         .mtxerr_pad_o(m2txerr),
151
         .mrx_clk_pad_i(m2rx_clk),
152
         .mrxd_pad_i(m2rxd),
153
         .mrxdv_pad_i(m2rxdv),
154
         .mrxerr_pad_i(m2rxerr),
155
         .mcoll_pad_i(m2coll),
156
         .mcrs_pad_i(m2crs),
157
         .mdc_pad_o(mdc_o[2]),
158
         .md_pad_i(md_i[2]),
159
         .md_pad_o(md_o[2]),
160
         .md_padoe_o(md_oe[2]),
161
         .int_o(eth_int[2])
162
         );
163
iobuftri iobuftri2
164
  (
165
   .i(md_o[2]),
166
   .oe(md_oe[2]),
167
   .o(md_i[2]),
168
   .pad(eth_md_pad_io[2])
169
   );
170
obuf obuf2
171
  (
172
   .i(mdc_o[2]),
173
   .pad(eth_mdc_pad_o[2])
174
   );
175
smii_txrx smii_txrx2
176
  (
177
   .tx(tx[2]),
178
   .rx(rx[2]),
179
   .mtx_clk(m2tx_clk),
180
   .mtxd(m2txd),
181
   .mtxen(m2txen),
182
   .mtxerr(m2txerr),
183
   .mrx_clk(m2rx_clk),
184
   .mrxd(m2rxd),
185
   .mrxdv(m2rxdv),
186
   .mrxerr(m2rxerr),
187
   .mcoll(m2coll),
188
   .mcrs(m2crs),
189
   .state(state),
190
   .clk(eth_clk),
191
   .rst(wb_rst)
192
   );
193 7 unneback
obufdff obufdff_sync2
194
  (
195
   .d(sync),
196
   .pad(eth_sync_pad_o[2]),
197
   .clk(eth_clk),
198
   .rst(wb_rst)
199
   );
200 3 unneback
obufdff obufdff_tx2
201
  (
202
   .d(tx[2]),
203
   .pad(eth_tx_pad_o[2]),
204
   .clk(eth_clk),
205
   .rst(wb_rst)
206
   );
207
ibufdff ibufdff_rx2
208
  (
209
   .pad(eth_rx_pad_i[2]),
210
   .q(rx[2]),
211
   .clk(eth_clk),
212
   .rst(wb_rst)
213
   );

powered by: WebSVN 2.1.0

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