-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcpx_buf_p4.v
69 lines (59 loc) · 2.71 KB
/
cpx_buf_p4.v
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// ========== Copyright Header Begin ==========================================
//
// OpenSPARC T1 Processor File: cpx_buf_p4.v
// Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
//
// The above named program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public
// License version 2 as published by the Free Software Foundation.
//
// The above named program is distributed in the hope that it will be
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public
// License along with this work; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
//
// ========== Copyright Header End ============================================
////////////////////////////////////////////////////////////////////////
/*
//
// Description: datapath portion of CPX
*/
////////////////////////////////////////////////////////////////////////
// Global header file includes
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
// Local header file includes / local defines
////////////////////////////////////////////////////////////////////////
`include "sys.h"
`include "iop.h"
module cpx_buf_p4(/*AUTOARG*/
// Outputs
scache3_cpx_req_bufp4_cq, scache3_cpx_atom_bufp4_cq,
io_cpx_req_bufp4_cq, cpx_scache3_grant_bufp4_ca,
cpx_spc7_data_rdy_bufp4_cx,
// Inputs
scache3_cpx_req_bufpt_cq_l, scache3_cpx_atom_bufpt_cq_l,
io_cpx_req_bufpt_cq_l, cpx_scache3_grant_bufp3_ca_l,
cpx_spc7_data_rdy_bufp3_cx
);
output [7:0] scache3_cpx_req_bufp4_cq;
output scache3_cpx_atom_bufp4_cq;
output [7:0] io_cpx_req_bufp4_cq;
output [7:0] cpx_scache3_grant_bufp4_ca;
output cpx_spc7_data_rdy_bufp4_cx;
input [7:0] scache3_cpx_req_bufpt_cq_l;
input scache3_cpx_atom_bufpt_cq_l;
input [7:0] io_cpx_req_bufpt_cq_l;
input [7:0] cpx_scache3_grant_bufp3_ca_l;
input cpx_spc7_data_rdy_bufp3_cx;
assign scache3_cpx_req_bufp4_cq[7:0] = ~scache3_cpx_req_bufpt_cq_l[7:0];
assign scache3_cpx_atom_bufp4_cq = ~scache3_cpx_atom_bufpt_cq_l;
assign io_cpx_req_bufp4_cq[7:0] = ~io_cpx_req_bufpt_cq_l[7:0];
assign cpx_scache3_grant_bufp4_ca = ~cpx_scache3_grant_bufp3_ca_l;
assign cpx_spc7_data_rdy_bufp4_cx = cpx_spc7_data_rdy_bufp3_cx;
endmodule