Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | // ========== Copyright Header Begin ========================================== |
2 | // | |
3 | // OpenSPARC T2 Processor File: dmu_imu_ics_csr_dmc_interrupt_mask_reg_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_imu_ics_csr_dmc_interrupt_mask_reg_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 | dmc_interrupt_mask_reg_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_IMU_ICS_CSR_DMC_INTERRUPT_MASK_REG_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_IMU_ICS_CSR_DMC_INTERRUPT_MASK_REG_WIDTH-1:0] dmc_interrupt_mask_reg_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_IMU_ICS_CSR_DMC_INTERRUPT_MASK_REG_WIDTH - 1:0] omni_data; | |
75 | // Omni write 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_IMU_ICS_CSR_DMC_INTERRUPT_MASK_REG_WIDTH-1:0] dmc_interrupt_mask_reg_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_dmc = 1'h0; | |
97 | wire [0:0] reset_debug_trig_en = 1'h0; | |
98 | wire [0:0] reset_mmu = 1'h0; | |
99 | wire [0:0] reset_imu = 1'h0; | |
100 | // verilint 531 on | |
101 | ||
102 | //----- Active high reset wires | |
103 | wire rst_l_active_high = ~rst_l; | |
104 | ||
105 | //==================================================== | |
106 | // Instantiation of flops | |
107 | //==================================================== | |
108 | ||
109 | // bit 0 | |
110 | csr_sw csr_sw_0 | |
111 | ( | |
112 | // synopsys translate_off | |
113 | .omni_ld (omni_ld), | |
114 | .omni_data (omni_data[0]), | |
115 | .omni_rw_alias (1'b1), | |
116 | .omni_rw1c_alias (1'b0), | |
117 | .omni_rw1s_alias (1'b0), | |
118 | // synopsys translate_on | |
119 | .rst (rst_l_active_high), | |
120 | .rst_val (reset_imu[0]), | |
121 | .csr_ld (w_ld), | |
122 | .csr_data (csrbus_wr_data[0]), | |
123 | .rw_alias (1'b1), | |
124 | .rw1c_alias (1'b0), | |
125 | .rw1s_alias (1'b0), | |
126 | .hw_ld (1'b0), | |
127 | .hw_data (1'b0), | |
128 | .cp (clk), | |
129 | .q (dmc_interrupt_mask_reg_csrbus_read_data[0]) | |
130 | ); | |
131 | ||
132 | // bit 1 | |
133 | csr_sw csr_sw_1 | |
134 | ( | |
135 | // synopsys translate_off | |
136 | .omni_ld (omni_ld), | |
137 | .omni_data (omni_data[1]), | |
138 | .omni_rw_alias (1'b1), | |
139 | .omni_rw1c_alias (1'b0), | |
140 | .omni_rw1s_alias (1'b0), | |
141 | // synopsys translate_on | |
142 | .rst (rst_l_active_high), | |
143 | .rst_val (reset_mmu[0]), | |
144 | .csr_ld (w_ld), | |
145 | .csr_data (csrbus_wr_data[1]), | |
146 | .rw_alias (1'b1), | |
147 | .rw1c_alias (1'b0), | |
148 | .rw1s_alias (1'b0), | |
149 | .hw_ld (1'b0), | |
150 | .hw_data (1'b0), | |
151 | .cp (clk), | |
152 | .q (dmc_interrupt_mask_reg_csrbus_read_data[1]) | |
153 | ); | |
154 | ||
155 | assign dmc_interrupt_mask_reg_csrbus_read_data[2] = 1'b0; // bit 2 | |
156 | assign dmc_interrupt_mask_reg_csrbus_read_data[3] = 1'b0; // bit 3 | |
157 | assign dmc_interrupt_mask_reg_csrbus_read_data[4] = 1'b0; // bit 4 | |
158 | assign dmc_interrupt_mask_reg_csrbus_read_data[5] = 1'b0; // bit 5 | |
159 | assign dmc_interrupt_mask_reg_csrbus_read_data[6] = 1'b0; // bit 6 | |
160 | assign dmc_interrupt_mask_reg_csrbus_read_data[7] = 1'b0; // bit 7 | |
161 | assign dmc_interrupt_mask_reg_csrbus_read_data[8] = 1'b0; // bit 8 | |
162 | assign dmc_interrupt_mask_reg_csrbus_read_data[9] = 1'b0; // bit 9 | |
163 | assign dmc_interrupt_mask_reg_csrbus_read_data[10] = 1'b0; // bit 10 | |
164 | assign dmc_interrupt_mask_reg_csrbus_read_data[11] = 1'b0; // bit 11 | |
165 | assign dmc_interrupt_mask_reg_csrbus_read_data[12] = 1'b0; // bit 12 | |
166 | assign dmc_interrupt_mask_reg_csrbus_read_data[13] = 1'b0; // bit 13 | |
167 | assign dmc_interrupt_mask_reg_csrbus_read_data[14] = 1'b0; // bit 14 | |
168 | assign dmc_interrupt_mask_reg_csrbus_read_data[15] = 1'b0; // bit 15 | |
169 | assign dmc_interrupt_mask_reg_csrbus_read_data[16] = 1'b0; // bit 16 | |
170 | assign dmc_interrupt_mask_reg_csrbus_read_data[17] = 1'b0; // bit 17 | |
171 | assign dmc_interrupt_mask_reg_csrbus_read_data[18] = 1'b0; // bit 18 | |
172 | assign dmc_interrupt_mask_reg_csrbus_read_data[19] = 1'b0; // bit 19 | |
173 | assign dmc_interrupt_mask_reg_csrbus_read_data[20] = 1'b0; // bit 20 | |
174 | assign dmc_interrupt_mask_reg_csrbus_read_data[21] = 1'b0; // bit 21 | |
175 | assign dmc_interrupt_mask_reg_csrbus_read_data[22] = 1'b0; // bit 22 | |
176 | assign dmc_interrupt_mask_reg_csrbus_read_data[23] = 1'b0; // bit 23 | |
177 | assign dmc_interrupt_mask_reg_csrbus_read_data[24] = 1'b0; // bit 24 | |
178 | assign dmc_interrupt_mask_reg_csrbus_read_data[25] = 1'b0; // bit 25 | |
179 | assign dmc_interrupt_mask_reg_csrbus_read_data[26] = 1'b0; // bit 26 | |
180 | assign dmc_interrupt_mask_reg_csrbus_read_data[27] = 1'b0; // bit 27 | |
181 | assign dmc_interrupt_mask_reg_csrbus_read_data[28] = 1'b0; // bit 28 | |
182 | assign dmc_interrupt_mask_reg_csrbus_read_data[29] = 1'b0; // bit 29 | |
183 | assign dmc_interrupt_mask_reg_csrbus_read_data[30] = 1'b0; // bit 30 | |
184 | assign dmc_interrupt_mask_reg_csrbus_read_data[31] = 1'b0; // bit 31 | |
185 | assign dmc_interrupt_mask_reg_csrbus_read_data[32] = 1'b0; // bit 32 | |
186 | assign dmc_interrupt_mask_reg_csrbus_read_data[33] = 1'b0; // bit 33 | |
187 | assign dmc_interrupt_mask_reg_csrbus_read_data[34] = 1'b0; // bit 34 | |
188 | assign dmc_interrupt_mask_reg_csrbus_read_data[35] = 1'b0; // bit 35 | |
189 | assign dmc_interrupt_mask_reg_csrbus_read_data[36] = 1'b0; // bit 36 | |
190 | assign dmc_interrupt_mask_reg_csrbus_read_data[37] = 1'b0; // bit 37 | |
191 | assign dmc_interrupt_mask_reg_csrbus_read_data[38] = 1'b0; // bit 38 | |
192 | assign dmc_interrupt_mask_reg_csrbus_read_data[39] = 1'b0; // bit 39 | |
193 | assign dmc_interrupt_mask_reg_csrbus_read_data[40] = 1'b0; // bit 40 | |
194 | assign dmc_interrupt_mask_reg_csrbus_read_data[41] = 1'b0; // bit 41 | |
195 | assign dmc_interrupt_mask_reg_csrbus_read_data[42] = 1'b0; // bit 42 | |
196 | assign dmc_interrupt_mask_reg_csrbus_read_data[43] = 1'b0; // bit 43 | |
197 | assign dmc_interrupt_mask_reg_csrbus_read_data[44] = 1'b0; // bit 44 | |
198 | assign dmc_interrupt_mask_reg_csrbus_read_data[45] = 1'b0; // bit 45 | |
199 | assign dmc_interrupt_mask_reg_csrbus_read_data[46] = 1'b0; // bit 46 | |
200 | assign dmc_interrupt_mask_reg_csrbus_read_data[47] = 1'b0; // bit 47 | |
201 | assign dmc_interrupt_mask_reg_csrbus_read_data[48] = 1'b0; // bit 48 | |
202 | assign dmc_interrupt_mask_reg_csrbus_read_data[49] = 1'b0; // bit 49 | |
203 | assign dmc_interrupt_mask_reg_csrbus_read_data[50] = 1'b0; // bit 50 | |
204 | assign dmc_interrupt_mask_reg_csrbus_read_data[51] = 1'b0; // bit 51 | |
205 | assign dmc_interrupt_mask_reg_csrbus_read_data[52] = 1'b0; // bit 52 | |
206 | assign dmc_interrupt_mask_reg_csrbus_read_data[53] = 1'b0; // bit 53 | |
207 | assign dmc_interrupt_mask_reg_csrbus_read_data[54] = 1'b0; // bit 54 | |
208 | assign dmc_interrupt_mask_reg_csrbus_read_data[55] = 1'b0; // bit 55 | |
209 | assign dmc_interrupt_mask_reg_csrbus_read_data[56] = 1'b0; // bit 56 | |
210 | assign dmc_interrupt_mask_reg_csrbus_read_data[57] = 1'b0; // bit 57 | |
211 | assign dmc_interrupt_mask_reg_csrbus_read_data[58] = 1'b0; // bit 58 | |
212 | assign dmc_interrupt_mask_reg_csrbus_read_data[59] = 1'b0; // bit 59 | |
213 | assign dmc_interrupt_mask_reg_csrbus_read_data[60] = 1'b0; // bit 60 | |
214 | assign dmc_interrupt_mask_reg_csrbus_read_data[61] = 1'b0; // bit 61 | |
215 | // bit 62 | |
216 | csr_sw csr_sw_62 | |
217 | ( | |
218 | // synopsys translate_off | |
219 | .omni_ld (omni_ld), | |
220 | .omni_data (omni_data[62]), | |
221 | .omni_rw_alias (1'b1), | |
222 | .omni_rw1c_alias (1'b0), | |
223 | .omni_rw1s_alias (1'b0), | |
224 | // synopsys translate_on | |
225 | .rst (rst_l_active_high), | |
226 | .rst_val (reset_debug_trig_en[0]), | |
227 | .csr_ld (w_ld), | |
228 | .csr_data (csrbus_wr_data[62]), | |
229 | .rw_alias (1'b1), | |
230 | .rw1c_alias (1'b0), | |
231 | .rw1s_alias (1'b0), | |
232 | .hw_ld (1'b0), | |
233 | .hw_data (1'b0), | |
234 | .cp (clk), | |
235 | .q (dmc_interrupt_mask_reg_csrbus_read_data[62]) | |
236 | ); | |
237 | ||
238 | // bit 63 | |
239 | csr_sw csr_sw_63 | |
240 | ( | |
241 | // synopsys translate_off | |
242 | .omni_ld (omni_ld), | |
243 | .omni_data (omni_data[63]), | |
244 | .omni_rw_alias (1'b1), | |
245 | .omni_rw1c_alias (1'b0), | |
246 | .omni_rw1s_alias (1'b0), | |
247 | // synopsys translate_on | |
248 | .rst (rst_l_active_high), | |
249 | .rst_val (reset_dmc[0]), | |
250 | .csr_ld (w_ld), | |
251 | .csr_data (csrbus_wr_data[63]), | |
252 | .rw_alias (1'b1), | |
253 | .rw1c_alias (1'b0), | |
254 | .rw1s_alias (1'b0), | |
255 | .hw_ld (1'b0), | |
256 | .hw_data (1'b0), | |
257 | .cp (clk), | |
258 | .q (dmc_interrupt_mask_reg_csrbus_read_data[63]) | |
259 | ); | |
260 | ||
261 | ||
262 | endmodule // dmu_imu_ics_csr_dmc_interrupt_mask_reg_entry |