OpenCores
URL https://opencores.org/ocsvn/sparc64soc/sparc64soc/trunk

Subversion Repositories sparc64soc

[/] [sparc64soc/] [trunk/] [T1-CPU/] [rtl/] [cpx_spc_rpt.v] - Blame information for rev 7

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dmitryr
// ========== Copyright Header Begin ==========================================
2
// 
3
// OpenSPARC T1 Processor File: cpx_spc_rpt.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 ============================================
21
`include "sys.h"
22
`include "iop.h"
23
`include "ifu.h"
24
`include "lsu.h"
25
 
26
module cpx_spc_rpt (/*AUTOARG*/
27
   // Outputs
28
   so, cpx_spc_data_cx3, cpx_spc_data_rdy_cx3,
29
   cpx_spc_data_cx3_b144to140, cpx_spc_data_cx3_b120to118,
30
   cpx_spc_data_cx3_b0, cpx_spc_data_cx3_b4, cpx_spc_data_cx3_b8,
31
   cpx_spc_data_cx3_b12, cpx_spc_data_cx3_b16, cpx_spc_data_cx3_b20,
32
   cpx_spc_data_cx3_b24, cpx_spc_data_cx3_b28, cpx_spc_data_cx3_b32,
33
   cpx_spc_data_cx3_b35, cpx_spc_data_cx3_b38, cpx_spc_data_cx3_b41,
34
   cpx_spc_data_cx3_b44, cpx_spc_data_cx3_b47, cpx_spc_data_cx3_b50,
35
   cpx_spc_data_cx3_b53, cpx_spc_data_cx3_b56, cpx_spc_data_cx3_b60,
36
   cpx_spc_data_cx3_b64, cpx_spc_data_cx3_b68, cpx_spc_data_cx3_b72,
37
   cpx_spc_data_cx3_b76, cpx_spc_data_cx3_b80, cpx_spc_data_cx3_b84,
38
   cpx_spc_data_cx3_b88, cpx_spc_data_cx3_b91, cpx_spc_data_cx3_b94,
39
   cpx_spc_data_cx3_b97, cpx_spc_data_cx3_b100,
40
   cpx_spc_data_cx3_b103, cpx_spc_data_cx3_b106,
41
   cpx_spc_data_cx3_b109,
42
   // Inputs
43
   rclk, si, se, cpx_spc_data_cx2, cpx_spc_data_rdy_cx2
44
   );
45
 
46
input rclk;
47
   input si;
48
   input se;
49
 
50
 
51
input  [`CPX_WIDTH-1:0] cpx_spc_data_cx2;
52
input                   cpx_spc_data_rdy_cx2;
53
 
54
   output               so;
55
output [`CPX_WIDTH-1:0] cpx_spc_data_cx3;
56
output                  cpx_spc_data_rdy_cx3;
57
 
58
output [`CPX_WIDTH-1:140] cpx_spc_data_cx3_b144to140 ;
59
output [`CPX_INV_CID_HI:`CPX_INV_CID_LO] cpx_spc_data_cx3_b120to118 ;
60
output        cpx_spc_data_cx3_b0 ;
61
output        cpx_spc_data_cx3_b4 ;
62
output        cpx_spc_data_cx3_b8 ;
63
output        cpx_spc_data_cx3_b12 ;
64
output        cpx_spc_data_cx3_b16 ;
65
output        cpx_spc_data_cx3_b20 ;
66
output        cpx_spc_data_cx3_b24 ;
67
output        cpx_spc_data_cx3_b28 ;
68
 
69
output        cpx_spc_data_cx3_b32 ;
70
output        cpx_spc_data_cx3_b35 ;
71
output        cpx_spc_data_cx3_b38 ;
72
output        cpx_spc_data_cx3_b41 ;
73
output        cpx_spc_data_cx3_b44 ;
74
output        cpx_spc_data_cx3_b47 ;
75
output        cpx_spc_data_cx3_b50 ;
76
output        cpx_spc_data_cx3_b53 ;
77
 
78
output        cpx_spc_data_cx3_b56 ;
79
output        cpx_spc_data_cx3_b60 ;
80
output        cpx_spc_data_cx3_b64 ;
81
output        cpx_spc_data_cx3_b68 ;
82
output        cpx_spc_data_cx3_b72 ;
83
output        cpx_spc_data_cx3_b76 ;
84
output        cpx_spc_data_cx3_b80 ;
85
output        cpx_spc_data_cx3_b84 ;
86
 
87
output        cpx_spc_data_cx3_b88 ;
88
output        cpx_spc_data_cx3_b91 ;
89
output        cpx_spc_data_cx3_b94 ;
90
output        cpx_spc_data_cx3_b97 ;
91
output        cpx_spc_data_cx3_b100 ;
92
output        cpx_spc_data_cx3_b103 ;
93
output        cpx_spc_data_cx3_b106 ;
94
output        cpx_spc_data_cx3_b109 ;
95
 
96
 
97
reg [`CPX_WIDTH-1:0] cpx_spc_data_cx3;
98
reg                  cpx_spc_data_rdy_cx3;
99
 
