Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / design / sys / iop / dmu / rtl / dmu_imu_rds_mess_csr_pme_to_ack_mapping.v
CommitLineData
86530b38
AT
1// ========== Copyright Header Begin ==========================================
2//
3// OpenSPARC T2 Processor File: dmu_imu_rds_mess_csr_pme_to_ack_mapping.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 ============================================
35module dmu_imu_rds_mess_csr_pme_to_ack_mapping
36 (
37 clk,
38 rst_l,
39 pme_to_ack_mapping_w_ld,
40 csrbus_wr_data,
41 pme_to_ack_mapping_csrbus_read_data,
42 pme_to_ack_mapping_v_hw_read,
43 pme_to_ack_mapping_eqnum_hw_read
44 );
45
46//====================================================================
47// Polarity declarations
48//====================================================================
49input clk; // Clock
50input rst_l; // Reset signal
51input pme_to_ack_mapping_w_ld; // SW load bus
52input [`FIRE_CSRBUS_DATA_WIDTH-1:0] csrbus_wr_data; // SW write data
53output [`FIRE_DLC_IMU_RDS_MESS_CSR_PME_TO_ACK_MAPPING_WIDTH-1:0] pme_to_ack_mapping_csrbus_read_data;
54 // SW read data
55output pme_to_ack_mapping_v_hw_read; // This signal provides the current value
56 // of pme_to_ack_mapping_v.
57output [`FIRE_DLC_IMU_RDS_MESS_CSR_PME_TO_ACK_MAPPING_EQNUM_INT_SLC] pme_to_ack_mapping_eqnum_hw_read;
58 // This signal provides the current value of pme_to_ack_mapping_eqnum.
59
60//====================================================================
61// Type declarations
62//====================================================================
63wire clk; // Clock
64wire rst_l; // Reset signal
65wire pme_to_ack_mapping_w_ld; // SW load bus
66wire [`FIRE_CSRBUS_DATA_WIDTH-1:0] csrbus_wr_data; // SW write data
67wire [`FIRE_DLC_IMU_RDS_MESS_CSR_PME_TO_ACK_MAPPING_WIDTH-1:0] pme_to_ack_mapping_csrbus_read_data;
68 // SW read data
69wire pme_to_ack_mapping_v_hw_read; // This signal provides the current value of
70 // pme_to_ack_mapping_v.
71wire [`FIRE_DLC_IMU_RDS_MESS_CSR_PME_TO_ACK_MAPPING_EQNUM_INT_SLC] pme_to_ack_mapping_eqnum_hw_read;
72 // This signal provides the current value of pme_to_ack_mapping_eqnum.
73
74//====================================================================
75// Logic
76//====================================================================
77
78// synopsys translate_off
79// verilint 123 off
80// verilint 498 off
81reg omni_ld;
82reg [`FIRE_DLC_IMU_RDS_MESS_CSR_PME_TO_ACK_MAPPING_WIDTH-1:0] omni_data;
83
84// vlint flag_unsynthesizable_initial off
85initial
86 begin
87 omni_ld = 1'b0;
88 omni_data = `FIRE_DLC_IMU_RDS_MESS_CSR_PME_TO_ACK_MAPPING_WIDTH'b0;
89 end// vlint flag_unsynthesizable_initial on
90
91// verilint 123 on
92// verilint 498 on
93// synopsys translate_on
94
95//----- Hardware Data Out Mux Assignments
96assign pme_to_ack_mapping_v_hw_read=
97 pme_to_ack_mapping_csrbus_read_data [63];
98assign pme_to_ack_mapping_eqnum_hw_read=
99 pme_to_ack_mapping_csrbus_read_data
100 [`FIRE_DLC_IMU_RDS_MESS_CSR_PME_TO_ACK_MAPPING_EQNUM_SLC];
101
102//====================================================================
103// Instantiation of entries
104//====================================================================
105
106//----- Entry 0
107dmu_imu_rds_mess_csr_pme_to_ack_mapping_entry pme_to_ack_mapping_0
108 (
109 // synopsys translate_off
110 .omni_ld (omni_ld),
111 .omni_data (omni_data),
112 // synopsys translate_on
113 .clk (clk),
114 .rst_l (rst_l),
115 .w_ld (pme_to_ack_mapping_w_ld),
116 .csrbus_wr_data (csrbus_wr_data),
117 .pme_to_ack_mapping_csrbus_read_data (pme_to_ack_mapping_csrbus_read_data)
118 );
119
120endmodule // dmu_imu_rds_mess_csr_pme_to_ack_mapping