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