Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | // ========== Copyright Header Begin ========================================== |
2 | // | |
3 | // OpenSPARC T2 Processor File: ccx_tstg.v | |
4 | // Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved | |
5 | // 4150 Network Circle, Santa Clara, California 95054, U.S.A. | |
6 | // | |
7 | // * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
8 | // | |
9 | // This program is free software; you can redistribute it and/or modify | |
10 | // it under the terms of the GNU General Public License as published by | |
11 | // the Free Software Foundation; version 2 of the License. | |
12 | // | |
13 | // This program is distributed in the hope that it will be useful, | |
14 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | // GNU General Public License for more details. | |
17 | // | |
18 | // You should have received a copy of the GNU General Public License | |
19 | // along with this program; if not, write to the Free Software | |
20 | // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
21 | // | |
22 | // For the avoidance of doubt, and except that if any non-GPL license | |
23 | // choice is available it will apply instead, Sun elects to use only | |
24 | // the General Public License version 2 (GPLv2) at this time for any | |
25 | // software where a choice of GPL license versions is made | |
26 | // available with the language indicating that GPLv2 or any later version | |
27 | // may be used, or where a choice of which version of the GPL is applied is | |
28 | // otherwise unspecified. | |
29 | // | |
30 | // Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | |
31 | // CA 95054 USA or visit www.sun.com if you need additional information or | |
32 | // have any questions. | |
33 | // | |
34 | // ========== Copyright Header End ============================================ | |
35 | module ccx_tstg ( | |
36 | dout, | |
37 | din, | |
38 | l2clk, | |
39 | scan_in, | |
40 | scan_out, | |
41 | tcu_aclk, | |
42 | tcu_bclk, | |
43 | tcu_scan_en, | |
44 | tcu_pce_ov, | |
45 | local_stop); | |
46 | wire scan_out0; | |
47 | wire scan_out1; | |
48 | wire scan_out2; | |
49 | wire scan_out3; | |
50 | wire scan_out4; | |
51 | wire scan_out5; | |
52 | wire scan_out6; | |
53 | wire scan_out7; | |
54 | wire scan_out8; | |
55 | ||
56 | ||
57 | output [159:0] dout; | |
58 | ||
59 | input [159:0] din; | |
60 | ||
61 | input l2clk; | |
62 | input scan_in; | |
63 | output scan_out; | |
64 | input tcu_aclk; | |
65 | input tcu_bclk; | |
66 | input tcu_scan_en; | |
67 | input tcu_pce_ov; | |
68 | input local_stop; | |
69 | ||
70 | ||
71 | n2_flop_bank_cust i0( | |
72 | .data_out(dout[15:0]), | |
73 | .data_in(din[15:0]), | |
74 | .scan_in(scan_in), | |
75 | .scan_out(scan_out0), | |
76 | .l2clk(l2clk), | |
77 | .tcu_aclk(tcu_aclk), | |
78 | .tcu_bclk(tcu_bclk), | |
79 | .tcu_scan_en(tcu_scan_en), | |
80 | .tcu_pce_ov(tcu_pce_ov), | |
81 | .local_stop(local_stop) | |
82 | ); | |
83 | ||
84 | n2_flop_bank_cust i1( | |
85 | .data_out(dout[31:16]), | |
86 | .data_in(din[31:16]), | |
87 | .scan_in(scan_out0), | |
88 | .scan_out(scan_out1), | |
89 | .l2clk(l2clk), | |
90 | .tcu_aclk(tcu_aclk), | |
91 | .tcu_bclk(tcu_bclk), | |
92 | .tcu_scan_en(tcu_scan_en), | |
93 | .tcu_pce_ov(tcu_pce_ov), | |
94 | .local_stop(local_stop) | |
95 | ); | |
96 | ||
97 | n2_flop_bank_cust i2( | |
98 | .data_out(dout[47:32]), | |
99 | .data_in(din[47:32]), | |
100 | .scan_in(scan_out1), | |
101 | .scan_out(scan_out2), | |
102 | .l2clk(l2clk), | |
103 | .tcu_aclk(tcu_aclk), | |
104 | .tcu_bclk(tcu_bclk), | |
105 | .tcu_scan_en(tcu_scan_en), | |
106 | .tcu_pce_ov(tcu_pce_ov), | |
107 | .local_stop(local_stop) | |
108 | ); | |
109 | ||
110 | n2_flop_bank_cust i3( | |
111 | .data_out(dout[63:48]), | |
112 | .data_in(din[63:48]), | |
113 | .scan_in(scan_out2), | |
114 | .scan_out(scan_out3), | |
115 | .l2clk(l2clk), | |
116 | .tcu_aclk(tcu_aclk), | |
117 | .tcu_bclk(tcu_bclk), | |
118 | .tcu_scan_en(tcu_scan_en), | |
119 | .tcu_pce_ov(tcu_pce_ov), | |
120 | .local_stop(local_stop) | |
121 | ); | |
122 | ||
123 | n2_flop_bank_cust i4( | |
124 | .data_out(dout[79:64]), | |
125 | .data_in(din[79:64]), | |
126 | .scan_in(scan_out3), | |
127 | .scan_out(scan_out4), | |
128 | .l2clk(l2clk), | |
129 | .tcu_aclk(tcu_aclk), | |
130 | .tcu_bclk(tcu_bclk), | |
131 | .tcu_scan_en(tcu_scan_en), | |
132 | .tcu_pce_ov(tcu_pce_ov), | |
133 | .local_stop(local_stop) | |
134 | ); | |
135 | ||
136 | n2_flop_bank_cust i5( | |
137 | .data_out(dout[95:80]), | |
138 | .data_in(din[95:80]), | |
139 | .scan_in(scan_out4), | |
140 | .scan_out(scan_out5), | |
141 | .l2clk(l2clk), | |
142 | .tcu_aclk(tcu_aclk), | |
143 | .tcu_bclk(tcu_bclk), | |
144 | .tcu_scan_en(tcu_scan_en), | |
145 | .tcu_pce_ov(tcu_pce_ov), | |
146 | .local_stop(local_stop) | |
147 | ); | |
148 | ||
149 | n2_flop_bank_cust i6( | |
150 | .data_out(dout[111:96]), | |
151 | .data_in(din[111:96]), | |
152 | .scan_in(scan_out5), | |
153 | .scan_out(scan_out6), | |
154 | .l2clk(l2clk), | |
155 | .tcu_aclk(tcu_aclk), | |
156 | .tcu_bclk(tcu_bclk), | |
157 | .tcu_scan_en(tcu_scan_en), | |
158 | .tcu_pce_ov(tcu_pce_ov), | |
159 | .local_stop(local_stop) | |
160 | ); | |
161 | ||
162 | n2_flop_bank_cust i7( | |
163 | .data_out(dout[127:112]), | |
164 | .data_in(din[127:112]), | |
165 | .scan_in(scan_out6), | |
166 | .scan_out(scan_out7), | |
167 | .l2clk(l2clk), | |
168 | .tcu_aclk(tcu_aclk), | |
169 | .tcu_bclk(tcu_bclk), | |
170 | .tcu_scan_en(tcu_scan_en), | |
171 | .tcu_pce_ov(tcu_pce_ov), | |
172 | .local_stop(local_stop) | |
173 | ); | |
174 | ||
175 | n2_flop_bank_cust i8( | |
176 | .data_out(dout[143:128]), | |
177 | .data_in(din[143:128]), | |
178 | .scan_in(scan_out7), | |
179 | .scan_out(scan_out8), | |
180 | .l2clk(l2clk), | |
181 | .tcu_aclk(tcu_aclk), | |
182 | .tcu_bclk(tcu_bclk), | |
183 | .tcu_scan_en(tcu_scan_en), | |
184 | .tcu_pce_ov(tcu_pce_ov), | |
185 | .local_stop(local_stop) | |
186 | ); | |
187 | ||
188 | n2_flop_bank_cust i9( | |
189 | .data_out(dout[159:144]), | |
190 | .data_in(din[159:144]), | |
191 | .scan_in(scan_out8), | |
192 | .scan_out(scan_out), | |
193 | .l2clk(l2clk), | |
194 | .tcu_aclk(tcu_aclk), | |
195 | .tcu_bclk(tcu_bclk), | |
196 | .tcu_scan_en(tcu_scan_en), | |
197 | .tcu_pce_ov(tcu_pce_ov), | |
198 | .local_stop(local_stop) | |
199 | ); | |
200 | ||
201 | endmodule // ccx_trep | |
202 | ||
203 |