Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | // ========== Copyright Header Begin ========================================== |
2 | // | |
3 | // OpenSPARC T2 Processor File: dmu_ilu_cib_csr_pec_int_en_entry.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 dmu_ilu_cib_csr_pec_int_en_entry | |
36 | ( | |
37 | // synopsys translate_off | |
38 | omni_ld, | |
39 | omni_data, | |
40 | // synopsys translate_on | |
41 | clk, | |
42 | rst_l, | |
43 | w_ld, | |
44 | csrbus_wr_data, | |
45 | pec_int_en_csrbus_read_data | |
46 | ); | |
47 | ||
48 | //==================================================================== | |
49 | // Polarity declarations | |
50 | //==================================================================== | |
51 | // synopsys translate_off | |
52 | input omni_ld; // Omni load | |
53 | // vlint flag_input_port_not_connected off | |
54 | input [`FIRE_DLC_ILU_CIB_CSR_PEC_INT_EN_WIDTH - 1:0] omni_data; | |
55 | // Omni write data | |
56 | // synopsys translate_on | |
57 | // vlint flag_input_port_not_connected on | |
58 | input clk; // Clock signal | |
59 | input rst_l; // Reset signal | |
60 | input w_ld; // SW load | |
61 | // vlint flag_input_port_not_connected off | |
62 | input [`FIRE_CSRBUS_DATA_WIDTH-1:0] csrbus_wr_data; // SW write data | |
63 | // vlint flag_input_port_not_connected on | |
64 | output [`FIRE_DLC_ILU_CIB_CSR_PEC_INT_EN_WIDTH-1:0] pec_int_en_csrbus_read_data; | |
65 | // SW read data | |
66 | ||
67 | //==================================================================== | |
68 | // Type declarations | |
69 | //==================================================================== | |
70 | // synopsys translate_off | |
71 | wire omni_ld; // Omni load | |
72 | // vlint flag_dangling_net_within_module off | |
73 | // vlint flag_net_has_no_load off | |
74 | wire [`FIRE_DLC_ILU_CIB_CSR_PEC_INT_EN_WIDTH - 1:0] omni_data; // Omni write | |
75 | // data | |
76 | // synopsys translate_on | |
77 | // vlint flag_dangling_net_within_module on | |
78 | // vlint flag_net_has_no_load on | |
79 | wire clk; // Clock signal | |
80 | wire rst_l; // Reset signal | |
81 | wire w_ld; // SW load | |
82 | // vlint flag_dangling_net_within_module off | |
83 | // vlint flag_net_has_no_load off | |
84 | wire [`FIRE_CSRBUS_DATA_WIDTH-1:0] csrbus_wr_data; // SW write data | |
85 | // vlint flag_dangling_net_within_module on | |
86 | // vlint flag_net_has_no_load on | |
87 | wire [`FIRE_DLC_ILU_CIB_CSR_PEC_INT_EN_WIDTH-1:0] pec_int_en_csrbus_read_data; | |
88 | // SW read data | |
89 | ||
90 | //==================================================================== | |
91 | // Logic | |
92 | //==================================================================== | |
93 | ||
94 | //----- Reset values | |
95 | // verilint 531 off | |
96 | wire [0:0] reset_pec = 1'h0; | |
97 | wire [0:0] reset_pec_ilu = 1'h0; | |
98 | wire [0:0] reset_pec_ue = 1'h0; | |
99 | wire [0:0] reset_pec_ce = 1'h0; | |
100 | wire [0:0] reset_pec_oe = 1'h0; | |
101 | // verilint 531 on | |
102 | ||
103 | //----- Active high reset wires | |
104 | wire rst_l_active_high = ~rst_l; | |
105 | ||
106 | //==================================================== | |
107 | // Instantiation of flops | |
108 | //==================================================== | |
109 | ||
110 | // bit 0 | |
111 | csr_sw csr_sw_0 | |
112 | ( | |
113 | // synopsys translate_off | |
114 | .omni_ld (omni_ld), | |
115 | .omni_data (omni_data[0]), | |
116 | .omni_rw_alias (1'b1), | |
117 | .omni_rw1c_alias (1'b0), | |
118 | .omni_rw1s_alias (1'b0), | |
119 | // synopsys translate_on | |
120 | .rst (rst_l_active_high), | |
121 | .rst_val (reset_pec_oe[0]), | |
122 | .csr_ld (w_ld), | |
123 | .csr_data (csrbus_wr_data[0]), | |
124 | .rw_alias (1'b1), | |
125 | .rw1c_alias (1'b0), | |
126 | .rw1s_alias (1'b0), | |
127 | .hw_ld (1'b0), | |
128 | .hw_data (1'b0), | |
129 | .cp (clk), | |
130 | .q (pec_int_en_csrbus_read_data[0]) | |
131 | ); | |
132 | ||
133 | // bit 1 | |
134 | csr_sw csr_sw_1 | |
135 | ( | |
136 | // synopsys translate_off | |
137 | .omni_ld (omni_ld), | |
138 | .omni_data (omni_data[1]), | |
139 | .omni_rw_alias (1'b1), | |
140 | .omni_rw1c_alias (1'b0), | |
141 | .omni_rw1s_alias (1'b0), | |
142 | // synopsys translate_on | |
143 | .rst (rst_l_active_high), | |
144 | .rst_val (reset_pec_ce[0]), | |
145 | .csr_ld (w_ld), | |
146 | .csr_data (csrbus_wr_data[1]), | |
147 | .rw_alias (1'b1), | |
148 | .rw1c_alias (1'b0), | |
149 | .rw1s_alias (1'b0), | |
150 | .hw_ld (1'b0), | |
151 | .hw_data (1'b0), | |
152 | .cp (clk), | |
153 | .q (pec_int_en_csrbus_read_data[1]) | |
154 | ); | |
155 | ||
156 | // bit 2 | |
157 | csr_sw csr_sw_2 | |
158 | ( | |
159 | // synopsys translate_off | |
160 | .omni_ld (omni_ld), | |
161 | .omni_data (omni_data[2]), | |
162 | .omni_rw_alias (1'b1), | |
163 | .omni_rw1c_alias (1'b0), | |
164 | .omni_rw1s_alias (1'b0), | |
165 | // synopsys translate_on | |
166 | .rst (rst_l_active_high), | |
167 | .rst_val (reset_pec_ue[0]), | |
168 | .csr_ld (w_ld), | |
169 | .csr_data (csrbus_wr_data[2]), | |
170 | .rw_alias (1'b1), | |
171 | .rw1c_alias (1'b0), | |
172 | .rw1s_alias (1'b0), | |
173 | .hw_ld (1'b0), | |
174 | .hw_data (1'b0), | |
175 | .cp (clk), | |
176 | .q (pec_int_en_csrbus_read_data[2]) | |
177 | ); | |
178 | ||
179 | // bit 3 | |
180 | csr_sw csr_sw_3 | |
181 | ( | |
182 | // synopsys translate_off | |
183 | .omni_ld (omni_ld), | |
184 | .omni_data (omni_data[3]), | |
185 | .omni_rw_alias (1'b1), | |
186 | .omni_rw1c_alias (1'b0), | |
187 | .omni_rw1s_alias (1'b0), | |
188 | // synopsys translate_on | |
189 | .rst (rst_l_active_high), | |
190 | .rst_val (reset_pec_ilu[0]), | |
191 | .csr_ld (w_ld), | |
192 | .csr_data (csrbus_wr_data[3]), | |
193 | .rw_alias (1'b1), | |
194 | .rw1c_alias (1'b0), | |
195 | .rw1s_alias (1'b0), | |
196 | .hw_ld (1'b0), | |
197 | .hw_data (1'b0), | |
198 | .cp (clk), | |
199 | .q (pec_int_en_csrbus_read_data[3]) | |
200 | ); | |
201 | ||
202 | assign pec_int_en_csrbus_read_data[4] = 1'b0; // bit 4 | |
203 | assign pec_int_en_csrbus_read_data[5] = 1'b0; // bit 5 | |
204 | assign pec_int_en_csrbus_read_data[6] = 1'b0; // bit 6 | |
205 | assign pec_int_en_csrbus_read_data[7] = 1'b0; // bit 7 | |
206 | assign pec_int_en_csrbus_read_data[8] = 1'b0; // bit 8 | |
207 | assign pec_int_en_csrbus_read_data[9] = 1'b0; // bit 9 | |
208 | assign pec_int_en_csrbus_read_data[10] = 1'b0; // bit 10 | |
209 | assign pec_int_en_csrbus_read_data[11] = 1'b0; // bit 11 | |
210 | assign pec_int_en_csrbus_read_data[12] = 1'b0; // bit 12 | |
211 | assign pec_int_en_csrbus_read_data[13] = 1'b0; // bit 13 | |
212 | assign pec_int_en_csrbus_read_data[14] = 1'b0; // bit 14 | |
213 | assign pec_int_en_csrbus_read_data[15] = 1'b0; // bit 15 | |
214 | assign pec_int_en_csrbus_read_data[16] = 1'b0; // bit 16 | |
215 | assign pec_int_en_csrbus_read_data[17] = 1'b0; // bit 17 | |
216 | assign pec_int_en_csrbus_read_data[18] = 1'b0; // bit 18 | |
217 | assign pec_int_en_csrbus_read_data[19] = 1'b0; // bit 19 | |
218 | assign pec_int_en_csrbus_read_data[20] = 1'b0; // bit 20 | |
219 | assign pec_int_en_csrbus_read_data[21] = 1'b0; // bit 21 | |
220 | assign pec_int_en_csrbus_read_data[22] = 1'b0; // bit 22 | |
221 | assign pec_int_en_csrbus_read_data[23] = 1'b0; // bit 23 | |
222 | assign pec_int_en_csrbus_read_data[24] = 1'b0; // bit 24 | |
223 | assign pec_int_en_csrbus_read_data[25] = 1'b0; // bit 25 | |
224 | assign pec_int_en_csrbus_read_data[26] = 1'b0; // bit 26 | |
225 | assign pec_int_en_csrbus_read_data[27] = 1'b0; // bit 27 | |
226 | assign pec_int_en_csrbus_read_data[28] = 1'b0; // bit 28 | |
227 | assign pec_int_en_csrbus_read_data[29] = 1'b0; // bit 29 | |
228 | assign pec_int_en_csrbus_read_data[30] = 1'b0; // bit 30 | |
229 | assign pec_int_en_csrbus_read_data[31] = 1'b0; // bit 31 | |
230 | assign pec_int_en_csrbus_read_data[32] = 1'b0; // bit 32 | |
231 | assign pec_int_en_csrbus_read_data[33] = 1'b0; // bit 33 | |
232 | assign pec_int_en_csrbus_read_data[34] = 1'b0; // bit 34 | |
233 | assign pec_int_en_csrbus_read_data[35] = 1'b0; // bit 35 | |
234 | assign pec_int_en_csrbus_read_data[36] = 1'b0; // bit 36 | |
235 | assign pec_int_en_csrbus_read_data[37] = 1'b0; // bit 37 | |
236 | assign pec_int_en_csrbus_read_data[38] = 1'b0; // bit 38 | |
237 | assign pec_int_en_csrbus_read_data[39] = 1'b0; // bit 39 | |
238 | assign pec_int_en_csrbus_read_data[40] = 1'b0; // bit 40 | |
239 | assign pec_int_en_csrbus_read_data[41] = 1'b0; // bit 41 | |
240 | assign pec_int_en_csrbus_read_data[42] = 1'b0; // bit 42 | |
241 | assign pec_int_en_csrbus_read_data[43] = 1'b0; // bit 43 | |
242 | assign pec_int_en_csrbus_read_data[44] = 1'b0; // bit 44 | |
243 | assign pec_int_en_csrbus_read_data[45] = 1'b0; // bit 45 | |
244 | assign pec_int_en_csrbus_read_data[46] = 1'b0; // bit 46 | |
245 | assign pec_int_en_csrbus_read_data[47] = 1'b0; // bit 47 | |
246 | assign pec_int_en_csrbus_read_data[48] = 1'b0; // bit 48 | |
247 | assign pec_int_en_csrbus_read_data[49] = 1'b0; // bit 49 | |
248 | assign pec_int_en_csrbus_read_data[50] = 1'b0; // bit 50 | |
249 | assign pec_int_en_csrbus_read_data[51] = 1'b0; // bit 51 | |
250 | assign pec_int_en_csrbus_read_data[52] = 1'b0; // bit 52 | |
251 | assign pec_int_en_csrbus_read_data[53] = 1'b0; // bit 53 | |
252 | assign pec_int_en_csrbus_read_data[54] = 1'b0; // bit 54 | |
253 | assign pec_int_en_csrbus_read_data[55] = 1'b0; // bit 55 | |
254 | assign pec_int_en_csrbus_read_data[56] = 1'b0; // bit 56 | |
255 | assign pec_int_en_csrbus_read_data[57] = 1'b0; // bit 57 | |
256 | assign pec_int_en_csrbus_read_data[58] = 1'b0; // bit 58 | |
257 | assign pec_int_en_csrbus_read_data[59] = 1'b0; // bit 59 | |
258 | assign pec_int_en_csrbus_read_data[60] = 1'b0; // bit 60 | |
259 | assign pec_int_en_csrbus_read_data[61] = 1'b0; // bit 61 | |
260 | assign pec_int_en_csrbus_read_data[62] = 1'b0; // bit 62 | |
261 | // bit 63 | |
262 | csr_sw csr_sw_63 | |
263 | ( | |
264 | // synopsys translate_off | |
265 | .omni_ld (omni_ld), | |
266 | .omni_data (omni_data[63]), | |
267 | .omni_rw_alias (1'b1), | |
268 | .omni_rw1c_alias (1'b0), | |
269 | .omni_rw1s_alias (1'b0), | |
270 | // synopsys translate_on | |
271 | .rst (rst_l_active_high), | |
272 | .rst_val (reset_pec[0]), | |
273 | .csr_ld (w_ld), | |
274 | .csr_data (csrbus_wr_data[63]), | |
275 | .rw_alias (1'b1), | |
276 | .rw1c_alias (1'b0), | |
277 | .rw1s_alias (1'b0), | |
278 | .hw_ld (1'b0), | |
279 | .hw_data (1'b0), | |
280 | .cp (clk), | |
281 | .q (pec_int_en_csrbus_read_data[63]) | |
282 | ); | |
283 | ||
284 | ||
285 | endmodule // dmu_ilu_cib_csr_pec_int_en_entry |