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