source: XOpenSparcT1/trunk/T1-common/srams/bw_r_l2d_rep_bot.v @ 6

Revision 6, 4.3 KB checked in by pntsvt00, 13 years ago (diff)

versione iniziale opensparc

Line 
1// ========== Copyright Header Begin ==========================================
2//
3// OpenSPARC T1 Processor File: bw_r_l2d_rep_bot.v
4// Copyright (c) 2006 Sun Microsystems, Inc.  All Rights Reserved.
5// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
6//
7// The above named program is free software; you can redistribute it and/or
8// modify it under the terms of the GNU General Public
9// License version 2 as published by the Free Software Foundation.
10//
11// The above named program is distributed in the hope that it will be
12// useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14// General Public License for more details.
15//
16// You should have received a copy of the GNU General Public
17// License along with this work; if not, write to the Free Software
18// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
19//
20// ========== Copyright Header End ============================================
21module bw_r_l2d_rep_bot (/*AUTOARG*/
22   // Outputs
23   fuse_l2d_rden_buf, fuse_l2d_wren_buf, si_buf, arst_l_buf, se_buf, 
24   sehold_buf, fuse_l2d_rid_buf, fuse_read_data_in_buf, 
25   fuse_l2d_data_in_buf, word_en_l, col_offset_l, set_l, wr_en_l, 
26   way_sel_l, decc_in_l, scbuf_scdata_fbdecc_top_buf, 
27   scbuf_scdata_fbdecc_bot_buf, sbdt_l, sbdb_l, fuse_clk1_buf, 
28   fuse_clk2_buf, mem_write_disable_buf, 
29   // Inputs
30   fuse_l2d_rden, fuse_l2d_wren, si, arst_l, se, sehold, 
31   fuse_l2d_rid, fuse_read_data_in, fuse_l2d_data_in, word_en, 
32   col_offset, set, wr_en, way_sel, decc_in, fbdt_l, fbdb_l, 
33   scdata_scbuf_decc_top, scdata_scbuf_decc_bot, 
34   efc_scdata_fuse_clk1, efc_scdata_fuse_clk2, mem_write_disable
35   );
36
37   input           fuse_l2d_rden;
38   input [5:0]     fuse_l2d_wren;
39   input           si;
40   input           arst_l;
41   input           se;
42   input           sehold;
43   input [2:0]     fuse_l2d_rid;
44   input           fuse_read_data_in;
45   input           fuse_l2d_data_in;
46   input [3:0]     word_en;
47   input           col_offset;
48   input [9:0]     set;
49   input           wr_en;
50   input [11:0]    way_sel;
51   input [155:0]   decc_in;
52   input [155:0]   fbdt_l;
53   input [155:0]   fbdb_l;
54   input [155:0]   scdata_scbuf_decc_top;
55   input [155:0]   scdata_scbuf_decc_bot;
56   input           efc_scdata_fuse_clk1;
57   input           efc_scdata_fuse_clk2;
58   input           mem_write_disable;
59
60   output          fuse_l2d_rden_buf;
61   output [5:0]    fuse_l2d_wren_buf;
62   output          si_buf;
63   output          arst_l_buf;
64   output          se_buf;
65   output          sehold_buf;
66   output [2:0]    fuse_l2d_rid_buf;
67   output          fuse_read_data_in_buf;
68   output          fuse_l2d_data_in_buf;
69   output [3:0]    word_en_l;
70   output          col_offset_l;
71   output [9:0]    set_l;
72   output          wr_en_l;
73   output [11:0]   way_sel_l;
74   output [155:0]  decc_in_l;
75   output [155:0]  scbuf_scdata_fbdecc_top_buf;
76   output [155:0]  scbuf_scdata_fbdecc_bot_buf;
77   output [155:0]  sbdt_l;
78   output [155:0]  sbdb_l;
79   output          fuse_clk1_buf;
80   output          fuse_clk2_buf;
81   output          mem_write_disable_buf;
82   
83   ///////////////////////////////////////////////////////////////////////
84   // Non-inverting Buffers
85   ///////////////////////////////////////////////////////////////////////
86   assign fuse_l2d_rden_buf = fuse_l2d_rden;
87   assign fuse_l2d_wren_buf[5:0] = fuse_l2d_wren[5:0];
88   assign si_buf = si;
89   assign arst_l_buf = arst_l;
90   assign se_buf = se;
91   assign sehold_buf = sehold;
92   assign fuse_l2d_rid_buf[2:0] = fuse_l2d_rid[2:0];
93   assign fuse_read_data_in_buf = fuse_read_data_in;
94   assign fuse_l2d_data_in_buf = fuse_l2d_data_in;
95   assign fuse_clk1_buf = efc_scdata_fuse_clk1;
96   assign fuse_clk2_buf = efc_scdata_fuse_clk2;
97   assign mem_write_disable_buf = mem_write_disable;
98   
99   ///////////////////////////////////////////////////////////////////////
100   // Inverting Buffers
101   ///////////////////////////////////////////////////////////////////////
102   assign word_en_l[3:0] = ~word_en[3:0];
103   assign col_offset_l = ~col_offset;
104   assign set_l[9:0] = ~set[9:0];
105   assign wr_en_l = ~wr_en;
106   assign way_sel_l = ~way_sel;
107   assign decc_in_l[155:0] = ~decc_in[155:0];
108   assign scbuf_scdata_fbdecc_top_buf[155:0] = ~fbdt_l[155:0];
109   assign scbuf_scdata_fbdecc_bot_buf[155:0] = ~fbdb_l[155:0];
110   assign sbdt_l[155:0] = ~scdata_scbuf_decc_top[155:0];
111   assign sbdb_l[155:0] = ~scdata_scbuf_decc_bot[155:0];
112
113endmodule // bw_r_l2d_rep_bot
114
115
Note: See TracBrowser for help on using the repository browser.