100
always @(posedge rclk) begin
101
   cpx_spc_data_cx3     <= cpx_spc_data_cx2;
102
   cpx_spc_data_rdy_cx3 <= cpx_spc_data_rdy_cx2;
103
end
104
 
105
//timing fix: 9/5/03 - add separate buffer to lsu for signal that are used in bypass i.e. isolate from spu/ffu loading
106
assign  cpx_spc_data_cx3_b144to140[`CPX_WIDTH-1:140]  =  cpx_spc_data_cx3[`CPX_WIDTH-1:140] ;
107
assign  cpx_spc_data_cx3_b120to118[`CPX_INV_CID_HI:`CPX_INV_CID_LO]  =  cpx_spc_data_cx3[`CPX_INV_CID_HI:`CPX_INV_CID_LO] ;
108
 
109
assign  cpx_spc_data_cx3_b0  =  cpx_spc_data_cx3[0] ;
110
assign  cpx_spc_data_cx3_b4  =  cpx_spc_data_cx3[4] ;
111
assign  cpx_spc_data_cx3_b8  =  cpx_spc_data_cx3[8] ;
112
assign  cpx_spc_data_cx3_b12  =  cpx_spc_data_cx3[12] ;
113
assign  cpx_spc_data_cx3_b16  =  cpx_spc_data_cx3[16] ;
114
assign  cpx_spc_data_cx3_b20  =  cpx_spc_data_cx3[20] ;
115
assign  cpx_spc_data_cx3_b24  =  cpx_spc_data_cx3[24] ;
116
assign  cpx_spc_data_cx3_b28  =  cpx_spc_data_cx3[28] ;
117
 
118
assign  cpx_spc_data_cx3_b32  =  cpx_spc_data_cx3[32] ;
119
assign  cpx_spc_data_cx3_b35  =  cpx_spc_data_cx3[35] ;
120
assign  cpx_spc_data_cx3_b38  =  cpx_spc_data_cx3[38] ;
121
assign  cpx_spc_data_cx3_b41  =  cpx_spc_data_cx3[41] ;
122
assign  cpx_spc_data_cx3_b44  =  cpx_spc_data_cx3[44] ;
123
assign  cpx_spc_data_cx3_b47  =  cpx_spc_data_cx3[47] ;
124
assign  cpx_spc_data_cx3_b50  =  cpx_spc_data_cx3[50] ;
125
assign  cpx_spc_data_cx3_b53  =  cpx_spc_data_cx3[53] ;
126
 
127
assign  cpx_spc_data_cx3_b56  =  cpx_spc_data_cx3[56] ;
128
assign  cpx_spc_data_cx3_b60  =  cpx_spc_data_cx3[60] ;
129
assign  cpx_spc_data_cx3_b64  =  cpx_spc_data_cx3[64] ;
130
assign  cpx_spc_data_cx3_b68  =  cpx_spc_data_cx3[68] ;
131
assign  cpx_spc_data_cx3_b72  =  cpx_spc_data_cx3[72] ;
132
assign  cpx_spc_data_cx3_b76  =  cpx_spc_data_cx3[76] ;
133
assign  cpx_spc_data_cx3_b80  =  cpx_spc_data_cx3[80] ;
134
assign  cpx_spc_data_cx3_b84  =  cpx_spc_data_cx3[84] ;
135
 
136
assign  cpx_spc_data_cx3_b88  =  cpx_spc_data_cx3[88] ;
137
assign  cpx_spc_data_cx3_b91  =  cpx_spc_data_cx3[91] ;
138
assign  cpx_spc_data_cx3_b94  =  cpx_spc_data_cx3[94] ;
139
assign  cpx_spc_data_cx3_b97  =  cpx_spc_data_cx3[97] ;
140
assign  cpx_spc_data_cx3_b100  =  cpx_spc_data_cx3[100] ;
141
assign  cpx_spc_data_cx3_b103  =  cpx_spc_data_cx3[103] ;
142
assign  cpx_spc_data_cx3_b106  =  cpx_spc_data_cx3[106] ;
143
assign  cpx_spc_data_cx3_b109  =  cpx_spc_data_cx3[109] ;
144
 
145
endmodule

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.