Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | // ========== Copyright Header Begin ========================================== |
2 | // | |
3 | // OpenSPARC T2 Processor File: dmu_mmu_csr_fsh.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_mmu_csr_fsh | |
36 | ( | |
37 | clk, | |
38 | rst_l, | |
39 | fsh_w_ld, | |
40 | csrbus_wr_data, | |
41 | fsh_csrbus_read_data | |
42 | ); | |
43 | ||
44 | //==================================================================== | |
45 | // Polarity declarations | |
46 | //==================================================================== | |
47 | input clk; // Clock | |
48 | input rst_l; // Reset signal | |
49 | input fsh_w_ld; // SW load bus | |
50 | input [`FIRE_CSRBUS_DATA_WIDTH-1:0] csrbus_wr_data; // SW write data | |
51 | output [`FIRE_DLC_MMU_CSR_FSH_WIDTH-1:0] fsh_csrbus_read_data; // SW read data | |
52 | ||
53 | //==================================================================== | |
54 | // Type declarations | |
55 | //==================================================================== | |
56 | wire clk; // Clock | |
57 | wire rst_l; // Reset signal | |
58 | wire fsh_w_ld; // SW load bus | |
59 | wire [`FIRE_CSRBUS_DATA_WIDTH-1:0] csrbus_wr_data; // SW write data | |
60 | wire [`FIRE_DLC_MMU_CSR_FSH_WIDTH-1:0] fsh_csrbus_read_data; // SW read data | |
61 | ||
62 | //==================================================================== | |
63 | // Logic | |
64 | //==================================================================== | |
65 | ||
66 | // synopsys translate_off | |
67 | // verilint 123 off | |
68 | // verilint 498 off | |
69 | reg omni_ld; | |
70 | reg [`FIRE_DLC_MMU_CSR_FSH_WIDTH-1:0] omni_data; | |
71 | ||
72 | // vlint flag_unsynthesizable_initial off | |
73 | initial | |
74 | begin | |
75 | omni_ld = 1'b0; | |
76 | omni_data = `FIRE_DLC_MMU_CSR_FSH_WIDTH'b0; | |
77 | end// vlint flag_unsynthesizable_initial on | |
78 | ||
79 | // verilint 123 on | |
80 | // verilint 498 on | |
81 | // synopsys translate_on | |
82 | ||
83 | //----- Hardware Data Out Mux Assignments | |
84 | ||
85 | //==================================================================== | |
86 | // Instantiation of entries | |
87 | //==================================================================== | |
88 | ||
89 | //----- Entry 0 | |
90 | dmu_mmu_csr_fsh_entry fsh_0 | |
91 | ( | |
92 | // synopsys translate_off | |
93 | .omni_ld (omni_ld), | |
94 | .omni_data (omni_data), | |
95 | // synopsys translate_on | |
96 | .clk (clk), | |
97 | .rst_l (rst_l), | |
98 | .w_ld (fsh_w_ld), | |
99 | .csrbus_wr_data (csrbus_wr_data), | |
100 | .fsh_csrbus_read_data (fsh_csrbus_read_data) | |
101 | ); | |
102 | ||
103 | endmodule // dmu_mmu_csr_fsh |