1 |
2 |
dmitryr |
// ========== Copyright Header Begin ==========================================
|
2 |
|
|
//
|
3 |
|
|
// OpenSPARC T1 Processor File: sparc.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 "tlu.h"
|
25 |
|
|
`include "lsu.h"
|
26 |
|
|
|
27 |
|
|
module sparc (/*AUTOARG*/
|
28 |
|
|
// Outputs
|
29 |
|
|
spc_pcx_req_pq, spc_pcx_atom_pq, spc_pcx_data_pa, spc_sscan_so,
|
30 |
|
|
spc_scanout0, spc_scanout1, tst_ctu_mbist_done,
|
31 |
|
|
tst_ctu_mbist_fail, spc_efc_ifuse_data, spc_efc_dfuse_data,
|
32 |
|
|
// Inputs
|
33 |
|
|
pcx_spc_grant_px, cpx_spc_data_rdy_cx2, cpx_spc_data_cx2,
|
34 |
|
|
const_cpuid, const_maskid, ctu_tck, ctu_sscan_se, ctu_sscan_snap,
|
35 |
|
|
ctu_sscan_tid, ctu_tst_mbist_enable, efc_spc_fuse_clk1,
|
36 |
|
|
efc_spc_fuse_clk2, efc_spc_ifuse_ashift, efc_spc_ifuse_dshift,
|
37 |
|
|
efc_spc_ifuse_data, efc_spc_dfuse_ashift, efc_spc_dfuse_dshift,
|
38 |
|
|
efc_spc_dfuse_data, ctu_tst_macrotest, ctu_tst_scan_disable,
|
39 |
|
|
ctu_tst_short_chain, global_shift_enable, ctu_tst_scanmode,
|
40 |
|
|
spc_scanin0, spc_scanin1, cluster_cken, gclk, cmp_grst_l,
|
41 |
|
|
cmp_arst_l, ctu_tst_pre_grst_l, adbginit_l, gdbginit_l
|
42 |
|
|
);
|
43 |
|
|
|
44 |
|
|
// these are the only legal IOs
|
45 |
|
|
|
46 |
|
|
// pcx
|
47 |
|
|
output [4:0] spc_pcx_req_pq; // processor to pcx request
|
48 |
|
|
output spc_pcx_atom_pq; // processor to pcx atomic request
|
49 |
|
|
output [`PCX_WIDTH-1:0] spc_pcx_data_pa; // processor to pcx packet
|
50 |
|
|
|
51 |
|
|
// shadow scan
|
52 |
|
|
output spc_sscan_so; // From ifu of sparc_ifu.v
|
53 |
|
|
output spc_scanout0; // From test_stub of test_stub_bist.v
|
54 |
|
|
output spc_scanout1; // From test_stub of test_stub_bist.v
|
55 |
|
|
|
56 |
|
|
// bist
|
57 |
|
|
output tst_ctu_mbist_done; // From test_stub of test_stub_two_bist.v
|
58 |
|
|
output tst_ctu_mbist_fail; // From test_stub of test_stub_two_bist.v
|
59 |
|
|
|
60 |
|
|
// fuse
|
61 |
|
|
output spc_efc_ifuse_data; // From ifu of sparc_ifu.v
|
62 |
|
|
output spc_efc_dfuse_data; // From ifu of sparc_ifu.v
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
// cpx interface
|
66 |
|
|
input [4:0] pcx_spc_grant_px; // pcx to processor grant info
|
67 |
|
|
input cpx_spc_data_rdy_cx2; // cpx data inflight to sparc
|
68 |
|
|
input [`CPX_WIDTH-1:0] cpx_spc_data_cx2; // cpx to sparc data packet
|
69 |
|
|
|
70 |
|
|
input [3:0] const_cpuid;
|
71 |
|
|
input [7:0] const_maskid; // To ifu of sparc_ifu.v
|
72 |
|
|
|
73 |
|
|
// sscan
|
74 |
|
|
input ctu_tck; // To ifu of sparc_ifu.v
|
75 |
|
|
input ctu_sscan_se; // To ifu of sparc_ifu.v
|
76 |
|
|
input ctu_sscan_snap; // To ifu of sparc_ifu.v
|
77 |
|
|
input [3:0] ctu_sscan_tid; // To ifu of sparc_ifu.v
|
78 |
|
|
|
79 |
|
|
// bist
|
80 |
|
|
input ctu_tst_mbist_enable; // To test_stub of test_stub_bist.v
|
81 |
|
|
|
82 |
|
|
// efuse
|
83 |
|
|
input efc_spc_fuse_clk1;
|
84 |
|
|
input efc_spc_fuse_clk2;
|
85 |
|
|
input efc_spc_ifuse_ashift;
|
86 |
|
|
input efc_spc_ifuse_dshift;
|
87 |
|
|
input efc_spc_ifuse_data;
|
88 |
|
|
input efc_spc_dfuse_ashift;
|
89 |
|
|
input efc_spc_dfuse_dshift;
|
90 |
|
|
input efc_spc_dfuse_data;
|
91 |
|
|
|
92 |
|
|
// scan and macro test
|
93 |
|
|
input ctu_tst_macrotest; // To test_stub of test_stub_bist.v
|
94 |
|
|
input ctu_tst_scan_disable; // To test_stub of test_stub_bist.v
|
95 |
|
|
input ctu_tst_short_chain; // To test_stub of test_stub_bist.v
|
96 |
|
|
input global_shift_enable; // To test_stub of test_stub_two_bist.v
|
97 |
|
|
input ctu_tst_scanmode; // To test_stub of test_stub_two_bist.v
|
98 |
|
|
input spc_scanin0;
|
99 |
|
|
input spc_scanin1;
|
100 |
|
|
|
101 |
|
|
// clk
|
102 |
|
|
input cluster_cken; // To spc_hdr of cluster_header.v
|
103 |
|
|
input gclk; // To spc_hdr of cluster_header.v
|
104 |
|
|
|
105 |
|
|
// reset
|
106 |
|
|
input cmp_grst_l;
|
107 |
|
|
input cmp_arst_l;
|
108 |
|
|
input ctu_tst_pre_grst_l; // To test_stub of test_stub_bist.v
|
109 |
|
|
|
110 |
|
|
input adbginit_l; // To spc_hdr of cluster_header.v
|
111 |
|
|
input gdbginit_l; // To spc_hdr of cluster_header.v
|
112 |
|
|
|
113 |
|
|
|
114 |
|
|
// ----------------- End of IOs -------------------------- //
|
115 |
|
|
|
116 |
|
|
/* AUTOOUTPUT*/
|
117 |
|
|
/*AUTOINPUT*/
|
118 |
|
|
// Beginning of automatic inputs (from unused autoinst inputs)
|
119 |
|
|
// End of automatics
|
120 |
|
|
|
121 |
|
|
// not hooked up yet
|
122 |
|
|
wire [3:0] tlu_dsfsr_flt_vld; // To lsu of lsu.v
|
123 |
|
|
wire tlu_lsu_int_ld_ill_va_w2;// To lsu of lsu.v
|
124 |
|
|
wire [9:0] lsu_tlu_ldst_va_m;// To lsu of lsu.v
|
125 |
|
|
wire [47:0] lsu_ifu_stxa_data; // From lsu of lsu.v
|
126 |
|
|
|
127 |
|
|
wire lsu_tlu_misalign_addr_ldst_atm_m ;// To tlu of tlu.v
|
128 |
|
|
|
129 |
|
|
// name change at top level
|
130 |
|
|
wire [3:0] tlu_ifu_sftint_vld;
|
131 |
|
|
wire [3:0] tlu_hintp_vld;
|
132 |
|
|
wire [3:0] tlu_rerr_vld;
|
133 |
|
|
wire lsu_exu_ldst_miss_g2; // To exu of sparc_exu.v
|
134 |
|
|
wire lsu_ifu_ldst_miss_w; // To exu of sparc_exu.v
|
135 |
|
|
wire lsu_exu_dfill_vld_g;
|
136 |
|
|
wire [63:0] lsu_exu_dfill_data_g; // From lsu of lsu.v
|
137 |
|
|
wire [62:0] tlu_sscan_test_data;
|
138 |
|
|
wire lsu_ifu_tlb_data_ue; // dtlb data asi rd parity error
|
139 |
|
|
wire lsu_ifu_tlb_tag_ue; // dtlb tag asi rd parity error
|
140 |
|
|
wire [8:0] ifu_tlu_imm_asi_d; // From ifu of sparc_ifu.v
|
141 |
|
|
|
142 |
|
|
wire ifu_lsu_wsr_inst_d; // To lsu of lsu.v, ...
|
143 |
|
|
wire ifu_exu_wsr_inst_d;
|
144 |
|
|
|
145 |
|
|
// hypervisor stuff
|
146 |
|
|
wire [3:0] tlu_hpstate_enb,
|
147 |
|
|
tlu_hpstate_priv,
|
148 |
|
|
tlu_hpstate_ibe;
|
149 |
|
|
|
150 |
|
|
// scan chain
|
151 |
|
|
wire short_scan0_1;
|
152 |
|
|
wire short_scan0_2;
|
153 |
|
|
wire short_scan0_3;
|
154 |
|
|
wire short_scan0_4;
|
155 |
|
|
wire short_scan0_5;
|
156 |
|
|
wire short_scan0_6;
|
157 |
|
|
wire scan0_1;
|
158 |
|
|
wire scan0_2;
|
159 |
|
|
wire scan0_3;
|
160 |
|
|
wire scan0_4;
|
161 |
|
|
wire scan0_5;
|
162 |
|
|
wire scan0_6;
|
163 |
|
|
wire scan0_7;
|
164 |
|
|
|
165 |
|
|
wire short_scan1_1;
|
166 |
|
|
wire short_scan1_2;
|
167 |
|
|
wire short_scan1_3;
|
168 |
|
|
wire short_scan1_4;
|
169 |
|
|
wire short_scan1_5;
|
170 |
|
|
wire scan1_1;
|
171 |
|
|
wire scan1_2;
|
172 |
|
|
wire scan1_3;
|
173 |
|
|
wire scan1_4;
|
174 |
|
|
wire scan1_5;
|
175 |
|
|
|
176 |
|
|
|
177 |
|
|
// bus width difference
|
178 |
|
|
wire [12:0] lsu_t0_pctxt_state; // From lsu of lsu.v
|
179 |
|
|
wire [12:0] lsu_t1_pctxt_state; // From lsu of lsu.v
|
180 |
|
|
wire [12:0] lsu_t2_pctxt_state; // From lsu of lsu.v
|
181 |
|
|
wire [12:0] lsu_t3_pctxt_state; // From lsu of lsu.v
|
182 |
|
|
|
183 |
|
|
wire [6:0] bist_ctl_reg_in;
|
184 |
|
|
|
185 |
|
|
/*AUTOWIRE*/
|
186 |
|
|
// Beginning of automatic wires (for undeclared instantiated-module outputs)
|
187 |
|
|
wire [10:0] bist_ctl_reg_out; // From test_stub of test_stub_bist.v
|
188 |
|
|
wire bist_ctl_reg_wr_en; // From lsu of lsu.v
|
189 |
|
|
wire [`CPX_WIDTH-1:0]cpx_spc_data_cx2_buf; // From buf_cpx of cpx_spc_buf.v
|
190 |
|
|
wire [`CPX_WIDTH-1:0]cpx_spc_data_cx3; // From ff_cpx of cpx_spc_rpt.v
|
191 |
|
|
wire cpx_spc_data_rdy_cx2_buf;// From buf_cpx of cpx_spc_buf.v
|
192 |
|
|
wire cpx_spc_data_rdy_cx3; // From ff_cpx of cpx_spc_rpt.v
|
193 |
|
|
wire exu_ffu_wsr_inst_e; // From exu of sparc_exu.v
|
194 |
|
|
wire [47:0] exu_ifu_brpc_e; // From exu of sparc_exu.v
|
195 |
|
|
wire [7:0] exu_ifu_cc_d; // From exu of sparc_exu.v
|
196 |
|
|
wire exu_ifu_ecc_ce_m; // From exu of sparc_exu.v
|
197 |
|
|
wire exu_ifu_ecc_ue_m; // From exu of sparc_exu.v
|
198 |
|
|
wire [7:0] exu_ifu_err_reg_m; // From exu of sparc_exu.v
|
199 |
|
|
wire [7:0] exu_ifu_err_synd_m; // From exu of sparc_exu.v
|
200 |
|
|
wire exu_ifu_inj_ack; // From exu of sparc_exu.v
|
201 |
|
|
wire [3:0] exu_ifu_longop_done_g; // From exu of sparc_exu.v
|
202 |
|
|
wire [3:0] exu_ifu_oddwin_s; // From exu of sparc_exu.v
|
203 |
|
|
wire exu_ifu_regn_e; // From exu of sparc_exu.v
|
204 |
|
|
wire exu_ifu_regz_e; // From exu of sparc_exu.v
|
205 |
|
|
wire exu_ifu_spill_e; // From exu of sparc_exu.v
|
206 |
|
|
wire exu_ifu_va_oor_m; // From exu of sparc_exu.v
|
207 |
|
|
wire [10:3] exu_lsu_early_va_e; // From exu of sparc_exu.v
|
208 |
|
|
wire [47:0] exu_lsu_ldst_va_e; // From exu of sparc_exu.v
|
209 |
|
|
wire exu_lsu_priority_trap_m;// From exu of sparc_exu.v
|
210 |
|
|
wire [63:0] exu_lsu_rs2_data_e; // From exu of sparc_exu.v
|
211 |
|
|
wire [63:0] exu_lsu_rs3_data_e; // From exu of sparc_exu.v
|
212 |
|
|
wire [7:0] exu_mmu_early_va_e; // From exu of sparc_exu.v
|
213 |
|
|
wire exu_mul_input_vld; // From exu of sparc_exu.v
|
214 |
|
|
wire [63:0] exu_mul_rs1_data; // From exu of sparc_exu.v
|
215 |
|
|
wire [63:0] exu_mul_rs2_data; // From exu of sparc_exu.v
|
216 |
|
|
wire [63:0] exu_spu_rs3_data_e; // From exu of sparc_exu.v
|
217 |
|
|
wire [7:0] exu_tlu_ccr0_w; // From exu of sparc_exu.v
|
218 |
|
|
wire [7:0] exu_tlu_ccr1_w; // From exu of sparc_exu.v
|
219 |
|
|
wire [7:0] exu_tlu_ccr2_w; // From exu of sparc_exu.v
|
220 |
|
|
wire [7:0] exu_tlu_ccr3_w; // From exu of sparc_exu.v
|
221 |
|
|
wire [2:0] exu_tlu_cwp0_w; // From exu of sparc_exu.v
|
222 |
|
|
wire [2:0] exu_tlu_cwp1_w; // From exu of sparc_exu.v
|
223 |
|
|
wire [2:0] exu_tlu_cwp2_w; // From exu of sparc_exu.v
|
224 |
|
|
wire [2:0] exu_tlu_cwp3_w; // From exu of sparc_exu.v
|
225 |
|
|
wire exu_tlu_cwp_cmplt; // From exu of sparc_exu.v
|
226 |
|
|
wire [1:0] exu_tlu_cwp_cmplt_tid; // From exu of sparc_exu.v
|
227 |
|
|
wire exu_tlu_cwp_retry; // From exu of sparc_exu.v
|
228 |
|
|
wire exu_tlu_misalign_addr_jmpl_rtn_m;// From exu of sparc_exu.v
|
229 |
|
|
wire exu_tlu_spill; // From exu of sparc_exu.v
|
230 |
|
|
wire exu_tlu_spill_other; // From exu of sparc_exu.v
|
231 |
|
|
wire [1:0] exu_tlu_spill_tid; // From exu of sparc_exu.v
|
232 |
|
|
wire [2:0] exu_tlu_spill_wtype; // From exu of sparc_exu.v
|
233 |
|
|
wire [8:0] exu_tlu_ttype_m; // From exu of sparc_exu.v
|
234 |
|
|
wire exu_tlu_ttype_vld_m; // From exu of sparc_exu.v
|
235 |
|
|
wire exu_tlu_va_oor_jl_ret_m;// From exu of sparc_exu.v
|
236 |
|
|
wire exu_tlu_va_oor_m; // From exu of sparc_exu.v
|
237 |
|
|
wire [63:0] exu_tlu_wsr_data_m; // From exu of sparc_exu.v
|
238 |
|
|
wire [63:0] ffu_exu_rsr_data_m; // From ffu of sparc_ffu.v
|
239 |
|
|
wire [3:0] ffu_ifu_cc_vld_w2; // From ffu of sparc_ffu.v
|
240 |
|
|
wire [7:0] ffu_ifu_cc_w2; // From ffu of sparc_ffu.v
|
241 |
|
|
wire ffu_ifu_ecc_ce_w2; // From ffu of sparc_ffu.v
|
242 |
|
|
wire ffu_ifu_ecc_ue_w2; // From ffu of sparc_ffu.v
|
243 |
|
|
wire [5:0] ffu_ifu_err_reg_w2; // From ffu of sparc_ffu.v
|
244 |
|
|
wire [13:0] ffu_ifu_err_synd_w2; // From ffu of sparc_ffu.v
|
245 |
|
|
wire ffu_ifu_fpop_done_w2; // From ffu of sparc_ffu.v
|
246 |
|
|
wire ffu_ifu_fst_ce_w; // From ffu of sparc_ffu.v
|
247 |
|
|
wire ffu_ifu_inj_ack; // From ffu of sparc_ffu.v
|
248 |
|
|
wire ffu_ifu_stallreq; // From ffu of sparc_ffu.v
|
249 |
|
|
wire [1:0] ffu_ifu_tid_w2; // From ffu of sparc_ffu.v
|
250 |
|
|
wire ffu_lsu_blk_st_e; // From ffu of sparc_ffu.v
|
251 |
|
|
wire [5:3] ffu_lsu_blk_st_va_e; // From ffu of sparc_ffu.v
|
252 |
|
|
wire [80:0] ffu_lsu_data; // From ffu of sparc_ffu.v
|
253 |
|
|
wire ffu_lsu_fpop_rq_vld; // From ffu of sparc_ffu.v
|
254 |
|
|
wire ffu_lsu_kill_fst_w; // From ffu of sparc_ffu.v
|
255 |
|
|
wire ffu_tlu_fpu_cmplt; // From ffu of sparc_ffu.v
|
256 |
|
|
wire [1:0] ffu_tlu_fpu_tid; // From ffu of sparc_ffu.v
|
257 |
|
|
wire ffu_tlu_ill_inst_m; // From ffu of sparc_ffu.v
|
258 |
|
|
wire ffu_tlu_trap_ieee754; // From ffu of sparc_ffu.v
|
259 |
|
|
wire ffu_tlu_trap_other; // From ffu of sparc_ffu.v
|
260 |
|
|
wire ffu_tlu_trap_ue; // From ffu of sparc_ffu.v
|
261 |
|
|
wire ifu_exu_addr_mask_d; // From ifu of sparc_ifu.v
|
262 |
|
|
wire [2:0] ifu_exu_aluop_d; // From ifu of sparc_ifu.v
|
263 |
|
|
wire ifu_exu_casa_d; // From ifu of sparc_ifu.v
|
264 |
|
|
wire ifu_exu_dbrinst_d; // From ifu of sparc_ifu.v
|
265 |
|
|
wire ifu_exu_disable_ce_e; // From ifu of sparc_ifu.v
|
266 |
|
|
wire ifu_exu_dontmv_regz0_e; // From ifu of sparc_ifu.v
|
267 |
|
|
wire ifu_exu_dontmv_regz1_e; // From ifu of sparc_ifu.v
|
268 |
|
|
wire [7:0] ifu_exu_ecc_mask; // From ifu of sparc_ifu.v
|
269 |
|
|
wire ifu_exu_enshift_d; // From ifu of sparc_ifu.v
|
270 |
|
|
wire ifu_exu_flushw_e; // From ifu of sparc_ifu.v
|
271 |
|
|
wire ifu_exu_ialign_d; // From ifu of sparc_ifu.v
|
272 |
|
|
wire [31:0] ifu_exu_imm_data_d; // From ifu of sparc_ifu.v
|
273 |
|
|
wire ifu_exu_inj_irferr; // From ifu of sparc_ifu.v
|
274 |
|
|
wire ifu_exu_inst_vld_e; // From ifu of sparc_ifu.v
|
275 |
|
|
wire ifu_exu_inst_vld_w; // From ifu of sparc_ifu.v
|
276 |
|
|
wire ifu_exu_invert_d; // From ifu of sparc_ifu.v
|
277 |
|
|
wire ifu_exu_kill_e; // From ifu of sparc_ifu.v
|
278 |
|
|
wire [4:0] ifu_exu_muldivop_d; // From ifu of sparc_ifu.v
|
279 |
|
|
wire ifu_exu_muls_d; // From ifu of sparc_ifu.v
|
280 |
|
|
wire ifu_exu_nceen_e; // From ifu of sparc_ifu.v
|
281 |
|
|
wire [47:0] ifu_exu_pc_d; // From ifu of sparc_ifu.v
|
282 |
|
|
wire [63:0] ifu_exu_pcver_e; // From ifu of sparc_ifu.v
|
283 |
|
|
wire ifu_exu_range_check_jlret_d;// From ifu of sparc_ifu.v
|
284 |
|
|
wire ifu_exu_range_check_other_d;// From ifu of sparc_ifu.v
|
285 |
|
|
wire [4:0] ifu_exu_rd_d; // From ifu of sparc_ifu.v
|
286 |
|
|
wire ifu_exu_rd_exusr_e; // From ifu of sparc_ifu.v
|
287 |
|
|
wire ifu_exu_rd_ffusr_e; // From ifu of sparc_ifu.v
|
288 |
|
|
wire ifu_exu_rd_ifusr_e; // From ifu of sparc_ifu.v
|
289 |
|
|
wire ifu_exu_ren1_s; // From ifu of sparc_ifu.v
|
290 |
|
|
wire ifu_exu_ren2_s; // From ifu of sparc_ifu.v
|
291 |
|
|
wire ifu_exu_ren3_s; // From ifu of sparc_ifu.v
|
292 |
|
|
wire ifu_exu_restore_d; // From ifu of sparc_ifu.v
|
293 |
|
|
wire ifu_exu_restored_e; // From ifu of sparc_ifu.v
|
294 |
|
|
wire ifu_exu_return_d; // From ifu of sparc_ifu.v
|
295 |
|
|
wire [4:0] ifu_exu_rs1_s; // From ifu of sparc_ifu.v
|
296 |
|
|
wire ifu_exu_rs1_vld_d; // From ifu of sparc_ifu.v
|
297 |
|
|
wire [4:0] ifu_exu_rs2_s; // From ifu of sparc_ifu.v
|
298 |
|
|
wire ifu_exu_rs2_vld_d; // From ifu of sparc_ifu.v
|
299 |
|
|
wire [4:0] ifu_exu_rs3_s; // From ifu of sparc_ifu.v
|
300 |
|
|
wire ifu_exu_rs3e_vld_d; // From ifu of sparc_ifu.v
|
301 |
|
|
wire ifu_exu_rs3o_vld_d; // From ifu of sparc_ifu.v
|
302 |
|
|
wire ifu_exu_save_d; // From ifu of sparc_ifu.v
|
303 |
|
|
wire ifu_exu_saved_e; // From ifu of sparc_ifu.v
|
304 |
|
|
wire ifu_exu_setcc_d; // From ifu of sparc_ifu.v
|
305 |
|
|
wire ifu_exu_sethi_inst_d; // From ifu of sparc_ifu.v
|
306 |
|
|
wire [2:0] ifu_exu_shiftop_d; // From ifu of sparc_ifu.v
|
307 |
|
|
wire ifu_exu_tagop_d; // From ifu of sparc_ifu.v
|
308 |
|
|
wire ifu_exu_tcc_e; // From ifu of sparc_ifu.v
|
309 |
|
|
wire [1:0] ifu_exu_tid_s2; // From ifu of sparc_ifu.v
|
310 |
|
|
wire ifu_exu_ttype_vld_m; // From ifu of sparc_ifu.v
|
311 |
|
|
wire ifu_exu_tv_d; // From ifu of sparc_ifu.v
|
312 |
|
|
wire ifu_exu_use_rsr_e_l; // From ifu of sparc_ifu.v
|
313 |
|
|
wire ifu_exu_usecin_d; // From ifu of sparc_ifu.v
|
314 |
|
|
wire ifu_exu_useimm_d; // From ifu of sparc_ifu.v
|
315 |
|
|
wire ifu_exu_wen_d; // From ifu of sparc_ifu.v
|
316 |
|
|
wire [1:0] ifu_ffu_fcc_num_d; // From ifu of sparc_ifu.v
|
317 |
|
|
wire ifu_ffu_fld_d; // From ifu of sparc_ifu.v
|
318 |
|
|
wire ifu_ffu_fpop1_d; // From ifu of sparc_ifu.v
|
319 |
|
|
wire ifu_ffu_fpop2_d; // From ifu of sparc_ifu.v
|
320 |
|
|
wire [8:0] ifu_ffu_fpopcode_d; // From ifu of sparc_ifu.v
|
321 |
|
|
wire [4:0] ifu_ffu_frd_d; // From ifu of sparc_ifu.v
|
322 |
|
|
wire [4:0] ifu_ffu_frs1_d; // From ifu of sparc_ifu.v
|
323 |
|
|
wire [4:0] ifu_ffu_frs2_d; // From ifu of sparc_ifu.v
|
324 |
|
|
wire ifu_ffu_fst_d; // From ifu of sparc_ifu.v
|
325 |
|
|
wire ifu_ffu_inj_frferr; // From ifu of sparc_ifu.v
|
326 |
|
|
wire ifu_ffu_ldfsr_d; // From ifu of sparc_ifu.v
|
327 |
|
|
wire ifu_ffu_ldst_size_d; // From ifu of sparc_ifu.v
|
328 |
|
|
wire ifu_ffu_ldxfsr_d; // From ifu of sparc_ifu.v
|
329 |
|
|
wire ifu_ffu_mvcnd_m; // From ifu of sparc_ifu.v
|
330 |
|
|
wire ifu_ffu_quad_op_e; // From ifu of sparc_ifu.v
|
331 |
|
|
wire ifu_ffu_stfsr_d; // From ifu of sparc_ifu.v
|
332 |
|
|
wire ifu_ffu_visop_d; // From ifu of sparc_ifu.v
|
333 |
|
|
wire ifu_lsu_alt_space_d; // From ifu of sparc_ifu.v
|
334 |
|
|
wire ifu_lsu_alt_space_e; // From ifu of sparc_ifu.v
|
335 |
|
|
wire ifu_lsu_asi_ack; // From ifu of sparc_ifu.v
|
336 |
|
|
wire ifu_lsu_asi_rd_unc; // From ifu of sparc_ifu.v
|
337 |
|
|
wire ifu_lsu_casa_e; // From ifu of sparc_ifu.v
|
338 |
|
|
wire [2:0] ifu_lsu_destid_s; // From ifu of sparc_ifu.v
|
339 |
|
|
wire [3:0] ifu_lsu_error_inj; // From ifu of sparc_ifu.v
|
340 |
|
|
wire ifu_lsu_fwd_data_vld; // From ifu of sparc_ifu.v
|
341 |
|
|
wire ifu_lsu_fwd_wr_ack; // From ifu of sparc_ifu.v
|
342 |
|
|
wire ifu_lsu_ibuf_busy; // From ifu of sparc_ifu.v
|
343 |
|
|
wire [7:0] ifu_lsu_imm_asi_d; // From ifu of sparc_ifu.v
|
344 |
|
|
wire ifu_lsu_imm_asi_vld_d; // From ifu of sparc_ifu.v
|
345 |
|
|
wire ifu_lsu_inv_clear; // From ifu of sparc_ifu.v
|
346 |
|
|
wire ifu_lsu_ld_inst_e; // From ifu of sparc_ifu.v
|
347 |
|
|
wire ifu_lsu_ldst_dbl_e; // From ifu of sparc_ifu.v
|
348 |
|
|
wire ifu_lsu_ldst_fp_e; // From ifu of sparc_ifu.v
|
349 |
|
|
wire [1:0] ifu_lsu_ldst_size_e; // From ifu of sparc_ifu.v
|
350 |
|
|
wire ifu_lsu_ldstub_e; // From ifu of sparc_ifu.v
|
351 |
|
|
wire ifu_lsu_ldxa_data_vld_w2;// From ifu of sparc_ifu.v
|
352 |
|
|
wire [63:0] ifu_lsu_ldxa_data_w2; // From ifu of sparc_ifu.v
|
353 |
|
|
wire ifu_lsu_ldxa_illgl_va_w2;// From ifu of sparc_ifu.v
|
354 |
|
|
wire [1:0] ifu_lsu_ldxa_tid_w2; // From ifu of sparc_ifu.v
|
355 |
|
|
wire ifu_lsu_memref_d; // From ifu of sparc_ifu.v
|
356 |
|
|
wire [3:0] ifu_lsu_nceen; // From ifu of sparc_ifu.v
|
357 |
|
|
wire [51:0] ifu_lsu_pcxpkt_e; // From ifu of sparc_ifu.v
|
358 |
|
|
wire ifu_lsu_pcxreq_d; // From ifu of sparc_ifu.v
|
359 |
|
|
wire ifu_lsu_pref_inst_e; // From ifu of sparc_ifu.v
|
360 |
|
|
wire [4:0] ifu_lsu_rd_e; // From ifu of sparc_ifu.v
|
361 |
|
|
wire ifu_lsu_sign_ext_e; // From ifu of sparc_ifu.v
|
362 |
|
|
wire ifu_lsu_st_inst_e; // From ifu of sparc_ifu.v
|
363 |
|
|
wire ifu_lsu_swap_e; // From ifu of sparc_ifu.v
|
364 |
|
|
wire [1:0] ifu_lsu_thrid_s; // From ifu of sparc_ifu.v
|
365 |
|
|
wire ifu_mmu_trap_m; // From ifu of sparc_ifu.v
|
366 |
|
|
wire ifu_spu_inst_vld_w; // From ifu of sparc_ifu.v
|
367 |
|
|
wire [3:0] ifu_spu_nceen; // From ifu of sparc_ifu.v
|
368 |
|
|
wire ifu_spu_trap_ack; // From ifu of sparc_ifu.v
|
369 |
|
|
wire ifu_tlu_alt_space_d; // From ifu of sparc_ifu.v
|
370 |
|
|
wire ifu_tlu_done_inst_d; // From ifu of sparc_ifu.v
|
371 |
|
|
wire ifu_tlu_flsh_inst_e; // From ifu of sparc_ifu.v
|
372 |
|
|
wire ifu_tlu_flush_fd2_w; // From lsu of lsu.v
|
373 |
|
|
wire ifu_tlu_flush_fd3_w; // From lsu of lsu.v
|
374 |
|
|
wire ifu_tlu_flush_fd_w; // From lsu of lsu.v
|
375 |
|
|
wire ifu_tlu_flush_m; // From ifu of sparc_ifu.v
|
376 |
|
|
wire ifu_tlu_flush_w; // From ifu of sparc_ifu.v
|
377 |
|
|
wire ifu_tlu_hwint_m; // From ifu of sparc_ifu.v
|
378 |
|
|
wire ifu_tlu_icmiss_e; // From ifu of sparc_ifu.v
|
379 |
|
|
wire ifu_tlu_immu_miss_m; // From ifu of sparc_ifu.v
|
380 |
|
|
wire ifu_tlu_inst_vld_m; // From ifu of sparc_ifu.v
|
381 |
|
|
wire ifu_tlu_inst_vld_m_bf1; // From lsu of lsu.v
|
382 |
|
|
wire ifu_tlu_inst_vld_w; // From ifu of sparc_ifu.v
|
383 |
|
|
wire ifu_tlu_itlb_done; // From ifu of sparc_ifu.v
|
384 |
|
|
wire [3:0] ifu_tlu_l2imiss; // From ifu of sparc_ifu.v
|
385 |
|
|
wire ifu_tlu_mb_inst_e; // From ifu of sparc_ifu.v
|
386 |
|
|
wire [48:0] ifu_tlu_npc_m; // From ifu of sparc_ifu.v
|
387 |
|
|
wire [48:0] ifu_tlu_pc_m; // From ifu of sparc_ifu.v
|
388 |
|
|
wire ifu_tlu_pc_oor_e; // From ifu of sparc_ifu.v
|
389 |
|
|
wire ifu_tlu_priv_violtn_m; // From ifu of sparc_ifu.v
|
390 |
|
|
wire ifu_tlu_retry_inst_d; // From ifu of sparc_ifu.v
|
391 |
|
|
wire ifu_tlu_rsr_inst_d; // From ifu of sparc_ifu.v
|
392 |
|
|
wire ifu_tlu_rstint_m; // From ifu of sparc_ifu.v
|
393 |
|
|
wire ifu_tlu_sftint_m; // From ifu of sparc_ifu.v
|
394 |
|
|
wire ifu_tlu_sir_inst_m; // From ifu of sparc_ifu.v
|
395 |
|
|
wire [6:0] ifu_tlu_sraddr_d; // From ifu of sparc_ifu.v
|
396 |
|
|
wire [6:0] ifu_tlu_sraddr_d_v2; // From ifu of sparc_ifu.v
|
397 |
|
|
wire [1:0] ifu_tlu_thrid_d; // From ifu of sparc_ifu.v
|
398 |
|
|
wire [1:0] ifu_tlu_thrid_e; // From ifu of sparc_ifu.v
|
399 |
|
|
wire ifu_tlu_trap_m; // From ifu of sparc_ifu.v
|
400 |
|
|
wire [8:0] ifu_tlu_ttype_m; // From ifu of sparc_ifu.v
|
401 |
|
|
wire ifu_tlu_ttype_vld_m; // From ifu of sparc_ifu.v
|
402 |
|
|
wire [7:0] lsu_asi_reg0; // From lsu of lsu.v
|
403 |
|
|
wire [7:0] lsu_asi_reg1; // From lsu of lsu.v
|
404 |
|
|
wire [7:0] lsu_asi_reg2; // From lsu of lsu.v
|
405 |
|
|
wire [7:0] lsu_asi_reg3; // From lsu of lsu.v
|
406 |
|
|
wire [7:0] lsu_asi_state; // From lsu of lsu.v
|
407 |
|
|
wire [3:0] lsu_dmmu_sfsr_trp_wr; // From lsu of lsu.v
|
408 |
|
|
wire [23:0] lsu_dsfsr_din_g; // From lsu of lsu.v
|
409 |
|
|
wire lsu_exu_flush_pipe_w; // From lsu of lsu.v
|
410 |
|
|
wire [63:0] lsu_exu_ldxa_data_g; // From tlu of tlu.v
|
411 |
|
|
wire lsu_exu_ldxa_m; // From tlu of tlu.v
|
412 |
|
|
wire [4:0] lsu_exu_rd_m; // From lsu of lsu.v
|
413 |
|
|
wire lsu_exu_st_dtlb_perr_g; // From lsu of lsu.v
|
414 |
|
|
wire [1:0] lsu_exu_thr_m; // From lsu of lsu.v
|
415 |
|
|
wire lsu_ffu_ack; // From lsu of lsu.v
|
416 |
|
|
wire [2:0] lsu_ffu_bld_cnt_w; // From lsu of lsu.v
|
417 |
|
|
wire lsu_ffu_blk_asi_e; // From lsu of lsu.v
|
418 |
|
|
wire lsu_ffu_flush_pipe_w; // From lsu of lsu.v
|
419 |
|
|
wire [63:0] lsu_ffu_ld_data; // From lsu of lsu.v
|
420 |
|
|
wire lsu_ffu_ld_vld; // From lsu of lsu.v
|
421 |
|
|
wire lsu_ffu_stb_full0; // From lsu of lsu.v
|
422 |
|
|
wire lsu_ffu_stb_full1; // From lsu of lsu.v
|
423 |
|
|
wire lsu_ffu_stb_full2; // From lsu of lsu.v
|
424 |
|
|
wire lsu_ffu_stb_full3; // From lsu of lsu.v
|
425 |
|
|
wire [3:0] lsu_ictag_mrgn; // From lsu of lsu.v
|
426 |
|
|
wire [17:0] lsu_ifu_asi_addr; // From lsu of lsu.v
|
427 |
|
|
wire lsu_ifu_asi_load; // From lsu of lsu.v
|
428 |
|
|
wire [7:0] lsu_ifu_asi_state; // From lsu of lsu.v
|
429 |
|
|
wire [1:0] lsu_ifu_asi_thrid; // From lsu of lsu.v
|
430 |
|
|
wire lsu_ifu_asi_vld; // From lsu of lsu.v
|
431 |
|
|
wire [`CPX_VLD-1:0] lsu_ifu_cpxpkt_i1; // From lsu of lsu.v
|
432 |
|
|
wire lsu_ifu_cpxpkt_vld_i1; // From lsu of lsu.v
|
433 |
|
|
wire lsu_ifu_dc_parity_error_w2;// From lsu of lsu.v
|
434 |
|
|
wire lsu_ifu_dcache_data_perror;// From lsu of lsu.v
|
435 |
|
|
wire lsu_ifu_dcache_tag_perror;// From lsu of lsu.v
|
436 |
|
|
wire lsu_ifu_direct_map_l1; // From lsu of lsu.v
|
437 |
|
|
wire [47:4] lsu_ifu_err_addr; // From lsu of lsu.v
|
438 |
|
|
wire [1:0] lsu_ifu_error_tid; // From lsu of lsu.v
|
439 |
|
|
wire lsu_ifu_flush_pipe_w; // From lsu of lsu.v
|
440 |
|
|
wire [3:0] lsu_ifu_icache_en; // From lsu of lsu.v
|
441 |
|
|
wire [3:0] lsu_ifu_inj_ack; // From tlu of tlu.v
|
442 |
|
|
wire lsu_ifu_io_error; // From lsu of lsu.v
|
443 |
|
|
wire [3:0] lsu_ifu_itlb_en; // From lsu of lsu.v
|
444 |
|
|
wire lsu_ifu_l2_corr_error; // From lsu of lsu.v
|
445 |
|
|
wire lsu_ifu_l2_unc_error; // From lsu of lsu.v
|
446 |
|
|
wire [11:5] lsu_ifu_ld_icache_index;// From lsu of lsu.v
|
447 |
|
|
wire [1:0] lsu_ifu_ld_pcxpkt_tid; // From lsu of lsu.v
|
448 |
|
|
wire lsu_ifu_ld_pcxpkt_vld; // From lsu of lsu.v
|
449 |
|
|
wire [3:0] lsu_ifu_ldst_cmplt; // From lsu of lsu.v
|
450 |
|
|
wire lsu_ifu_ldsta_internal_e;// From lsu of lsu.v
|
451 |
|
|
wire lsu_ifu_pcxpkt_ack_d; // From lsu of lsu.v
|
452 |
|
|
wire lsu_ifu_stallreq; // From lsu of lsu.v
|
453 |
|
|
wire [3:0] lsu_ifu_stbcnt0; // From lsu of lsu.v
|
454 |
|
|
wire [3:0] lsu_ifu_stbcnt1; // From lsu of lsu.v
|
455 |
|
|
wire [3:0] lsu_ifu_stbcnt2; // From lsu of lsu.v
|
456 |
|
|
wire [3:0] lsu_ifu_stbcnt3; // From lsu of lsu.v
|
457 |
|
|
wire lsu_ifu_tlb_data_su; // From lsu of lsu.v
|
458 |
|
|
wire [7:0] lsu_itlb_mrgn; // From lsu of lsu.v
|
459 |
|
|
wire [3:0] lsu_mamem_mrgn; // From lsu of lsu.v
|
460 |
|
|
wire lsu_mmu_defr_trp_taken_g;// From lsu of lsu.v
|
461 |
|
|
wire lsu_mmu_flush_pipe_w; // From lsu of lsu.v
|
462 |
|
|
wire [63:0] lsu_mmu_rs3_data_g; // From lsu of lsu.v
|
463 |
|
|
wire [2:0] lsu_pid_state0; // From lsu of lsu.v
|
464 |
|
|
wire [2:0] lsu_pid_state1; // From lsu of lsu.v
|
465 |
|
|
wire [2:0] lsu_pid_state2; // From lsu of lsu.v
|
466 |
|
|
wire [2:0] lsu_pid_state3; // From lsu of lsu.v
|
467 |
|
|
wire [7:0] lsu_spu_asi_state_e; // From lsu of lsu.v
|
468 |
|
|
wire lsu_spu_early_flush_g; // From lsu of lsu.v
|
469 |
|
|
wire lsu_spu_ldst_ack; // From lsu of lsu.v
|
470 |
|
|
wire [3:0] lsu_spu_stb_empty; // From lsu of lsu.v
|
471 |
|
|
wire [1:0] lsu_spu_strm_ack_cmplt; // From lsu of lsu.v
|
472 |
|
|
wire [15:0] lsu_sscan_data; // From lsu of lsu.v
|
473 |
|
|
wire [1:0] lsu_tlu_async_tid_w2; // From lsu of lsu.v
|
474 |
|
|
wire lsu_tlu_async_ttype_vld_w2;// From lsu of lsu.v
|
475 |
|
|
wire [6:0] lsu_tlu_async_ttype_w2; // From lsu of lsu.v
|
476 |
|
|
wire [3:0] lsu_tlu_cpx_req; // From lsu of lsu.v
|
477 |
|
|
wire lsu_tlu_cpx_vld; // From lsu of lsu.v
|
478 |
|
|
wire lsu_tlu_daccess_excptn_g;// From lsu of lsu.v
|
479 |
|
|
wire lsu_tlu_daccess_prot_g; // From lsu of lsu.v
|
480 |
|
|
wire [3:0] lsu_tlu_dcache_miss_w2; // From lsu of lsu.v
|
481 |
|
|
wire lsu_tlu_defr_trp_taken_g;// From lsu of lsu.v
|
482 |
|
|
wire lsu_tlu_dmmu_miss_g; // From lsu of lsu.v
|
483 |
|
|
wire [12:0] lsu_tlu_dside_ctxt_m; // From lsu of lsu.v
|
484 |
|
|
wire lsu_tlu_dtlb_done; // From lsu of lsu.v
|
485 |
|
|
wire lsu_tlu_early_flush2_w; // From lsu of lsu.v
|
486 |
|
|
wire lsu_tlu_early_flush_w; // From lsu of lsu.v
|
487 |
|
|
wire [17:0] lsu_tlu_intpkt; // From lsu of lsu.v
|
488 |
|
|
wire [3:0] lsu_tlu_l2_dmiss; // From lsu of lsu.v
|
489 |
|
|
wire lsu_tlu_nucleus_ctxt_m; // From lsu of lsu.v
|
490 |
|
|
wire [12:0] lsu_tlu_pctxt_m; // From lsu of lsu.v
|
491 |
|
|
wire lsu_tlu_pcxpkt_ack; // From lsu of lsu.v
|
492 |
|
|
wire lsu_tlu_priv_action_g; // From lsu of lsu.v
|
493 |
|
|
wire [63:0] lsu_tlu_rs3_data_g; // From lsu of lsu.v
|
494 |
|
|
wire [7:0] lsu_tlu_rsr_data_e; // From lsu of lsu.v
|
495 |
|
|
wire lsu_tlu_squash_va_oor_m;// From lsu of lsu.v
|
496 |
|
|
wire [3:0] lsu_tlu_stb_full_w2; // From lsu of lsu.v
|
497 |
|
|
wire [1:0] lsu_tlu_thrid_d; // From lsu of lsu.v
|
498 |
|
|
wire [1:0] lsu_tlu_tlb_access_tid_m;// From lsu of lsu.v
|
499 |
|
|
wire [7:0] lsu_tlu_tlb_asi_state_m;// From lsu of lsu.v
|
500 |
|
|
wire [47:13] lsu_tlu_tlb_dmp_va_m; // From lsu of lsu.v
|
501 |
|
|
wire lsu_tlu_tlb_ld_inst_m; // From lsu of lsu.v
|
502 |
|
|
wire [10:0] lsu_tlu_tlb_ldst_va_m; // From lsu of lsu.v
|
503 |
|
|
wire lsu_tlu_tlb_st_inst_m; // From lsu of lsu.v
|
504 |
|
|
wire [2:0] lsu_tlu_tte_pg_sz_g; // From lsu of lsu.v
|
505 |
|
|
wire [8:0] lsu_tlu_ttype_m2; // From lsu of lsu.v
|
506 |
|
|
wire lsu_tlu_ttype_vld_m2; // From lsu of lsu.v
|
507 |
|
|
wire lsu_tlu_wsr_inst_e; // From lsu of lsu.v
|
508 |
|
|
wire lsu_tlu_wtchpt_trp_g; // From lsu of lsu.v
|
509 |
|
|
wire mbist_bisi_mode; // From test_stub of test_stub_bist.v
|
510 |
|
|
wire [71:0] mbist_dcache_data_in; // From lsu of lsu.v
|
511 |
|
|
wire mbist_dcache_fail; // From ifu of sparc_ifu.v
|
512 |
|
|
wire [6:0] mbist_dcache_index; // From ifu of sparc_ifu.v
|
513 |
|
|
wire mbist_dcache_read; // From ifu of sparc_ifu.v
|
514 |
|
|
wire [1:0] mbist_dcache_way; // From ifu of sparc_ifu.v
|
515 |
|
|
wire mbist_dcache_word; // From ifu of sparc_ifu.v
|
516 |
|
|
wire mbist_dcache_write; // From ifu of sparc_ifu.v
|
517 |
|
|
wire mbist_done; // From ifu of sparc_ifu.v
|
518 |
|
|
wire mbist_icache_fail; // From ifu of sparc_ifu.v
|
519 |
|
|
wire mbist_loop_mode; // From test_stub of test_stub_bist.v
|
520 |
|
|
wire mbist_loop_on_addr; // From test_stub of test_stub_bist.v
|
521 |
|
|
wire mbist_start; // From test_stub of test_stub_bist.v
|
522 |
|
|
wire mbist_stop_on_fail; // From test_stub of test_stub_bist.v
|
523 |
|
|
wire mbist_stop_on_next_fail;// From test_stub of test_stub_bist.v
|
524 |
|
|
wire mbist_userdata_mode; // From test_stub of test_stub_bist.v
|
525 |
|
|
wire [7:0] mbist_write_data; // From ifu of sparc_ifu.v
|
526 |
|
|
wire mem_bypass; // From test_stub of test_stub_bist.v
|
527 |
|
|
wire mem_write_disable; // From test_stub of test_stub_bist.v
|
528 |
|
|
wire [63:0] mul_data_out; // From mul of sparc_mul_top.v
|
529 |
|
|
wire mul_exu_ack; // From mul of sparc_mul_top.v
|
530 |
|
|
wire mul_spu_ack; // From mul of sparc_mul_top.v
|
531 |
|
|
wire mul_spu_shf_ack; // From mul of sparc_mul_top.v
|
532 |
|
|
wire mux_drive_disable; // From test_stub of test_stub_bist.v
|
533 |
|
|
wire rclk; // From spc_hdr of bw_clk_cl_sparc_cmp.v
|
534 |
|
|
wire se; // From test_stub of test_stub_bist.v
|
535 |
|
|
wire sehold; // From test_stub of test_stub_bist.v
|
536 |
|
|
wire spc_dbginit_l; // From spc_hdr of bw_clk_cl_sparc_cmp.v
|
537 |
|
|
wire spc_grst_l; // From spc_hdr of bw_clk_cl_sparc_cmp.v
|
538 |
|
|
wire spu_ifu_corr_err_w2; // From spu of spu.v
|
539 |
|
|
wire [39:4] spu_ifu_err_addr_w2; // From spu of spu.v
|
540 |
|
|
wire spu_ifu_int_w2; // From spu of spu.v
|
541 |
|
|
wire spu_ifu_mamem_err_w1; // From spu of spu.v
|
542 |
|
|
wire [1:0] spu_ifu_ttype_tid_w2; // From spu of spu.v
|
543 |
|
|
wire spu_ifu_ttype_vld_w2; // From spu of spu.v
|
544 |
|
|
wire spu_ifu_ttype_w2; // From spu of spu.v
|
545 |
|
|
wire spu_ifu_unc_err_w1; // From spu of spu.v
|
546 |
|
|
wire [123:0] spu_lsu_ldst_pckt; // From spu of spu.v
|
547 |
|
|
wire spu_lsu_ldxa_data_vld_w2;// From spu of spu.v
|
548 |
|
|
wire [63:0] spu_lsu_ldxa_data_w2; // From spu of spu.v
|
549 |
|
|
wire spu_lsu_ldxa_illgl_va_w2;// From spu of spu.v
|
550 |
|
|
wire [1:0] spu_lsu_ldxa_tid_w2; // From spu of spu.v
|
551 |
|
|
wire spu_lsu_stxa_ack; // From spu of spu.v
|
552 |
|
|
wire [1:0] spu_lsu_stxa_ack_tid; // From spu of spu.v
|
553 |
|
|
wire spu_lsu_unc_error_w2; // From spu of spu.v
|
554 |
|
|
wire spu_mul_acc; // From spu of spu.v
|
555 |
|
|
wire spu_mul_areg_rst; // From spu of spu.v
|
556 |
|
|
wire spu_mul_areg_shf; // From spu of spu.v
|
557 |
|
|
wire spu_mul_mulres_lshft; // From spu of spu.v
|
558 |
|
|
wire [63:0] spu_mul_op1_data; // From spu of spu.v
|
559 |
|
|
wire [63:0] spu_mul_op2_data; // From spu of spu.v
|
560 |
|
|
wire spu_mul_req_vld; // From spu of spu.v
|
561 |
|
|
wire testmode_l; // From test_stub of test_stub_bist.v
|
562 |
|
|
wire tlu_dtlb_data_rd_g; // From tlu of tlu.v
|
563 |
|
|
wire tlu_dtlb_dmp_actxt_g; // From tlu of tlu.v
|
564 |
|
|
wire tlu_dtlb_dmp_all_g; // From tlu of tlu.v
|
565 |
|
|
wire tlu_dtlb_dmp_nctxt_g; // From tlu of tlu.v
|
566 |
|
|
wire tlu_dtlb_dmp_pctxt_g; // From tlu of tlu.v
|
567 |
|
|
wire tlu_dtlb_dmp_sctxt_g; // From tlu of tlu.v
|
568 |
|
|
wire tlu_dtlb_dmp_vld_g; // From tlu of tlu.v
|
569 |
|
|
wire tlu_dtlb_invalidate_all_g;// From tlu of tlu.v
|
570 |
|
|
wire [5:0] tlu_dtlb_rw_index_g; // From tlu of tlu.v
|
571 |
|
|
wire tlu_dtlb_rw_index_vld_g;// From tlu of tlu.v
|
572 |
|
|
wire tlu_dtlb_tag_rd_g; // From tlu of tlu.v
|
573 |
|
|
wire [42:0] tlu_dtlb_tte_data_w2; // From tlu of tlu.v
|
574 |
|
|
wire [58:0] tlu_dtlb_tte_tag_w2; // From tlu of tlu.v
|
575 |
|
|
wire tlu_early_flush_pipe2_w;// From tlu of tlu.v
|
576 |
|
|
wire tlu_early_flush_pipe_w; // From tlu of tlu.v
|
577 |
|
|
wire [`TSA_GLOBAL_WIDTH-1:0]tlu_exu_agp; // From tlu of tlu.v
|
578 |
|
|
wire tlu_exu_agp_swap; // From tlu of tlu.v
|
579 |
|
|
wire [1:0] tlu_exu_agp_tid; // From tlu of tlu.v
|
580 |
|
|
wire [7:0] tlu_exu_ccr_m; // From tlu of tlu.v
|
581 |
|
|
wire [2:0] tlu_exu_cwp_m; // From tlu of tlu.v
|
582 |
|
|
wire tlu_exu_cwp_retry_m; // From tlu of tlu.v
|
583 |
|
|
wire tlu_exu_cwpccr_update_m;// From tlu of tlu.v
|
584 |
|
|
wire tlu_exu_early_flush_pipe_w;// From tlu of tlu.v
|
585 |
|
|
wire tlu_exu_pic_onebelow_m; // From tlu of tlu.v
|
586 |
|
|
wire tlu_exu_pic_twobelow_m; // From tlu of tlu.v
|
587 |
|
|
wire tlu_exu_priv_trap_m; // From tlu of tlu.v
|
588 |
|
|
wire [`TLU_ASR_DATA_WIDTH-1:0]tlu_exu_rsr_data_m;// From tlu of tlu.v
|
589 |
|
|
wire [40:0] tlu_idtlb_dmp_key_g; // From tlu of tlu.v
|
590 |
|
|
wire [1:0] tlu_idtlb_dmp_thrid_g; // From tlu of tlu.v
|
591 |
|
|
wire [3:0] tlu_ifu_hwint_i3; // From tlu of tlu.v
|
592 |
|
|
wire tlu_ifu_nukeint_i2; // From tlu of tlu.v
|
593 |
|
|
wire [3:0] tlu_ifu_pstate_ie; // From tlu of tlu.v
|
594 |
|
|
wire [3:0] tlu_ifu_pstate_pef; // From tlu of tlu.v
|
595 |
|
|
wire tlu_ifu_resumint_i2; // From tlu of tlu.v
|
596 |
|
|
wire tlu_ifu_rstint_i2; // From tlu of tlu.v
|
597 |
|
|
wire [3:0] tlu_ifu_rstthr_i2; // From tlu of tlu.v
|
598 |
|
|
wire [1:0] tlu_ifu_trap_tid_w1; // From tlu of tlu.v
|
599 |
|
|
wire tlu_ifu_trapnpc_vld_w1; // From tlu of tlu.v
|
600 |
|
|
wire [48:0] tlu_ifu_trapnpc_w2; // From tlu of tlu.v
|
601 |
|
|
wire tlu_ifu_trappc_vld_w1; // From tlu of tlu.v
|
602 |
|
|
wire [48:0] tlu_ifu_trappc_w2; // From tlu of tlu.v
|
603 |
|
|
wire tlu_itlb_data_rd_g; // From tlu of tlu.v
|
604 |
|
|
wire tlu_itlb_dmp_actxt_g; // From tlu of tlu.v
|
605 |
|
|
wire tlu_itlb_dmp_all_g; // From tlu of tlu.v
|
606 |
|
|
wire tlu_itlb_dmp_nctxt_g; // From tlu of tlu.v
|
607 |
|
|
wire tlu_itlb_dmp_vld_g; // From tlu of tlu.v
|
608 |
|
|
wire tlu_itlb_invalidate_all_g;// From tlu of tlu.v
|
609 |
|
|
wire [5:0] tlu_itlb_rw_index_g; // From tlu of tlu.v
|
610 |
|
|
wire tlu_itlb_rw_index_vld_g;// From tlu of tlu.v
|
611 |
|
|
wire tlu_itlb_tag_rd_g; // From tlu of tlu.v
|
612 |
|
|
wire [42:0] tlu_itlb_tte_data_w2; // From tlu of tlu.v
|
613 |
|
|
wire [58:0] tlu_itlb_tte_tag_w2; // From tlu of tlu.v
|
614 |
|
|
wire tlu_itlb_wr_vld_g; // From tlu of tlu.v
|
615 |
|
|
wire [7:0] tlu_lsu_asi_m; // From tlu of tlu.v
|
616 |
|
|
wire tlu_lsu_asi_update_m; // From tlu of tlu.v
|
617 |
|
|
wire [63:0] tlu_lsu_int_ldxa_data_w2;// From tlu of tlu.v
|
618 |
|
|
wire tlu_lsu_int_ldxa_vld_w2;// From tlu of tlu.v
|
619 |
|
|
wire tlu_lsu_ldxa_async_data_vld;// From tlu of tlu.v
|
620 |
|
|
wire [1:0] tlu_lsu_ldxa_tid_w2; // From tlu of tlu.v
|
621 |
|
|
wire [25:0] tlu_lsu_pcxpkt; // From tlu of tlu.v
|
622 |
|
|
wire tlu_lsu_priv_trap_m; // From tlu of tlu.v
|
623 |
|
|
wire [3:0] tlu_lsu_pstate_am; // From tlu of tlu.v
|
624 |
|
|
wire [3:0] tlu_lsu_pstate_cle; // From tlu of tlu.v
|
625 |
|
|
wire [3:0] tlu_lsu_pstate_priv; // From tlu of tlu.v
|
626 |
|
|
wire [3:0] tlu_lsu_redmode; // From tlu of tlu.v
|
627 |
|
|
wire [3:0] tlu_lsu_redmode_rst_d1; // From tlu of tlu.v
|
628 |
|
|
wire tlu_lsu_stxa_ack; // From tlu of tlu.v
|
629 |
|
|
wire [1:0] tlu_lsu_stxa_ack_tid; // From tlu of tlu.v
|
630 |
|
|
wire [1:0] tlu_lsu_tid_m; // From tlu of tlu.v
|
631 |
|
|
wire [`TLU_THRD_NUM-1:0]tlu_lsu_tl_zero; // From tlu of tlu.v
|
632 |
|
|
// End of automatics
|
633 |
|
|
|
634 |
|
|
wire cpx_spc_data_cx3_b0; // From ff_cpx of cpx_spc_rpt.v
|
635 |
|
|
wire cpx_spc_data_cx3_b100; // From ff_cpx of cpx_spc_rpt.v
|
636 |
|
|
wire cpx_spc_data_cx3_b103; // From ff_cpx of cpx_spc_rpt.v
|
637 |
|
|
wire cpx_spc_data_cx3_b106; // From ff_cpx of cpx_spc_rpt.v
|
638 |
|
|
wire cpx_spc_data_cx3_b109; // From ff_cpx of cpx_spc_rpt.v
|
639 |
|
|
wire cpx_spc_data_cx3_b12; // From ff_cpx of cpx_spc_rpt.v
|
640 |
|
|
wire [`CPX_INV_CID_HI:`CPX_INV_CID_LO]cpx_spc_data_cx3_b120to118;// From ff_cpx of cpx_spc_rpt.v
|
641 |
|
|
wire [`CPX_WIDTH-1:140]cpx_spc_data_cx3_b144to140;// From ff_cpx of cpx_spc_rpt.v
|
642 |
|
|
wire cpx_spc_data_cx3_b16; // From ff_cpx of cpx_spc_rpt.v
|
643 |
|
|
wire cpx_spc_data_cx3_b20; // From ff_cpx of cpx_spc_rpt.v
|
644 |
|
|
wire cpx_spc_data_cx3_b24; // From ff_cpx of cpx_spc_rpt.v
|
645 |
|
|
wire cpx_spc_data_cx3_b28; // From ff_cpx of cpx_spc_rpt.v
|
646 |
|
|
wire cpx_spc_data_cx3_b32; // From ff_cpx of cpx_spc_rpt.v
|
647 |
|
|
wire cpx_spc_data_cx3_b35; // From ff_cpx of cpx_spc_rpt.v
|
648 |
|
|
wire cpx_spc_data_cx3_b38; // From ff_cpx of cpx_spc_rpt.v
|
649 |
|
|
wire cpx_spc_data_cx3_b4; // From ff_cpx of cpx_spc_rpt.v
|
650 |
|
|
wire cpx_spc_data_cx3_b41; // From ff_cpx of cpx_spc_rpt.v
|
651 |
|
|
wire cpx_spc_data_cx3_b44; // From ff_cpx of cpx_spc_rpt.v
|
652 |
|
|
wire cpx_spc_data_cx3_b47; // From ff_cpx of cpx_spc_rpt.v
|
653 |
|
|
wire cpx_spc_data_cx3_b50; // From ff_cpx of cpx_spc_rpt.v
|
654 |
|
|
wire cpx_spc_data_cx3_b53; // From ff_cpx of cpx_spc_rpt.v
|
655 |
|
|
wire cpx_spc_data_cx3_b56; // From ff_cpx of cpx_spc_rpt.v
|
656 |
|
|
wire cpx_spc_data_cx3_b60; // From ff_cpx of cpx_spc_rpt.v
|
657 |
|
|
wire cpx_spc_data_cx3_b64; // From ff_cpx of cpx_spc_rpt.v
|
658 |
|
|
wire cpx_spc_data_cx3_b68; // From ff_cpx of cpx_spc_rpt.v
|
659 |
|
|
wire cpx_spc_data_cx3_b72; // From ff_cpx of cpx_spc_rpt.v
|
660 |
|
|
wire cpx_spc_data_cx3_b76; // From ff_cpx of cpx_spc_rpt.v
|
661 |
|
|
wire cpx_spc_data_cx3_b8; // From ff_cpx of cpx_spc_rpt.v
|
662 |
|
|
wire cpx_spc_data_cx3_b80; // From ff_cpx of cpx_spc_rpt.v
|
663 |
|
|
wire cpx_spc_data_cx3_b84; // From ff_cpx of cpx_spc_rpt.v
|
664 |
|
|
wire cpx_spc_data_cx3_b88; // From ff_cpx of cpx_spc_rpt.v
|
665 |
|
|
wire cpx_spc_data_cx3_b91; // From ff_cpx of cpx_spc_rpt.v
|
666 |
|
|
wire cpx_spc_data_cx3_b94; // From ff_cpx of cpx_spc_rpt.v
|
667 |
|
|
wire cpx_spc_data_cx3_b97; // From ff_cpx of cpx_spc_rpt.v
|
668 |
|
|
wire lsu_ffu_st_dtlb_perr_g;
|
669 |
|
|
wire spu_tlu_rsrv_illgl_m;
|
670 |
|
|
|
671 |
|
|
|
672 |
|
|
|
673 |
|
|
cpx_spc_buf buf_cpx (/*AUTOINST*/
|
674 |
|
|
// Outputs
|
675 |
|
|
.cpx_spc_data_cx2_buf(cpx_spc_data_cx2_buf[`CPX_WIDTH-1:0]),
|
676 |
|
|
.cpx_spc_data_rdy_cx2_buf(cpx_spc_data_rdy_cx2_buf),
|
677 |
|
|
// Inputs
|
678 |
|
|
.cpx_spc_data_cx2(cpx_spc_data_cx2[`CPX_WIDTH-1:0]),
|
679 |
|
|
.cpx_spc_data_rdy_cx2(cpx_spc_data_rdy_cx2));
|
680 |
|
|
|
681 |
|
|
/* cpx_spc_rpt AUTO_TEMPLATE (
|
682 |
|
|
.cpx_spc_data_cx2(cpx_spc_data_cx2_buf[`CPX_WIDTH-1:0]),
|
683 |
|
|
.cpx_spc_data_rdy_cx2(cpx_spc_data_rdy_cx2_buf),
|
684 |
|
|
.si (short_scan0_6),
|
685 |
|
|
.so (scan0_1));
|
686 |
|
|
*/
|
687 |
|
|
|
688 |
|
|
cpx_spc_rpt ff_cpx (
|
689 |
|
|
.cpx_spc_data_cx3_b144to140(cpx_spc_data_cx3_b144to140[`CPX_WIDTH-1:140]),
|
690 |
|
|
.cpx_spc_data_cx3_b120to118(cpx_spc_data_cx3_b120to118[`CPX_INV_CID_HI:`CPX_INV_CID_LO]),
|
691 |
|
|
.cpx_spc_data_cx3_b0(cpx_spc_data_cx3_b0),
|
692 |
|
|
.cpx_spc_data_cx3_b4(cpx_spc_data_cx3_b4),
|
693 |
|
|
.cpx_spc_data_cx3_b8(cpx_spc_data_cx3_b8),
|
694 |
|
|
.cpx_spc_data_cx3_b12(cpx_spc_data_cx3_b12),
|
695 |
|
|
.cpx_spc_data_cx3_b16(cpx_spc_data_cx3_b16),
|
696 |
|
|
.cpx_spc_data_cx3_b20(cpx_spc_data_cx3_b20),
|
697 |
|
|
.cpx_spc_data_cx3_b24(cpx_spc_data_cx3_b24),
|
698 |
|
|
.cpx_spc_data_cx3_b28(cpx_spc_data_cx3_b28),
|
699 |
|
|
.cpx_spc_data_cx3_b32(cpx_spc_data_cx3_b32),
|
700 |
|
|
.cpx_spc_data_cx3_b35(cpx_spc_data_cx3_b35),
|
701 |
|
|
.cpx_spc_data_cx3_b38(cpx_spc_data_cx3_b38),
|
702 |
|
|
.cpx_spc_data_cx3_b41(cpx_spc_data_cx3_b41),
|
703 |
|
|
.cpx_spc_data_cx3_b44(cpx_spc_data_cx3_b44),
|
704 |
|
|
.cpx_spc_data_cx3_b47(cpx_spc_data_cx3_b47),
|
705 |
|
|
.cpx_spc_data_cx3_b50(cpx_spc_data_cx3_b50),
|
706 |
|
|
.cpx_spc_data_cx3_b53(cpx_spc_data_cx3_b53),
|
707 |
|
|
.cpx_spc_data_cx3_b56(cpx_spc_data_cx3_b56),
|
708 |
|
|
.cpx_spc_data_cx3_b60(cpx_spc_data_cx3_b60),
|
709 |
|
|
.cpx_spc_data_cx3_b64(cpx_spc_data_cx3_b64),
|
710 |
|
|
.cpx_spc_data_cx3_b68(cpx_spc_data_cx3_b68),
|
711 |
|
|
.cpx_spc_data_cx3_b72(cpx_spc_data_cx3_b72),
|
712 |
|
|
.cpx_spc_data_cx3_b76(cpx_spc_data_cx3_b76),
|
713 |
|
|
.cpx_spc_data_cx3_b80(cpx_spc_data_cx3_b80),
|
714 |
|
|
.cpx_spc_data_cx3_b84(cpx_spc_data_cx3_b84),
|
715 |
|
|
.cpx_spc_data_cx3_b88(cpx_spc_data_cx3_b88),
|
716 |
|
|
.cpx_spc_data_cx3_b91(cpx_spc_data_cx3_b91),
|
717 |
|
|
.cpx_spc_data_cx3_b94(cpx_spc_data_cx3_b94),
|
718 |
|
|
.cpx_spc_data_cx3_b97(cpx_spc_data_cx3_b97),
|
719 |
|
|
.cpx_spc_data_cx3_b100(cpx_spc_data_cx3_b100),
|
720 |
|
|
.cpx_spc_data_cx3_b103(cpx_spc_data_cx3_b103),
|
721 |
|
|
.cpx_spc_data_cx3_b106(cpx_spc_data_cx3_b106),
|
722 |
|
|
.cpx_spc_data_cx3_b109(cpx_spc_data_cx3_b109),
|
723 |
|
|
|
724 |
|
|
/*AUTOINST*/
|
725 |
|
|
// Outputs
|
726 |
|
|
.so (scan0_1), // Templated
|
727 |
|
|
.cpx_spc_data_cx3(cpx_spc_data_cx3[`CPX_WIDTH-1:0]),
|
728 |
|
|
.cpx_spc_data_rdy_cx3(cpx_spc_data_rdy_cx3),
|
729 |
|
|
// Inputs
|
730 |
|
|
.rclk (rclk),
|
731 |
|
|
.si (short_scan0_6), // Templated
|
732 |
|
|
.se (se),
|
733 |
|
|
.cpx_spc_data_cx2(cpx_spc_data_cx2_buf[`CPX_WIDTH-1:0]), // Templated
|
734 |
|
|
.cpx_spc_data_rdy_cx2(cpx_spc_data_rdy_cx2_buf)); // Templated
|
735 |
|
|
|
736 |
|
|
`ifdef FPGA_SYN_NO_SPU
|
737 |
|
|
|
738 |
|
|
sparc_ifu ifu(
|
739 |
|
|
// scan
|
740 |
|
|
.short_si0 (spc_scanin0),
|
741 |
|
|
.short_si1 (spc_scanin1),
|
742 |
|
|
.short_so0 (short_scan0_1),
|
743 |
|
|
.short_so1 (short_scan1_1),
|
744 |
|
|
.si0 (scan0_1),
|
745 |
|
|
.so0 (scan0_2),
|
746 |
|
|
// reset stuff and clk
|
747 |
|
|
.grst_l (spc_grst_l),
|
748 |
|
|
.arst_l (cmp_arst_l),
|
749 |
|
|
.gdbginit_l (spc_dbginit_l),
|
750 |
|
|
|
751 |
|
|
// quad ldst disabled
|
752 |
|
|
.lsu_ifu_quad_asi_e (1'b0),
|
753 |
|
|
|
754 |
|
|
// tlb on condition changes with hypervisor
|
755 |
|
|
// itlb_en is the bit from the lsu control register
|
756 |
|
|
// with no additional logic
|
757 |
|
|
.lsu_ifu_addr_real_l (lsu_ifu_itlb_en[3:0]),
|
758 |
|
|
|
759 |
|
|
// name change
|
760 |
|
|
.lsu_ifu_dtlb_data_ue (lsu_ifu_tlb_data_ue),
|
761 |
|
|
.lsu_ifu_dtlb_tag_ue (lsu_ifu_tlb_tag_ue),
|
762 |
|
|
.lsu_ifu_dtlb_data_su (lsu_ifu_tlb_data_su),
|
763 |
|
|
|
764 |
|
|
.tlu_ifu_hintp_vld (tlu_hintp_vld[3:0]),
|
765 |
|
|
.tlu_ifu_rerr_vld (tlu_rerr_vld[3:0]),
|
766 |
|
|
|
767 |
|
|
.lsu_ifu_t0_tlz (tlu_lsu_tl_zero[0]),
|
768 |
|
|
.lsu_ifu_t1_tlz (tlu_lsu_tl_zero[1]),
|
769 |
|
|
.lsu_ifu_t2_tlz (tlu_lsu_tl_zero[2]),
|
770 |
|
|
.lsu_ifu_t3_tlz (tlu_lsu_tl_zero[3]),
|
771 |
|
|
|
772 |
|
|
.lsu_ifu_ldst_miss_g (lsu_ifu_ldst_miss_w),
|
773 |
|
|
.tlu_ifu_flush_pipe_w (lsu_ifu_flush_pipe_w),
|
774 |
|
|
|
775 |
|
|
.lsu_idtlb_mrgn (lsu_itlb_mrgn[7:0]),
|
776 |
|
|
|
777 |
|
|
.mbist_loop_on_address (mbist_loop_on_addr),
|
778 |
|
|
|
779 |
|
|
.tlu_sscan_data (tlu_sscan_test_data[62:0]),
|
780 |
|
|
.sparc_sscan_so (spc_sscan_so),
|
781 |
|
|
.ifu_tlu_imm_asi_d (ifu_tlu_imm_asi_d[8:0]),
|
782 |
|
|
|
783 |
|
|
// bus width difference
|
784 |
|
|
.lsu_ifu_cpxpkt_i1 ({lsu_ifu_cpxpkt_vld_i1,
|
785 |
|
|
lsu_ifu_cpxpkt_i1[`CPX_VLD-1:0]}),
|
786 |
|
|
|
787 |
|
|
/*AUTOINST*/
|
788 |
|
|
// Outputs
|
789 |
|
|
.ifu_exu_addr_mask_d (ifu_exu_addr_mask_d),
|
790 |
|
|
.ifu_tlu_inst_vld_w (ifu_tlu_inst_vld_w),
|
791 |
|
|
.ifu_tlu_flush_w (ifu_tlu_flush_w),
|
792 |
|
|
.ifu_lsu_alt_space_e (ifu_lsu_alt_space_e),
|
793 |
|
|
.ifu_tlu_ttype_vld_m (ifu_tlu_ttype_vld_m),
|
794 |
|
|
.ifu_exu_muldivop_d (ifu_exu_muldivop_d[4:0]),
|
795 |
|
|
.ifu_lsu_thrid_s (ifu_lsu_thrid_s[1:0]),
|
796 |
|
|
.mbist_write_data (mbist_write_data[7:0]),
|
797 |
|
|
.ifu_exu_aluop_d (ifu_exu_aluop_d[2:0]),
|
798 |
|
|
.ifu_exu_casa_d (ifu_exu_casa_d),
|
799 |
|
|
.ifu_exu_dbrinst_d (ifu_exu_dbrinst_d),
|
800 |
|
|
.ifu_exu_disable_ce_e (ifu_exu_disable_ce_e),
|
801 |
|
|
.ifu_exu_dontmv_regz0_e(ifu_exu_dontmv_regz0_e),
|
802 |
|
|
.ifu_exu_dontmv_regz1_e(ifu_exu_dontmv_regz1_e),
|
803 |
|
|
.ifu_exu_ecc_mask (ifu_exu_ecc_mask[7:0]),
|
804 |
|
|
.ifu_exu_enshift_d (ifu_exu_enshift_d),
|
805 |
|
|
.ifu_exu_flushw_e (ifu_exu_flushw_e),
|
806 |
|
|
.ifu_exu_ialign_d (ifu_exu_ialign_d),
|
807 |
|
|
.ifu_exu_imm_data_d (ifu_exu_imm_data_d[31:0]),
|
808 |
|
|
.ifu_exu_inj_irferr (ifu_exu_inj_irferr),
|
809 |
|
|
.ifu_exu_inst_vld_e (ifu_exu_inst_vld_e),
|
810 |
|
|
.ifu_exu_inst_vld_w (ifu_exu_inst_vld_w),
|
811 |
|
|
.ifu_exu_invert_d (ifu_exu_invert_d),
|
812 |
|
|
.ifu_exu_kill_e (ifu_exu_kill_e),
|
813 |
|
|
.ifu_exu_muls_d (ifu_exu_muls_d),
|
814 |
|
|
.ifu_exu_nceen_e (ifu_exu_nceen_e),
|
815 |
|
|
.ifu_exu_pc_d (ifu_exu_pc_d[47:0]),
|
816 |
|
|
.ifu_exu_pcver_e (ifu_exu_pcver_e[63:0]),
|
817 |
|
|
.ifu_exu_range_check_jlret_d(ifu_exu_range_check_jlret_d),
|
818 |
|
|
.ifu_exu_range_check_other_d(ifu_exu_range_check_other_d),
|
819 |
|
|
.ifu_exu_rd_d (ifu_exu_rd_d[4:0]),
|
820 |
|
|
.ifu_exu_rd_exusr_e (ifu_exu_rd_exusr_e),
|
821 |
|
|
.ifu_exu_rd_ffusr_e (ifu_exu_rd_ffusr_e),
|
822 |
|
|
.ifu_exu_rd_ifusr_e (ifu_exu_rd_ifusr_e),
|
823 |
|
|
.ifu_exu_ren1_s (ifu_exu_ren1_s),
|
824 |
|
|
.ifu_exu_ren2_s (ifu_exu_ren2_s),
|
825 |
|
|
.ifu_exu_ren3_s (ifu_exu_ren3_s),
|
826 |
|
|
.ifu_exu_restore_d (ifu_exu_restore_d),
|
827 |
|
|
.ifu_exu_restored_e (ifu_exu_restored_e),
|
828 |
|
|
.ifu_exu_return_d (ifu_exu_return_d),
|
829 |
|
|
.ifu_exu_rs1_s (ifu_exu_rs1_s[4:0]),
|
830 |
|
|
.ifu_exu_rs1_vld_d (ifu_exu_rs1_vld_d),
|
831 |
|
|
.ifu_exu_rs2_s (ifu_exu_rs2_s[4:0]),
|
832 |
|
|
.ifu_exu_rs2_vld_d (ifu_exu_rs2_vld_d),
|
833 |
|
|
.ifu_exu_rs3_s (ifu_exu_rs3_s[4:0]),
|
834 |
|
|
.ifu_exu_rs3e_vld_d (ifu_exu_rs3e_vld_d),
|
835 |
|
|
.ifu_exu_rs3o_vld_d (ifu_exu_rs3o_vld_d),
|
836 |
|
|
.ifu_exu_save_d (ifu_exu_save_d),
|
837 |
|
|
.ifu_exu_saved_e (ifu_exu_saved_e),
|
838 |
|
|
.ifu_exu_setcc_d (ifu_exu_setcc_d),
|
839 |
|
|
.ifu_exu_sethi_inst_d (ifu_exu_sethi_inst_d),
|
840 |
|
|
.ifu_exu_shiftop_d (ifu_exu_shiftop_d[2:0]),
|
841 |
|
|
.ifu_exu_tagop_d (ifu_exu_tagop_d),
|
842 |
|
|
.ifu_exu_tcc_e (ifu_exu_tcc_e),
|
843 |
|
|
.ifu_exu_tid_s2 (ifu_exu_tid_s2[1:0]),
|
844 |
|
|
.ifu_exu_ttype_vld_m (ifu_exu_ttype_vld_m),
|
845 |
|
|
.ifu_exu_tv_d (ifu_exu_tv_d),
|
846 |
|
|
.ifu_exu_use_rsr_e_l (ifu_exu_use_rsr_e_l),
|
847 |
|
|
.ifu_exu_usecin_d (ifu_exu_usecin_d),
|
848 |
|
|
.ifu_exu_useimm_d (ifu_exu_useimm_d),
|
849 |
|
|
.ifu_exu_wen_d (ifu_exu_wen_d),
|
850 |
|
|
.ifu_exu_wsr_inst_d (ifu_exu_wsr_inst_d),
|
851 |
|
|
.ifu_ffu_fcc_num_d (ifu_ffu_fcc_num_d[1:0]),
|
852 |
|
|
.ifu_ffu_fld_d (ifu_ffu_fld_d),
|
853 |
|
|
.ifu_ffu_fpop1_d (ifu_ffu_fpop1_d),
|
854 |
|
|
.ifu_ffu_fpop2_d (ifu_ffu_fpop2_d),
|
855 |
|
|
.ifu_ffu_fpopcode_d (ifu_ffu_fpopcode_d[8:0]),
|
856 |
|
|
.ifu_ffu_frd_d (ifu_ffu_frd_d[4:0]),
|
857 |
|
|
.ifu_ffu_frs1_d (ifu_ffu_frs1_d[4:0]),
|
858 |
|
|
.ifu_ffu_frs2_d (ifu_ffu_frs2_d[4:0]),
|
859 |
|
|
.ifu_ffu_fst_d (ifu_ffu_fst_d),
|
860 |
|
|
.ifu_ffu_inj_frferr (ifu_ffu_inj_frferr),
|
861 |
|
|
.ifu_ffu_ldfsr_d (ifu_ffu_ldfsr_d),
|
862 |
|
|
.ifu_ffu_ldst_size_d (ifu_ffu_ldst_size_d),
|
863 |
|
|
.ifu_ffu_ldxfsr_d (ifu_ffu_ldxfsr_d),
|
864 |
|
|
.ifu_ffu_mvcnd_m (ifu_ffu_mvcnd_m),
|
865 |
|
|
.ifu_ffu_quad_op_e (ifu_ffu_quad_op_e),
|
866 |
|
|
.ifu_ffu_stfsr_d (ifu_ffu_stfsr_d),
|
867 |
|
|
.ifu_ffu_visop_d (ifu_ffu_visop_d),
|
868 |
|
|
.ifu_lsu_alt_space_d (ifu_lsu_alt_space_d),
|
869 |
|
|
.ifu_lsu_asi_ack (ifu_lsu_asi_ack),
|
870 |
|
|
.ifu_lsu_asi_rd_unc (ifu_lsu_asi_rd_unc),
|
871 |
|
|
.ifu_lsu_casa_e (ifu_lsu_casa_e),
|
872 |
|
|
.ifu_lsu_destid_s (ifu_lsu_destid_s[2:0]),
|
873 |
|
|
.ifu_lsu_error_inj (ifu_lsu_error_inj[3:0]),
|
874 |
|
|
.ifu_lsu_fwd_data_vld (ifu_lsu_fwd_data_vld),
|
875 |
|
|
.ifu_lsu_fwd_wr_ack (ifu_lsu_fwd_wr_ack),
|
876 |
|
|
.ifu_lsu_ibuf_busy (ifu_lsu_ibuf_busy),
|
877 |
|
|
.ifu_lsu_imm_asi_d (ifu_lsu_imm_asi_d[7:0]),
|
878 |
|
|
.ifu_lsu_imm_asi_vld_d (ifu_lsu_imm_asi_vld_d),
|
879 |
|
|
.ifu_lsu_inv_clear (ifu_lsu_inv_clear),
|
880 |
|
|
.ifu_lsu_ld_inst_e (ifu_lsu_ld_inst_e),
|
881 |
|
|
.ifu_lsu_ldst_dbl_e (ifu_lsu_ldst_dbl_e),
|
882 |
|
|
.ifu_lsu_ldst_fp_e (ifu_lsu_ldst_fp_e),
|
883 |
|
|
.ifu_lsu_ldst_size_e (ifu_lsu_ldst_size_e[1:0]),
|
884 |
|
|
.ifu_lsu_ldstub_e (ifu_lsu_ldstub_e),
|
885 |
|
|
.ifu_lsu_ldxa_data_vld_w2(ifu_lsu_ldxa_data_vld_w2),
|
886 |
|
|
.ifu_lsu_ldxa_data_w2 (ifu_lsu_ldxa_data_w2[63:0]),
|
887 |
|
|
.ifu_lsu_ldxa_illgl_va_w2(ifu_lsu_ldxa_illgl_va_w2),
|
888 |
|
|
.ifu_lsu_ldxa_tid_w2 (ifu_lsu_ldxa_tid_w2[1:0]),
|
889 |
|
|
.ifu_lsu_memref_d (ifu_lsu_memref_d),
|
890 |
|
|
.ifu_lsu_nceen (ifu_lsu_nceen[3:0]),
|
891 |
|
|
.ifu_lsu_pcxpkt_e (ifu_lsu_pcxpkt_e[51:0]),
|
892 |
|
|
.ifu_lsu_pcxreq_d (ifu_lsu_pcxreq_d),
|
893 |
|
|
.ifu_lsu_pref_inst_e (ifu_lsu_pref_inst_e),
|
894 |
|
|
.ifu_lsu_rd_e (ifu_lsu_rd_e[4:0]),
|
895 |
|
|
.ifu_lsu_sign_ext_e (ifu_lsu_sign_ext_e),
|
896 |
|
|
.ifu_lsu_st_inst_e (ifu_lsu_st_inst_e),
|
897 |
|
|
.ifu_lsu_swap_e (ifu_lsu_swap_e),
|
898 |
|
|
.ifu_lsu_wsr_inst_d (ifu_lsu_wsr_inst_d),
|
899 |
|
|
.ifu_mmu_trap_m (ifu_mmu_trap_m),
|
900 |
|
|
.ifu_spu_inst_vld_w (),
|
901 |
|
|
.ifu_spu_nceen (),
|
902 |
|
|
.ifu_spu_trap_ack (),
|
903 |
|
|
.ifu_tlu_alt_space_d (ifu_tlu_alt_space_d),
|
904 |
|
|
.ifu_tlu_done_inst_d (ifu_tlu_done_inst_d),
|
905 |
|
|
.ifu_tlu_flsh_inst_e (ifu_tlu_flsh_inst_e),
|
906 |
|
|
.ifu_tlu_flush_m (ifu_tlu_flush_m),
|
907 |
|
|
.ifu_tlu_hwint_m (ifu_tlu_hwint_m),
|
908 |
|
|
.ifu_tlu_icmiss_e (ifu_tlu_icmiss_e),
|
909 |
|
|
.ifu_tlu_immu_miss_m (ifu_tlu_immu_miss_m),
|
910 |
|
|
.ifu_tlu_inst_vld_m (ifu_tlu_inst_vld_m),
|
911 |
|
|
.ifu_tlu_itlb_done (ifu_tlu_itlb_done),
|
912 |
|
|
.ifu_tlu_l2imiss (ifu_tlu_l2imiss[3:0]),
|
913 |
|
|
.ifu_tlu_mb_inst_e (ifu_tlu_mb_inst_e),
|
914 |
|
|
.ifu_tlu_npc_m (ifu_tlu_npc_m[48:0]),
|
915 |
|
|
.ifu_tlu_pc_m (ifu_tlu_pc_m[48:0]),
|
916 |
|
|
.ifu_tlu_pc_oor_e (ifu_tlu_pc_oor_e),
|
917 |
|
|
.ifu_tlu_priv_violtn_m (ifu_tlu_priv_violtn_m),
|
918 |
|
|
.ifu_tlu_retry_inst_d (ifu_tlu_retry_inst_d),
|
919 |
|
|
.ifu_tlu_rsr_inst_d (ifu_tlu_rsr_inst_d),
|
920 |
|
|
.ifu_tlu_rstint_m (ifu_tlu_rstint_m),
|
921 |
|
|
.ifu_tlu_sftint_m (ifu_tlu_sftint_m),
|
922 |
|
|
.ifu_tlu_sir_inst_m (ifu_tlu_sir_inst_m),
|
923 |
|
|
.ifu_tlu_sraddr_d (ifu_tlu_sraddr_d[6:0]),
|
924 |
|
|
.ifu_tlu_sraddr_d_v2 (ifu_tlu_sraddr_d_v2[6:0]),
|
925 |
|
|
.ifu_tlu_thrid_d (ifu_tlu_thrid_d[1:0]),
|
926 |
|
|
.ifu_tlu_thrid_e (ifu_tlu_thrid_e[1:0]),
|
927 |
|
|
.ifu_tlu_trap_m (ifu_tlu_trap_m),
|
928 |
|
|
.ifu_tlu_ttype_m (ifu_tlu_ttype_m[8:0]),
|
929 |
|
|
.mbist_dcache_fail (mbist_dcache_fail),
|
930 |
|
|
.mbist_dcache_index (mbist_dcache_index[6:0]),
|
931 |
|
|
.mbist_dcache_read (mbist_dcache_read),
|
932 |
|
|
.mbist_dcache_way (mbist_dcache_way[1:0]),
|
933 |
|
|
.mbist_dcache_word (mbist_dcache_word),
|
934 |
|
|
.mbist_dcache_write (mbist_dcache_write),
|
935 |
|
|
.mbist_done (mbist_done),
|
936 |
|
|
.mbist_icache_fail (mbist_icache_fail),
|
937 |
|
|
.spc_efc_ifuse_data (spc_efc_ifuse_data),
|
938 |
|
|
// Inputs
|
939 |
|
|
.mem_write_disable (mem_write_disable),
|
940 |
|
|
.mux_drive_disable (mux_drive_disable),
|
941 |
|
|
.exu_tlu_wsr_data_m (exu_tlu_wsr_data_m[2:0]),
|
942 |
|
|
.lsu_ictag_mrgn (lsu_ictag_mrgn[3:0]),
|
943 |
|
|
.tlu_itlb_tte_tag_w2 (tlu_itlb_tte_tag_w2[58:0]),
|
944 |
|
|
.tlu_itlb_tte_data_w2 (tlu_itlb_tte_data_w2[42:0]),
|
945 |
|
|
.tlu_itlb_rw_index_vld_g(tlu_itlb_rw_index_vld_g),
|
946 |
|
|
.tlu_itlb_rw_index_g (tlu_itlb_rw_index_g[5:0]),
|
947 |
|
|
.tlu_idtlb_dmp_key_g (tlu_idtlb_dmp_key_g[40:0]),
|
948 |
|
|
.tlu_itlb_dmp_all_g (tlu_itlb_dmp_all_g),
|
949 |
|
|
.lsu_sscan_data (lsu_sscan_data[15:0]),
|
950 |
|
|
.const_cpuid (const_cpuid[3:0]),
|
951 |
|
|
.const_maskid (const_maskid[7:0]),
|
952 |
|
|
.ctu_sscan_se (ctu_sscan_se),
|
953 |
|
|
.ctu_sscan_snap (ctu_sscan_snap),
|
954 |
|
|
.ctu_sscan_tid (ctu_sscan_tid[3:0]),
|
955 |
|
|
.ctu_tck (ctu_tck),
|
956 |
|
|
.efc_spc_fuse_clk1 (efc_spc_fuse_clk1),
|
957 |
|
|
.efc_spc_fuse_clk2 (efc_spc_fuse_clk2),
|
958 |
|
|
.efc_spc_ifuse_ashift (efc_spc_ifuse_ashift),
|
959 |
|
|
.efc_spc_ifuse_data (efc_spc_ifuse_data),
|
960 |
|
|
.efc_spc_ifuse_dshift (efc_spc_ifuse_dshift),
|
961 |
|
|
.exu_ifu_brpc_e (exu_ifu_brpc_e[47:0]),
|
962 |
|
|
.exu_ifu_cc_d (exu_ifu_cc_d[7:0]),
|
963 |
|
|
.exu_ifu_ecc_ce_m (exu_ifu_ecc_ce_m),
|
964 |
|
|
.exu_ifu_ecc_ue_m (exu_ifu_ecc_ue_m),
|
965 |
|
|
.exu_ifu_err_reg_m (exu_ifu_err_reg_m[7:0]),
|
966 |
|
|
.exu_ifu_err_synd_m (exu_ifu_err_synd_m[7:0]),
|
967 |
|
|
.exu_ifu_inj_ack (exu_ifu_inj_ack),
|
968 |
|
|
.exu_ifu_longop_done_g (exu_ifu_longop_done_g[3:0]),
|
969 |
|
|
.exu_ifu_oddwin_s (exu_ifu_oddwin_s[3:0]),
|
970 |
|
|
.exu_ifu_regn_e (exu_ifu_regn_e),
|
971 |
|
|
.exu_ifu_regz_e (exu_ifu_regz_e),
|
972 |
|
|
.exu_ifu_spill_e (exu_ifu_spill_e),
|
973 |
|
|
.exu_ifu_va_oor_m (exu_ifu_va_oor_m),
|
974 |
|
|
.ffu_ifu_cc_vld_w2 (ffu_ifu_cc_vld_w2[3:0]),
|
975 |
|
|
.ffu_ifu_cc_w2 (ffu_ifu_cc_w2[7:0]),
|
976 |
|
|
.ffu_ifu_ecc_ce_w2 (ffu_ifu_ecc_ce_w2),
|
977 |
|
|
.ffu_ifu_ecc_ue_w2 (ffu_ifu_ecc_ue_w2),
|
978 |
|
|
.ffu_ifu_err_reg_w2 (ffu_ifu_err_reg_w2[5:0]),
|
979 |
|
|
.ffu_ifu_err_synd_w2 (ffu_ifu_err_synd_w2[13:0]),
|
980 |
|
|
.ffu_ifu_fpop_done_w2 (ffu_ifu_fpop_done_w2),
|
981 |
|
|
.ffu_ifu_fst_ce_w (ffu_ifu_fst_ce_w),
|
982 |
|
|
.ffu_ifu_inj_ack (ffu_ifu_inj_ack),
|
983 |
|
|
.ffu_ifu_stallreq (ffu_ifu_stallreq),
|
984 |
|
|
.ffu_ifu_tid_w2 (ffu_ifu_tid_w2[1:0]),
|
985 |
|
|
.lsu_ifu_asi_addr (lsu_ifu_asi_addr[17:0]),
|
986 |
|
|
.lsu_ifu_asi_load (lsu_ifu_asi_load),
|
987 |
|
|
.lsu_ifu_asi_state (lsu_ifu_asi_state[7:0]),
|
988 |
|
|
.lsu_ifu_asi_thrid (lsu_ifu_asi_thrid[1:0]),
|
989 |
|
|
.lsu_ifu_asi_vld (lsu_ifu_asi_vld),
|
990 |
|
|
.lsu_ifu_dc_parity_error_w2(lsu_ifu_dc_parity_error_w2),
|
991 |
|
|
.lsu_ifu_dcache_data_perror(lsu_ifu_dcache_data_perror),
|
992 |
|
|
.lsu_ifu_dcache_tag_perror(lsu_ifu_dcache_tag_perror),
|
993 |
|
|
.lsu_ifu_direct_map_l1 (lsu_ifu_direct_map_l1),
|
994 |
|
|
.lsu_ifu_err_addr (lsu_ifu_err_addr[47:4]),
|
995 |
|
|
.lsu_ifu_error_tid (lsu_ifu_error_tid[1:0]),
|
996 |
|
|
.lsu_ifu_icache_en (lsu_ifu_icache_en[3:0]),
|
997 |
|
|
.lsu_ifu_inj_ack (lsu_ifu_inj_ack[3:0]),
|
998 |
|
|
.lsu_ifu_io_error (lsu_ifu_io_error),
|
999 |
|
|
.lsu_ifu_l2_corr_error (lsu_ifu_l2_corr_error),
|
1000 |
|
|
.lsu_ifu_l2_unc_error (lsu_ifu_l2_unc_error),
|
1001 |
|
|
.lsu_ifu_ld_icache_index(lsu_ifu_ld_icache_index[`IC_IDX_HI:5]),
|
1002 |
|
|
.lsu_ifu_ld_pcxpkt_tid (lsu_ifu_ld_pcxpkt_tid[1:0]),
|
1003 |
|
|
.lsu_ifu_ld_pcxpkt_vld (lsu_ifu_ld_pcxpkt_vld),
|
1004 |
|
|
.lsu_ifu_ldst_cmplt (lsu_ifu_ldst_cmplt[3:0]),
|
1005 |
|
|
.lsu_ifu_ldsta_internal_e(lsu_ifu_ldsta_internal_e),
|
1006 |
|
|
.lsu_ifu_pcxpkt_ack_d (lsu_ifu_pcxpkt_ack_d),
|
1007 |
|
|
.lsu_ifu_stallreq (lsu_ifu_stallreq),
|
1008 |
|
|
.lsu_ifu_stbcnt0 (lsu_ifu_stbcnt0[3:0]),
|
1009 |
|
|
.lsu_ifu_stbcnt1 (lsu_ifu_stbcnt1[3:0]),
|
1010 |
|
|
.lsu_ifu_stbcnt2 (lsu_ifu_stbcnt2[3:0]),
|
1011 |
|
|
.lsu_ifu_stbcnt3 (lsu_ifu_stbcnt3[3:0]),
|
1012 |
|
|
.lsu_ifu_stxa_data (lsu_ifu_stxa_data[47:0]),
|
1013 |
|
|
.lsu_pid_state0 (lsu_pid_state0[2:0]),
|
1014 |
|
|
.lsu_pid_state1 (lsu_pid_state1[2:0]),
|
1015 |
|
|
.lsu_pid_state2 (lsu_pid_state2[2:0]),
|
1016 |
|
|
.lsu_pid_state3 (lsu_pid_state3[2:0]),
|
1017 |
|
|
.lsu_t0_pctxt_state (lsu_t0_pctxt_state[12:0]),
|
1018 |
|
|
.lsu_t1_pctxt_state (lsu_t1_pctxt_state[12:0]),
|
1019 |
|
|
.lsu_t2_pctxt_state (lsu_t2_pctxt_state[12:0]),
|
1020 |
|
|
.lsu_t3_pctxt_state (lsu_t3_pctxt_state[12:0]),
|
1021 |
|
|
.mbist_bisi_mode (mbist_bisi_mode),
|
1022 |
|
|
.mbist_dcache_data_in (mbist_dcache_data_in[71:0]),
|
1023 |
|
|
.mbist_loop_mode (mbist_loop_mode),
|
1024 |
|
|
.mbist_start (mbist_start),
|
1025 |
|
|
.mbist_stop_on_fail (mbist_stop_on_fail),
|
1026 |
|
|
.mbist_stop_on_next_fail(mbist_stop_on_next_fail),
|
1027 |
|
|
.mbist_userdata_mode (mbist_userdata_mode),
|
1028 |
|
|
.rclk (rclk),
|
1029 |
|
|
.se (se),
|
1030 |
|
|
.sehold (sehold),
|
1031 |
|
|
.spu_ifu_corr_err_w2 (1'b0),
|
1032 |
|
|
.spu_ifu_err_addr_w2 (36'h000000000),
|
1033 |
|
|
.spu_ifu_int_w2 (1'b0),
|
1034 |
|
|
.spu_ifu_mamem_err_w1 (1'b0),
|
1035 |
|
|
.spu_ifu_ttype_tid_w2 (2'b00),
|
1036 |
|
|
.spu_ifu_ttype_vld_w2 (1'b0),
|
1037 |
|
|
.spu_ifu_ttype_w2 (1'b0),
|
1038 |
|
|
.spu_ifu_unc_err_w1 (1'b0),
|
1039 |
|
|
.testmode_l (testmode_l),
|
1040 |
|
|
.tlu_hpstate_enb (tlu_hpstate_enb[3:0]),
|
1041 |
|
|
.tlu_hpstate_ibe (tlu_hpstate_ibe[3:0]),
|
1042 |
|
|
.tlu_hpstate_priv (tlu_hpstate_priv[3:0]),
|
1043 |
|
|
.tlu_idtlb_dmp_thrid_g (tlu_idtlb_dmp_thrid_g[1:0]),
|
1044 |
|
|
.tlu_ifu_hwint_i3 (tlu_ifu_hwint_i3[3:0]),
|
1045 |
|
|
.tlu_ifu_nukeint_i2 (tlu_ifu_nukeint_i2),
|
1046 |
|
|
.tlu_ifu_pstate_ie (tlu_ifu_pstate_ie[3:0]),
|
1047 |
|
|
.tlu_ifu_pstate_pef (tlu_ifu_pstate_pef[3:0]),
|
1048 |
|
|
.tlu_ifu_resumint_i2 (tlu_ifu_resumint_i2),
|
1049 |
|
|
.tlu_ifu_rstint_i2 (tlu_ifu_rstint_i2),
|
1050 |
|
|
.tlu_ifu_rstthr_i2 (tlu_ifu_rstthr_i2[3:0]),
|
1051 |
|
|
.tlu_ifu_sftint_vld (tlu_ifu_sftint_vld[3:0]),
|
1052 |
|
|
.tlu_ifu_trap_tid_w1 (tlu_ifu_trap_tid_w1[1:0]),
|
1053 |
|
|
.tlu_ifu_trapnpc_vld_w1(tlu_ifu_trapnpc_vld_w1),
|
1054 |
|
|
.tlu_ifu_trapnpc_w2 (tlu_ifu_trapnpc_w2[48:0]),
|
1055 |
|
|
.tlu_ifu_trappc_vld_w1 (tlu_ifu_trappc_vld_w1),
|
1056 |
|
|
.tlu_ifu_trappc_w2 (tlu_ifu_trappc_w2[48:0]),
|
1057 |
|
|
.tlu_itlb_data_rd_g (tlu_itlb_data_rd_g),
|
1058 |
|
|
.tlu_itlb_dmp_actxt_g (tlu_itlb_dmp_actxt_g),
|
1059 |
|
|
.tlu_itlb_dmp_nctxt_g (tlu_itlb_dmp_nctxt_g),
|
1060 |
|
|
.tlu_itlb_dmp_vld_g (tlu_itlb_dmp_vld_g),
|
1061 |
|
|
.tlu_itlb_invalidate_all_g(tlu_itlb_invalidate_all_g),
|
1062 |
|
|
.tlu_itlb_tag_rd_g (tlu_itlb_tag_rd_g),
|
1063 |
|
|
.tlu_itlb_wr_vld_g (tlu_itlb_wr_vld_g),
|
1064 |
|
|
.tlu_lsu_pstate_am (tlu_lsu_pstate_am[3:0]),
|
1065 |
|
|
.tlu_lsu_pstate_priv (tlu_lsu_pstate_priv[3:0]),
|
1066 |
|
|
.tlu_lsu_redmode (tlu_lsu_redmode[3:0]));
|
1067 |
|
|
|
1068 |
|
|
`else
|
1069 |
|
|
|
1070 |
|
|
sparc_ifu ifu(
|
1071 |
|
|
// scan
|
1072 |
|
|
.short_si0 (spc_scanin0),
|
1073 |
|
|
.short_si1 (spc_scanin1),
|
1074 |
|
|
.short_so0 (short_scan0_1),
|
1075 |
|
|
.short_so1 (short_scan1_1),
|
1076 |
|
|
.si0 (scan0_1),
|
1077 |
|
|
.so0 (scan0_2),
|
1078 |
|
|
// reset stuff and clk
|
1079 |
|
|
.grst_l (spc_grst_l),
|
1080 |
|
|
.arst_l (cmp_arst_l),
|
1081 |
|
|
.gdbginit_l (spc_dbginit_l),
|
1082 |
|
|
|
1083 |
|
|
// quad ldst disabled
|
1084 |
|
|
.lsu_ifu_quad_asi_e (1'b0),
|
1085 |
|
|
|
1086 |
|
|
// tlb on condition changes with hypervisor
|
1087 |
|
|
// itlb_en is the bit from the lsu control register
|
1088 |
|
|
// with no additional logic
|
1089 |
|
|
.lsu_ifu_addr_real_l (lsu_ifu_itlb_en[3:0]),
|
1090 |
|
|
|
1091 |
|
|
// name change
|
1092 |
|
|
.lsu_ifu_dtlb_data_ue (lsu_ifu_tlb_data_ue),
|
1093 |
|
|
.lsu_ifu_dtlb_tag_ue (lsu_ifu_tlb_tag_ue),
|
1094 |
|
|
.lsu_ifu_dtlb_data_su (lsu_ifu_tlb_data_su),
|
1095 |
|
|
|
1096 |
|
|
.tlu_ifu_hintp_vld (tlu_hintp_vld[3:0]),
|
1097 |
|
|
.tlu_ifu_rerr_vld (tlu_rerr_vld[3:0]),
|
1098 |
|
|
|
1099 |
|
|
.lsu_ifu_t0_tlz (tlu_lsu_tl_zero[0]),
|
1100 |
|
|
.lsu_ifu_t1_tlz (tlu_lsu_tl_zero[1]),
|
1101 |
|
|
.lsu_ifu_t2_tlz (tlu_lsu_tl_zero[2]),
|
1102 |
|
|
.lsu_ifu_t3_tlz (tlu_lsu_tl_zero[3]),
|
1103 |
|
|
|
1104 |
|
|
.lsu_ifu_ldst_miss_g (lsu_ifu_ldst_miss_w),
|
1105 |
|
|
.tlu_ifu_flush_pipe_w (lsu_ifu_flush_pipe_w),
|
1106 |
|
|
|
1107 |
|
|
.lsu_idtlb_mrgn (lsu_itlb_mrgn[7:0]),
|
1108 |
|
|
|
1109 |
|
|
.mbist_loop_on_address (mbist_loop_on_addr),
|
1110 |
|
|
|
1111 |
|
|
.tlu_sscan_data (tlu_sscan_test_data[62:0]),
|
1112 |
|
|
.sparc_sscan_so (spc_sscan_so),
|
1113 |
|
|
.ifu_tlu_imm_asi_d (ifu_tlu_imm_asi_d[8:0]),
|
1114 |
|
|
|
1115 |
|
|
// bus width difference
|
1116 |
|
|
.lsu_ifu_cpxpkt_i1 ({lsu_ifu_cpxpkt_vld_i1,
|
1117 |
|
|
lsu_ifu_cpxpkt_i1[`CPX_VLD-1:0]}),
|
1118 |
|
|
|
1119 |
|
|
/*AUTOINST*/
|
1120 |
|
|
// Outputs
|
1121 |
|
|
.ifu_exu_addr_mask_d (ifu_exu_addr_mask_d),
|
1122 |
|
|
.ifu_tlu_inst_vld_w (ifu_tlu_inst_vld_w),
|
1123 |
|
|
.ifu_tlu_flush_w (ifu_tlu_flush_w),
|
1124 |
|
|
.ifu_lsu_alt_space_e (ifu_lsu_alt_space_e),
|
1125 |
|
|
.ifu_tlu_ttype_vld_m (ifu_tlu_ttype_vld_m),
|
1126 |
|
|
.ifu_exu_muldivop_d (ifu_exu_muldivop_d[4:0]),
|
1127 |
|
|
.ifu_lsu_thrid_s (ifu_lsu_thrid_s[1:0]),
|
1128 |
|
|
.mbist_write_data (mbist_write_data[7:0]),
|
1129 |
|
|
.ifu_exu_aluop_d (ifu_exu_aluop_d[2:0]),
|
1130 |
|
|
.ifu_exu_casa_d (ifu_exu_casa_d),
|
1131 |
|
|
.ifu_exu_dbrinst_d (ifu_exu_dbrinst_d),
|
1132 |
|
|
.ifu_exu_disable_ce_e (ifu_exu_disable_ce_e),
|
1133 |
|
|
.ifu_exu_dontmv_regz0_e(ifu_exu_dontmv_regz0_e),
|
1134 |
|
|
.ifu_exu_dontmv_regz1_e(ifu_exu_dontmv_regz1_e),
|
1135 |
|
|
.ifu_exu_ecc_mask (ifu_exu_ecc_mask[7:0]),
|
1136 |
|
|
.ifu_exu_enshift_d (ifu_exu_enshift_d),
|
1137 |
|
|
.ifu_exu_flushw_e (ifu_exu_flushw_e),
|
1138 |
|
|
.ifu_exu_ialign_d (ifu_exu_ialign_d),
|
1139 |
|
|
.ifu_exu_imm_data_d (ifu_exu_imm_data_d[31:0]),
|
1140 |
|
|
.ifu_exu_inj_irferr (ifu_exu_inj_irferr),
|
1141 |
|
|
.ifu_exu_inst_vld_e (ifu_exu_inst_vld_e),
|
1142 |
|
|
.ifu_exu_inst_vld_w (ifu_exu_inst_vld_w),
|
1143 |
|
|
.ifu_exu_invert_d (ifu_exu_invert_d),
|
1144 |
|
|
.ifu_exu_kill_e (ifu_exu_kill_e),
|
1145 |
|
|
.ifu_exu_muls_d (ifu_exu_muls_d),
|
1146 |
|
|
.ifu_exu_nceen_e (ifu_exu_nceen_e),
|
1147 |
|
|
.ifu_exu_pc_d (ifu_exu_pc_d[47:0]),
|
1148 |
|
|
.ifu_exu_pcver_e (ifu_exu_pcver_e[63:0]),
|
1149 |
|
|
.ifu_exu_range_check_jlret_d(ifu_exu_range_check_jlret_d),
|
1150 |
|
|
.ifu_exu_range_check_other_d(ifu_exu_range_check_other_d),
|
1151 |
|
|
.ifu_exu_rd_d (ifu_exu_rd_d[4:0]),
|
1152 |
|
|
.ifu_exu_rd_exusr_e (ifu_exu_rd_exusr_e),
|
1153 |
|
|
.ifu_exu_rd_ffusr_e (ifu_exu_rd_ffusr_e),
|
1154 |
|
|
.ifu_exu_rd_ifusr_e (ifu_exu_rd_ifusr_e),
|
1155 |
|
|
.ifu_exu_ren1_s (ifu_exu_ren1_s),
|
1156 |
|
|
.ifu_exu_ren2_s (ifu_exu_ren2_s),
|
1157 |
|
|
.ifu_exu_ren3_s (ifu_exu_ren3_s),
|
1158 |
|
|
.ifu_exu_restore_d (ifu_exu_restore_d),
|
1159 |
|
|
.ifu_exu_restored_e (ifu_exu_restored_e),
|
1160 |
|
|
.ifu_exu_return_d (ifu_exu_return_d),
|
1161 |
|
|
.ifu_exu_rs1_s (ifu_exu_rs1_s[4:0]),
|
1162 |
|
|
.ifu_exu_rs1_vld_d (ifu_exu_rs1_vld_d),
|
1163 |
|
|
.ifu_exu_rs2_s (ifu_exu_rs2_s[4:0]),
|
1164 |
|
|
.ifu_exu_rs2_vld_d (ifu_exu_rs2_vld_d),
|
1165 |
|
|
.ifu_exu_rs3_s (ifu_exu_rs3_s[4:0]),
|
1166 |
|
|
.ifu_exu_rs3e_vld_d (ifu_exu_rs3e_vld_d),
|
1167 |
|
|
.ifu_exu_rs3o_vld_d (ifu_exu_rs3o_vld_d),
|
1168 |
|
|
.ifu_exu_save_d (ifu_exu_save_d),
|
1169 |
|
|
.ifu_exu_saved_e (ifu_exu_saved_e),
|
1170 |
|
|
.ifu_exu_setcc_d (ifu_exu_setcc_d),
|
1171 |
|
|
.ifu_exu_sethi_inst_d (ifu_exu_sethi_inst_d),
|
1172 |
|
|
.ifu_exu_shiftop_d (ifu_exu_shiftop_d[2:0]),
|
1173 |
|
|
.ifu_exu_tagop_d (ifu_exu_tagop_d),
|
1174 |
|
|
.ifu_exu_tcc_e (ifu_exu_tcc_e),
|
1175 |
|
|
.ifu_exu_tid_s2 (ifu_exu_tid_s2[1:0]),
|
1176 |
|
|
.ifu_exu_ttype_vld_m (ifu_exu_ttype_vld_m),
|
1177 |
|
|
.ifu_exu_tv_d (ifu_exu_tv_d),
|
1178 |
|
|
.ifu_exu_use_rsr_e_l (ifu_exu_use_rsr_e_l),
|
1179 |
|
|
.ifu_exu_usecin_d (ifu_exu_usecin_d),
|
1180 |
|
|
.ifu_exu_useimm_d (ifu_exu_useimm_d),
|
1181 |
|
|
.ifu_exu_wen_d (ifu_exu_wen_d),
|
1182 |
|
|
.ifu_exu_wsr_inst_d (ifu_exu_wsr_inst_d),
|
1183 |
|
|
.ifu_ffu_fcc_num_d (ifu_ffu_fcc_num_d[1:0]),
|
1184 |
|
|
.ifu_ffu_fld_d (ifu_ffu_fld_d),
|
1185 |
|
|
.ifu_ffu_fpop1_d (ifu_ffu_fpop1_d),
|
1186 |
|
|
.ifu_ffu_fpop2_d (ifu_ffu_fpop2_d),
|
1187 |
|
|
.ifu_ffu_fpopcode_d (ifu_ffu_fpopcode_d[8:0]),
|
1188 |
|
|
.ifu_ffu_frd_d (ifu_ffu_frd_d[4:0]),
|
1189 |
|
|
.ifu_ffu_frs1_d (ifu_ffu_frs1_d[4:0]),
|
1190 |
|
|
.ifu_ffu_frs2_d (ifu_ffu_frs2_d[4:0]),
|
1191 |
|
|
.ifu_ffu_fst_d (ifu_ffu_fst_d),
|
1192 |
|
|
.ifu_ffu_inj_frferr (ifu_ffu_inj_frferr),
|
1193 |
|
|
.ifu_ffu_ldfsr_d (ifu_ffu_ldfsr_d),
|
1194 |
|
|
.ifu_ffu_ldst_size_d (ifu_ffu_ldst_size_d),
|
1195 |
|
|
.ifu_ffu_ldxfsr_d (ifu_ffu_ldxfsr_d),
|
1196 |
|
|
.ifu_ffu_mvcnd_m (ifu_ffu_mvcnd_m),
|
1197 |
|
|
.ifu_ffu_quad_op_e (ifu_ffu_quad_op_e),
|
1198 |
|
|
.ifu_ffu_stfsr_d (ifu_ffu_stfsr_d),
|
1199 |
|
|
.ifu_ffu_visop_d (ifu_ffu_visop_d),
|
1200 |
|
|
.ifu_lsu_alt_space_d (ifu_lsu_alt_space_d),
|
1201 |
|
|
.ifu_lsu_asi_ack (ifu_lsu_asi_ack),
|
1202 |
|
|
.ifu_lsu_asi_rd_unc (ifu_lsu_asi_rd_unc),
|
1203 |
|
|
.ifu_lsu_casa_e (ifu_lsu_casa_e),
|
1204 |
|
|
.ifu_lsu_destid_s (ifu_lsu_destid_s[2:0]),
|
1205 |
|
|
.ifu_lsu_error_inj (ifu_lsu_error_inj[3:0]),
|
1206 |
|
|
.ifu_lsu_fwd_data_vld (ifu_lsu_fwd_data_vld),
|
1207 |
|
|
.ifu_lsu_fwd_wr_ack (ifu_lsu_fwd_wr_ack),
|
1208 |
|
|
.ifu_lsu_ibuf_busy (ifu_lsu_ibuf_busy),
|
1209 |
|
|
.ifu_lsu_imm_asi_d (ifu_lsu_imm_asi_d[7:0]),
|
1210 |
|
|
.ifu_lsu_imm_asi_vld_d (ifu_lsu_imm_asi_vld_d),
|
1211 |
|
|
.ifu_lsu_inv_clear (ifu_lsu_inv_clear),
|
1212 |
|
|
.ifu_lsu_ld_inst_e (ifu_lsu_ld_inst_e),
|
1213 |
|
|
.ifu_lsu_ldst_dbl_e (ifu_lsu_ldst_dbl_e),
|
1214 |
|
|
.ifu_lsu_ldst_fp_e (ifu_lsu_ldst_fp_e),
|
1215 |
|
|
.ifu_lsu_ldst_size_e (ifu_lsu_ldst_size_e[1:0]),
|
1216 |
|
|
.ifu_lsu_ldstub_e (ifu_lsu_ldstub_e),
|
1217 |
|
|
.ifu_lsu_ldxa_data_vld_w2(ifu_lsu_ldxa_data_vld_w2),
|
1218 |
|
|
.ifu_lsu_ldxa_data_w2 (ifu_lsu_ldxa_data_w2[63:0]),
|
1219 |
|
|
.ifu_lsu_ldxa_illgl_va_w2(ifu_lsu_ldxa_illgl_va_w2),
|
1220 |
|
|
.ifu_lsu_ldxa_tid_w2 (ifu_lsu_ldxa_tid_w2[1:0]),
|
1221 |
|
|
.ifu_lsu_memref_d (ifu_lsu_memref_d),
|
1222 |
|
|
.ifu_lsu_nceen (ifu_lsu_nceen[3:0]),
|
1223 |
|
|
.ifu_lsu_pcxpkt_e (ifu_lsu_pcxpkt_e[51:0]),
|
1224 |
|
|
.ifu_lsu_pcxreq_d (ifu_lsu_pcxreq_d),
|
1225 |
|
|
.ifu_lsu_pref_inst_e (ifu_lsu_pref_inst_e),
|
1226 |
|
|
.ifu_lsu_rd_e (ifu_lsu_rd_e[4:0]),
|
1227 |
|
|
.ifu_lsu_sign_ext_e (ifu_lsu_sign_ext_e),
|
1228 |
|
|
.ifu_lsu_st_inst_e (ifu_lsu_st_inst_e),
|
1229 |
|
|
.ifu_lsu_swap_e (ifu_lsu_swap_e),
|
1230 |
|
|
.ifu_lsu_wsr_inst_d (ifu_lsu_wsr_inst_d),
|
1231 |
|
|
.ifu_mmu_trap_m (ifu_mmu_trap_m),
|
1232 |
|
|
.ifu_spu_inst_vld_w (ifu_spu_inst_vld_w),
|
1233 |
|
|
.ifu_spu_nceen (ifu_spu_nceen[3:0]),
|
1234 |
|
|
.ifu_spu_trap_ack (ifu_spu_trap_ack),
|
1235 |
|
|
.ifu_tlu_alt_space_d (ifu_tlu_alt_space_d),
|
1236 |
|
|
.ifu_tlu_done_inst_d (ifu_tlu_done_inst_d),
|
1237 |
|
|
.ifu_tlu_flsh_inst_e (ifu_tlu_flsh_inst_e),
|
1238 |
|
|
.ifu_tlu_flush_m (ifu_tlu_flush_m),
|
1239 |
|
|
.ifu_tlu_hwint_m (ifu_tlu_hwint_m),
|
1240 |
|
|
.ifu_tlu_icmiss_e (ifu_tlu_icmiss_e),
|
1241 |
|
|
.ifu_tlu_immu_miss_m (ifu_tlu_immu_miss_m),
|
1242 |
|
|
.ifu_tlu_inst_vld_m (ifu_tlu_inst_vld_m),
|
1243 |
|
|
.ifu_tlu_itlb_done (ifu_tlu_itlb_done),
|
1244 |
|
|
.ifu_tlu_l2imiss (ifu_tlu_l2imiss[3:0]),
|
1245 |
|
|
.ifu_tlu_mb_inst_e (ifu_tlu_mb_inst_e),
|
1246 |
|
|
.ifu_tlu_npc_m (ifu_tlu_npc_m[48:0]),
|
1247 |
|
|
.ifu_tlu_pc_m (ifu_tlu_pc_m[48:0]),
|
1248 |
|
|
.ifu_tlu_pc_oor_e (ifu_tlu_pc_oor_e),
|
1249 |
|
|
.ifu_tlu_priv_violtn_m (ifu_tlu_priv_violtn_m),
|
1250 |
|
|
.ifu_tlu_retry_inst_d (ifu_tlu_retry_inst_d),
|
1251 |
|
|
.ifu_tlu_rsr_inst_d (ifu_tlu_rsr_inst_d),
|
1252 |
|
|
.ifu_tlu_rstint_m (ifu_tlu_rstint_m),
|
1253 |
|
|
.ifu_tlu_sftint_m (ifu_tlu_sftint_m),
|
1254 |
|
|
.ifu_tlu_sir_inst_m (ifu_tlu_sir_inst_m),
|
1255 |
|
|
.ifu_tlu_sraddr_d (ifu_tlu_sraddr_d[6:0]),
|
1256 |
|
|
.ifu_tlu_sraddr_d_v2 (ifu_tlu_sraddr_d_v2[6:0]),
|
1257 |
|
|
.ifu_tlu_thrid_d (ifu_tlu_thrid_d[1:0]),
|
1258 |
|
|
.ifu_tlu_thrid_e (ifu_tlu_thrid_e[1:0]),
|
1259 |
|
|
.ifu_tlu_trap_m (ifu_tlu_trap_m),
|
1260 |
|
|
.ifu_tlu_ttype_m (ifu_tlu_ttype_m[8:0]),
|
1261 |
|
|
.mbist_dcache_fail (mbist_dcache_fail),
|
1262 |
|
|
.mbist_dcache_index (mbist_dcache_index[6:0]),
|
1263 |
|
|
.mbist_dcache_read (mbist_dcache_read),
|
1264 |
|
|
.mbist_dcache_way (mbist_dcache_way[1:0]),
|
1265 |
|
|
.mbist_dcache_word (mbist_dcache_word),
|
1266 |
|
|
.mbist_dcache_write (mbist_dcache_write),
|
1267 |
|
|
.mbist_done (mbist_done),
|
1268 |
|
|
.mbist_icache_fail (mbist_icache_fail),
|
1269 |
|
|
.spc_efc_ifuse_data (spc_efc_ifuse_data),
|
1270 |
|
|
// Inputs
|
1271 |
|
|
.mem_write_disable (mem_write_disable),
|
1272 |
|
|
.mux_drive_disable (mux_drive_disable),
|
1273 |
|
|
.exu_tlu_wsr_data_m (exu_tlu_wsr_data_m[2:0]),
|
1274 |
|
|
.lsu_ictag_mrgn (lsu_ictag_mrgn[3:0]),
|
1275 |
|
|
.tlu_itlb_tte_tag_w2 (tlu_itlb_tte_tag_w2[58:0]),
|
1276 |
|
|
.tlu_itlb_tte_data_w2 (tlu_itlb_tte_data_w2[42:0]),
|
1277 |
|
|
.tlu_itlb_rw_index_vld_g(tlu_itlb_rw_index_vld_g),
|
1278 |
|
|
.tlu_itlb_rw_index_g (tlu_itlb_rw_index_g[5:0]),
|
1279 |
|
|
.tlu_idtlb_dmp_key_g (tlu_idtlb_dmp_key_g[40:0]),
|
1280 |
|
|
.tlu_itlb_dmp_all_g (tlu_itlb_dmp_all_g),
|
1281 |
|
|
.lsu_sscan_data (lsu_sscan_data[15:0]),
|
1282 |
|
|
.const_cpuid (const_cpuid[3:0]),
|
1283 |
|
|
.const_maskid (const_maskid[7:0]),
|
1284 |
|
|
.ctu_sscan_se (ctu_sscan_se),
|
1285 |
|
|
.ctu_sscan_snap (ctu_sscan_snap),
|
1286 |
|
|
.ctu_sscan_tid (ctu_sscan_tid[3:0]),
|
1287 |
|
|
.ctu_tck (ctu_tck),
|
1288 |
|
|
.efc_spc_fuse_clk1 (efc_spc_fuse_clk1),
|
1289 |
|
|
.efc_spc_fuse_clk2 (efc_spc_fuse_clk2),
|
1290 |
|
|
.efc_spc_ifuse_ashift (efc_spc_ifuse_ashift),
|
1291 |
|
|
.efc_spc_ifuse_data (efc_spc_ifuse_data),
|
1292 |
|
|
.efc_spc_ifuse_dshift (efc_spc_ifuse_dshift),
|
1293 |
|
|
.exu_ifu_brpc_e (exu_ifu_brpc_e[47:0]),
|
1294 |
|
|
.exu_ifu_cc_d (exu_ifu_cc_d[7:0]),
|
1295 |
|
|
.exu_ifu_ecc_ce_m (exu_ifu_ecc_ce_m),
|
1296 |
|
|
.exu_ifu_ecc_ue_m (exu_ifu_ecc_ue_m),
|
1297 |
|
|
.exu_ifu_err_reg_m (exu_ifu_err_reg_m[7:0]),
|
1298 |
|
|
.exu_ifu_err_synd_m (exu_ifu_err_synd_m[7:0]),
|
1299 |
|
|
.exu_ifu_inj_ack (exu_ifu_inj_ack),
|
1300 |
|
|
.exu_ifu_longop_done_g (exu_ifu_longop_done_g[3:0]),
|
1301 |
|
|
.exu_ifu_oddwin_s (exu_ifu_oddwin_s[3:0]),
|
1302 |
|
|
.exu_ifu_regn_e (exu_ifu_regn_e),
|
1303 |
|
|
.exu_ifu_regz_e (exu_ifu_regz_e),
|
1304 |
|
|
.exu_ifu_spill_e (exu_ifu_spill_e),
|
1305 |
|
|
.exu_ifu_va_oor_m (exu_ifu_va_oor_m),
|
1306 |
|
|
.ffu_ifu_cc_vld_w2 (ffu_ifu_cc_vld_w2[3:0]),
|
1307 |
|
|
.ffu_ifu_cc_w2 (ffu_ifu_cc_w2[7:0]),
|
1308 |
|
|
.ffu_ifu_ecc_ce_w2 (ffu_ifu_ecc_ce_w2),
|
1309 |
|
|
.ffu_ifu_ecc_ue_w2 (ffu_ifu_ecc_ue_w2),
|
1310 |
|
|
.ffu_ifu_err_reg_w2 (ffu_ifu_err_reg_w2[5:0]),
|
1311 |
|
|
.ffu_ifu_err_synd_w2 (ffu_ifu_err_synd_w2[13:0]),
|
1312 |
|
|
.ffu_ifu_fpop_done_w2 (ffu_ifu_fpop_done_w2),
|
1313 |
|
|
.ffu_ifu_fst_ce_w (ffu_ifu_fst_ce_w),
|
1314 |
|
|
.ffu_ifu_inj_ack (ffu_ifu_inj_ack),
|
1315 |
|
|
.ffu_ifu_stallreq (ffu_ifu_stallreq),
|
1316 |
|
|
.ffu_ifu_tid_w2 (ffu_ifu_tid_w2[1:0]),
|
1317 |
|
|
.lsu_ifu_asi_addr (lsu_ifu_asi_addr[17:0]),
|
1318 |
|
|
.lsu_ifu_asi_load (lsu_ifu_asi_load),
|
1319 |
|
|
.lsu_ifu_asi_state (lsu_ifu_asi_state[7:0]),
|
1320 |
|
|
.lsu_ifu_asi_thrid (lsu_ifu_asi_thrid[1:0]),
|
1321 |
|
|
.lsu_ifu_asi_vld (lsu_ifu_asi_vld),
|
1322 |
|
|
.lsu_ifu_dc_parity_error_w2(lsu_ifu_dc_parity_error_w2),
|
1323 |
|
|
.lsu_ifu_dcache_data_perror(lsu_ifu_dcache_data_perror),
|
1324 |
|
|
.lsu_ifu_dcache_tag_perror(lsu_ifu_dcache_tag_perror),
|
1325 |
|
|
.lsu_ifu_direct_map_l1 (lsu_ifu_direct_map_l1),
|
1326 |
|
|
.lsu_ifu_err_addr (lsu_ifu_err_addr[47:4]),
|
1327 |
|
|
.lsu_ifu_error_tid (lsu_ifu_error_tid[1:0]),
|
1328 |
|
|
.lsu_ifu_icache_en (lsu_ifu_icache_en[3:0]),
|
1329 |
|
|
.lsu_ifu_inj_ack (lsu_ifu_inj_ack[3:0]),
|
1330 |
|
|
.lsu_ifu_io_error (lsu_ifu_io_error),
|
1331 |
|
|
.lsu_ifu_l2_corr_error (lsu_ifu_l2_corr_error),
|
1332 |
|
|
.lsu_ifu_l2_unc_error (lsu_ifu_l2_unc_error),
|
1333 |
|
|
.lsu_ifu_ld_icache_index(lsu_ifu_ld_icache_index[`IC_IDX_HI:5]),
|
1334 |
|
|
.lsu_ifu_ld_pcxpkt_tid (lsu_ifu_ld_pcxpkt_tid[1:0]),
|
1335 |
|
|
.lsu_ifu_ld_pcxpkt_vld (lsu_ifu_ld_pcxpkt_vld),
|
1336 |
|
|
.lsu_ifu_ldst_cmplt (lsu_ifu_ldst_cmplt[3:0]),
|
1337 |
|
|
.lsu_ifu_ldsta_internal_e(lsu_ifu_ldsta_internal_e),
|
1338 |
|
|
.lsu_ifu_pcxpkt_ack_d (lsu_ifu_pcxpkt_ack_d),
|
1339 |
|
|
.lsu_ifu_stallreq (lsu_ifu_stallreq),
|
1340 |
|
|
.lsu_ifu_stbcnt0 (lsu_ifu_stbcnt0[3:0]),
|
1341 |
|
|
.lsu_ifu_stbcnt1 (lsu_ifu_stbcnt1[3:0]),
|
1342 |
|
|
.lsu_ifu_stbcnt2 (lsu_ifu_stbcnt2[3:0]),
|
1343 |
|
|
.lsu_ifu_stbcnt3 (lsu_ifu_stbcnt3[3:0]),
|
1344 |
|
|
.lsu_ifu_stxa_data (lsu_ifu_stxa_data[47:0]),
|
1345 |
|
|
.lsu_pid_state0 (lsu_pid_state0[2:0]),
|
1346 |
|
|
.lsu_pid_state1 (lsu_pid_state1[2:0]),
|
1347 |
|
|
.lsu_pid_state2 (lsu_pid_state2[2:0]),
|
1348 |
|
|
.lsu_pid_state3 (lsu_pid_state3[2:0]),
|
1349 |
|
|
.lsu_t0_pctxt_state (lsu_t0_pctxt_state[12:0]),
|
1350 |
|
|
.lsu_t1_pctxt_state (lsu_t1_pctxt_state[12:0]),
|
1351 |
|
|
.lsu_t2_pctxt_state (lsu_t2_pctxt_state[12:0]),
|
1352 |
|
|
.lsu_t3_pctxt_state (lsu_t3_pctxt_state[12:0]),
|
1353 |
|
|
.mbist_bisi_mode (mbist_bisi_mode),
|
1354 |
|
|
.mbist_dcache_data_in (mbist_dcache_data_in[71:0]),
|
1355 |
|
|
.mbist_loop_mode (mbist_loop_mode),
|
1356 |
|
|
.mbist_start (mbist_start),
|
1357 |
|
|
.mbist_stop_on_fail (mbist_stop_on_fail),
|
1358 |
|
|
.mbist_stop_on_next_fail(mbist_stop_on_next_fail),
|
1359 |
|
|
.mbist_userdata_mode (mbist_userdata_mode),
|
1360 |
|
|
.rclk (rclk),
|
1361 |
|
|
.se (se),
|
1362 |
|
|
.sehold (sehold),
|
1363 |
|
|
.spu_ifu_corr_err_w2 (spu_ifu_corr_err_w2),
|
1364 |
|
|
.spu_ifu_err_addr_w2 (spu_ifu_err_addr_w2[39:4]),
|
1365 |
|
|
.spu_ifu_int_w2 (spu_ifu_int_w2),
|
1366 |
|
|
.spu_ifu_mamem_err_w1 (spu_ifu_mamem_err_w1),
|
1367 |
|
|
.spu_ifu_ttype_tid_w2 (spu_ifu_ttype_tid_w2[1:0]),
|
1368 |
|
|
.spu_ifu_ttype_vld_w2 (spu_ifu_ttype_vld_w2),
|
1369 |
|
|
.spu_ifu_ttype_w2 (spu_ifu_ttype_w2),
|
1370 |
|
|
.spu_ifu_unc_err_w1 (spu_ifu_unc_err_w1),
|
1371 |
|
|
.testmode_l (testmode_l),
|
1372 |
|
|
.tlu_hpstate_enb (tlu_hpstate_enb[3:0]),
|
1373 |
|
|
.tlu_hpstate_ibe (tlu_hpstate_ibe[3:0]),
|
1374 |
|
|
.tlu_hpstate_priv (tlu_hpstate_priv[3:0]),
|
1375 |
|
|
.tlu_idtlb_dmp_thrid_g (tlu_idtlb_dmp_thrid_g[1:0]),
|
1376 |
|
|
.tlu_ifu_hwint_i3 (tlu_ifu_hwint_i3[3:0]),
|
1377 |
|
|
.tlu_ifu_nukeint_i2 (tlu_ifu_nukeint_i2),
|
1378 |
|
|
.tlu_ifu_pstate_ie (tlu_ifu_pstate_ie[3:0]),
|
1379 |
|
|
.tlu_ifu_pstate_pef (tlu_ifu_pstate_pef[3:0]),
|
1380 |
|
|
.tlu_ifu_resumint_i2 (tlu_ifu_resumint_i2),
|
1381 |
|
|
.tlu_ifu_rstint_i2 (tlu_ifu_rstint_i2),
|
1382 |
|
|
.tlu_ifu_rstthr_i2 (tlu_ifu_rstthr_i2[3:0]),
|
1383 |
|
|
.tlu_ifu_sftint_vld (tlu_ifu_sftint_vld[3:0]),
|
1384 |
|
|
.tlu_ifu_trap_tid_w1 (tlu_ifu_trap_tid_w1[1:0]),
|
1385 |
|
|
.tlu_ifu_trapnpc_vld_w1(tlu_ifu_trapnpc_vld_w1),
|
1386 |
|
|
.tlu_ifu_trapnpc_w2 (tlu_ifu_trapnpc_w2[48:0]),
|
1387 |
|
|
.tlu_ifu_trappc_vld_w1 (tlu_ifu_trappc_vld_w1),
|
1388 |
|
|
.tlu_ifu_trappc_w2 (tlu_ifu_trappc_w2[48:0]),
|
1389 |
|
|
.tlu_itlb_data_rd_g (tlu_itlb_data_rd_g),
|
1390 |
|
|
.tlu_itlb_dmp_actxt_g (tlu_itlb_dmp_actxt_g),
|
1391 |
|
|
.tlu_itlb_dmp_nctxt_g (tlu_itlb_dmp_nctxt_g),
|
1392 |
|
|
.tlu_itlb_dmp_vld_g (tlu_itlb_dmp_vld_g),
|
1393 |
|
|
.tlu_itlb_invalidate_all_g(tlu_itlb_invalidate_all_g),
|
1394 |
|
|
.tlu_itlb_tag_rd_g (tlu_itlb_tag_rd_g),
|
1395 |
|
|
.tlu_itlb_wr_vld_g (tlu_itlb_wr_vld_g),
|
1396 |
|
|
.tlu_lsu_pstate_am (tlu_lsu_pstate_am[3:0]),
|
1397 |
|
|
.tlu_lsu_pstate_priv (tlu_lsu_pstate_priv[3:0]),
|
1398 |
|
|
.tlu_lsu_redmode (tlu_lsu_redmode[3:0]));
|
1399 |
|
|
|
1400 |
|
|
`endif // `ifdef FPGA_SYN_NO_SPU
|
1401 |
|
|
|
1402 |
|
|
|
1403 |
|
|
`ifdef FPGA_SYN_NO_SPU
|
1404 |
|
|
|
1405 |
|
|
lsu lsu(
|
1406 |
|
|
// temp - name change
|
1407 |
|
|
.ifu_tlu_wsr_inst_d (ifu_lsu_wsr_inst_d),
|
1408 |
|
|
// eco 6529 .
|
1409 |
|
|
.lsu_ffu_st_dtlb_perr_g (lsu_ffu_st_dtlb_perr_g),
|
1410 |
|
|
// Bug 4799.
|
1411 |
|
|
.tlu_lsu_priv_trap_m (tlu_lsu_priv_trap_m),
|
1412 |
|
|
|
1413 |
|
|
.short_si0 (short_scan0_1),
|
1414 |
|
|
.short_si1 (short_scan1_1),
|
1415 |
|
|
.short_so0 (short_scan0_2),
|
1416 |
|
|
.short_so1 (short_scan1_2),
|
1417 |
|
|
.si0 (scan0_3),
|
1418 |
|
|
.si1 (short_scan1_4),
|
1419 |
|
|
.so0 (scan0_4),
|
1420 |
|
|
.so1 (scan1_1),
|
1421 |
|
|
// reset stuff
|
1422 |
|
|
.grst_l (spc_grst_l),
|
1423 |
|
|
.arst_l (cmp_arst_l),
|
1424 |
|
|
.clk (rclk),
|
1425 |
|
|
.lsu_exu_dfill_data_w2 (lsu_exu_dfill_data_g[63:0]),
|
1426 |
|
|
.lsu_exu_dfill_vld_w2 (lsu_exu_dfill_vld_g),
|
1427 |
|
|
.lsu_exu_ldst_miss_w2 (lsu_exu_ldst_miss_g2),
|
1428 |
|
|
//.cpx_spc_data_cx (cpx_spc_data_cx3[`CPX_WIDTH-1:0]),
|
1429 |
|
|
.cpx_spc_data_cx ({cpx_spc_data_cx3_b144to140[`CPX_WIDTH-1:140],
|
1430 |
|
|
cpx_spc_data_cx3[139:121],
|
1431 |
|
|
cpx_spc_data_cx3_b120to118[`CPX_INV_CID_HI:`CPX_INV_CID_LO],
|
1432 |
|
|
cpx_spc_data_cx3[117:110],
|
1433 |
|
|
cpx_spc_data_cx3_b109,
|
1434 |
|
|
cpx_spc_data_cx3[108:107],
|
1435 |
|
|
cpx_spc_data_cx3_b106,
|
1436 |
|
|
cpx_spc_data_cx3[105:104],
|
1437 |
|
|
cpx_spc_data_cx3_b103,
|
1438 |
|
|
cpx_spc_data_cx3[102:101],
|
1439 |
|
|
cpx_spc_data_cx3_b100,
|
1440 |
|
|
cpx_spc_data_cx3[99:98],
|
1441 |
|
|
cpx_spc_data_cx3_b97,
|
1442 |
|
|
cpx_spc_data_cx3[96:95],
|
1443 |
|
|
cpx_spc_data_cx3_b94,
|
1444 |
|
|
cpx_spc_data_cx3[93:92],
|
1445 |
|
|
cpx_spc_data_cx3_b91,
|
1446 |
|
|
cpx_spc_data_cx3[90:89],
|
1447 |
|
|
cpx_spc_data_cx3_b88,
|
1448 |
|
|
cpx_spc_data_cx3[87:85],
|
1449 |
|
|
cpx_spc_data_cx3_b84,
|
1450 |
|
|
cpx_spc_data_cx3[83:81],
|
1451 |
|
|
cpx_spc_data_cx3_b80,
|
1452 |
|
|
cpx_spc_data_cx3[79:77],
|
1453 |
|
|
cpx_spc_data_cx3_b76,
|
1454 |
|
|
cpx_spc_data_cx3[75:73],
|
1455 |
|
|
cpx_spc_data_cx3_b72,
|
1456 |
|
|
cpx_spc_data_cx3[71:69],
|
1457 |
|
|
cpx_spc_data_cx3_b68,
|
1458 |
|
|
cpx_spc_data_cx3[67:65],
|
1459 |
|
|
cpx_spc_data_cx3_b64,
|
1460 |
|
|
cpx_spc_data_cx3[63:61],
|
1461 |
|
|
cpx_spc_data_cx3_b60,
|
1462 |
|
|
cpx_spc_data_cx3[59:57],
|
1463 |
|
|
cpx_spc_data_cx3_b56,
|
1464 |
|
|
cpx_spc_data_cx3[55:54],
|
1465 |
|
|
cpx_spc_data_cx3_b53,
|
1466 |
|
|
cpx_spc_data_cx3[52:51],
|
1467 |
|
|
cpx_spc_data_cx3_b50,
|
1468 |
|
|
cpx_spc_data_cx3[49:48],
|
1469 |
|
|
cpx_spc_data_cx3_b47,
|
1470 |
|
|
cpx_spc_data_cx3[46:45],
|
1471 |
|
|
cpx_spc_data_cx3_b44,
|
1472 |
|
|
cpx_spc_data_cx3[43:42],
|
1473 |
|
|
cpx_spc_data_cx3_b41,
|
1474 |
|
|
cpx_spc_data_cx3[40:39],
|
1475 |
|
|
cpx_spc_data_cx3_b38,
|
1476 |
|
|
cpx_spc_data_cx3[37:36],
|
1477 |
|
|
cpx_spc_data_cx3_b35,
|
1478 |
|
|
cpx_spc_data_cx3[34:33],
|
1479 |
|
|
cpx_spc_data_cx3_b32,
|
1480 |
|
|
cpx_spc_data_cx3[31:29],
|
1481 |
|
|
cpx_spc_data_cx3_b28,
|
1482 |
|
|
cpx_spc_data_cx3[27:25],
|
1483 |
|
|
cpx_spc_data_cx3_b24,
|
1484 |
|
|
cpx_spc_data_cx3[23:21],
|
1485 |
|
|
cpx_spc_data_cx3_b20,
|
1486 |
|
|
cpx_spc_data_cx3[19:17],
|
1487 |
|
|
cpx_spc_data_cx3_b16,
|
1488 |
|
|
cpx_spc_data_cx3[15:13],
|
1489 |
|
|
cpx_spc_data_cx3_b12,
|
1490 |
|
|
cpx_spc_data_cx3[11:9],
|
1491 |
|
|
cpx_spc_data_cx3_b8,
|
1492 |
|
|
cpx_spc_data_cx3[7:5],
|
1493 |
|
|
cpx_spc_data_cx3_b4,
|
1494 |
|
|
cpx_spc_data_cx3[3:1],
|
1495 |
|
|
cpx_spc_data_cx3_b0}),
|
1496 |
|
|
.exu_tlu_wsr_data_m (exu_tlu_wsr_data_m[7:0]),
|
1497 |
|
|
|
1498 |
|
|
// Hypervisor related
|
1499 |
|
|
.tlu_lsu_hpv_priv (tlu_hpstate_priv[3:0]),
|
1500 |
|
|
.tlu_lsu_hpstate_en (tlu_hpstate_enb[3:0]),
|
1501 |
|
|
|
1502 |
|
|
.spu_lsu_int_w2 (1'b0),
|
1503 |
|
|
.gdbginit_l (spc_dbginit_l),
|
1504 |
|
|
/*AUTOINST*/
|
1505 |
|
|
// Outputs
|
1506 |
|
|
.bist_ctl_reg_in (bist_ctl_reg_in[6:0]),
|
1507 |
|
|
.bist_ctl_reg_wr_en (bist_ctl_reg_wr_en),
|
1508 |
|
|
.ifu_tlu_flush_fd2_w (ifu_tlu_flush_fd2_w),
|
1509 |
|
|
.ifu_tlu_flush_fd3_w (ifu_tlu_flush_fd3_w),
|
1510 |
|
|
.ifu_tlu_flush_fd_w (ifu_tlu_flush_fd_w),
|
1511 |
|
|
.lsu_asi_reg0 (lsu_asi_reg0[7:0]),
|
1512 |
|
|
.lsu_asi_reg1 (lsu_asi_reg1[7:0]),
|
1513 |
|
|
.lsu_asi_reg2 (lsu_asi_reg2[7:0]),
|
1514 |
|
|
.lsu_asi_reg3 (lsu_asi_reg3[7:0]),
|
1515 |
|
|
.lsu_dmmu_sfsr_trp_wr (lsu_dmmu_sfsr_trp_wr[3:0]),
|
1516 |
|
|
.lsu_dsfsr_din_g (lsu_dsfsr_din_g[23:0]),
|
1517 |
|
|
.lsu_exu_flush_pipe_w (lsu_exu_flush_pipe_w),
|
1518 |
|
|
.lsu_exu_rd_m (lsu_exu_rd_m[4:0]),
|
1519 |
|
|
.lsu_exu_st_dtlb_perr_g (lsu_exu_st_dtlb_perr_g),
|
1520 |
|
|
.lsu_exu_thr_m (lsu_exu_thr_m[1:0]),
|
1521 |
|
|
.lsu_ffu_ack (lsu_ffu_ack),
|
1522 |
|
|
.lsu_ffu_blk_asi_e (lsu_ffu_blk_asi_e),
|
1523 |
|
|
.lsu_ffu_flush_pipe_w (lsu_ffu_flush_pipe_w),
|
1524 |
|
|
.lsu_ffu_ld_data (lsu_ffu_ld_data[63:0]),
|
1525 |
|
|
.lsu_ffu_ld_vld (lsu_ffu_ld_vld),
|
1526 |
|
|
.lsu_ffu_stb_full0 (lsu_ffu_stb_full0),
|
1527 |
|
|
.lsu_ffu_stb_full1 (lsu_ffu_stb_full1),
|
1528 |
|
|
.lsu_ffu_stb_full2 (lsu_ffu_stb_full2),
|
1529 |
|
|
.lsu_ffu_stb_full3 (lsu_ffu_stb_full3),
|
1530 |
|
|
.lsu_ictag_mrgn (lsu_ictag_mrgn[3:0]),
|
1531 |
|
|
.lsu_ifu_asi_addr (lsu_ifu_asi_addr[17:0]),
|
1532 |
|
|
.lsu_ifu_asi_load (lsu_ifu_asi_load),
|
1533 |
|
|
.lsu_ifu_asi_state (lsu_ifu_asi_state[7:0]),
|
1534 |
|
|
.lsu_ifu_asi_thrid (lsu_ifu_asi_thrid[1:0]),
|
1535 |
|
|
.lsu_ifu_asi_vld (lsu_ifu_asi_vld),
|
1536 |
|
|
.lsu_ifu_cpxpkt_i1 (lsu_ifu_cpxpkt_i1[`CPX_VLD-1:0]),
|
1537 |
|
|
.lsu_ifu_cpxpkt_vld_i1 (lsu_ifu_cpxpkt_vld_i1),
|
1538 |
|
|
.lsu_ifu_dc_parity_error_w2 (lsu_ifu_dc_parity_error_w2),
|
1539 |
|
|
.lsu_ifu_dcache_data_perror (lsu_ifu_dcache_data_perror),
|
1540 |
|
|
.lsu_ifu_dcache_tag_perror (lsu_ifu_dcache_tag_perror),
|
1541 |
|
|
.lsu_ifu_direct_map_l1 (lsu_ifu_direct_map_l1),
|
1542 |
|
|
.lsu_ifu_error_tid (lsu_ifu_error_tid[1:0]),
|
1543 |
|
|
.lsu_ifu_flush_pipe_w (lsu_ifu_flush_pipe_w),
|
1544 |
|
|
.lsu_ifu_icache_en (lsu_ifu_icache_en[3:0]),
|
1545 |
|
|
.lsu_ifu_io_error (lsu_ifu_io_error),
|
1546 |
|
|
.lsu_ifu_itlb_en (lsu_ifu_itlb_en[3:0]),
|
1547 |
|
|
.lsu_ifu_l2_corr_error (lsu_ifu_l2_corr_error),
|
1548 |
|
|
.lsu_ifu_l2_unc_error (lsu_ifu_l2_unc_error),
|
1549 |
|
|
.lsu_ifu_ld_icache_index (lsu_ifu_ld_icache_index[11:5]),
|
1550 |
|
|
.lsu_ifu_ld_pcxpkt_tid (lsu_ifu_ld_pcxpkt_tid[1:0]),
|
1551 |
|
|
.lsu_ifu_ld_pcxpkt_vld (lsu_ifu_ld_pcxpkt_vld),
|
1552 |
|
|
.lsu_ifu_ldst_cmplt (lsu_ifu_ldst_cmplt[3:0]),
|
1553 |
|
|
.lsu_ifu_ldst_miss_w (lsu_ifu_ldst_miss_w),
|
1554 |
|
|
.lsu_ifu_ldsta_internal_e (lsu_ifu_ldsta_internal_e),
|
1555 |
|
|
.lsu_ifu_pcxpkt_ack_d (lsu_ifu_pcxpkt_ack_d),
|
1556 |
|
|
.lsu_ifu_stallreq (lsu_ifu_stallreq),
|
1557 |
|
|
.lsu_ifu_stbcnt0 (lsu_ifu_stbcnt0[3:0]),
|
1558 |
|
|
.lsu_ifu_stbcnt1 (lsu_ifu_stbcnt1[3:0]),
|
1559 |
|
|
.lsu_ifu_stbcnt2 (lsu_ifu_stbcnt2[3:0]),
|
1560 |
|
|
.lsu_ifu_stbcnt3 (lsu_ifu_stbcnt3[3:0]),
|
1561 |
|
|
.lsu_ifu_stxa_data (lsu_ifu_stxa_data[47:0]),
|
1562 |
|
|
.lsu_ifu_tlb_data_su (lsu_ifu_tlb_data_su),
|
1563 |
|
|
.lsu_ifu_tlb_data_ue (lsu_ifu_tlb_data_ue),
|
1564 |
|
|
.lsu_ifu_tlb_tag_ue (lsu_ifu_tlb_tag_ue),
|
1565 |
|
|
.lsu_itlb_mrgn (lsu_itlb_mrgn[7:0]),
|
1566 |
|
|
.lsu_mamem_mrgn (),
|
1567 |
|
|
.lsu_mmu_defr_trp_taken_g (lsu_mmu_defr_trp_taken_g),
|
1568 |
|
|
.lsu_mmu_flush_pipe_w (lsu_mmu_flush_pipe_w),
|
1569 |
|
|
.lsu_mmu_rs3_data_g (lsu_mmu_rs3_data_g[63:0]),
|
1570 |
|
|
.lsu_pid_state0 (lsu_pid_state0[2:0]),
|
1571 |
|
|
.lsu_pid_state1 (lsu_pid_state1[2:0]),
|
1572 |
|
|
.lsu_pid_state2 (lsu_pid_state2[2:0]),
|
1573 |
|
|
.lsu_pid_state3 (lsu_pid_state3[2:0]),
|
1574 |
|
|
.lsu_spu_asi_state_e (),
|
1575 |
|
|
.lsu_spu_early_flush_g (),
|
1576 |
|
|
.lsu_spu_ldst_ack (),
|
1577 |
|
|
.lsu_spu_stb_empty (),
|
1578 |
|
|
.lsu_spu_strm_ack_cmplt (),
|
1579 |
|
|
.lsu_t0_pctxt_state (lsu_t0_pctxt_state[12:0]),
|
1580 |
|
|
.lsu_t1_pctxt_state (lsu_t1_pctxt_state[12:0]),
|
1581 |
|
|
.lsu_t2_pctxt_state (lsu_t2_pctxt_state[12:0]),
|
1582 |
|
|
.lsu_t3_pctxt_state (lsu_t3_pctxt_state[12:0]),
|
1583 |
|
|
.lsu_tlu_async_tid_w2 (lsu_tlu_async_tid_w2[1:0]),
|
1584 |
|
|
.lsu_tlu_async_ttype_vld_w2 (lsu_tlu_async_ttype_vld_w2),
|
1585 |
|
|
.lsu_tlu_async_ttype_w2 (lsu_tlu_async_ttype_w2[6:0]),
|
1586 |
|
|
.lsu_tlu_cpx_req (lsu_tlu_cpx_req[3:0]),
|
1587 |
|
|
.lsu_tlu_cpx_vld (lsu_tlu_cpx_vld),
|
1588 |
|
|
.lsu_tlu_daccess_excptn_g (lsu_tlu_daccess_excptn_g),
|
1589 |
|
|
.lsu_tlu_dcache_miss_w2 (lsu_tlu_dcache_miss_w2[3:0]),
|
1590 |
|
|
.lsu_tlu_defr_trp_taken_g (lsu_tlu_defr_trp_taken_g),
|
1591 |
|
|
.lsu_tlu_dmmu_miss_g (lsu_tlu_dmmu_miss_g),
|
1592 |
|
|
.lsu_tlu_dside_ctxt_m (lsu_tlu_dside_ctxt_m[12:0]),
|
1593 |
|
|
.lsu_tlu_dtlb_done (lsu_tlu_dtlb_done),
|
1594 |
|
|
.lsu_tlu_early_flush2_w (lsu_tlu_early_flush2_w),
|
1595 |
|
|
.lsu_tlu_early_flush_w (lsu_tlu_early_flush_w),
|
1596 |
|
|
.lsu_tlu_intpkt (lsu_tlu_intpkt[17:0]),
|
1597 |
|
|
.lsu_tlu_l2_dmiss (lsu_tlu_l2_dmiss[3:0]),
|
1598 |
|
|
.lsu_tlu_ldst_va_m (lsu_tlu_ldst_va_m[9:0]),
|
1599 |
|
|
.lsu_tlu_misalign_addr_ldst_atm_m(lsu_tlu_misalign_addr_ldst_atm_m),
|
1600 |
|
|
.lsu_tlu_pctxt_m (lsu_tlu_pctxt_m[12:0]),
|
1601 |
|
|
.lsu_tlu_pcxpkt_ack (lsu_tlu_pcxpkt_ack),
|
1602 |
|
|
.lsu_tlu_rs3_data_g (lsu_tlu_rs3_data_g[63:0]),
|
1603 |
|
|
.lsu_tlu_rsr_data_e (lsu_tlu_rsr_data_e[7:0]),
|
1604 |
|
|
.lsu_tlu_stb_full_w2 (lsu_tlu_stb_full_w2[3:0]),
|
1605 |
|
|
.lsu_tlu_thrid_d (lsu_tlu_thrid_d[1:0]),
|
1606 |
|
|
.lsu_tlu_tlb_access_tid_m (lsu_tlu_tlb_access_tid_m[1:0]),
|
1607 |
|
|
.lsu_tlu_tlb_asi_state_m (lsu_tlu_tlb_asi_state_m[7:0]),
|
1608 |
|
|
.lsu_tlu_tlb_dmp_va_m (lsu_tlu_tlb_dmp_va_m[47:13]),
|
1609 |
|
|
.lsu_tlu_tlb_ld_inst_m (lsu_tlu_tlb_ld_inst_m),
|
1610 |
|
|
.lsu_tlu_tlb_ldst_va_m (lsu_tlu_tlb_ldst_va_m[10:0]),
|
1611 |
|
|
.lsu_tlu_tlb_st_inst_m (lsu_tlu_tlb_st_inst_m),
|
1612 |
|
|
.lsu_tlu_ttype_m2 (lsu_tlu_ttype_m2[8:0]),
|
1613 |
|
|
.lsu_tlu_ttype_vld_m2 (lsu_tlu_ttype_vld_m2),
|
1614 |
|
|
.lsu_tlu_wsr_inst_e (lsu_tlu_wsr_inst_e),
|
1615 |
|
|
.mbist_dcache_data_in (mbist_dcache_data_in[71:0]),
|
1616 |
|
|
.spc_efc_dfuse_data (spc_efc_dfuse_data),
|
1617 |
|
|
.spc_pcx_atom_pq (spc_pcx_atom_pq),
|
1618 |
|
|
.spc_pcx_data_pa (spc_pcx_data_pa[`PCX_WIDTH-1:0]),
|
1619 |
|
|
.spc_pcx_req_pq (spc_pcx_req_pq[4:0]),
|
1620 |
|
|
.lsu_asi_state (lsu_asi_state[7:0]),
|
1621 |
|
|
.lsu_ifu_err_addr (lsu_ifu_err_addr[47:4]),
|
1622 |
|
|
.lsu_sscan_data (lsu_sscan_data[15:0]),
|
1623 |
|
|
.ifu_tlu_inst_vld_m_bf1 (ifu_tlu_inst_vld_m_bf1),
|
1624 |
|
|
.lsu_ffu_bld_cnt_w (lsu_ffu_bld_cnt_w[2:0]),
|
1625 |
|
|
.lsu_tlu_nucleus_ctxt_m (lsu_tlu_nucleus_ctxt_m),
|
1626 |
|
|
.lsu_tlu_tte_pg_sz_g (lsu_tlu_tte_pg_sz_g[2:0]),
|
1627 |
|
|
.lsu_tlu_squash_va_oor_m (lsu_tlu_squash_va_oor_m),
|
1628 |
|
|
.lsu_tlu_wtchpt_trp_g (lsu_tlu_wtchpt_trp_g),
|
1629 |
|
|
.lsu_tlu_daccess_prot_g (lsu_tlu_daccess_prot_g),
|
1630 |
|
|
.lsu_tlu_priv_action_g (lsu_tlu_priv_action_g),
|
1631 |
|
|
// Inputs
|
1632 |
|
|
.bist_ctl_reg_out (bist_ctl_reg_out[10:0]),
|
1633 |
|
|
.const_cpuid (const_cpuid[2:0]),
|
1634 |
|
|
.ctu_sscan_tid (ctu_sscan_tid[3:0]),
|
1635 |
|
|
.efc_spc_dfuse_ashift (efc_spc_dfuse_ashift),
|
1636 |
|
|
.efc_spc_dfuse_data (efc_spc_dfuse_data),
|
1637 |
|
|
.efc_spc_dfuse_dshift (efc_spc_dfuse_dshift),
|
1638 |
|
|
.efc_spc_fuse_clk1 (efc_spc_fuse_clk1),
|
1639 |
|
|
.efc_spc_fuse_clk2 (efc_spc_fuse_clk2),
|
1640 |
|
|
.exu_lsu_rs2_data_e (exu_lsu_rs2_data_e[63:0]),
|
1641 |
|
|
.exu_lsu_rs3_data_e (exu_lsu_rs3_data_e[63:0]),
|
1642 |
|
|
.exu_tlu_misalign_addr_jmpl_rtn_m(exu_tlu_misalign_addr_jmpl_rtn_m),
|
1643 |
|
|
.exu_tlu_va_oor_m (exu_tlu_va_oor_m),
|
1644 |
|
|
.ffu_lsu_blk_st_e (ffu_lsu_blk_st_e),
|
1645 |
|
|
.ffu_lsu_blk_st_va_e (ffu_lsu_blk_st_va_e[5:3]),
|
1646 |
|
|
.ffu_lsu_fpop_rq_vld (ffu_lsu_fpop_rq_vld),
|
1647 |
|
|
.ffu_lsu_kill_fst_w (ffu_lsu_kill_fst_w),
|
1648 |
|
|
.ifu_lsu_alt_space_d (ifu_lsu_alt_space_d),
|
1649 |
|
|
.ifu_lsu_alt_space_e (ifu_lsu_alt_space_e),
|
1650 |
|
|
.ifu_lsu_asi_ack (ifu_lsu_asi_ack),
|
1651 |
|
|
.ifu_lsu_asi_rd_unc (ifu_lsu_asi_rd_unc),
|
1652 |
|
|
.ifu_lsu_casa_e (ifu_lsu_casa_e),
|
1653 |
|
|
.ifu_lsu_destid_s (ifu_lsu_destid_s[2:0]),
|
1654 |
|
|
.ifu_lsu_fwd_data_vld (ifu_lsu_fwd_data_vld),
|
1655 |
|
|
.ifu_lsu_fwd_wr_ack (ifu_lsu_fwd_wr_ack),
|
1656 |
|
|
.ifu_lsu_ibuf_busy (ifu_lsu_ibuf_busy),
|
1657 |
|
|
.ifu_lsu_imm_asi_d (ifu_lsu_imm_asi_d[7:0]),
|
1658 |
|
|
.ifu_lsu_imm_asi_vld_d (ifu_lsu_imm_asi_vld_d),
|
1659 |
|
|
.ifu_lsu_inv_clear (ifu_lsu_inv_clear),
|
1660 |
|
|
.ifu_lsu_ld_inst_e (ifu_lsu_ld_inst_e),
|
1661 |
|
|
.ifu_lsu_ldst_dbl_e (ifu_lsu_ldst_dbl_e),
|
1662 |
|
|
.ifu_lsu_ldst_fp_e (ifu_lsu_ldst_fp_e),
|
1663 |
|
|
.ifu_lsu_ldst_size_e (ifu_lsu_ldst_size_e[1:0]),
|
1664 |
|
|
.ifu_lsu_ldstub_e (ifu_lsu_ldstub_e),
|
1665 |
|
|
.ifu_lsu_ldxa_data_vld_w2 (ifu_lsu_ldxa_data_vld_w2),
|
1666 |
|
|
.ifu_lsu_ldxa_data_w2 (ifu_lsu_ldxa_data_w2[63:0]),
|
1667 |
|
|
.ifu_lsu_ldxa_illgl_va_w2 (ifu_lsu_ldxa_illgl_va_w2),
|
1668 |
|
|
.ifu_lsu_ldxa_tid_w2 (ifu_lsu_ldxa_tid_w2[1:0]),
|
1669 |
|
|
.ifu_lsu_memref_d (ifu_lsu_memref_d),
|
1670 |
|
|
.ifu_lsu_nceen (ifu_lsu_nceen[3:0]),
|
1671 |
|
|
.ifu_lsu_pcxpkt_e (ifu_lsu_pcxpkt_e[51:0]),
|
1672 |
|
|
.ifu_lsu_pcxreq_d (ifu_lsu_pcxreq_d),
|
1673 |
|
|
.ifu_lsu_pref_inst_e (ifu_lsu_pref_inst_e),
|
1674 |
|
|
.ifu_lsu_rd_e (ifu_lsu_rd_e[4:0]),
|
1675 |
|
|
.ifu_lsu_sign_ext_e (ifu_lsu_sign_ext_e),
|
1676 |
|
|
.ifu_lsu_st_inst_e (ifu_lsu_st_inst_e),
|
1677 |
|
|
.ifu_lsu_swap_e (ifu_lsu_swap_e),
|
1678 |
|
|
.ifu_lsu_thrid_s (ifu_lsu_thrid_s[1:0]),
|
1679 |
|
|
.ifu_tlu_flsh_inst_e (ifu_tlu_flsh_inst_e),
|
1680 |
|
|
.ifu_tlu_flush_m (ifu_tlu_flush_m),
|
1681 |
|
|
.ifu_tlu_inst_vld_m (ifu_tlu_inst_vld_m),
|
1682 |
|
|
.ifu_tlu_mb_inst_e (ifu_tlu_mb_inst_e),
|
1683 |
|
|
.ifu_tlu_sraddr_d (ifu_tlu_sraddr_d[6:0]),
|
1684 |
|
|
.ifu_tlu_thrid_e (ifu_tlu_thrid_e[1:0]),
|
1685 |
|
|
.mbist_dcache_index (mbist_dcache_index[6:0]),
|
1686 |
|
|
.mbist_dcache_read (mbist_dcache_read),
|
1687 |
|
|
.mbist_dcache_way (mbist_dcache_way[1:0]),
|
1688 |
|
|
.mbist_dcache_word (mbist_dcache_word),
|
1689 |
|
|
.mbist_dcache_write (mbist_dcache_write),
|
1690 |
|
|
.mbist_write_data (mbist_write_data[7:0]),
|
1691 |
|
|
.mem_write_disable (mem_write_disable),
|
1692 |
|
|
.mux_drive_disable (mux_drive_disable),
|
1693 |
|
|
.pcx_spc_grant_px (pcx_spc_grant_px[4:0]),
|
1694 |
|
|
.se (se),
|
1695 |
|
|
.sehold (sehold),
|
1696 |
|
|
.spu_lsu_ldxa_data_vld_w2 (1'b0),
|
1697 |
|
|
.spu_lsu_ldxa_data_w2 (64'h0000000000000000),
|
1698 |
|
|
.spu_lsu_ldxa_illgl_va_w2 (1'b0),
|
1699 |
|
|
.spu_lsu_ldxa_tid_w2 (2'b00),
|
1700 |
|
|
.spu_lsu_stxa_ack (1'b0),
|
1701 |
|
|
.spu_lsu_stxa_ack_tid (2'b00),
|
1702 |
|
|
.spu_lsu_unc_error_w2 (1'b0),
|
1703 |
|
|
.testmode_l (testmode_l),
|
1704 |
|
|
.tlu_dsfsr_flt_vld (tlu_dsfsr_flt_vld[3:0]),
|
1705 |
|
|
.tlu_dtlb_data_rd_g (tlu_dtlb_data_rd_g),
|
1706 |
|
|
.tlu_dtlb_dmp_actxt_g (tlu_dtlb_dmp_actxt_g),
|
1707 |
|
|
.tlu_dtlb_dmp_all_g (tlu_dtlb_dmp_all_g),
|
1708 |
|
|
.tlu_dtlb_dmp_nctxt_g (tlu_dtlb_dmp_nctxt_g),
|
1709 |
|
|
.tlu_dtlb_dmp_pctxt_g (tlu_dtlb_dmp_pctxt_g),
|
1710 |
|
|
.tlu_dtlb_dmp_sctxt_g (tlu_dtlb_dmp_sctxt_g),
|
1711 |
|
|
.tlu_dtlb_dmp_vld_g (tlu_dtlb_dmp_vld_g),
|
1712 |
|
|
.tlu_dtlb_invalidate_all_g (tlu_dtlb_invalidate_all_g),
|
1713 |
|
|
.tlu_dtlb_rw_index_g (tlu_dtlb_rw_index_g[5:0]),
|
1714 |
|
|
.tlu_dtlb_rw_index_vld_g (tlu_dtlb_rw_index_vld_g),
|
1715 |
|
|
.tlu_dtlb_tag_rd_g (tlu_dtlb_tag_rd_g),
|
1716 |
|
|
.tlu_dtlb_tte_data_w2 (tlu_dtlb_tte_data_w2[42:0]),
|
1717 |
|
|
.tlu_dtlb_tte_tag_w2 (tlu_dtlb_tte_tag_w2[58:0]),
|
1718 |
|
|
.tlu_early_flush_pipe2_w (tlu_early_flush_pipe2_w),
|
1719 |
|
|
.tlu_early_flush_pipe_w (tlu_early_flush_pipe_w),
|
1720 |
|
|
.tlu_exu_early_flush_pipe_w (tlu_exu_early_flush_pipe_w),
|
1721 |
|
|
.tlu_idtlb_dmp_key_g (tlu_idtlb_dmp_key_g[40:0]),
|
1722 |
|
|
.tlu_idtlb_dmp_thrid_g (tlu_idtlb_dmp_thrid_g[1:0]),
|
1723 |
|
|
.tlu_lsu_asi_m (tlu_lsu_asi_m[7:0]),
|
1724 |
|
|
.tlu_lsu_asi_update_m (tlu_lsu_asi_update_m),
|
1725 |
|
|
.tlu_lsu_int_ld_ill_va_w2 (tlu_lsu_int_ld_ill_va_w2),
|
1726 |
|
|
.tlu_lsu_int_ldxa_data_w2 (tlu_lsu_int_ldxa_data_w2[63:0]),
|
1727 |
|
|
.tlu_lsu_int_ldxa_vld_w2 (tlu_lsu_int_ldxa_vld_w2),
|
1728 |
|
|
.tlu_lsu_ldxa_async_data_vld (tlu_lsu_ldxa_async_data_vld),
|
1729 |
|
|
.tlu_lsu_ldxa_tid_w2 (tlu_lsu_ldxa_tid_w2[1:0]),
|
1730 |
|
|
.tlu_lsu_pcxpkt (tlu_lsu_pcxpkt[25:0]),
|
1731 |
|
|
.tlu_lsu_pstate_am (tlu_lsu_pstate_am[3:0]),
|
1732 |
|
|
.tlu_lsu_pstate_cle (tlu_lsu_pstate_cle[3:0]),
|
1733 |
|
|
.tlu_lsu_pstate_priv (tlu_lsu_pstate_priv[3:0]),
|
1734 |
|
|
.tlu_lsu_redmode (tlu_lsu_redmode[3:0]),
|
1735 |
|
|
.tlu_lsu_redmode_rst_d1 (tlu_lsu_redmode_rst_d1[3:0]),
|
1736 |
|
|
.tlu_lsu_stxa_ack (tlu_lsu_stxa_ack),
|
1737 |
|
|
.tlu_lsu_stxa_ack_tid (tlu_lsu_stxa_ack_tid[1:0]),
|
1738 |
|
|
.tlu_lsu_tid_m (tlu_lsu_tid_m[1:0]),
|
1739 |
|
|
.tlu_lsu_tl_zero (tlu_lsu_tl_zero[3:0]),
|
1740 |
|
|
.spu_lsu_ldst_pckt (124'h0000000000000000000000000000000),
|
1741 |
|
|
.exu_lsu_ldst_va_e (exu_lsu_ldst_va_e[47:0]),
|
1742 |
|
|
.exu_lsu_early_va_e (exu_lsu_early_va_e[10:3]),
|
1743 |
|
|
.ffu_lsu_data (ffu_lsu_data[80:0]));
|
1744 |
|
|
|
1745 |
|
|
`else
|
1746 |
|
|
|
1747 |
|
|
lsu lsu(
|
1748 |
|
|
// temp - name change
|
1749 |
|
|
.ifu_tlu_wsr_inst_d (ifu_lsu_wsr_inst_d),
|
1750 |
|
|
// eco 6529 .
|
1751 |
|
|
.lsu_ffu_st_dtlb_perr_g (lsu_ffu_st_dtlb_perr_g),
|
1752 |
|
|
// Bug 4799.
|
1753 |
|
|
.tlu_lsu_priv_trap_m (tlu_lsu_priv_trap_m),
|
1754 |
|
|
|
1755 |
|
|
.short_si0 (short_scan0_1),
|
1756 |
|
|
.short_si1 (short_scan1_1),
|
1757 |
|
|
.short_so0 (short_scan0_2),
|
1758 |
|
|
.short_so1 (short_scan1_2),
|
1759 |
|
|
.si0 (scan0_3),
|
1760 |
|
|
.si1 (short_scan1_5),
|
1761 |
|
|
.so0 (scan0_4),
|
1762 |
|
|
.so1 (scan1_1),
|
1763 |
|
|
// reset stuff
|
1764 |
|
|
.grst_l (spc_grst_l),
|
1765 |
|
|
.arst_l (cmp_arst_l),
|
1766 |
|
|
.clk (rclk),
|
1767 |
|
|
.lsu_exu_dfill_data_w2 (lsu_exu_dfill_data_g[63:0]),
|
1768 |
|
|
.lsu_exu_dfill_vld_w2 (lsu_exu_dfill_vld_g),
|
1769 |
|
|
.lsu_exu_ldst_miss_w2 (lsu_exu_ldst_miss_g2),
|
1770 |
|
|
//.cpx_spc_data_cx (cpx_spc_data_cx3[`CPX_WIDTH-1:0]),
|
1771 |
|
|
.cpx_spc_data_cx ({cpx_spc_data_cx3_b144to140[`CPX_WIDTH-1:140],
|
1772 |
|
|
cpx_spc_data_cx3[139:121],
|
1773 |
|
|
cpx_spc_data_cx3_b120to118[`CPX_INV_CID_HI:`CPX_INV_CID_LO],
|
1774 |
|
|
cpx_spc_data_cx3[117:110],
|
1775 |
|
|
cpx_spc_data_cx3_b109,
|
1776 |
|
|
cpx_spc_data_cx3[108:107],
|
1777 |
|
|
cpx_spc_data_cx3_b106,
|
1778 |
|
|
cpx_spc_data_cx3[105:104],
|
1779 |
|
|
cpx_spc_data_cx3_b103,
|
1780 |
|
|
cpx_spc_data_cx3[102:101],
|
1781 |
|
|
cpx_spc_data_cx3_b100,
|
1782 |
|
|
cpx_spc_data_cx3[99:98],
|
1783 |
|
|
cpx_spc_data_cx3_b97,
|
1784 |
|
|
cpx_spc_data_cx3[96:95],
|
1785 |
|
|
cpx_spc_data_cx3_b94,
|
1786 |
|
|
cpx_spc_data_cx3[93:92],
|
1787 |
|
|
cpx_spc_data_cx3_b91,
|
1788 |
|
|
cpx_spc_data_cx3[90:89],
|
1789 |
|
|
cpx_spc_data_cx3_b88,
|
1790 |
|
|
cpx_spc_data_cx3[87:85],
|
1791 |
|
|
cpx_spc_data_cx3_b84,
|
1792 |
|
|
cpx_spc_data_cx3[83:81],
|
1793 |
|
|
cpx_spc_data_cx3_b80,
|
1794 |
|
|
cpx_spc_data_cx3[79:77],
|
1795 |
|
|
cpx_spc_data_cx3_b76,
|
1796 |
|
|
cpx_spc_data_cx3[75:73],
|
1797 |
|
|
cpx_spc_data_cx3_b72,
|
1798 |
|
|
cpx_spc_data_cx3[71:69],
|
1799 |
|
|
cpx_spc_data_cx3_b68,
|
1800 |
|
|
cpx_spc_data_cx3[67:65],
|
1801 |
|
|
cpx_spc_data_cx3_b64,
|
1802 |
|
|
cpx_spc_data_cx3[63:61],
|
1803 |
|
|
cpx_spc_data_cx3_b60,
|
1804 |
|
|
cpx_spc_data_cx3[59:57],
|
1805 |
|
|
cpx_spc_data_cx3_b56,
|
1806 |
|
|
cpx_spc_data_cx3[55:54],
|
1807 |
|
|
cpx_spc_data_cx3_b53,
|
1808 |
|
|
cpx_spc_data_cx3[52:51],
|
1809 |
|
|
cpx_spc_data_cx3_b50,
|
1810 |
|
|
cpx_spc_data_cx3[49:48],
|
1811 |
|
|
cpx_spc_data_cx3_b47,
|
1812 |
|
|
cpx_spc_data_cx3[46:45],
|
1813 |
|
|
cpx_spc_data_cx3_b44,
|
1814 |
|
|
cpx_spc_data_cx3[43:42],
|
1815 |
|
|
cpx_spc_data_cx3_b41,
|
1816 |
|
|
cpx_spc_data_cx3[40:39],
|
1817 |
|
|
cpx_spc_data_cx3_b38,
|
1818 |
|
|
cpx_spc_data_cx3[37:36],
|
1819 |
|
|
cpx_spc_data_cx3_b35,
|
1820 |
|
|
cpx_spc_data_cx3[34:33],
|
1821 |
|
|
cpx_spc_data_cx3_b32,
|
1822 |
|
|
cpx_spc_data_cx3[31:29],
|
1823 |
|
|
cpx_spc_data_cx3_b28,
|
1824 |
|
|
cpx_spc_data_cx3[27:25],
|
1825 |
|
|
cpx_spc_data_cx3_b24,
|
1826 |
|
|
cpx_spc_data_cx3[23:21],
|
1827 |
|
|
cpx_spc_data_cx3_b20,
|
1828 |
|
|
cpx_spc_data_cx3[19:17],
|
1829 |
|
|
cpx_spc_data_cx3_b16,
|
1830 |
|
|
cpx_spc_data_cx3[15:13],
|
1831 |
|
|
cpx_spc_data_cx3_b12,
|
1832 |
|
|
cpx_spc_data_cx3[11:9],
|
1833 |
|
|
cpx_spc_data_cx3_b8,
|
1834 |
|
|
cpx_spc_data_cx3[7:5],
|
1835 |
|
|
cpx_spc_data_cx3_b4,
|
1836 |
|
|
cpx_spc_data_cx3[3:1],
|
1837 |
|
|
cpx_spc_data_cx3_b0}),
|
1838 |
|
|
.exu_tlu_wsr_data_m (exu_tlu_wsr_data_m[7:0]),
|
1839 |
|
|
|
1840 |
|
|
// Hypervisor related
|
1841 |
|
|
.tlu_lsu_hpv_priv (tlu_hpstate_priv[3:0]),
|
1842 |
|
|
.tlu_lsu_hpstate_en (tlu_hpstate_enb[3:0]),
|
1843 |
|
|
|
1844 |
|
|
.spu_lsu_int_w2 (1'b0),
|
1845 |
|
|
.gdbginit_l (spc_dbginit_l),
|
1846 |
|
|
/*AUTOINST*/
|
1847 |
|
|
// Outputs
|
1848 |
|
|
.bist_ctl_reg_in (bist_ctl_reg_in[6:0]),
|
1849 |
|
|
.bist_ctl_reg_wr_en (bist_ctl_reg_wr_en),
|
1850 |
|
|
.ifu_tlu_flush_fd2_w (ifu_tlu_flush_fd2_w),
|
1851 |
|
|
.ifu_tlu_flush_fd3_w (ifu_tlu_flush_fd3_w),
|
1852 |
|
|
.ifu_tlu_flush_fd_w (ifu_tlu_flush_fd_w),
|
1853 |
|
|
.lsu_asi_reg0 (lsu_asi_reg0[7:0]),
|
1854 |
|
|
.lsu_asi_reg1 (lsu_asi_reg1[7:0]),
|
1855 |
|
|
.lsu_asi_reg2 (lsu_asi_reg2[7:0]),
|
1856 |
|
|
.lsu_asi_reg3 (lsu_asi_reg3[7:0]),
|
1857 |
|
|
.lsu_dmmu_sfsr_trp_wr (lsu_dmmu_sfsr_trp_wr[3:0]),
|
1858 |
|
|
.lsu_dsfsr_din_g (lsu_dsfsr_din_g[23:0]),
|
1859 |
|
|
.lsu_exu_flush_pipe_w (lsu_exu_flush_pipe_w),
|
1860 |
|
|
.lsu_exu_rd_m (lsu_exu_rd_m[4:0]),
|
1861 |
|
|
.lsu_exu_st_dtlb_perr_g (lsu_exu_st_dtlb_perr_g),
|
1862 |
|
|
.lsu_exu_thr_m (lsu_exu_thr_m[1:0]),
|
1863 |
|
|
.lsu_ffu_ack (lsu_ffu_ack),
|
1864 |
|
|
.lsu_ffu_blk_asi_e (lsu_ffu_blk_asi_e),
|
1865 |
|
|
.lsu_ffu_flush_pipe_w (lsu_ffu_flush_pipe_w),
|
1866 |
|
|
.lsu_ffu_ld_data (lsu_ffu_ld_data[63:0]),
|
1867 |
|
|
.lsu_ffu_ld_vld (lsu_ffu_ld_vld),
|
1868 |
|
|
.lsu_ffu_stb_full0 (lsu_ffu_stb_full0),
|
1869 |
|
|
.lsu_ffu_stb_full1 (lsu_ffu_stb_full1),
|
1870 |
|
|
.lsu_ffu_stb_full2 (lsu_ffu_stb_full2),
|
1871 |
|
|
.lsu_ffu_stb_full3 (lsu_ffu_stb_full3),
|
1872 |
|
|
.lsu_ictag_mrgn (lsu_ictag_mrgn[3:0]),
|
1873 |
|
|
.lsu_ifu_asi_addr (lsu_ifu_asi_addr[17:0]),
|
1874 |
|
|
.lsu_ifu_asi_load (lsu_ifu_asi_load),
|
1875 |
|
|
.lsu_ifu_asi_state (lsu_ifu_asi_state[7:0]),
|
1876 |
|
|
.lsu_ifu_asi_thrid (lsu_ifu_asi_thrid[1:0]),
|
1877 |
|
|
.lsu_ifu_asi_vld (lsu_ifu_asi_vld),
|
1878 |
|
|
.lsu_ifu_cpxpkt_i1 (lsu_ifu_cpxpkt_i1[`CPX_VLD-1:0]),
|
1879 |
|
|
.lsu_ifu_cpxpkt_vld_i1 (lsu_ifu_cpxpkt_vld_i1),
|
1880 |
|
|
.lsu_ifu_dc_parity_error_w2 (lsu_ifu_dc_parity_error_w2),
|
1881 |
|
|
.lsu_ifu_dcache_data_perror (lsu_ifu_dcache_data_perror),
|
1882 |
|
|
.lsu_ifu_dcache_tag_perror (lsu_ifu_dcache_tag_perror),
|
1883 |
|
|
.lsu_ifu_direct_map_l1 (lsu_ifu_direct_map_l1),
|
1884 |
|
|
.lsu_ifu_error_tid (lsu_ifu_error_tid[1:0]),
|
1885 |
|
|
.lsu_ifu_flush_pipe_w (lsu_ifu_flush_pipe_w),
|
1886 |
|
|
.lsu_ifu_icache_en (lsu_ifu_icache_en[3:0]),
|
1887 |
|
|
.lsu_ifu_io_error (lsu_ifu_io_error),
|
1888 |
|
|
.lsu_ifu_itlb_en (lsu_ifu_itlb_en[3:0]),
|
1889 |
|
|
.lsu_ifu_l2_corr_error (lsu_ifu_l2_corr_error),
|
1890 |
|
|
.lsu_ifu_l2_unc_error (lsu_ifu_l2_unc_error),
|
1891 |
|
|
.lsu_ifu_ld_icache_index (lsu_ifu_ld_icache_index[11:5]),
|
1892 |
|
|
.lsu_ifu_ld_pcxpkt_tid (lsu_ifu_ld_pcxpkt_tid[1:0]),
|
1893 |
|
|
.lsu_ifu_ld_pcxpkt_vld (lsu_ifu_ld_pcxpkt_vld),
|
1894 |
|
|
.lsu_ifu_ldst_cmplt (lsu_ifu_ldst_cmplt[3:0]),
|
1895 |
|
|
.lsu_ifu_ldst_miss_w (lsu_ifu_ldst_miss_w),
|
1896 |
|
|
.lsu_ifu_ldsta_internal_e (lsu_ifu_ldsta_internal_e),
|
1897 |
|
|
.lsu_ifu_pcxpkt_ack_d (lsu_ifu_pcxpkt_ack_d),
|
1898 |
|
|
.lsu_ifu_stallreq (lsu_ifu_stallreq),
|
1899 |
|
|
.lsu_ifu_stbcnt0 (lsu_ifu_stbcnt0[3:0]),
|
1900 |
|
|
.lsu_ifu_stbcnt1 (lsu_ifu_stbcnt1[3:0]),
|
1901 |
|
|
.lsu_ifu_stbcnt2 (lsu_ifu_stbcnt2[3:0]),
|
1902 |
|
|
.lsu_ifu_stbcnt3 (lsu_ifu_stbcnt3[3:0]),
|
1903 |
|
|
.lsu_ifu_stxa_data (lsu_ifu_stxa_data[47:0]),
|
1904 |
|
|
.lsu_ifu_tlb_data_su (lsu_ifu_tlb_data_su),
|
1905 |
|
|
.lsu_ifu_tlb_data_ue (lsu_ifu_tlb_data_ue),
|
1906 |
|
|
.lsu_ifu_tlb_tag_ue (lsu_ifu_tlb_tag_ue),
|
1907 |
|
|
.lsu_itlb_mrgn (lsu_itlb_mrgn[7:0]),
|
1908 |
|
|
.lsu_mamem_mrgn (lsu_mamem_mrgn[3:0]),
|
1909 |
|
|
.lsu_mmu_defr_trp_taken_g (lsu_mmu_defr_trp_taken_g),
|
1910 |
|
|
.lsu_mmu_flush_pipe_w (lsu_mmu_flush_pipe_w),
|
1911 |
|
|
.lsu_mmu_rs3_data_g (lsu_mmu_rs3_data_g[63:0]),
|
1912 |
|
|
.lsu_pid_state0 (lsu_pid_state0[2:0]),
|
1913 |
|
|
.lsu_pid_state1 (lsu_pid_state1[2:0]),
|
1914 |
|
|
.lsu_pid_state2 (lsu_pid_state2[2:0]),
|
1915 |
|
|
.lsu_pid_state3 (lsu_pid_state3[2:0]),
|
1916 |
|
|
.lsu_spu_asi_state_e (lsu_spu_asi_state_e[7:0]),
|
1917 |
|
|
.lsu_spu_early_flush_g (lsu_spu_early_flush_g),
|
1918 |
|
|
.lsu_spu_ldst_ack (lsu_spu_ldst_ack),
|
1919 |
|
|
.lsu_spu_stb_empty (lsu_spu_stb_empty[3:0]),
|
1920 |
|
|
.lsu_spu_strm_ack_cmplt (lsu_spu_strm_ack_cmplt[1:0]),
|
1921 |
|
|
.lsu_t0_pctxt_state (lsu_t0_pctxt_state[12:0]),
|
1922 |
|
|
.lsu_t1_pctxt_state (lsu_t1_pctxt_state[12:0]),
|
1923 |
|
|
.lsu_t2_pctxt_state (lsu_t2_pctxt_state[12:0]),
|
1924 |
|
|
.lsu_t3_pctxt_state (lsu_t3_pctxt_state[12:0]),
|
1925 |
|
|
.lsu_tlu_async_tid_w2 (lsu_tlu_async_tid_w2[1:0]),
|
1926 |
|
|
.lsu_tlu_async_ttype_vld_w2 (lsu_tlu_async_ttype_vld_w2),
|
1927 |
|
|
.lsu_tlu_async_ttype_w2 (lsu_tlu_async_ttype_w2[6:0]),
|
1928 |
|
|
.lsu_tlu_cpx_req (lsu_tlu_cpx_req[3:0]),
|
1929 |
|
|
.lsu_tlu_cpx_vld (lsu_tlu_cpx_vld),
|
1930 |
|
|
.lsu_tlu_daccess_excptn_g (lsu_tlu_daccess_excptn_g),
|
1931 |
|
|
.lsu_tlu_dcache_miss_w2 (lsu_tlu_dcache_miss_w2[3:0]),
|
1932 |
|
|
.lsu_tlu_defr_trp_taken_g (lsu_tlu_defr_trp_taken_g),
|
1933 |
|
|
.lsu_tlu_dmmu_miss_g (lsu_tlu_dmmu_miss_g),
|
1934 |
|
|
.lsu_tlu_dside_ctxt_m (lsu_tlu_dside_ctxt_m[12:0]),
|
1935 |
|
|
.lsu_tlu_dtlb_done (lsu_tlu_dtlb_done),
|
1936 |
|
|
.lsu_tlu_early_flush2_w (lsu_tlu_early_flush2_w),
|
1937 |
|
|
.lsu_tlu_early_flush_w (lsu_tlu_early_flush_w),
|
1938 |
|
|
.lsu_tlu_intpkt (lsu_tlu_intpkt[17:0]),
|
1939 |
|
|
.lsu_tlu_l2_dmiss (lsu_tlu_l2_dmiss[3:0]),
|
1940 |
|
|
.lsu_tlu_ldst_va_m (lsu_tlu_ldst_va_m[9:0]),
|
1941 |
|
|
.lsu_tlu_misalign_addr_ldst_atm_m(lsu_tlu_misalign_addr_ldst_atm_m),
|
1942 |
|
|
.lsu_tlu_pctxt_m (lsu_tlu_pctxt_m[12:0]),
|
1943 |
|
|
.lsu_tlu_pcxpkt_ack (lsu_tlu_pcxpkt_ack),
|
1944 |
|
|
.lsu_tlu_rs3_data_g (lsu_tlu_rs3_data_g[63:0]),
|
1945 |
|
|
.lsu_tlu_rsr_data_e (lsu_tlu_rsr_data_e[7:0]),
|
1946 |
|
|
.lsu_tlu_stb_full_w2 (lsu_tlu_stb_full_w2[3:0]),
|
1947 |
|
|
.lsu_tlu_thrid_d (lsu_tlu_thrid_d[1:0]),
|
1948 |
|
|
.lsu_tlu_tlb_access_tid_m (lsu_tlu_tlb_access_tid_m[1:0]),
|
1949 |
|
|
.lsu_tlu_tlb_asi_state_m (lsu_tlu_tlb_asi_state_m[7:0]),
|
1950 |
|
|
.lsu_tlu_tlb_dmp_va_m (lsu_tlu_tlb_dmp_va_m[47:13]),
|
1951 |
|
|
.lsu_tlu_tlb_ld_inst_m (lsu_tlu_tlb_ld_inst_m),
|
1952 |
|
|
.lsu_tlu_tlb_ldst_va_m (lsu_tlu_tlb_ldst_va_m[10:0]),
|
1953 |
|
|
.lsu_tlu_tlb_st_inst_m (lsu_tlu_tlb_st_inst_m),
|
1954 |
|
|
.lsu_tlu_ttype_m2 (lsu_tlu_ttype_m2[8:0]),
|
1955 |
|
|
.lsu_tlu_ttype_vld_m2 (lsu_tlu_ttype_vld_m2),
|
1956 |
|
|
.lsu_tlu_wsr_inst_e (lsu_tlu_wsr_inst_e),
|
1957 |
|
|
.mbist_dcache_data_in (mbist_dcache_data_in[71:0]),
|
1958 |
|
|
.spc_efc_dfuse_data (spc_efc_dfuse_data),
|
1959 |
|
|
.spc_pcx_atom_pq (spc_pcx_atom_pq),
|
1960 |
|
|
.spc_pcx_data_pa (spc_pcx_data_pa[`PCX_WIDTH-1:0]),
|
1961 |
|
|
.spc_pcx_req_pq (spc_pcx_req_pq[4:0]),
|
1962 |
|
|
.lsu_asi_state (lsu_asi_state[7:0]),
|
1963 |
|
|
.lsu_ifu_err_addr (lsu_ifu_err_addr[47:4]),
|
1964 |
|
|
.lsu_sscan_data (lsu_sscan_data[15:0]),
|
1965 |
|
|
.ifu_tlu_inst_vld_m_bf1 (ifu_tlu_inst_vld_m_bf1),
|
1966 |
|
|
.lsu_ffu_bld_cnt_w (lsu_ffu_bld_cnt_w[2:0]),
|
1967 |
|
|
.lsu_tlu_nucleus_ctxt_m (lsu_tlu_nucleus_ctxt_m),
|
1968 |
|
|
.lsu_tlu_tte_pg_sz_g (lsu_tlu_tte_pg_sz_g[2:0]),
|
1969 |
|
|
.lsu_tlu_squash_va_oor_m (lsu_tlu_squash_va_oor_m),
|
1970 |
|
|
.lsu_tlu_wtchpt_trp_g (lsu_tlu_wtchpt_trp_g),
|
1971 |
|
|
.lsu_tlu_daccess_prot_g (lsu_tlu_daccess_prot_g),
|
1972 |
|
|
.lsu_tlu_priv_action_g (lsu_tlu_priv_action_g),
|
1973 |
|
|
// Inputs
|
1974 |
|
|
.bist_ctl_reg_out (bist_ctl_reg_out[10:0]),
|
1975 |
|
|
.const_cpuid (const_cpuid[2:0]),
|
1976 |
|
|
.ctu_sscan_tid (ctu_sscan_tid[3:0]),
|
1977 |
|
|
.efc_spc_dfuse_ashift (efc_spc_dfuse_ashift),
|
1978 |
|
|
.efc_spc_dfuse_data (efc_spc_dfuse_data),
|
1979 |
|
|
.efc_spc_dfuse_dshift (efc_spc_dfuse_dshift),
|
1980 |
|
|
.efc_spc_fuse_clk1 (efc_spc_fuse_clk1),
|
1981 |
|
|
.efc_spc_fuse_clk2 (efc_spc_fuse_clk2),
|
1982 |
|
|
.exu_lsu_rs2_data_e (exu_lsu_rs2_data_e[63:0]),
|
1983 |
|
|
.exu_lsu_rs3_data_e (exu_lsu_rs3_data_e[63:0]),
|
1984 |
|
|
.exu_tlu_misalign_addr_jmpl_rtn_m(exu_tlu_misalign_addr_jmpl_rtn_m),
|
1985 |
|
|
.exu_tlu_va_oor_m (exu_tlu_va_oor_m),
|
1986 |
|
|
.ffu_lsu_blk_st_e (ffu_lsu_blk_st_e),
|
1987 |
|
|
.ffu_lsu_blk_st_va_e (ffu_lsu_blk_st_va_e[5:3]),
|
1988 |
|
|
.ffu_lsu_fpop_rq_vld (ffu_lsu_fpop_rq_vld),
|
1989 |
|
|
.ffu_lsu_kill_fst_w (ffu_lsu_kill_fst_w),
|
1990 |
|
|
.ifu_lsu_alt_space_d (ifu_lsu_alt_space_d),
|
1991 |
|
|
.ifu_lsu_alt_space_e (ifu_lsu_alt_space_e),
|
1992 |
|
|
.ifu_lsu_asi_ack (ifu_lsu_asi_ack),
|
1993 |
|
|
.ifu_lsu_asi_rd_unc (ifu_lsu_asi_rd_unc),
|
1994 |
|
|
.ifu_lsu_casa_e (ifu_lsu_casa_e),
|
1995 |
|
|
.ifu_lsu_destid_s (ifu_lsu_destid_s[2:0]),
|
1996 |
|
|
.ifu_lsu_fwd_data_vld (ifu_lsu_fwd_data_vld),
|
1997 |
|
|
.ifu_lsu_fwd_wr_ack (ifu_lsu_fwd_wr_ack),
|
1998 |
|
|
.ifu_lsu_ibuf_busy (ifu_lsu_ibuf_busy),
|
1999 |
|
|
.ifu_lsu_imm_asi_d (ifu_lsu_imm_asi_d[7:0]),
|
2000 |
|
|
.ifu_lsu_imm_asi_vld_d (ifu_lsu_imm_asi_vld_d),
|
2001 |
|
|
.ifu_lsu_inv_clear (ifu_lsu_inv_clear),
|
2002 |
|
|
.ifu_lsu_ld_inst_e (ifu_lsu_ld_inst_e),
|
2003 |
|
|
.ifu_lsu_ldst_dbl_e (ifu_lsu_ldst_dbl_e),
|
2004 |
|
|
.ifu_lsu_ldst_fp_e (ifu_lsu_ldst_fp_e),
|
2005 |
|
|
.ifu_lsu_ldst_size_e (ifu_lsu_ldst_size_e[1:0]),
|
2006 |
|
|
.ifu_lsu_ldstub_e (ifu_lsu_ldstub_e),
|
2007 |
|
|
.ifu_lsu_ldxa_data_vld_w2 (ifu_lsu_ldxa_data_vld_w2),
|
2008 |
|
|
.ifu_lsu_ldxa_data_w2 (ifu_lsu_ldxa_data_w2[63:0]),
|
2009 |
|
|
.ifu_lsu_ldxa_illgl_va_w2 (ifu_lsu_ldxa_illgl_va_w2),
|
2010 |
|
|
.ifu_lsu_ldxa_tid_w2 (ifu_lsu_ldxa_tid_w2[1:0]),
|
2011 |
|
|
.ifu_lsu_memref_d (ifu_lsu_memref_d),
|
2012 |
|
|
.ifu_lsu_nceen (ifu_lsu_nceen[3:0]),
|
2013 |
|
|
.ifu_lsu_pcxpkt_e (ifu_lsu_pcxpkt_e[51:0]),
|
2014 |
|
|
.ifu_lsu_pcxreq_d (ifu_lsu_pcxreq_d),
|
2015 |
|
|
.ifu_lsu_pref_inst_e (ifu_lsu_pref_inst_e),
|
2016 |
|
|
.ifu_lsu_rd_e (ifu_lsu_rd_e[4:0]),
|
2017 |
|
|
.ifu_lsu_sign_ext_e (ifu_lsu_sign_ext_e),
|
2018 |
|
|
.ifu_lsu_st_inst_e (ifu_lsu_st_inst_e),
|
2019 |
|
|
.ifu_lsu_swap_e (ifu_lsu_swap_e),
|
2020 |
|
|
.ifu_lsu_thrid_s (ifu_lsu_thrid_s[1:0]),
|
2021 |
|
|
.ifu_tlu_flsh_inst_e (ifu_tlu_flsh_inst_e),
|
2022 |
|
|
.ifu_tlu_flush_m (ifu_tlu_flush_m),
|
2023 |
|
|
.ifu_tlu_inst_vld_m (ifu_tlu_inst_vld_m),
|
2024 |
|
|
.ifu_tlu_mb_inst_e (ifu_tlu_mb_inst_e),
|
2025 |
|
|
.ifu_tlu_sraddr_d (ifu_tlu_sraddr_d[6:0]),
|
2026 |
|
|
.ifu_tlu_thrid_e (ifu_tlu_thrid_e[1:0]),
|
2027 |
|
|
.mbist_dcache_index (mbist_dcache_index[6:0]),
|
2028 |
|
|
.mbist_dcache_read (mbist_dcache_read),
|
2029 |
|
|
.mbist_dcache_way (mbist_dcache_way[1:0]),
|
2030 |
|
|
.mbist_dcache_word (mbist_dcache_word),
|
2031 |
|
|
.mbist_dcache_write (mbist_dcache_write),
|
2032 |
|
|
.mbist_write_data (mbist_write_data[7:0]),
|
2033 |
|
|
.mem_write_disable (mem_write_disable),
|
2034 |
|
|
.mux_drive_disable (mux_drive_disable),
|
2035 |
|
|
.pcx_spc_grant_px (pcx_spc_grant_px[4:0]),
|
2036 |
|
|
.se (se),
|
2037 |
|
|
.sehold (sehold),
|
2038 |
|
|
.spu_lsu_ldxa_data_vld_w2 (spu_lsu_ldxa_data_vld_w2),
|
2039 |
|
|
.spu_lsu_ldxa_data_w2 (spu_lsu_ldxa_data_w2[63:0]),
|
2040 |
|
|
.spu_lsu_ldxa_illgl_va_w2 (spu_lsu_ldxa_illgl_va_w2),
|
2041 |
|
|
.spu_lsu_ldxa_tid_w2 (spu_lsu_ldxa_tid_w2[1:0]),
|
2042 |
|
|
.spu_lsu_stxa_ack (spu_lsu_stxa_ack),
|
2043 |
|
|
.spu_lsu_stxa_ack_tid (spu_lsu_stxa_ack_tid[1:0]),
|
2044 |
|
|
.spu_lsu_unc_error_w2 (spu_lsu_unc_error_w2),
|
2045 |
|
|
.testmode_l (testmode_l),
|
2046 |
|
|
.tlu_dsfsr_flt_vld (tlu_dsfsr_flt_vld[3:0]),
|
2047 |
|
|
.tlu_dtlb_data_rd_g (tlu_dtlb_data_rd_g),
|
2048 |
|
|
.tlu_dtlb_dmp_actxt_g (tlu_dtlb_dmp_actxt_g),
|
2049 |
|
|
.tlu_dtlb_dmp_all_g (tlu_dtlb_dmp_all_g),
|
2050 |
|
|
.tlu_dtlb_dmp_nctxt_g (tlu_dtlb_dmp_nctxt_g),
|
2051 |
|
|
.tlu_dtlb_dmp_pctxt_g (tlu_dtlb_dmp_pctxt_g),
|
2052 |
|
|
.tlu_dtlb_dmp_sctxt_g (tlu_dtlb_dmp_sctxt_g),
|
2053 |
|
|
.tlu_dtlb_dmp_vld_g (tlu_dtlb_dmp_vld_g),
|
2054 |
|
|
.tlu_dtlb_invalidate_all_g (tlu_dtlb_invalidate_all_g),
|
2055 |
|
|
.tlu_dtlb_rw_index_g (tlu_dtlb_rw_index_g[5:0]),
|
2056 |
|
|
.tlu_dtlb_rw_index_vld_g (tlu_dtlb_rw_index_vld_g),
|
2057 |
|
|
.tlu_dtlb_tag_rd_g (tlu_dtlb_tag_rd_g),
|
2058 |
|
|
.tlu_dtlb_tte_data_w2 (tlu_dtlb_tte_data_w2[42:0]),
|
2059 |
|
|
.tlu_dtlb_tte_tag_w2 (tlu_dtlb_tte_tag_w2[58:0]),
|
2060 |
|
|
.tlu_early_flush_pipe2_w (tlu_early_flush_pipe2_w),
|
2061 |
|
|
.tlu_early_flush_pipe_w (tlu_early_flush_pipe_w),
|
2062 |
|
|
.tlu_exu_early_flush_pipe_w (tlu_exu_early_flush_pipe_w),
|
2063 |
|
|
.tlu_idtlb_dmp_key_g (tlu_idtlb_dmp_key_g[40:0]),
|
2064 |
|
|
.tlu_idtlb_dmp_thrid_g (tlu_idtlb_dmp_thrid_g[1:0]),
|
2065 |
|
|
.tlu_lsu_asi_m (tlu_lsu_asi_m[7:0]),
|
2066 |
|
|
.tlu_lsu_asi_update_m (tlu_lsu_asi_update_m),
|
2067 |
|
|
.tlu_lsu_int_ld_ill_va_w2 (tlu_lsu_int_ld_ill_va_w2),
|
2068 |
|
|
.tlu_lsu_int_ldxa_data_w2 (tlu_lsu_int_ldxa_data_w2[63:0]),
|
2069 |
|
|
.tlu_lsu_int_ldxa_vld_w2 (tlu_lsu_int_ldxa_vld_w2),
|
2070 |
|
|
.tlu_lsu_ldxa_async_data_vld (tlu_lsu_ldxa_async_data_vld),
|
2071 |
|
|
.tlu_lsu_ldxa_tid_w2 (tlu_lsu_ldxa_tid_w2[1:0]),
|
2072 |
|
|
.tlu_lsu_pcxpkt (tlu_lsu_pcxpkt[25:0]),
|
2073 |
|
|
.tlu_lsu_pstate_am (tlu_lsu_pstate_am[3:0]),
|
2074 |
|
|
.tlu_lsu_pstate_cle (tlu_lsu_pstate_cle[3:0]),
|
2075 |
|
|
.tlu_lsu_pstate_priv (tlu_lsu_pstate_priv[3:0]),
|
2076 |
|
|
.tlu_lsu_redmode (tlu_lsu_redmode[3:0]),
|
2077 |
|
|
.tlu_lsu_redmode_rst_d1 (tlu_lsu_redmode_rst_d1[3:0]),
|
2078 |
|
|
.tlu_lsu_stxa_ack (tlu_lsu_stxa_ack),
|
2079 |
|
|
.tlu_lsu_stxa_ack_tid (tlu_lsu_stxa_ack_tid[1:0]),
|
2080 |
|
|
.tlu_lsu_tid_m (tlu_lsu_tid_m[1:0]),
|
2081 |
|
|
.tlu_lsu_tl_zero (tlu_lsu_tl_zero[3:0]),
|
2082 |
|
|
.spu_lsu_ldst_pckt (spu_lsu_ldst_pckt[`PCX_WIDTH-1:0]),
|
2083 |
|
|
.exu_lsu_ldst_va_e (exu_lsu_ldst_va_e[47:0]),
|
2084 |
|
|
.exu_lsu_early_va_e (exu_lsu_early_va_e[10:3]),
|
2085 |
|
|
.ffu_lsu_data (ffu_lsu_data[80:0]));
|
2086 |
|
|
|
2087 |
|
|
`endif // `ifdef FPGA_SYN_NO_SPU
|
2088 |
|
|
|
2089 |
|
|
`ifdef FPGA_SYN_NO_SPU
|
2090 |
|
|
|
2091 |
|
|
sparc_exu exu (
|
2092 |
|
|
.short_si0 (short_scan0_2),
|
2093 |
|
|
.short_so0 (short_scan0_3),
|
2094 |
|
|
.short_si1 (short_scan1_2),
|
2095 |
|
|
.short_so1 (short_scan1_3),
|
2096 |
|
|
.si0 (scan0_2),
|
2097 |
|
|
.so0 (scan0_3),
|
2098 |
|
|
// reset stuff
|
2099 |
|
|
.grst_l (spc_grst_l),
|
2100 |
|
|
.arst_l (cmp_arst_l),
|
2101 |
|
|
.mul_exu_data_g (mul_data_out[63:0]),
|
2102 |
|
|
.ifu_tlu_wsr_inst_d (ifu_exu_wsr_inst_d),
|
2103 |
|
|
//
|
2104 |
|
|
.exu_tlu_ue_trap_m (),
|
2105 |
|
|
|
2106 |
|
|
/*AUTOINST*/
|
2107 |
|
|
// Outputs
|
2108 |
|
|
.exu_ffu_wsr_inst_e (exu_ffu_wsr_inst_e),
|
2109 |
|
|
.exu_ifu_brpc_e (exu_ifu_brpc_e[47:0]),
|
2110 |
|
|
.exu_ifu_cc_d (exu_ifu_cc_d[7:0]),
|
2111 |
|
|
.exu_ifu_ecc_ce_m (exu_ifu_ecc_ce_m),
|
2112 |
|
|
.exu_ifu_ecc_ue_m (exu_ifu_ecc_ue_m),
|
2113 |
|
|
.exu_ifu_err_reg_m (exu_ifu_err_reg_m[7:0]),
|
2114 |
|
|
.exu_ifu_inj_ack (exu_ifu_inj_ack),
|
2115 |
|
|
.exu_ifu_longop_done_g (exu_ifu_longop_done_g[3:0]),
|
2116 |
|
|
.exu_ifu_oddwin_s (exu_ifu_oddwin_s[3:0]),
|
2117 |
|
|
.exu_ifu_regn_e (exu_ifu_regn_e),
|
2118 |
|
|
.exu_ifu_regz_e (exu_ifu_regz_e),
|
2119 |
|
|
.exu_ifu_spill_e (exu_ifu_spill_e),
|
2120 |
|
|
.exu_ifu_va_oor_m (exu_ifu_va_oor_m),
|
2121 |
|
|
.exu_lsu_early_va_e (exu_lsu_early_va_e[10:3]),
|
2122 |
|
|
.exu_lsu_ldst_va_e (exu_lsu_ldst_va_e[47:0]),
|
2123 |
|
|
.exu_lsu_priority_trap_m(exu_lsu_priority_trap_m),
|
2124 |
|
|
.exu_lsu_rs2_data_e (exu_lsu_rs2_data_e[63:0]),
|
2125 |
|
|
.exu_lsu_rs3_data_e (exu_lsu_rs3_data_e[63:0]),
|
2126 |
|
|
.exu_mmu_early_va_e (exu_mmu_early_va_e[7:0]),
|
2127 |
|
|
.exu_mul_input_vld (exu_mul_input_vld),
|
2128 |
|
|
.exu_mul_rs1_data (exu_mul_rs1_data[63:0]),
|
2129 |
|
|
.exu_mul_rs2_data (exu_mul_rs2_data[63:0]),
|
2130 |
|
|
.exu_spu_rs3_data_e (),
|
2131 |
|
|
.exu_tlu_ccr0_w (exu_tlu_ccr0_w[7:0]),
|
2132 |
|
|
.exu_tlu_ccr1_w (exu_tlu_ccr1_w[7:0]),
|
2133 |
|
|
.exu_tlu_ccr2_w (exu_tlu_ccr2_w[7:0]),
|
2134 |
|
|
.exu_tlu_ccr3_w (exu_tlu_ccr3_w[7:0]),
|
2135 |
|
|
.exu_tlu_cwp0_w (exu_tlu_cwp0_w[2:0]),
|
2136 |
|
|
.exu_tlu_cwp1_w (exu_tlu_cwp1_w[2:0]),
|
2137 |
|
|
.exu_tlu_cwp2_w (exu_tlu_cwp2_w[2:0]),
|
2138 |
|
|
.exu_tlu_cwp3_w (exu_tlu_cwp3_w[2:0]),
|
2139 |
|
|
.exu_tlu_cwp_cmplt (exu_tlu_cwp_cmplt),
|
2140 |
|
|
.exu_tlu_cwp_cmplt_tid (exu_tlu_cwp_cmplt_tid[1:0]),
|
2141 |
|
|
.exu_tlu_cwp_retry (exu_tlu_cwp_retry),
|
2142 |
|
|
.exu_tlu_misalign_addr_jmpl_rtn_m(exu_tlu_misalign_addr_jmpl_rtn_m),
|
2143 |
|
|
.exu_tlu_spill (exu_tlu_spill),
|
2144 |
|
|
.exu_tlu_spill_other (exu_tlu_spill_other),
|
2145 |
|
|
.exu_tlu_spill_tid (exu_tlu_spill_tid[1:0]),
|
2146 |
|
|
.exu_tlu_spill_wtype (exu_tlu_spill_wtype[2:0]),
|
2147 |
|
|
.exu_tlu_ttype_m (exu_tlu_ttype_m[8:0]),
|
2148 |
|
|
.exu_tlu_ttype_vld_m (exu_tlu_ttype_vld_m),
|
2149 |
|
|
.exu_tlu_va_oor_jl_ret_m(exu_tlu_va_oor_jl_ret_m),
|
2150 |
|
|
.exu_tlu_va_oor_m (exu_tlu_va_oor_m),
|
2151 |
|
|
.exu_tlu_wsr_data_m (exu_tlu_wsr_data_m[63:0]),
|
2152 |
|
|
.exu_ifu_err_synd_m (exu_ifu_err_synd_m[7:0]),
|
2153 |
|
|
// Inputs
|
2154 |
|
|
.mux_drive_disable (mux_drive_disable),
|
2155 |
|
|
.mem_write_disable (mem_write_disable),
|
2156 |
|
|
.ffu_exu_rsr_data_m (ffu_exu_rsr_data_m[63:0]),
|
2157 |
|
|
.ifu_exu_addr_mask_d (ifu_exu_addr_mask_d),
|
2158 |
|
|
.ifu_exu_aluop_d (ifu_exu_aluop_d[2:0]),
|
2159 |
|
|
.ifu_exu_casa_d (ifu_exu_casa_d),
|
2160 |
|
|
.ifu_exu_dbrinst_d (ifu_exu_dbrinst_d),
|
2161 |
|
|
.ifu_exu_disable_ce_e (ifu_exu_disable_ce_e),
|
2162 |
|
|
.ifu_exu_dontmv_regz0_e(ifu_exu_dontmv_regz0_e),
|
2163 |
|
|
.ifu_exu_dontmv_regz1_e(ifu_exu_dontmv_regz1_e),
|
2164 |
|
|
.ifu_exu_ecc_mask (ifu_exu_ecc_mask[7:0]),
|
2165 |
|
|
.ifu_exu_enshift_d (ifu_exu_enshift_d),
|
2166 |
|
|
.ifu_exu_flushw_e (ifu_exu_flushw_e),
|
2167 |
|
|
.ifu_exu_ialign_d (ifu_exu_ialign_d),
|
2168 |
|
|
.ifu_exu_imm_data_d (ifu_exu_imm_data_d[31:0]),
|
2169 |
|
|
.ifu_exu_inj_irferr (ifu_exu_inj_irferr),
|
2170 |
|
|
.ifu_exu_inst_vld_e (ifu_exu_inst_vld_e),
|
2171 |
|
|
.ifu_exu_inst_vld_w (ifu_exu_inst_vld_w),
|
2172 |
|
|
.ifu_exu_invert_d (ifu_exu_invert_d),
|
2173 |
|
|
.ifu_exu_kill_e (ifu_exu_kill_e),
|
2174 |
|
|
.ifu_exu_muldivop_d (ifu_exu_muldivop_d[4:0]),
|
2175 |
|
|
.ifu_exu_muls_d (ifu_exu_muls_d),
|
2176 |
|
|
.ifu_exu_nceen_e (ifu_exu_nceen_e),
|
2177 |
|
|
.ifu_exu_pc_d (ifu_exu_pc_d[47:0]),
|
2178 |
|
|
.ifu_exu_pcver_e (ifu_exu_pcver_e[63:0]),
|
2179 |
|
|
.ifu_exu_range_check_jlret_d(ifu_exu_range_check_jlret_d),
|
2180 |
|
|
.ifu_exu_range_check_other_d(ifu_exu_range_check_other_d),
|
2181 |
|
|
.ifu_exu_rd_d (ifu_exu_rd_d[4:0]),
|
2182 |
|
|
.ifu_exu_rd_exusr_e (ifu_exu_rd_exusr_e),
|
2183 |
|
|
.ifu_exu_rd_ffusr_e (ifu_exu_rd_ffusr_e),
|
2184 |
|
|
.ifu_exu_rd_ifusr_e (ifu_exu_rd_ifusr_e),
|
2185 |
|
|
.ifu_exu_ren1_s (ifu_exu_ren1_s),
|
2186 |
|
|
.ifu_exu_ren2_s (ifu_exu_ren2_s),
|
2187 |
|
|
.ifu_exu_ren3_s (ifu_exu_ren3_s),
|
2188 |
|
|
.ifu_exu_restore_d (ifu_exu_restore_d),
|
2189 |
|
|
.ifu_exu_restored_e (ifu_exu_restored_e),
|
2190 |
|
|
.ifu_exu_return_d (ifu_exu_return_d),
|
2191 |
|
|
.ifu_exu_rs1_s (ifu_exu_rs1_s[4:0]),
|
2192 |
|
|
.ifu_exu_rs1_vld_d (ifu_exu_rs1_vld_d),
|
2193 |
|
|
.ifu_exu_rs2_s (ifu_exu_rs2_s[4:0]),
|
2194 |
|
|
.ifu_exu_rs2_vld_d (ifu_exu_rs2_vld_d),
|
2195 |
|
|
.ifu_exu_rs3_s (ifu_exu_rs3_s[4:0]),
|
2196 |
|
|
.ifu_exu_rs3e_vld_d (ifu_exu_rs3e_vld_d),
|
2197 |
|
|
.ifu_exu_rs3o_vld_d (ifu_exu_rs3o_vld_d),
|
2198 |
|
|
.ifu_exu_save_d (ifu_exu_save_d),
|
2199 |
|
|
.ifu_exu_saved_e (ifu_exu_saved_e),
|
2200 |
|
|
.ifu_exu_setcc_d (ifu_exu_setcc_d),
|
2201 |
|
|
.ifu_exu_sethi_inst_d (ifu_exu_sethi_inst_d),
|
2202 |
|
|
.ifu_exu_shiftop_d (ifu_exu_shiftop_d[2:0]),
|
2203 |
|
|
.ifu_exu_tagop_d (ifu_exu_tagop_d),
|
2204 |
|
|
.ifu_exu_tcc_e (ifu_exu_tcc_e),
|
2205 |
|
|
.ifu_exu_tid_s2 (ifu_exu_tid_s2[1:0]),
|
2206 |
|
|
.ifu_exu_ttype_vld_m (ifu_exu_ttype_vld_m),
|
2207 |
|
|
.ifu_exu_tv_d (ifu_exu_tv_d),
|
2208 |
|
|
.ifu_exu_use_rsr_e_l (ifu_exu_use_rsr_e_l),
|
2209 |
|
|
.ifu_exu_usecin_d (ifu_exu_usecin_d),
|
2210 |
|
|
.ifu_exu_useimm_d (ifu_exu_useimm_d),
|
2211 |
|
|
.ifu_exu_wen_d (ifu_exu_wen_d),
|
2212 |
|
|
.ifu_tlu_flush_m (ifu_tlu_flush_m),
|
2213 |
|
|
.ifu_tlu_sraddr_d (ifu_tlu_sraddr_d[6:0]),
|
2214 |
|
|
.lsu_exu_dfill_data_g (lsu_exu_dfill_data_g[63:0]),
|
2215 |
|
|
.lsu_exu_dfill_vld_g (lsu_exu_dfill_vld_g),
|
2216 |
|
|
.lsu_exu_flush_pipe_w (lsu_exu_flush_pipe_w),
|
2217 |
|
|
.lsu_exu_ldst_miss_g2 (lsu_exu_ldst_miss_g2),
|
2218 |
|
|
.lsu_exu_ldxa_data_g (lsu_exu_ldxa_data_g[63:0]),
|
2219 |
|
|
.lsu_exu_ldxa_m (lsu_exu_ldxa_m),
|
2220 |
|
|
.lsu_exu_rd_m (lsu_exu_rd_m[4:0]),
|
2221 |
|
|
.lsu_exu_st_dtlb_perr_g(lsu_exu_st_dtlb_perr_g),
|
2222 |
|
|
.lsu_exu_thr_m (lsu_exu_thr_m[1:0]),
|
2223 |
|
|
.mul_exu_ack (mul_exu_ack),
|
2224 |
|
|
.rclk (rclk),
|
2225 |
|
|
.se (se),
|
2226 |
|
|
.sehold (sehold),
|
2227 |
|
|
.tlu_exu_agp (tlu_exu_agp[1:0]),
|
2228 |
|
|
.tlu_exu_agp_swap (tlu_exu_agp_swap),
|
2229 |
|
|
.tlu_exu_agp_tid (tlu_exu_agp_tid[1:0]),
|
2230 |
|
|
.tlu_exu_ccr_m (tlu_exu_ccr_m[7:0]),
|
2231 |
|
|
.tlu_exu_cwp_m (tlu_exu_cwp_m[2:0]),
|
2232 |
|
|
.tlu_exu_cwp_retry_m (tlu_exu_cwp_retry_m),
|
2233 |
|
|
.tlu_exu_cwpccr_update_m(tlu_exu_cwpccr_update_m),
|
2234 |
|
|
.tlu_exu_pic_onebelow_m(tlu_exu_pic_onebelow_m),
|
2235 |
|
|
.tlu_exu_pic_twobelow_m(tlu_exu_pic_twobelow_m),
|
2236 |
|
|
.tlu_exu_priv_trap_m (tlu_exu_priv_trap_m),
|
2237 |
|
|
.tlu_exu_rsr_data_m (tlu_exu_rsr_data_m[63:0]));
|
2238 |
|
|
|
2239 |
|
|
`else
|
2240 |
|
|
|
2241 |
|
|
sparc_exu exu (
|
2242 |
|
|
.short_si0 (short_scan0_2),
|
2243 |
|
|
.short_so0 (short_scan0_3),
|
2244 |
|
|
.short_si1 (short_scan1_2),
|
2245 |
|
|
.short_so1 (short_scan1_3),
|
2246 |
|
|
.si0 (scan0_2),
|
2247 |
|
|
.so0 (scan0_3),
|
2248 |
|
|
// reset stuff
|
2249 |
|
|
.grst_l (spc_grst_l),
|
2250 |
|
|
.arst_l (cmp_arst_l),
|
2251 |
|
|
.mul_exu_data_g (mul_data_out[63:0]),
|
2252 |
|
|
.ifu_tlu_wsr_inst_d (ifu_exu_wsr_inst_d),
|
2253 |
|
|
//
|
2254 |
|
|
.exu_tlu_ue_trap_m (),
|
2255 |
|
|
|
2256 |
|
|
/*AUTOINST*/
|
2257 |
|
|
// Outputs
|
2258 |
|
|
.exu_ffu_wsr_inst_e (exu_ffu_wsr_inst_e),
|
2259 |
|
|
.exu_ifu_brpc_e (exu_ifu_brpc_e[47:0]),
|
2260 |
|
|
.exu_ifu_cc_d (exu_ifu_cc_d[7:0]),
|
2261 |
|
|
.exu_ifu_ecc_ce_m (exu_ifu_ecc_ce_m),
|
2262 |
|
|
.exu_ifu_ecc_ue_m (exu_ifu_ecc_ue_m),
|
2263 |
|
|
.exu_ifu_err_reg_m (exu_ifu_err_reg_m[7:0]),
|
2264 |
|
|
.exu_ifu_inj_ack (exu_ifu_inj_ack),
|
2265 |
|
|
.exu_ifu_longop_done_g (exu_ifu_longop_done_g[3:0]),
|
2266 |
|
|
.exu_ifu_oddwin_s (exu_ifu_oddwin_s[3:0]),
|
2267 |
|
|
.exu_ifu_regn_e (exu_ifu_regn_e),
|
2268 |
|
|
.exu_ifu_regz_e (exu_ifu_regz_e),
|
2269 |
|
|
.exu_ifu_spill_e (exu_ifu_spill_e),
|
2270 |
|
|
.exu_ifu_va_oor_m (exu_ifu_va_oor_m),
|
2271 |
|
|
.exu_lsu_early_va_e (exu_lsu_early_va_e[10:3]),
|
2272 |
|
|
.exu_lsu_ldst_va_e (exu_lsu_ldst_va_e[47:0]),
|
2273 |
|
|
.exu_lsu_priority_trap_m(exu_lsu_priority_trap_m),
|
2274 |
|
|
.exu_lsu_rs2_data_e (exu_lsu_rs2_data_e[63:0]),
|
2275 |
|
|
.exu_lsu_rs3_data_e (exu_lsu_rs3_data_e[63:0]),
|
2276 |
|
|
.exu_mmu_early_va_e (exu_mmu_early_va_e[7:0]),
|
2277 |
|
|
.exu_mul_input_vld (exu_mul_input_vld),
|
2278 |
|
|
.exu_mul_rs1_data (exu_mul_rs1_data[63:0]),
|
2279 |
|
|
.exu_mul_rs2_data (exu_mul_rs2_data[63:0]),
|
2280 |
|
|
.exu_spu_rs3_data_e (exu_spu_rs3_data_e[63:0]),
|
2281 |
|
|
.exu_tlu_ccr0_w (exu_tlu_ccr0_w[7:0]),
|
2282 |
|
|
.exu_tlu_ccr1_w (exu_tlu_ccr1_w[7:0]),
|
2283 |
|
|
.exu_tlu_ccr2_w (exu_tlu_ccr2_w[7:0]),
|
2284 |
|
|
.exu_tlu_ccr3_w (exu_tlu_ccr3_w[7:0]),
|
2285 |
|
|
.exu_tlu_cwp0_w (exu_tlu_cwp0_w[2:0]),
|
2286 |
|
|
.exu_tlu_cwp1_w (exu_tlu_cwp1_w[2:0]),
|
2287 |
|
|
.exu_tlu_cwp2_w (exu_tlu_cwp2_w[2:0]),
|
2288 |
|
|
.exu_tlu_cwp3_w (exu_tlu_cwp3_w[2:0]),
|
2289 |
|
|
.exu_tlu_cwp_cmplt (exu_tlu_cwp_cmplt),
|
2290 |
|
|
.exu_tlu_cwp_cmplt_tid (exu_tlu_cwp_cmplt_tid[1:0]),
|
2291 |
|
|
.exu_tlu_cwp_retry (exu_tlu_cwp_retry),
|
2292 |
|
|
.exu_tlu_misalign_addr_jmpl_rtn_m(exu_tlu_misalign_addr_jmpl_rtn_m),
|
2293 |
|
|
.exu_tlu_spill (exu_tlu_spill),
|
2294 |
|
|
.exu_tlu_spill_other (exu_tlu_spill_other),
|
2295 |
|
|
.exu_tlu_spill_tid (exu_tlu_spill_tid[1:0]),
|
2296 |
|
|
.exu_tlu_spill_wtype (exu_tlu_spill_wtype[2:0]),
|
2297 |
|
|
.exu_tlu_ttype_m (exu_tlu_ttype_m[8:0]),
|
2298 |
|
|
.exu_tlu_ttype_vld_m (exu_tlu_ttype_vld_m),
|
2299 |
|
|
.exu_tlu_va_oor_jl_ret_m(exu_tlu_va_oor_jl_ret_m),
|
2300 |
|
|
.exu_tlu_va_oor_m (exu_tlu_va_oor_m),
|
2301 |
|
|
.exu_tlu_wsr_data_m (exu_tlu_wsr_data_m[63:0]),
|
2302 |
|
|
.exu_ifu_err_synd_m (exu_ifu_err_synd_m[7:0]),
|
2303 |
|
|
// Inputs
|
2304 |
|
|
.mux_drive_disable (mux_drive_disable),
|
2305 |
|
|
.mem_write_disable (mem_write_disable),
|
2306 |
|
|
.ffu_exu_rsr_data_m (ffu_exu_rsr_data_m[63:0]),
|
2307 |
|
|
.ifu_exu_addr_mask_d (ifu_exu_addr_mask_d),
|
2308 |
|
|
.ifu_exu_aluop_d (ifu_exu_aluop_d[2:0]),
|
2309 |
|
|
.ifu_exu_casa_d (ifu_exu_casa_d),
|
2310 |
|
|
.ifu_exu_dbrinst_d (ifu_exu_dbrinst_d),
|
2311 |
|
|
.ifu_exu_disable_ce_e (ifu_exu_disable_ce_e),
|
2312 |
|
|
.ifu_exu_dontmv_regz0_e(ifu_exu_dontmv_regz0_e),
|
2313 |
|
|
.ifu_exu_dontmv_regz1_e(ifu_exu_dontmv_regz1_e),
|
2314 |
|
|
.ifu_exu_ecc_mask (ifu_exu_ecc_mask[7:0]),
|
2315 |
|
|
.ifu_exu_enshift_d (ifu_exu_enshift_d),
|
2316 |
|
|
.ifu_exu_flushw_e (ifu_exu_flushw_e),
|
2317 |
|
|
.ifu_exu_ialign_d (ifu_exu_ialign_d),
|
2318 |
|
|
.ifu_exu_imm_data_d (ifu_exu_imm_data_d[31:0]),
|
2319 |
|
|
.ifu_exu_inj_irferr (ifu_exu_inj_irferr),
|
2320 |
|
|
.ifu_exu_inst_vld_e (ifu_exu_inst_vld_e),
|
2321 |
|
|
.ifu_exu_inst_vld_w (ifu_exu_inst_vld_w),
|
2322 |
|
|
.ifu_exu_invert_d (ifu_exu_invert_d),
|
2323 |
|
|
.ifu_exu_kill_e (ifu_exu_kill_e),
|
2324 |
|
|
.ifu_exu_muldivop_d (ifu_exu_muldivop_d[4:0]),
|
2325 |
|
|
.ifu_exu_muls_d (ifu_exu_muls_d),
|
2326 |
|
|
.ifu_exu_nceen_e (ifu_exu_nceen_e),
|
2327 |
|
|
.ifu_exu_pc_d (ifu_exu_pc_d[47:0]),
|
2328 |
|
|
.ifu_exu_pcver_e (ifu_exu_pcver_e[63:0]),
|
2329 |
|
|
.ifu_exu_range_check_jlret_d(ifu_exu_range_check_jlret_d),
|
2330 |
|
|
.ifu_exu_range_check_other_d(ifu_exu_range_check_other_d),
|
2331 |
|
|
.ifu_exu_rd_d (ifu_exu_rd_d[4:0]),
|
2332 |
|
|
.ifu_exu_rd_exusr_e (ifu_exu_rd_exusr_e),
|
2333 |
|
|
.ifu_exu_rd_ffusr_e (ifu_exu_rd_ffusr_e),
|
2334 |
|
|
.ifu_exu_rd_ifusr_e (ifu_exu_rd_ifusr_e),
|
2335 |
|
|
.ifu_exu_ren1_s (ifu_exu_ren1_s),
|
2336 |
|
|
.ifu_exu_ren2_s (ifu_exu_ren2_s),
|
2337 |
|
|
.ifu_exu_ren3_s (ifu_exu_ren3_s),
|
2338 |
|
|
.ifu_exu_restore_d (ifu_exu_restore_d),
|
2339 |
|
|
.ifu_exu_restored_e (ifu_exu_restored_e),
|
2340 |
|
|
.ifu_exu_return_d (ifu_exu_return_d),
|
2341 |
|
|
.ifu_exu_rs1_s (ifu_exu_rs1_s[4:0]),
|
2342 |
|
|
.ifu_exu_rs1_vld_d (ifu_exu_rs1_vld_d),
|
2343 |
|
|
.ifu_exu_rs2_s (ifu_exu_rs2_s[4:0]),
|
2344 |
|
|
.ifu_exu_rs2_vld_d (ifu_exu_rs2_vld_d),
|
2345 |
|
|
.ifu_exu_rs3_s (ifu_exu_rs3_s[4:0]),
|
2346 |
|
|
.ifu_exu_rs3e_vld_d (ifu_exu_rs3e_vld_d),
|
2347 |
|
|
.ifu_exu_rs3o_vld_d (ifu_exu_rs3o_vld_d),
|
2348 |
|
|
.ifu_exu_save_d (ifu_exu_save_d),
|
2349 |
|
|
.ifu_exu_saved_e (ifu_exu_saved_e),
|
2350 |
|
|
.ifu_exu_setcc_d (ifu_exu_setcc_d),
|
2351 |
|
|
.ifu_exu_sethi_inst_d (ifu_exu_sethi_inst_d),
|
2352 |
|
|
.ifu_exu_shiftop_d (ifu_exu_shiftop_d[2:0]),
|
2353 |
|
|
.ifu_exu_tagop_d (ifu_exu_tagop_d),
|
2354 |
|
|
.ifu_exu_tcc_e (ifu_exu_tcc_e),
|
2355 |
|
|
.ifu_exu_tid_s2 (ifu_exu_tid_s2[1:0]),
|
2356 |
|
|
.ifu_exu_ttype_vld_m (ifu_exu_ttype_vld_m),
|
2357 |
|
|
.ifu_exu_tv_d (ifu_exu_tv_d),
|
2358 |
|
|
.ifu_exu_use_rsr_e_l (ifu_exu_use_rsr_e_l),
|
2359 |
|
|
.ifu_exu_usecin_d (ifu_exu_usecin_d),
|
2360 |
|
|
.ifu_exu_useimm_d (ifu_exu_useimm_d),
|
2361 |
|
|
.ifu_exu_wen_d (ifu_exu_wen_d),
|
2362 |
|
|
.ifu_tlu_flush_m (ifu_tlu_flush_m),
|
2363 |
|
|
.ifu_tlu_sraddr_d (ifu_tlu_sraddr_d[6:0]),
|
2364 |
|
|
.lsu_exu_dfill_data_g (lsu_exu_dfill_data_g[63:0]),
|
2365 |
|
|
.lsu_exu_dfill_vld_g (lsu_exu_dfill_vld_g),
|
2366 |
|
|
.lsu_exu_flush_pipe_w (lsu_exu_flush_pipe_w),
|
2367 |
|
|
.lsu_exu_ldst_miss_g2 (lsu_exu_ldst_miss_g2),
|
2368 |
|
|
.lsu_exu_ldxa_data_g (lsu_exu_ldxa_data_g[63:0]),
|
2369 |
|
|
.lsu_exu_ldxa_m (lsu_exu_ldxa_m),
|
2370 |
|
|
.lsu_exu_rd_m (lsu_exu_rd_m[4:0]),
|
2371 |
|
|
.lsu_exu_st_dtlb_perr_g(lsu_exu_st_dtlb_perr_g),
|
2372 |
|
|
.lsu_exu_thr_m (lsu_exu_thr_m[1:0]),
|
2373 |
|
|
.mul_exu_ack (mul_exu_ack),
|
2374 |
|
|
.rclk (rclk),
|
2375 |
|
|
.se (se),
|
2376 |
|
|
.sehold (sehold),
|
2377 |
|
|
.tlu_exu_agp (tlu_exu_agp[1:0]),
|
2378 |
|
|
.tlu_exu_agp_swap (tlu_exu_agp_swap),
|
2379 |
|
|
.tlu_exu_agp_tid (tlu_exu_agp_tid[1:0]),
|
2380 |
|
|
.tlu_exu_ccr_m (tlu_exu_ccr_m[7:0]),
|
2381 |
|
|
.tlu_exu_cwp_m (tlu_exu_cwp_m[2:0]),
|
2382 |
|
|
.tlu_exu_cwp_retry_m (tlu_exu_cwp_retry_m),
|
2383 |
|
|
.tlu_exu_cwpccr_update_m(tlu_exu_cwpccr_update_m),
|
2384 |
|
|
.tlu_exu_pic_onebelow_m(tlu_exu_pic_onebelow_m),
|
2385 |
|
|
.tlu_exu_pic_twobelow_m(tlu_exu_pic_twobelow_m),
|
2386 |
|
|
.tlu_exu_priv_trap_m (tlu_exu_priv_trap_m),
|
2387 |
|
|
.tlu_exu_rsr_data_m (tlu_exu_rsr_data_m[63:0]));
|
2388 |
|
|
|
2389 |
|
|
`endif
|
2390 |
|
|
|
2391 |
|
|
`ifdef FPGA_SYN_NO_SPU
|
2392 |
|
|
|
2393 |
|
|
tlu tlu(
|
2394 |
|
|
.short_si0 (short_scan0_3),
|
2395 |
|
|
.short_si1 (short_scan1_3),
|
2396 |
|
|
.short_so0 (short_scan0_4),
|
2397 |
|
|
.short_so1 (short_scan1_4),
|
2398 |
|
|
.si0 (scan0_4),
|
2399 |
|
|
.si1 (scan1_1),
|
2400 |
|
|
.so0 (scan0_5),
|
2401 |
|
|
.so1 (scan1_2),
|
2402 |
|
|
.grst_l (spc_grst_l),
|
2403 |
|
|
.arst_l (cmp_arst_l),
|
2404 |
|
|
.tlu_sftint_vld (tlu_ifu_sftint_vld[3:0]),
|
2405 |
|
|
.ifu_tlu_swint_m (ifu_tlu_sftint_m),
|
2406 |
|
|
.exu_tlu_cwp0 (exu_tlu_cwp0_w[2:0]),
|
2407 |
|
|
.exu_tlu_cwp1 (exu_tlu_cwp1_w[2:0]),
|
2408 |
|
|
.exu_tlu_cwp2 (exu_tlu_cwp2_w[2:0]),
|
2409 |
|
|
.exu_tlu_cwp3 (exu_tlu_cwp3_w[2:0]),
|
2410 |
|
|
|
2411 |
|
|
// fix for bug 5953
|
2412 |
|
|
.exu_tlu_ue_trap_m (1'b0),
|
2413 |
|
|
|
2414 |
|
|
// temporary fix for bug 5863
|
2415 |
|
|
// TBD: change for TO 2.0
|
2416 |
|
|
// fixed for eco 6660
|
2417 |
|
|
.spu_tlu_rsrv_illgl_m (1'b0),
|
2418 |
|
|
|
2419 |
|
|
// new interface to the pib block
|
2420 |
|
|
.ifu_lsu_imm_asi_d (ifu_tlu_imm_asi_d[8:0]),
|
2421 |
|
|
|
2422 |
|
|
.ifu_tlu_imiss_e (ifu_tlu_icmiss_e),
|
2423 |
|
|
// MMU_ASI_RD_CHANGE
|
2424 |
|
|
.ifu_tlu_thrid_d (lsu_tlu_thrid_d[1:0]),
|
2425 |
|
|
.lsu_tlu_st_rs3_data_g (lsu_mmu_rs3_data_g[63:0]),
|
2426 |
|
|
.lsu_tlu_async_ttype_g (lsu_tlu_async_ttype_w2[6:0]),
|
2427 |
|
|
.lsu_tlu_async_tid_g (lsu_tlu_async_tid_w2[1:0]),
|
2428 |
|
|
.lsu_tlu_async_ttype_vld_g (lsu_tlu_async_ttype_vld_w2),
|
2429 |
|
|
// end of new interface to the pib
|
2430 |
|
|
/*AUTOINST*/
|
2431 |
|
|
// Outputs
|
2432 |
|
|
.tlu_lsu_int_ldxa_data_w2 (tlu_lsu_int_ldxa_data_w2[63:0]),
|
2433 |
|
|
.tlu_lsu_int_ld_ill_va_w2 (tlu_lsu_int_ld_ill_va_w2),
|
2434 |
|
|
.tlu_lsu_int_ldxa_vld_w2 (tlu_lsu_int_ldxa_vld_w2),
|
2435 |
|
|
.tlu_dtlb_data_rd_g (tlu_dtlb_data_rd_g),
|
2436 |
|
|
.tlu_dtlb_dmp_actxt_g (tlu_dtlb_dmp_actxt_g),
|
2437 |
|
|
.tlu_dtlb_dmp_all_g (tlu_dtlb_dmp_all_g),
|
2438 |
|
|
.tlu_dtlb_dmp_nctxt_g (tlu_dtlb_dmp_nctxt_g),
|
2439 |
|
|
.tlu_dtlb_dmp_pctxt_g (tlu_dtlb_dmp_pctxt_g),
|
2440 |
|
|
.tlu_dtlb_dmp_sctxt_g (tlu_dtlb_dmp_sctxt_g),
|
2441 |
|
|
.tlu_dtlb_dmp_vld_g (tlu_dtlb_dmp_vld_g),
|
2442 |
|
|
.tlu_dtlb_invalidate_all_g (tlu_dtlb_invalidate_all_g),
|
2443 |
|
|
.tlu_dtlb_rw_index_g (tlu_dtlb_rw_index_g[5:0]),
|
2444 |
|
|
.tlu_dtlb_rw_index_vld_g (tlu_dtlb_rw_index_vld_g),
|
2445 |
|
|
.tlu_dtlb_tag_rd_g (tlu_dtlb_tag_rd_g),
|
2446 |
|
|
.tlu_dtlb_tte_data_w2 (tlu_dtlb_tte_data_w2[42:0]),
|
2447 |
|
|
.tlu_dtlb_tte_tag_w2 (tlu_dtlb_tte_tag_w2[58:0]),
|
2448 |
|
|
.lsu_ifu_inj_ack (lsu_ifu_inj_ack[3:0]),
|
2449 |
|
|
.tlu_exu_agp (tlu_exu_agp[`TSA_GLOBAL_WIDTH-1:0]),
|
2450 |
|
|
.tlu_exu_agp_swap (tlu_exu_agp_swap),
|
2451 |
|
|
.tlu_exu_agp_tid (tlu_exu_agp_tid[1:0]),
|
2452 |
|
|
.tlu_exu_ccr_m (tlu_exu_ccr_m[7:0]),
|
2453 |
|
|
.tlu_exu_cwp_m (tlu_exu_cwp_m[2:0]),
|
2454 |
|
|
.tlu_exu_cwp_retry_m (tlu_exu_cwp_retry_m),
|
2455 |
|
|
.tlu_exu_cwpccr_update_m (tlu_exu_cwpccr_update_m),
|
2456 |
|
|
.tlu_exu_rsr_data_m (tlu_exu_rsr_data_m[`TLU_ASR_DATA_WIDTH-1:0]),
|
2457 |
|
|
.tlu_idtlb_dmp_key_g (tlu_idtlb_dmp_key_g[40:0]),
|
2458 |
|
|
.tlu_idtlb_dmp_thrid_g (tlu_idtlb_dmp_thrid_g[1:0]),
|
2459 |
|
|
.tlu_ifu_hwint_i3 (tlu_ifu_hwint_i3[3:0]),
|
2460 |
|
|
.tlu_ifu_nukeint_i2 (tlu_ifu_nukeint_i2),
|
2461 |
|
|
.tlu_ifu_pstate_ie (tlu_ifu_pstate_ie[3:0]),
|
2462 |
|
|
.tlu_ifu_pstate_pef (tlu_ifu_pstate_pef[3:0]),
|
2463 |
|
|
.tlu_ifu_resumint_i2 (tlu_ifu_resumint_i2),
|
2464 |
|
|
.tlu_ifu_rstint_i2 (tlu_ifu_rstint_i2),
|
2465 |
|
|
.tlu_ifu_rstthr_i2 (tlu_ifu_rstthr_i2[3:0]),
|
2466 |
|
|
.tlu_ifu_trap_tid_w1 (tlu_ifu_trap_tid_w1[1:0]),
|
2467 |
|
|
.tlu_ifu_trapnpc_vld_w1 (tlu_ifu_trapnpc_vld_w1),
|
2468 |
|
|
.tlu_ifu_trapnpc_w2 (tlu_ifu_trapnpc_w2[48:0]),
|
2469 |
|
|
.tlu_ifu_trappc_w2 (tlu_ifu_trappc_w2[48:0]),
|
2470 |
|
|
.tlu_ifu_trappc_vld_w1 (tlu_ifu_trappc_vld_w1),
|
2471 |
|
|
.tlu_itlb_data_rd_g (tlu_itlb_data_rd_g),
|
2472 |
|
|
.tlu_itlb_dmp_actxt_g (tlu_itlb_dmp_actxt_g),
|
2473 |
|
|
.tlu_itlb_dmp_all_g (tlu_itlb_dmp_all_g),
|
2474 |
|
|
.tlu_itlb_dmp_nctxt_g (tlu_itlb_dmp_nctxt_g),
|
2475 |
|
|
.tlu_itlb_dmp_vld_g (tlu_itlb_dmp_vld_g),
|
2476 |
|
|
.tlu_itlb_invalidate_all_g (tlu_itlb_invalidate_all_g),
|
2477 |
|
|
.tlu_itlb_rw_index_g (tlu_itlb_rw_index_g[5:0]),
|
2478 |
|
|
.tlu_itlb_rw_index_vld_g (tlu_itlb_rw_index_vld_g),
|
2479 |
|
|
.tlu_itlb_tag_rd_g (tlu_itlb_tag_rd_g),
|
2480 |
|
|
.tlu_itlb_tte_data_w2 (tlu_itlb_tte_data_w2[42:0]),
|
2481 |
|
|
.tlu_itlb_tte_tag_w2 (tlu_itlb_tte_tag_w2[58:0]),
|
2482 |
|
|
.tlu_itlb_wr_vld_g (tlu_itlb_wr_vld_g),
|
2483 |
|
|
.tlu_lsu_asi_m (tlu_lsu_asi_m[7:0]),
|
2484 |
|
|
.tlu_lsu_asi_update_m (tlu_lsu_asi_update_m),
|
2485 |
|
|
.tlu_sscan_test_data (tlu_sscan_test_data[62:0]),
|
2486 |
|
|
.tlu_lsu_ldxa_tid_w2 (tlu_lsu_ldxa_tid_w2[1:0]),
|
2487 |
|
|
.tlu_lsu_pcxpkt (tlu_lsu_pcxpkt[25:0]),
|
2488 |
|
|
.tlu_lsu_pstate_am (tlu_lsu_pstate_am[3:0]),
|
2489 |
|
|
.tlu_lsu_pstate_cle (tlu_lsu_pstate_cle[3:0]),
|
2490 |
|
|
.tlu_lsu_pstate_priv (tlu_lsu_pstate_priv[3:0]),
|
2491 |
|
|
.tlu_lsu_redmode (tlu_lsu_redmode[3:0]),
|
2492 |
|
|
.tlu_lsu_redmode_rst_d1 (tlu_lsu_redmode_rst_d1[3:0]),
|
2493 |
|
|
.tlu_lsu_stxa_ack (tlu_lsu_stxa_ack),
|
2494 |
|
|
.tlu_lsu_stxa_ack_tid (tlu_lsu_stxa_ack_tid[1:0]),
|
2495 |
|
|
.tlu_lsu_tid_m (tlu_lsu_tid_m[1:0]),
|
2496 |
|
|
.tlu_lsu_tl_zero (tlu_lsu_tl_zero[`TLU_THRD_NUM-1:0]),
|
2497 |
|
|
.tlu_hintp_vld (tlu_hintp_vld[`TLU_THRD_NUM-1:0]),
|
2498 |
|
|
.tlu_rerr_vld (tlu_rerr_vld[`TLU_THRD_NUM-1:0]),
|
2499 |
|
|
.tlu_early_flush_pipe_w (tlu_early_flush_pipe_w),
|
2500 |
|
|
.tlu_early_flush_pipe2_w (tlu_early_flush_pipe2_w),
|
2501 |
|
|
.tlu_exu_early_flush_pipe_w (tlu_exu_early_flush_pipe_w),
|
2502 |
|
|
.tlu_lsu_ldxa_async_data_vld (tlu_lsu_ldxa_async_data_vld),
|
2503 |
|
|
.tlu_hpstate_priv (tlu_hpstate_priv[`TLU_THRD_NUM-1:0]),
|
2504 |
|
|
.tlu_hpstate_enb (tlu_hpstate_enb[`TLU_THRD_NUM-1:0]),
|
2505 |
|
|
.tlu_hpstate_ibe (tlu_hpstate_ibe[`TLU_THRD_NUM-1:0]),
|
2506 |
|
|
.tlu_exu_priv_trap_m (tlu_exu_priv_trap_m),
|
2507 |
|
|
.tlu_lsu_priv_trap_m (tlu_lsu_priv_trap_m),
|
2508 |
|
|
.tlu_exu_pic_onebelow_m (tlu_exu_pic_onebelow_m),
|
2509 |
|
|
.tlu_exu_pic_twobelow_m (tlu_exu_pic_twobelow_m),
|
2510 |
|
|
.lsu_exu_ldxa_m (lsu_exu_ldxa_m),
|
2511 |
|
|
.lsu_exu_ldxa_data_g (lsu_exu_ldxa_data_g[63:0]),
|
2512 |
|
|
.tlu_dsfsr_flt_vld (tlu_dsfsr_flt_vld[3:0]),
|
2513 |
|
|
// Inputs
|
2514 |
|
|
.rclk (rclk),
|
2515 |
|
|
.const_cpuid (const_cpuid[3:0]),
|
2516 |
|
|
.exu_lsu_ldst_va_e (exu_lsu_ldst_va_e[`ASI_VA_WIDTH-1:0]),
|
2517 |
|
|
.lsu_tlu_ldst_va_m (lsu_tlu_ldst_va_m[`TLU_ASI_VA_WIDTH-1:0]),
|
2518 |
|
|
.exu_mmu_early_va_e (exu_mmu_early_va_e[7:0]),
|
2519 |
|
|
.exu_tlu_ccr0_w (exu_tlu_ccr0_w[7:0]),
|
2520 |
|
|
.exu_tlu_ccr1_w (exu_tlu_ccr1_w[7:0]),
|
2521 |
|
|
.exu_tlu_ccr2_w (exu_tlu_ccr2_w[7:0]),
|
2522 |
|
|
.exu_tlu_ccr3_w (exu_tlu_ccr3_w[7:0]),
|
2523 |
|
|
.exu_tlu_cwp_cmplt (exu_tlu_cwp_cmplt),
|
2524 |
|
|
.exu_tlu_cwp_cmplt_tid (exu_tlu_cwp_cmplt_tid[1:0]),
|
2525 |
|
|
.exu_tlu_cwp_retry (exu_tlu_cwp_retry),
|
2526 |
|
|
.exu_tlu_misalign_addr_jmpl_rtn_m(exu_tlu_misalign_addr_jmpl_rtn_m),
|
2527 |
|
|
.exu_tlu_spill (exu_tlu_spill),
|
2528 |
|
|
.exu_tlu_spill_tid (exu_tlu_spill_tid[1:0]),
|
2529 |
|
|
.exu_tlu_spill_other (exu_tlu_spill_other),
|
2530 |
|
|
.exu_tlu_spill_wtype (exu_tlu_spill_wtype[2:0]),
|
2531 |
|
|
.exu_tlu_ttype_m (exu_tlu_ttype_m[8:0]),
|
2532 |
|
|
.exu_tlu_ttype_vld_m (exu_tlu_ttype_vld_m),
|
2533 |
|
|
.exu_tlu_va_oor_jl_ret_m (exu_tlu_va_oor_jl_ret_m),
|
2534 |
|
|
.exu_tlu_va_oor_m (exu_tlu_va_oor_m),
|
2535 |
|
|
.ffu_tlu_ill_inst_m (ffu_tlu_ill_inst_m),
|
2536 |
|
|
.ffu_ifu_tid_w2 (ffu_ifu_tid_w2[1:0]),
|
2537 |
|
|
.ffu_tlu_trap_ieee754 (ffu_tlu_trap_ieee754),
|
2538 |
|
|
.ffu_tlu_trap_other (ffu_tlu_trap_other),
|
2539 |
|
|
.ffu_tlu_trap_ue (ffu_tlu_trap_ue),
|
2540 |
|
|
.ifu_lsu_ld_inst_e (ifu_lsu_ld_inst_e),
|
2541 |
|
|
.ifu_lsu_memref_d (ifu_lsu_memref_d),
|
2542 |
|
|
.ifu_lsu_st_inst_e (ifu_lsu_st_inst_e),
|
2543 |
|
|
.ifu_tlu_done_inst_d (ifu_tlu_done_inst_d),
|
2544 |
|
|
.ifu_tlu_flush_m (ifu_tlu_flush_m),
|
2545 |
|
|
.ifu_tlu_flush_fd_w (ifu_tlu_flush_fd_w),
|
2546 |
|
|
.ifu_tlu_flush_fd2_w (ifu_tlu_flush_fd2_w),
|
2547 |
|
|
.ifu_tlu_flush_fd3_w (ifu_tlu_flush_fd3_w),
|
2548 |
|
|
.lsu_tlu_early_flush_w (lsu_tlu_early_flush_w),
|
2549 |
|
|
.lsu_tlu_early_flush2_w (lsu_tlu_early_flush2_w),
|
2550 |
|
|
.ifu_tlu_hwint_m (ifu_tlu_hwint_m),
|
2551 |
|
|
.ifu_tlu_immu_miss_m (ifu_tlu_immu_miss_m),
|
2552 |
|
|
.ifu_tlu_pc_oor_e (ifu_tlu_pc_oor_e),
|
2553 |
|
|
.ifu_tlu_l2imiss (ifu_tlu_l2imiss[`TLU_THRD_NUM-1:0]),
|
2554 |
|
|
.ifu_tlu_inst_vld_m (ifu_tlu_inst_vld_m),
|
2555 |
|
|
.ifu_tlu_inst_vld_m_bf1 (ifu_tlu_inst_vld_m_bf1),
|
2556 |
|
|
.ifu_tlu_itlb_done (ifu_tlu_itlb_done),
|
2557 |
|
|
.ifu_tlu_npc_m (ifu_tlu_npc_m[48:0]),
|
2558 |
|
|
.ifu_tlu_pc_m (ifu_tlu_pc_m[48:0]),
|
2559 |
|
|
.ifu_tlu_priv_violtn_m (ifu_tlu_priv_violtn_m),
|
2560 |
|
|
.ifu_tlu_retry_inst_d (ifu_tlu_retry_inst_d),
|
2561 |
|
|
.ifu_tlu_rstint_m (ifu_tlu_rstint_m),
|
2562 |
|
|
.ifu_tlu_sir_inst_m (ifu_tlu_sir_inst_m),
|
2563 |
|
|
.ifu_lsu_thrid_s (ifu_lsu_thrid_s[1:0]),
|
2564 |
|
|
.ifu_tlu_ttype_m (ifu_tlu_ttype_m[8:0]),
|
2565 |
|
|
.ifu_tlu_ttype_vld_m (ifu_tlu_ttype_vld_m),
|
2566 |
|
|
.ifu_mmu_trap_m (ifu_mmu_trap_m),
|
2567 |
|
|
.ifu_tlu_trap_m (ifu_tlu_trap_m),
|
2568 |
|
|
.lsu_asi_reg0 (lsu_asi_reg0[7:0]),
|
2569 |
|
|
.lsu_asi_reg1 (lsu_asi_reg1[7:0]),
|
2570 |
|
|
.lsu_asi_reg2 (lsu_asi_reg2[7:0]),
|
2571 |
|
|
.lsu_asi_reg3 (lsu_asi_reg3[7:0]),
|
2572 |
|
|
.lsu_asi_state (lsu_asi_state[`TLU_ASI_STATE_WIDTH-1:0]),
|
2573 |
|
|
.lsu_tlu_defr_trp_taken_g (lsu_tlu_defr_trp_taken_g),
|
2574 |
|
|
.lsu_mmu_defr_trp_taken_g (lsu_mmu_defr_trp_taken_g),
|
2575 |
|
|
.lsu_tlu_cpx_req (lsu_tlu_cpx_req[3:0]),
|
2576 |
|
|
.lsu_tlu_cpx_vld (lsu_tlu_cpx_vld),
|
2577 |
|
|
.lsu_tlu_daccess_excptn_g (lsu_tlu_daccess_excptn_g),
|
2578 |
|
|
.lsu_tlu_daccess_prot_g (lsu_tlu_daccess_prot_g),
|
2579 |
|
|
.lsu_tlu_dmmu_miss_g (lsu_tlu_dmmu_miss_g),
|
2580 |
|
|
.lsu_tlu_dside_ctxt_m (lsu_tlu_dside_ctxt_m[12:0]),
|
2581 |
|
|
.lsu_tlu_dtlb_done (lsu_tlu_dtlb_done),
|
2582 |
|
|
.lsu_tlu_intpkt (lsu_tlu_intpkt[17:0]),
|
2583 |
|
|
.ctu_sscan_tid (ctu_sscan_tid[`TLU_THRD_NUM-1:0]),
|
2584 |
|
|
.lsu_tlu_misalign_addr_ldst_atm_m(lsu_tlu_misalign_addr_ldst_atm_m),
|
2585 |
|
|
.lsu_tlu_pctxt_m (lsu_tlu_pctxt_m[12:0]),
|
2586 |
|
|
.lsu_tlu_pcxpkt_ack (lsu_tlu_pcxpkt_ack),
|
2587 |
|
|
.lsu_tlu_priv_action_g (lsu_tlu_priv_action_g),
|
2588 |
|
|
.lsu_tlu_rs3_data_g (lsu_tlu_rs3_data_g[63:0]),
|
2589 |
|
|
.lsu_tlu_tlb_access_tid_m (lsu_tlu_tlb_access_tid_m[1:0]),
|
2590 |
|
|
.lsu_tlu_tlb_asi_state_m (lsu_tlu_tlb_asi_state_m[7:0]),
|
2591 |
|
|
.lsu_tlu_tlb_dmp_va_m (lsu_tlu_tlb_dmp_va_m[47:13]),
|
2592 |
|
|
.lsu_tlu_tlb_ld_inst_m (lsu_tlu_tlb_ld_inst_m),
|
2593 |
|
|
.lsu_tlu_tlb_ldst_va_m (lsu_tlu_tlb_ldst_va_m[10:0]),
|
2594 |
|
|
.lsu_tlu_tlb_st_inst_m (lsu_tlu_tlb_st_inst_m),
|
2595 |
|
|
.lsu_tlu_ttype_m2 (lsu_tlu_ttype_m2[8:0]),
|
2596 |
|
|
.lsu_tlu_ttype_vld_m2 (lsu_tlu_ttype_vld_m2),
|
2597 |
|
|
.lsu_tlu_wtchpt_trp_g (lsu_tlu_wtchpt_trp_g),
|
2598 |
|
|
.mem_write_disable (mem_write_disable),
|
2599 |
|
|
.mux_drive_disable (mux_drive_disable),
|
2600 |
|
|
.sehold (sehold),
|
2601 |
|
|
.se (se),
|
2602 |
|
|
.ifu_tlu_sraddr_d (ifu_tlu_sraddr_d[`TLU_ASR_ADDR_WIDTH-1:0]),
|
2603 |
|
|
.ifu_tlu_sraddr_d_v2 (ifu_tlu_sraddr_d_v2[`TLU_ASR_ADDR_WIDTH-1:0]),
|
2604 |
|
|
.ifu_tlu_rsr_inst_d (ifu_tlu_rsr_inst_d),
|
2605 |
|
|
.lsu_tlu_wsr_inst_e (lsu_tlu_wsr_inst_e),
|
2606 |
|
|
.exu_tlu_wsr_data_m (exu_tlu_wsr_data_m[63:0]),
|
2607 |
|
|
.lsu_tlu_rsr_data_e (lsu_tlu_rsr_data_e[7:0]),
|
2608 |
|
|
.ifu_lsu_alt_space_e (ifu_lsu_alt_space_e),
|
2609 |
|
|
.ifu_tlu_alt_space_d (ifu_tlu_alt_space_d),
|
2610 |
|
|
.lsu_tlu_squash_va_oor_m (lsu_tlu_squash_va_oor_m),
|
2611 |
|
|
.lsu_tlu_dcache_miss_w2 (lsu_tlu_dcache_miss_w2[3:0]),
|
2612 |
|
|
.lsu_tlu_l2_dmiss (lsu_tlu_l2_dmiss[3:0]),
|
2613 |
|
|
.lsu_tlu_stb_full_w2 (lsu_tlu_stb_full_w2[3:0]),
|
2614 |
|
|
.ffu_tlu_fpu_tid (ffu_tlu_fpu_tid[1:0]),
|
2615 |
|
|
.ffu_tlu_fpu_cmplt (ffu_tlu_fpu_cmplt),
|
2616 |
|
|
.lsu_pid_state0 (lsu_pid_state0[2:0]),
|
2617 |
|
|
.lsu_pid_state1 (lsu_pid_state1[2:0]),
|
2618 |
|
|
.lsu_pid_state2 (lsu_pid_state2[2:0]),
|
2619 |
|
|
.lsu_pid_state3 (lsu_pid_state3[2:0]),
|
2620 |
|
|
.lsu_tlu_nucleus_ctxt_m (lsu_tlu_nucleus_ctxt_m),
|
2621 |
|
|
.lsu_tlu_tte_pg_sz_g (lsu_tlu_tte_pg_sz_g[2:0]),
|
2622 |
|
|
.ifu_lsu_error_inj (ifu_lsu_error_inj[3:0]),
|
2623 |
|
|
.ifu_lsu_imm_asi_vld_d (ifu_lsu_imm_asi_vld_d),
|
2624 |
|
|
.lsu_dsfsr_din_g (lsu_dsfsr_din_g[23:0]),
|
2625 |
|
|
.lsu_dmmu_sfsr_trp_wr (lsu_dmmu_sfsr_trp_wr[3:0]),
|
2626 |
|
|
.lsu_mmu_flush_pipe_w (lsu_mmu_flush_pipe_w),
|
2627 |
|
|
.exu_lsu_priority_trap_m (exu_lsu_priority_trap_m));
|
2628 |
|
|
|
2629 |
|
|
`else
|
2630 |
|
|
|
2631 |
|
|
tlu tlu(
|
2632 |
|
|
.short_si0 (short_scan0_3),
|
2633 |
|
|
.short_si1 (short_scan1_3),
|
2634 |
|
|
.short_so0 (short_scan0_4),
|
2635 |
|
|
.short_so1 (short_scan1_4),
|
2636 |
|
|
.si0 (scan0_4),
|
2637 |
|
|
.si1 (scan1_1),
|
2638 |
|
|
.so0 (scan0_5),
|
2639 |
|
|
.so1 (scan1_2),
|
2640 |
|
|
.grst_l (spc_grst_l),
|
2641 |
|
|
.arst_l (cmp_arst_l),
|
2642 |
|
|
.tlu_sftint_vld (tlu_ifu_sftint_vld[3:0]),
|
2643 |
|
|
.ifu_tlu_swint_m (ifu_tlu_sftint_m),
|
2644 |
|
|
.exu_tlu_cwp0 (exu_tlu_cwp0_w[2:0]),
|
2645 |
|
|
.exu_tlu_cwp1 (exu_tlu_cwp1_w[2:0]),
|
2646 |
|
|
.exu_tlu_cwp2 (exu_tlu_cwp2_w[2:0]),
|
2647 |
|
|
.exu_tlu_cwp3 (exu_tlu_cwp3_w[2:0]),
|
2648 |
|
|
|
2649 |
|
|
// fix for bug 5953
|
2650 |
|
|
.exu_tlu_ue_trap_m (1'b0),
|
2651 |
|
|
|
2652 |
|
|
// temporary fix for bug 5863
|
2653 |
|
|
// TBD: change for TO 2.0
|
2654 |
|
|
// fixed for eco 6660
|
2655 |
|
|
.spu_tlu_rsrv_illgl_m (spu_tlu_rsrv_illgl_m),
|
2656 |
|
|
|
2657 |
|
|
// new interface to the pib block
|
2658 |
|
|
.ifu_lsu_imm_asi_d (ifu_tlu_imm_asi_d[8:0]),
|
2659 |
|
|
|
2660 |
|
|
.ifu_tlu_imiss_e (ifu_tlu_icmiss_e),
|
2661 |
|
|
// MMU_ASI_RD_CHANGE
|
2662 |
|
|
.ifu_tlu_thrid_d (lsu_tlu_thrid_d[1:0]),
|
2663 |
|
|
.lsu_tlu_st_rs3_data_g (lsu_mmu_rs3_data_g[63:0]),
|
2664 |
|
|
.lsu_tlu_async_ttype_g (lsu_tlu_async_ttype_w2[6:0]),
|
2665 |
|
|
.lsu_tlu_async_tid_g (lsu_tlu_async_tid_w2[1:0]),
|
2666 |
|
|
.lsu_tlu_async_ttype_vld_g (lsu_tlu_async_ttype_vld_w2),
|
2667 |
|
|
// end of new interface to the pib
|
2668 |
|
|
/*AUTOINST*/
|
2669 |
|
|
// Outputs
|
2670 |
|
|
.tlu_lsu_int_ldxa_data_w2 (tlu_lsu_int_ldxa_data_w2[63:0]),
|
2671 |
|
|
.tlu_lsu_int_ld_ill_va_w2 (tlu_lsu_int_ld_ill_va_w2),
|
2672 |
|
|
.tlu_lsu_int_ldxa_vld_w2 (tlu_lsu_int_ldxa_vld_w2),
|
2673 |
|
|
.tlu_dtlb_data_rd_g (tlu_dtlb_data_rd_g),
|
2674 |
|
|
.tlu_dtlb_dmp_actxt_g (tlu_dtlb_dmp_actxt_g),
|
2675 |
|
|
.tlu_dtlb_dmp_all_g (tlu_dtlb_dmp_all_g),
|
2676 |
|
|
.tlu_dtlb_dmp_nctxt_g (tlu_dtlb_dmp_nctxt_g),
|
2677 |
|
|
.tlu_dtlb_dmp_pctxt_g (tlu_dtlb_dmp_pctxt_g),
|
2678 |
|
|
.tlu_dtlb_dmp_sctxt_g (tlu_dtlb_dmp_sctxt_g),
|
2679 |
|
|
.tlu_dtlb_dmp_vld_g (tlu_dtlb_dmp_vld_g),
|
2680 |
|
|
.tlu_dtlb_invalidate_all_g (tlu_dtlb_invalidate_all_g),
|
2681 |
|
|
.tlu_dtlb_rw_index_g (tlu_dtlb_rw_index_g[5:0]),
|
2682 |
|
|
.tlu_dtlb_rw_index_vld_g (tlu_dtlb_rw_index_vld_g),
|
2683 |
|
|
.tlu_dtlb_tag_rd_g (tlu_dtlb_tag_rd_g),
|
2684 |
|
|
.tlu_dtlb_tte_data_w2 (tlu_dtlb_tte_data_w2[42:0]),
|
2685 |
|
|
.tlu_dtlb_tte_tag_w2 (tlu_dtlb_tte_tag_w2[58:0]),
|
2686 |
|
|
.lsu_ifu_inj_ack (lsu_ifu_inj_ack[3:0]),
|
2687 |
|
|
.tlu_exu_agp (tlu_exu_agp[`TSA_GLOBAL_WIDTH-1:0]),
|
2688 |
|
|
.tlu_exu_agp_swap (tlu_exu_agp_swap),
|
2689 |
|
|
.tlu_exu_agp_tid (tlu_exu_agp_tid[1:0]),
|
2690 |
|
|
.tlu_exu_ccr_m (tlu_exu_ccr_m[7:0]),
|
2691 |
|
|
.tlu_exu_cwp_m (tlu_exu_cwp_m[2:0]),
|
2692 |
|
|
.tlu_exu_cwp_retry_m (tlu_exu_cwp_retry_m),
|
2693 |
|
|
.tlu_exu_cwpccr_update_m (tlu_exu_cwpccr_update_m),
|
2694 |
|
|
.tlu_exu_rsr_data_m (tlu_exu_rsr_data_m[`TLU_ASR_DATA_WIDTH-1:0]),
|
2695 |
|
|
.tlu_idtlb_dmp_key_g (tlu_idtlb_dmp_key_g[40:0]),
|
2696 |
|
|
.tlu_idtlb_dmp_thrid_g (tlu_idtlb_dmp_thrid_g[1:0]),
|
2697 |
|
|
.tlu_ifu_hwint_i3 (tlu_ifu_hwint_i3[3:0]),
|
2698 |
|
|
.tlu_ifu_nukeint_i2 (tlu_ifu_nukeint_i2),
|
2699 |
|
|
.tlu_ifu_pstate_ie (tlu_ifu_pstate_ie[3:0]),
|
2700 |
|
|
.tlu_ifu_pstate_pef (tlu_ifu_pstate_pef[3:0]),
|
2701 |
|
|
.tlu_ifu_resumint_i2 (tlu_ifu_resumint_i2),
|
2702 |
|
|
.tlu_ifu_rstint_i2 (tlu_ifu_rstint_i2),
|
2703 |
|
|
.tlu_ifu_rstthr_i2 (tlu_ifu_rstthr_i2[3:0]),
|
2704 |
|
|
.tlu_ifu_trap_tid_w1 (tlu_ifu_trap_tid_w1[1:0]),
|
2705 |
|
|
.tlu_ifu_trapnpc_vld_w1 (tlu_ifu_trapnpc_vld_w1),
|
2706 |
|
|
.tlu_ifu_trapnpc_w2 (tlu_ifu_trapnpc_w2[48:0]),
|
2707 |
|
|
.tlu_ifu_trappc_w2 (tlu_ifu_trappc_w2[48:0]),
|
2708 |
|
|
.tlu_ifu_trappc_vld_w1 (tlu_ifu_trappc_vld_w1),
|
2709 |
|
|
.tlu_itlb_data_rd_g (tlu_itlb_data_rd_g),
|
2710 |
|
|
.tlu_itlb_dmp_actxt_g (tlu_itlb_dmp_actxt_g),
|
2711 |
|
|
.tlu_itlb_dmp_all_g (tlu_itlb_dmp_all_g),
|
2712 |
|
|
.tlu_itlb_dmp_nctxt_g (tlu_itlb_dmp_nctxt_g),
|
2713 |
|
|
.tlu_itlb_dmp_vld_g (tlu_itlb_dmp_vld_g),
|
2714 |
|
|
.tlu_itlb_invalidate_all_g (tlu_itlb_invalidate_all_g),
|
2715 |
|
|
.tlu_itlb_rw_index_g (tlu_itlb_rw_index_g[5:0]),
|
2716 |
|
|
.tlu_itlb_rw_index_vld_g (tlu_itlb_rw_index_vld_g),
|
2717 |
|
|
.tlu_itlb_tag_rd_g (tlu_itlb_tag_rd_g),
|
2718 |
|
|
.tlu_itlb_tte_data_w2 (tlu_itlb_tte_data_w2[42:0]),
|
2719 |
|
|
.tlu_itlb_tte_tag_w2 (tlu_itlb_tte_tag_w2[58:0]),
|
2720 |
|
|
.tlu_itlb_wr_vld_g (tlu_itlb_wr_vld_g),
|
2721 |
|
|
.tlu_lsu_asi_m (tlu_lsu_asi_m[7:0]),
|
2722 |
|
|
.tlu_lsu_asi_update_m (tlu_lsu_asi_update_m),
|
2723 |
|
|
.tlu_sscan_test_data (tlu_sscan_test_data[62:0]),
|
2724 |
|
|
.tlu_lsu_ldxa_tid_w2 (tlu_lsu_ldxa_tid_w2[1:0]),
|
2725 |
|
|
.tlu_lsu_pcxpkt (tlu_lsu_pcxpkt[25:0]),
|
2726 |
|
|
.tlu_lsu_pstate_am (tlu_lsu_pstate_am[3:0]),
|
2727 |
|
|
.tlu_lsu_pstate_cle (tlu_lsu_pstate_cle[3:0]),
|
2728 |
|
|
.tlu_lsu_pstate_priv (tlu_lsu_pstate_priv[3:0]),
|
2729 |
|
|
.tlu_lsu_redmode (tlu_lsu_redmode[3:0]),
|
2730 |
|
|
.tlu_lsu_redmode_rst_d1 (tlu_lsu_redmode_rst_d1[3:0]),
|
2731 |
|
|
.tlu_lsu_stxa_ack (tlu_lsu_stxa_ack),
|
2732 |
|
|
.tlu_lsu_stxa_ack_tid (tlu_lsu_stxa_ack_tid[1:0]),
|
2733 |
|
|
.tlu_lsu_tid_m (tlu_lsu_tid_m[1:0]),
|
2734 |
|
|
.tlu_lsu_tl_zero (tlu_lsu_tl_zero[`TLU_THRD_NUM-1:0]),
|
2735 |
|
|
.tlu_hintp_vld (tlu_hintp_vld[`TLU_THRD_NUM-1:0]),
|
2736 |
|
|
.tlu_rerr_vld (tlu_rerr_vld[`TLU_THRD_NUM-1:0]),
|
2737 |
|
|
.tlu_early_flush_pipe_w (tlu_early_flush_pipe_w),
|
2738 |
|
|
.tlu_early_flush_pipe2_w (tlu_early_flush_pipe2_w),
|
2739 |
|
|
.tlu_exu_early_flush_pipe_w (tlu_exu_early_flush_pipe_w),
|
2740 |
|
|
.tlu_lsu_ldxa_async_data_vld (tlu_lsu_ldxa_async_data_vld),
|
2741 |
|
|
.tlu_hpstate_priv (tlu_hpstate_priv[`TLU_THRD_NUM-1:0]),
|
2742 |
|
|
.tlu_hpstate_enb (tlu_hpstate_enb[`TLU_THRD_NUM-1:0]),
|
2743 |
|
|
.tlu_hpstate_ibe (tlu_hpstate_ibe[`TLU_THRD_NUM-1:0]),
|
2744 |
|
|
.tlu_exu_priv_trap_m (tlu_exu_priv_trap_m),
|
2745 |
|
|
.tlu_lsu_priv_trap_m (tlu_lsu_priv_trap_m),
|
2746 |
|
|
.tlu_exu_pic_onebelow_m (tlu_exu_pic_onebelow_m),
|
2747 |
|
|
.tlu_exu_pic_twobelow_m (tlu_exu_pic_twobelow_m),
|
2748 |
|
|
.lsu_exu_ldxa_m (lsu_exu_ldxa_m),
|
2749 |
|
|
.lsu_exu_ldxa_data_g (lsu_exu_ldxa_data_g[63:0]),
|
2750 |
|
|
.tlu_dsfsr_flt_vld (tlu_dsfsr_flt_vld[3:0]),
|
2751 |
|
|
// Inputs
|
2752 |
|
|
.rclk (rclk),
|
2753 |
|
|
.const_cpuid (const_cpuid[3:0]),
|
2754 |
|
|
.exu_lsu_ldst_va_e (exu_lsu_ldst_va_e[`ASI_VA_WIDTH-1:0]),
|
2755 |
|
|
.lsu_tlu_ldst_va_m (lsu_tlu_ldst_va_m[`TLU_ASI_VA_WIDTH-1:0]),
|
2756 |
|
|
.exu_mmu_early_va_e (exu_mmu_early_va_e[7:0]),
|
2757 |
|
|
.exu_tlu_ccr0_w (exu_tlu_ccr0_w[7:0]),
|
2758 |
|
|
.exu_tlu_ccr1_w (exu_tlu_ccr1_w[7:0]),
|
2759 |
|
|
.exu_tlu_ccr2_w (exu_tlu_ccr2_w[7:0]),
|
2760 |
|
|
.exu_tlu_ccr3_w (exu_tlu_ccr3_w[7:0]),
|
2761 |
|
|
.exu_tlu_cwp_cmplt (exu_tlu_cwp_cmplt),
|
2762 |
|
|
.exu_tlu_cwp_cmplt_tid (exu_tlu_cwp_cmplt_tid[1:0]),
|
2763 |
|
|
.exu_tlu_cwp_retry (exu_tlu_cwp_retry),
|
2764 |
|
|
.exu_tlu_misalign_addr_jmpl_rtn_m(exu_tlu_misalign_addr_jmpl_rtn_m),
|
2765 |
|
|
.exu_tlu_spill (exu_tlu_spill),
|
2766 |
|
|
.exu_tlu_spill_tid (exu_tlu_spill_tid[1:0]),
|
2767 |
|
|
.exu_tlu_spill_other (exu_tlu_spill_other),
|
2768 |
|
|
.exu_tlu_spill_wtype (exu_tlu_spill_wtype[2:0]),
|
2769 |
|
|
.exu_tlu_ttype_m (exu_tlu_ttype_m[8:0]),
|
2770 |
|
|
.exu_tlu_ttype_vld_m (exu_tlu_ttype_vld_m),
|
2771 |
|
|
.exu_tlu_va_oor_jl_ret_m (exu_tlu_va_oor_jl_ret_m),
|
2772 |
|
|
.exu_tlu_va_oor_m (exu_tlu_va_oor_m),
|
2773 |
|
|
.ffu_tlu_ill_inst_m (ffu_tlu_ill_inst_m),
|
2774 |
|
|
.ffu_ifu_tid_w2 (ffu_ifu_tid_w2[1:0]),
|
2775 |
|
|
.ffu_tlu_trap_ieee754 (ffu_tlu_trap_ieee754),
|
2776 |
|
|
.ffu_tlu_trap_other (ffu_tlu_trap_other),
|
2777 |
|
|
.ffu_tlu_trap_ue (ffu_tlu_trap_ue),
|
2778 |
|
|
.ifu_lsu_ld_inst_e (ifu_lsu_ld_inst_e),
|
2779 |
|
|
.ifu_lsu_memref_d (ifu_lsu_memref_d),
|
2780 |
|
|
.ifu_lsu_st_inst_e (ifu_lsu_st_inst_e),
|
2781 |
|
|
.ifu_tlu_done_inst_d (ifu_tlu_done_inst_d),
|
2782 |
|
|
.ifu_tlu_flush_m (ifu_tlu_flush_m),
|
2783 |
|
|
.ifu_tlu_flush_fd_w (ifu_tlu_flush_fd_w),
|
2784 |
|
|
.ifu_tlu_flush_fd2_w (ifu_tlu_flush_fd2_w),
|
2785 |
|
|
.ifu_tlu_flush_fd3_w (ifu_tlu_flush_fd3_w),
|
2786 |
|
|
.lsu_tlu_early_flush_w (lsu_tlu_early_flush_w),
|
2787 |
|
|
.lsu_tlu_early_flush2_w (lsu_tlu_early_flush2_w),
|
2788 |
|
|
.ifu_tlu_hwint_m (ifu_tlu_hwint_m),
|
2789 |
|
|
.ifu_tlu_immu_miss_m (ifu_tlu_immu_miss_m),
|
2790 |
|
|
.ifu_tlu_pc_oor_e (ifu_tlu_pc_oor_e),
|
2791 |
|
|
.ifu_tlu_l2imiss (ifu_tlu_l2imiss[`TLU_THRD_NUM-1:0]),
|
2792 |
|
|
.ifu_tlu_inst_vld_m (ifu_tlu_inst_vld_m),
|
2793 |
|
|
.ifu_tlu_inst_vld_m_bf1 (ifu_tlu_inst_vld_m_bf1),
|
2794 |
|
|
.ifu_tlu_itlb_done (ifu_tlu_itlb_done),
|
2795 |
|
|
.ifu_tlu_npc_m (ifu_tlu_npc_m[48:0]),
|
2796 |
|
|
.ifu_tlu_pc_m (ifu_tlu_pc_m[48:0]),
|
2797 |
|
|
.ifu_tlu_priv_violtn_m (ifu_tlu_priv_violtn_m),
|
2798 |
|
|
.ifu_tlu_retry_inst_d (ifu_tlu_retry_inst_d),
|
2799 |
|
|
.ifu_tlu_rstint_m (ifu_tlu_rstint_m),
|
2800 |
|
|
.ifu_tlu_sir_inst_m (ifu_tlu_sir_inst_m),
|
2801 |
|
|
.ifu_lsu_thrid_s (ifu_lsu_thrid_s[1:0]),
|
2802 |
|
|
.ifu_tlu_ttype_m (ifu_tlu_ttype_m[8:0]),
|
2803 |
|
|
.ifu_tlu_ttype_vld_m (ifu_tlu_ttype_vld_m),
|
2804 |
|
|
.ifu_mmu_trap_m (ifu_mmu_trap_m),
|
2805 |
|
|
.ifu_tlu_trap_m (ifu_tlu_trap_m),
|
2806 |
|
|
.lsu_asi_reg0 (lsu_asi_reg0[7:0]),
|
2807 |
|
|
.lsu_asi_reg1 (lsu_asi_reg1[7:0]),
|
2808 |
|
|
.lsu_asi_reg2 (lsu_asi_reg2[7:0]),
|
2809 |
|
|
.lsu_asi_reg3 (lsu_asi_reg3[7:0]),
|
2810 |
|
|
.lsu_asi_state (lsu_asi_state[`TLU_ASI_STATE_WIDTH-1:0]),
|
2811 |
|
|
.lsu_tlu_defr_trp_taken_g (lsu_tlu_defr_trp_taken_g),
|
2812 |
|
|
.lsu_mmu_defr_trp_taken_g (lsu_mmu_defr_trp_taken_g),
|
2813 |
|
|
.lsu_tlu_cpx_req (lsu_tlu_cpx_req[3:0]),
|
2814 |
|
|
.lsu_tlu_cpx_vld (lsu_tlu_cpx_vld),
|
2815 |
|
|
.lsu_tlu_daccess_excptn_g (lsu_tlu_daccess_excptn_g),
|
2816 |
|
|
.lsu_tlu_daccess_prot_g (lsu_tlu_daccess_prot_g),
|
2817 |
|
|
.lsu_tlu_dmmu_miss_g (lsu_tlu_dmmu_miss_g),
|
2818 |
|
|
.lsu_tlu_dside_ctxt_m (lsu_tlu_dside_ctxt_m[12:0]),
|
2819 |
|
|
.lsu_tlu_dtlb_done (lsu_tlu_dtlb_done),
|
2820 |
|
|
.lsu_tlu_intpkt (lsu_tlu_intpkt[17:0]),
|
2821 |
|
|
.ctu_sscan_tid (ctu_sscan_tid[`TLU_THRD_NUM-1:0]),
|
2822 |
|
|
.lsu_tlu_misalign_addr_ldst_atm_m(lsu_tlu_misalign_addr_ldst_atm_m),
|
2823 |
|
|
.lsu_tlu_pctxt_m (lsu_tlu_pctxt_m[12:0]),
|
2824 |
|
|
.lsu_tlu_pcxpkt_ack (lsu_tlu_pcxpkt_ack),
|
2825 |
|
|
.lsu_tlu_priv_action_g (lsu_tlu_priv_action_g),
|
2826 |
|
|
.lsu_tlu_rs3_data_g (lsu_tlu_rs3_data_g[63:0]),
|
2827 |
|
|
.lsu_tlu_tlb_access_tid_m (lsu_tlu_tlb_access_tid_m[1:0]),
|
2828 |
|
|
.lsu_tlu_tlb_asi_state_m (lsu_tlu_tlb_asi_state_m[7:0]),
|
2829 |
|
|
.lsu_tlu_tlb_dmp_va_m (lsu_tlu_tlb_dmp_va_m[47:13]),
|
2830 |
|
|
.lsu_tlu_tlb_ld_inst_m (lsu_tlu_tlb_ld_inst_m),
|
2831 |
|
|
.lsu_tlu_tlb_ldst_va_m (lsu_tlu_tlb_ldst_va_m[10:0]),
|
2832 |
|
|
.lsu_tlu_tlb_st_inst_m (lsu_tlu_tlb_st_inst_m),
|
2833 |
|
|
.lsu_tlu_ttype_m2 (lsu_tlu_ttype_m2[8:0]),
|
2834 |
|
|
.lsu_tlu_ttype_vld_m2 (lsu_tlu_ttype_vld_m2),
|
2835 |
|
|
.lsu_tlu_wtchpt_trp_g (lsu_tlu_wtchpt_trp_g),
|
2836 |
|
|
.mem_write_disable (mem_write_disable),
|
2837 |
|
|
.mux_drive_disable (mux_drive_disable),
|
2838 |
|
|
.sehold (sehold),
|
2839 |
|
|
.se (se),
|
2840 |
|
|
.ifu_tlu_sraddr_d (ifu_tlu_sraddr_d[`TLU_ASR_ADDR_WIDTH-1:0]),
|
2841 |
|
|
.ifu_tlu_sraddr_d_v2 (ifu_tlu_sraddr_d_v2[`TLU_ASR_ADDR_WIDTH-1:0]),
|
2842 |
|
|
.ifu_tlu_rsr_inst_d (ifu_tlu_rsr_inst_d),
|
2843 |
|
|
.lsu_tlu_wsr_inst_e (lsu_tlu_wsr_inst_e),
|
2844 |
|
|
.exu_tlu_wsr_data_m (exu_tlu_wsr_data_m[63:0]),
|
2845 |
|
|
.lsu_tlu_rsr_data_e (lsu_tlu_rsr_data_e[7:0]),
|
2846 |
|
|
.ifu_lsu_alt_space_e (ifu_lsu_alt_space_e),
|
2847 |
|
|
.ifu_tlu_alt_space_d (ifu_tlu_alt_space_d),
|
2848 |
|
|
.lsu_tlu_squash_va_oor_m (lsu_tlu_squash_va_oor_m),
|
2849 |
|
|
.lsu_tlu_dcache_miss_w2 (lsu_tlu_dcache_miss_w2[3:0]),
|
2850 |
|
|
.lsu_tlu_l2_dmiss (lsu_tlu_l2_dmiss[3:0]),
|
2851 |
|
|
.lsu_tlu_stb_full_w2 (lsu_tlu_stb_full_w2[3:0]),
|
2852 |
|
|
.ffu_tlu_fpu_tid (ffu_tlu_fpu_tid[1:0]),
|
2853 |
|
|
.ffu_tlu_fpu_cmplt (ffu_tlu_fpu_cmplt),
|
2854 |
|
|
.lsu_pid_state0 (lsu_pid_state0[2:0]),
|
2855 |
|
|
.lsu_pid_state1 (lsu_pid_state1[2:0]),
|
2856 |
|
|
.lsu_pid_state2 (lsu_pid_state2[2:0]),
|
2857 |
|
|
.lsu_pid_state3 (lsu_pid_state3[2:0]),
|
2858 |
|
|
.lsu_tlu_nucleus_ctxt_m (lsu_tlu_nucleus_ctxt_m),
|
2859 |
|
|
.lsu_tlu_tte_pg_sz_g (lsu_tlu_tte_pg_sz_g[2:0]),
|
2860 |
|
|
.ifu_lsu_error_inj (ifu_lsu_error_inj[3:0]),
|
2861 |
|
|
.ifu_lsu_imm_asi_vld_d (ifu_lsu_imm_asi_vld_d),
|
2862 |
|
|
.lsu_dsfsr_din_g (lsu_dsfsr_din_g[23:0]),
|
2863 |
|
|
.lsu_dmmu_sfsr_trp_wr (lsu_dmmu_sfsr_trp_wr[3:0]),
|
2864 |
|
|
.lsu_mmu_flush_pipe_w (lsu_mmu_flush_pipe_w),
|
2865 |
|
|
.exu_lsu_priority_trap_m (exu_lsu_priority_trap_m));
|
2866 |
|
|
|
2867 |
|
|
`endif // `ifdef FPGA_SYN_NO_SPU
|
2868 |
|
|
|
2869 |
|
|
|
2870 |
|
|
spu spu(
|
2871 |
|
|
.short_si0 (short_scan0_4),
|
2872 |
|
|
.short_so0 (short_scan0_5),
|
2873 |
|
|
.short_si1 (short_scan1_4),
|
2874 |
|
|
.short_so1 (short_scan1_5),
|
2875 |
|
|
.si1 (scan1_2),
|
2876 |
|
|
.so1 (scan1_3),
|
2877 |
|
|
// reset stuff
|
2878 |
|
|
.grst_l (spc_grst_l),
|
2879 |
|
|
.arst_l (cmp_arst_l),
|
2880 |
|
|
.mem_bypass (mem_bypass),
|
2881 |
|
|
|
2882 |
|
|
.tlu_spu_flush_w (tlu_exu_early_flush_pipe_w),
|
2883 |
|
|
.ifu_spu_flush_w (ifu_tlu_flush_w),
|
2884 |
|
|
|
2885 |
|
|
.cpx_spu_data_cx ({cpx_spc_data_cx3[144:140],cpx_spc_data_cx3[138:137],
|
2886 |
|
|
cpx_spc_data_cx3[127:0]}),
|
2887 |
|
|
|
2888 |
|
|
.exu_spu_rsrv_data_e (exu_spu_rs3_data_e[8:6]),
|
2889 |
|
|
.exu_lsu_rs3_data_e (exu_spu_rs3_data_e[63:0]),
|
2890 |
|
|
|
2891 |
|
|
.mux_drive_disable (mux_drive_disable),
|
2892 |
|
|
.lsu_spu_strm_ack_cmplt (lsu_spu_strm_ack_cmplt[1:0]),
|
2893 |
|
|
|
2894 |
|
|
//
|
2895 |
|
|
.spu_tlu_rsrv_illgl_m (spu_tlu_rsrv_illgl_m),
|
2896 |
|
|
|
2897 |
|
|
/*AUTOINST*/
|
2898 |
|
|
// Outputs
|
2899 |
|
|
.spu_ifu_ttype_w2 (spu_ifu_ttype_w2),
|
2900 |
|
|
.spu_ifu_ttype_vld_w2 (spu_ifu_ttype_vld_w2),
|
2901 |
|
|
.spu_ifu_ttype_tid_w2 (spu_ifu_ttype_tid_w2[1:0]),
|
2902 |
|
|
.spu_lsu_ldst_pckt (spu_lsu_ldst_pckt[123:0]),
|
2903 |
|
|
.spu_mul_req_vld (spu_mul_req_vld),
|
2904 |
|
|
.spu_mul_areg_shf (spu_mul_areg_shf),
|
2905 |
|
|
.spu_mul_areg_rst (spu_mul_areg_rst),
|
2906 |
|
|
.spu_mul_acc (spu_mul_acc),
|
2907 |
|
|
.spu_mul_op1_data (spu_mul_op1_data[63:0]),
|
2908 |
|
|
.spu_mul_op2_data (spu_mul_op2_data[63:0]),
|
2909 |
|
|
.spu_lsu_ldxa_data_w2 (spu_lsu_ldxa_data_w2[63:0]),
|
2910 |
|
|
.spu_lsu_ldxa_data_vld_w2 (spu_lsu_ldxa_data_vld_w2),
|
2911 |
|
|
.spu_lsu_ldxa_tid_w2 (spu_lsu_ldxa_tid_w2[1:0]),
|
2912 |
|
|
.spu_lsu_stxa_ack (spu_lsu_stxa_ack),
|
2913 |
|
|
.spu_lsu_stxa_ack_tid (spu_lsu_stxa_ack_tid[1:0]),
|
2914 |
|
|
.spu_mul_mulres_lshft (spu_mul_mulres_lshft),
|
2915 |
|
|
.spu_ifu_corr_err_w2 (spu_ifu_corr_err_w2),
|
2916 |
|
|
.spu_ifu_unc_err_w1 (spu_ifu_unc_err_w1),
|
2917 |
|
|
.spu_lsu_unc_error_w2 (spu_lsu_unc_error_w2),
|
2918 |
|
|
.spu_ifu_err_addr_w2 (spu_ifu_err_addr_w2[39:4]),
|
2919 |
|
|
.spu_ifu_mamem_err_w1 (spu_ifu_mamem_err_w1),
|
2920 |
|
|
.spu_ifu_int_w2 (spu_ifu_int_w2),
|
2921 |
|
|
.spu_lsu_ldxa_illgl_va_w2 (spu_lsu_ldxa_illgl_va_w2),
|
2922 |
|
|
// Inputs
|
2923 |
|
|
.se (se),
|
2924 |
|
|
.rclk (rclk),
|
2925 |
|
|
.mem_write_disable (mem_write_disable),
|
2926 |
|
|
.sehold (sehold),
|
2927 |
|
|
.const_cpuid (const_cpuid[2:0]),
|
2928 |
|
|
.lsu_spu_ldst_ack (lsu_spu_ldst_ack),
|
2929 |
|
|
.mul_spu_ack (mul_spu_ack),
|
2930 |
|
|
.mul_spu_shf_ack (mul_spu_shf_ack),
|
2931 |
|
|
.mul_data_out (mul_data_out[63:0]),
|
2932 |
|
|
.lsu_spu_asi_state_e (lsu_spu_asi_state_e[7:0]),
|
2933 |
|
|
.ifu_spu_inst_vld_w (ifu_spu_inst_vld_w),
|
2934 |
|
|
.ifu_lsu_ld_inst_e (ifu_lsu_ld_inst_e),
|
2935 |
|
|
.ifu_lsu_st_inst_e (ifu_lsu_st_inst_e),
|
2936 |
|
|
.ifu_lsu_alt_space_e (ifu_lsu_alt_space_e),
|
2937 |
|
|
.ifu_tlu_thrid_e (ifu_tlu_thrid_e[1:0]),
|
2938 |
|
|
.exu_lsu_ldst_va_e (exu_lsu_ldst_va_e[7:0]),
|
2939 |
|
|
.ifu_spu_trap_ack (ifu_spu_trap_ack),
|
2940 |
|
|
.lsu_spu_stb_empty (lsu_spu_stb_empty[3:0]),
|
2941 |
|
|
.lsu_spu_early_flush_g (lsu_spu_early_flush_g),
|
2942 |
|
|
.ifu_spu_nceen (ifu_spu_nceen[3:0]),
|
2943 |
|
|
.lsu_mamem_mrgn (lsu_mamem_mrgn[3:0]));
|
2944 |
|
|
|
2945 |
|
|
|
2946 |
|
|
`ifdef FPGA_SYN_NO_SPU
|
2947 |
|
|
|
2948 |
|
|
sparc_mul_top mul(
|
2949 |
|
|
.si (scan1_2),
|
2950 |
|
|
.so (scan1_4),
|
2951 |
|
|
//
|
2952 |
|
|
.grst_l (spc_grst_l),
|
2953 |
|
|
.arst_l (cmp_arst_l),
|
2954 |
|
|
/*AUTOINST*/
|
2955 |
|
|
// Outputs
|
2956 |
|
|
.mul_exu_ack (mul_exu_ack),
|
2957 |
|
|
.mul_spu_ack (),
|
2958 |
|
|
.mul_spu_shf_ack (),
|
2959 |
|
|
.mul_data_out (mul_data_out[63:0]),
|
2960 |
|
|
// Inputs
|
2961 |
|
|
.rclk (rclk),
|
2962 |
|
|
.se (se),
|
2963 |
|
|
.exu_mul_input_vld (exu_mul_input_vld),
|
2964 |
|
|
.exu_mul_rs1_data (exu_mul_rs1_data[63:0]),
|
2965 |
|
|
.exu_mul_rs2_data (exu_mul_rs2_data[63:0]),
|
2966 |
|
|
.spu_mul_req_vld (1'b0),
|
2967 |
|
|
.spu_mul_acc (1'b0),
|
2968 |
|
|
.spu_mul_areg_shf (1'b0),
|
2969 |
|
|
.spu_mul_areg_rst (1'b0),
|
2970 |
|
|
.spu_mul_op1_data (64'h0000000000000000),
|
2971 |
|
|
.spu_mul_op2_data (64'h0000000000000000),
|
2972 |
|
|
.spu_mul_mulres_lshft(spu_mul_mulres_lshft));
|
2973 |
|
|
|
2974 |
|
|
`else
|
2975 |
|
|
|
2976 |
|
|
sparc_mul_top mul(
|
2977 |
|
|
.si (scan1_3),
|
2978 |
|
|
.so (scan1_4),
|
2979 |
|
|
//
|
2980 |
|
|
.grst_l (spc_grst_l),
|
2981 |
|
|
.arst_l (cmp_arst_l),
|
2982 |
|
|
/*AUTOINST*/
|
2983 |
|
|
// Outputs
|
2984 |
|
|
.mul_exu_ack (mul_exu_ack),
|
2985 |
|
|
.mul_spu_ack (mul_spu_ack),
|
2986 |
|
|
.mul_spu_shf_ack (mul_spu_shf_ack),
|
2987 |
|
|
.mul_data_out (mul_data_out[63:0]),
|
2988 |
|
|
// Inputs
|
2989 |
|
|
.rclk (rclk),
|
2990 |
|
|
.se (se),
|
2991 |
|
|
.exu_mul_input_vld (exu_mul_input_vld),
|
2992 |
|
|
.exu_mul_rs1_data (exu_mul_rs1_data[63:0]),
|
2993 |
|
|
.exu_mul_rs2_data (exu_mul_rs2_data[63:0]),
|
2994 |
|
|
.spu_mul_req_vld (spu_mul_req_vld),
|
2995 |
|
|
.spu_mul_acc (spu_mul_acc),
|
2996 |
|
|
.spu_mul_areg_shf (spu_mul_areg_shf),
|
2997 |
|
|
.spu_mul_areg_rst (spu_mul_areg_rst),
|
2998 |
|
|
.spu_mul_op1_data (spu_mul_op1_data[63:0]),
|
2999 |
|
|
.spu_mul_op2_data (spu_mul_op2_data[63:0]),
|
3000 |
|
|
.spu_mul_mulres_lshft(spu_mul_mulres_lshft));
|
3001 |
|
|
|
3002 |
|
|
`endif // `ifdef FPGA_SYN_NO_SPU
|
3003 |
|
|
|
3004 |
|
|
`ifdef FPGA_SYN_NO_SPU
|
3005 |
|
|
|
3006 |
|
|
sparc_ffu ffu(
|
3007 |
|
|
.short_si0 (short_scan0_4),
|
3008 |
|
|
.short_so0 (short_scan0_6),
|
3009 |
|
|
.si (scan0_5),
|
3010 |
|
|
.so (scan0_6),
|
3011 |
|
|
// reset stuff
|
3012 |
|
|
.grst_l (spc_grst_l),
|
3013 |
|
|
.arst_l (cmp_arst_l),
|
3014 |
|
|
|
3015 |
|
|
// eco 6529 .
|
3016 |
|
|
.lsu_ffu_st_dtlb_perr_g (lsu_ffu_st_dtlb_perr_g),
|
3017 |
|
|
|
3018 |
|
|
.exu_ffu_ist_e (ifu_lsu_st_inst_e),
|
3019 |
|
|
.ifu_ffu_tid_d (ifu_tlu_thrid_d[1:0]),
|
3020 |
|
|
.cpx_fpu_data (cpx_spc_data_cx2_buf[63:0]),
|
3021 |
|
|
.cpx_vld (cpx_spc_data_cx2_buf[`CPX_VLD]),
|
3022 |
|
|
.cpx_fcmp (cpx_spc_data_cx2_buf[69]),
|
3023 |
|
|
.cpx_req (cpx_spc_data_cx2_buf[`CPX_RQ_HI:`CPX_RQ_LO]),
|
3024 |
|
|
.cpx_fccval (cpx_spc_data_cx2_buf[68:67]),
|
3025 |
|
|
.cpx_fpexc (cpx_spc_data_cx2_buf[76:72]),
|
3026 |
|
|
.exu_ffu_gsr_mask_m (exu_tlu_wsr_data_m[63:32]),
|
3027 |
|
|
.exu_ffu_gsr_scale_m (exu_tlu_wsr_data_m[7:3]),
|
3028 |
|
|
.exu_ffu_gsr_align_m (exu_tlu_wsr_data_m[2:0]),
|
3029 |
|
|
.exu_ffu_gsr_rnd_m (exu_tlu_wsr_data_m[27:25]),
|
3030 |
|
|
.ifu_ffu_ldst_single_d (ifu_ffu_ldst_size_d),
|
3031 |
|
|
/*AUTOINST*/
|
3032 |
|
|
// Outputs
|
3033 |
|
|
.ffu_lsu_data (ffu_lsu_data[80:0]),
|
3034 |
|
|
.ffu_ifu_cc_vld_w2 (ffu_ifu_cc_vld_w2[3:0]),
|
3035 |
|
|
.ffu_ifu_cc_w2 (ffu_ifu_cc_w2[7:0]),
|
3036 |
|
|
.ffu_ifu_ecc_ce_w2 (ffu_ifu_ecc_ce_w2),
|
3037 |
|
|
.ffu_ifu_ecc_ue_w2 (ffu_ifu_ecc_ue_w2),
|
3038 |
|
|
.ffu_ifu_err_reg_w2 (ffu_ifu_err_reg_w2[5:0]),
|
3039 |
|
|
.ffu_ifu_err_synd_w2 (ffu_ifu_err_synd_w2[13:0]),
|
3040 |
|
|
.ffu_ifu_fpop_done_w2 (ffu_ifu_fpop_done_w2),
|
3041 |
|
|
.ffu_ifu_fst_ce_w (ffu_ifu_fst_ce_w),
|
3042 |
|
|
.ffu_ifu_inj_ack (ffu_ifu_inj_ack),
|
3043 |
|
|
.ffu_ifu_stallreq (ffu_ifu_stallreq),
|
3044 |
|
|
.ffu_ifu_tid_w2 (ffu_ifu_tid_w2[1:0]),
|
3045 |
|
|
.ffu_lsu_blk_st_e (ffu_lsu_blk_st_e),
|
3046 |
|
|
.ffu_lsu_blk_st_va_e (ffu_lsu_blk_st_va_e[5:3]),
|
3047 |
|
|
.ffu_lsu_fpop_rq_vld (ffu_lsu_fpop_rq_vld),
|
3048 |
|
|
.ffu_lsu_kill_fst_w (ffu_lsu_kill_fst_w),
|
3049 |
|
|
.ffu_tlu_fpu_cmplt (ffu_tlu_fpu_cmplt),
|
3050 |
|
|
.ffu_tlu_fpu_tid (ffu_tlu_fpu_tid[1:0]),
|
3051 |
|
|
.ffu_tlu_ill_inst_m (ffu_tlu_ill_inst_m),
|
3052 |
|
|
.ffu_tlu_trap_ieee754 (ffu_tlu_trap_ieee754),
|
3053 |
|
|
.ffu_tlu_trap_other (ffu_tlu_trap_other),
|
3054 |
|
|
.ffu_tlu_trap_ue (ffu_tlu_trap_ue),
|
3055 |
|
|
.ffu_exu_rsr_data_m (ffu_exu_rsr_data_m[63:0]),
|
3056 |
|
|
// Inputs
|
3057 |
|
|
.mux_drive_disable (mux_drive_disable),
|
3058 |
|
|
.mem_write_disable (mem_write_disable),
|
3059 |
|
|
.exu_ffu_wsr_inst_e (exu_ffu_wsr_inst_e),
|
3060 |
|
|
.ifu_exu_disable_ce_e (ifu_exu_disable_ce_e),
|
3061 |
|
|
.ifu_exu_ecc_mask (ifu_exu_ecc_mask[6:0]),
|
3062 |
|
|
.ifu_exu_nceen_e (ifu_exu_nceen_e),
|
3063 |
|
|
.ifu_ffu_fcc_num_d (ifu_ffu_fcc_num_d[1:0]),
|
3064 |
|
|
.ifu_ffu_fld_d (ifu_ffu_fld_d),
|
3065 |
|
|
.ifu_ffu_fpop1_d (ifu_ffu_fpop1_d),
|
3066 |
|
|
.ifu_ffu_fpop2_d (ifu_ffu_fpop2_d),
|
3067 |
|
|
.ifu_ffu_fpopcode_d (ifu_ffu_fpopcode_d[8:0]),
|
3068 |
|
|
.ifu_ffu_frd_d (ifu_ffu_frd_d[4:0]),
|
3069 |
|
|
.ifu_ffu_frs1_d (ifu_ffu_frs1_d[4:0]),
|
3070 |
|
|
.ifu_ffu_frs2_d (ifu_ffu_frs2_d[4:0]),
|
3071 |
|
|
.ifu_ffu_fst_d (ifu_ffu_fst_d),
|
3072 |
|
|
.ifu_ffu_inj_frferr (ifu_ffu_inj_frferr),
|
3073 |
|
|
.ifu_ffu_ldfsr_d (ifu_ffu_ldfsr_d),
|
3074 |
|
|
.ifu_ffu_ldxfsr_d (ifu_ffu_ldxfsr_d),
|
3075 |
|
|
.ifu_ffu_mvcnd_m (ifu_ffu_mvcnd_m),
|
3076 |
|
|
.ifu_ffu_quad_op_e (ifu_ffu_quad_op_e),
|
3077 |
|
|
.ifu_ffu_stfsr_d (ifu_ffu_stfsr_d),
|
3078 |
|
|
.ifu_ffu_visop_d (ifu_ffu_visop_d),
|
3079 |
|
|
.ifu_lsu_ld_inst_e (ifu_lsu_ld_inst_e),
|
3080 |
|
|
.ifu_tlu_flsh_inst_e (ifu_tlu_flsh_inst_e),
|
3081 |
|
|
.ifu_tlu_flush_w (ifu_tlu_flush_w),
|
3082 |
|
|
.ifu_tlu_inst_vld_w (ifu_tlu_inst_vld_w),
|
3083 |
|
|
.ifu_tlu_sraddr_d (ifu_tlu_sraddr_d[6:0]),
|
3084 |
|
|
.lsu_ffu_ack (lsu_ffu_ack),
|
3085 |
|
|
.lsu_ffu_bld_cnt_w (lsu_ffu_bld_cnt_w[2:0]),
|
3086 |
|
|
.lsu_ffu_blk_asi_e (lsu_ffu_blk_asi_e),
|
3087 |
|
|
.lsu_ffu_flush_pipe_w (lsu_ffu_flush_pipe_w),
|
3088 |
|
|
.lsu_ffu_ld_data (lsu_ffu_ld_data[63:0]),
|
3089 |
|
|
.lsu_ffu_ld_vld (lsu_ffu_ld_vld),
|
3090 |
|
|
.lsu_ffu_stb_full0 (lsu_ffu_stb_full0),
|
3091 |
|
|
.lsu_ffu_stb_full1 (lsu_ffu_stb_full1),
|
3092 |
|
|
.lsu_ffu_stb_full2 (lsu_ffu_stb_full2),
|
3093 |
|
|
.lsu_ffu_stb_full3 (lsu_ffu_stb_full3),
|
3094 |
|
|
.rclk (rclk),
|
3095 |
|
|
.se (se),
|
3096 |
|
|
.sehold (sehold));
|
3097 |
|
|
|
3098 |
|
|
`else
|
3099 |
|
|
|
3100 |
|
|
sparc_ffu ffu(
|
3101 |
|
|
.short_si0 (short_scan0_5),
|
3102 |
|
|
.short_so0 (short_scan0_6),
|
3103 |
|
|
.si (scan0_5),
|
3104 |
|
|
.so (scan0_6),
|
3105 |
|
|
// reset stuff
|
3106 |
|
|
.grst_l (spc_grst_l),
|
3107 |
|
|
.arst_l (cmp_arst_l),
|
3108 |
|
|
|
3109 |
|
|
// eco 6529 .
|
3110 |
|
|
.lsu_ffu_st_dtlb_perr_g (lsu_ffu_st_dtlb_perr_g),
|
3111 |
|
|
|
3112 |
|
|
.exu_ffu_ist_e (ifu_lsu_st_inst_e),
|
3113 |
|
|
.ifu_ffu_tid_d (ifu_tlu_thrid_d[1:0]),
|
3114 |
|
|
.cpx_fpu_data (cpx_spc_data_cx2_buf[63:0]),
|
3115 |
|
|
.cpx_vld (cpx_spc_data_cx2_buf[`CPX_VLD]),
|
3116 |
|
|
.cpx_fcmp (cpx_spc_data_cx2_buf[69]),
|
3117 |
|
|
.cpx_req (cpx_spc_data_cx2_buf[`CPX_RQ_HI:`CPX_RQ_LO]),
|
3118 |
|
|
.cpx_fccval (cpx_spc_data_cx2_buf[68:67]),
|
3119 |
|
|
.cpx_fpexc (cpx_spc_data_cx2_buf[76:72]),
|
3120 |
|
|
.exu_ffu_gsr_mask_m (exu_tlu_wsr_data_m[63:32]),
|
3121 |
|
|
.exu_ffu_gsr_scale_m (exu_tlu_wsr_data_m[7:3]),
|
3122 |
|
|
.exu_ffu_gsr_align_m (exu_tlu_wsr_data_m[2:0]),
|
3123 |
|
|
.exu_ffu_gsr_rnd_m (exu_tlu_wsr_data_m[27:25]),
|
3124 |
|
|
.ifu_ffu_ldst_single_d (ifu_ffu_ldst_size_d),
|
3125 |
|
|
/*AUTOINST*/
|
3126 |
|
|
// Outputs
|
3127 |
|
|
.ffu_lsu_data (ffu_lsu_data[80:0]),
|
3128 |
|
|
.ffu_ifu_cc_vld_w2 (ffu_ifu_cc_vld_w2[3:0]),
|
3129 |
|
|
.ffu_ifu_cc_w2 (ffu_ifu_cc_w2[7:0]),
|
3130 |
|
|
.ffu_ifu_ecc_ce_w2 (ffu_ifu_ecc_ce_w2),
|
3131 |
|
|
.ffu_ifu_ecc_ue_w2 (ffu_ifu_ecc_ue_w2),
|
3132 |
|
|
.ffu_ifu_err_reg_w2 (ffu_ifu_err_reg_w2[5:0]),
|
3133 |
|
|
.ffu_ifu_err_synd_w2 (ffu_ifu_err_synd_w2[13:0]),
|
3134 |
|
|
.ffu_ifu_fpop_done_w2 (ffu_ifu_fpop_done_w2),
|
3135 |
|
|
.ffu_ifu_fst_ce_w (ffu_ifu_fst_ce_w),
|
3136 |
|
|
.ffu_ifu_inj_ack (ffu_ifu_inj_ack),
|
3137 |
|
|
.ffu_ifu_stallreq (ffu_ifu_stallreq),
|
3138 |
|
|
.ffu_ifu_tid_w2 (ffu_ifu_tid_w2[1:0]),
|
3139 |
|
|
.ffu_lsu_blk_st_e (ffu_lsu_blk_st_e),
|
3140 |
|
|
.ffu_lsu_blk_st_va_e (ffu_lsu_blk_st_va_e[5:3]),
|
3141 |
|
|
.ffu_lsu_fpop_rq_vld (ffu_lsu_fpop_rq_vld),
|
3142 |
|
|
.ffu_lsu_kill_fst_w (ffu_lsu_kill_fst_w),
|
3143 |
|
|
.ffu_tlu_fpu_cmplt (ffu_tlu_fpu_cmplt),
|
3144 |
|
|
.ffu_tlu_fpu_tid (ffu_tlu_fpu_tid[1:0]),
|
3145 |
|
|
.ffu_tlu_ill_inst_m (ffu_tlu_ill_inst_m),
|
3146 |
|
|
.ffu_tlu_trap_ieee754 (ffu_tlu_trap_ieee754),
|
3147 |
|
|
.ffu_tlu_trap_other (ffu_tlu_trap_other),
|
3148 |
|
|
.ffu_tlu_trap_ue (ffu_tlu_trap_ue),
|
3149 |
|
|
.ffu_exu_rsr_data_m (ffu_exu_rsr_data_m[63:0]),
|
3150 |
|
|
// Inputs
|
3151 |
|
|
.mux_drive_disable (mux_drive_disable),
|
3152 |
|
|
.mem_write_disable (mem_write_disable),
|
3153 |
|
|
.exu_ffu_wsr_inst_e (exu_ffu_wsr_inst_e),
|
3154 |
|
|
.ifu_exu_disable_ce_e (ifu_exu_disable_ce_e),
|
3155 |
|
|
.ifu_exu_ecc_mask (ifu_exu_ecc_mask[6:0]),
|
3156 |
|
|
.ifu_exu_nceen_e (ifu_exu_nceen_e),
|
3157 |
|
|
.ifu_ffu_fcc_num_d (ifu_ffu_fcc_num_d[1:0]),
|
3158 |
|
|
.ifu_ffu_fld_d (ifu_ffu_fld_d),
|
3159 |
|
|
.ifu_ffu_fpop1_d (ifu_ffu_fpop1_d),
|
3160 |
|
|
.ifu_ffu_fpop2_d (ifu_ffu_fpop2_d),
|
3161 |
|
|
.ifu_ffu_fpopcode_d (ifu_ffu_fpopcode_d[8:0]),
|
3162 |
|
|
.ifu_ffu_frd_d (ifu_ffu_frd_d[4:0]),
|
3163 |
|
|
.ifu_ffu_frs1_d (ifu_ffu_frs1_d[4:0]),
|
3164 |
|
|
.ifu_ffu_frs2_d (ifu_ffu_frs2_d[4:0]),
|
3165 |
|
|
.ifu_ffu_fst_d (ifu_ffu_fst_d),
|
3166 |
|
|
.ifu_ffu_inj_frferr (ifu_ffu_inj_frferr),
|
3167 |
|
|
.ifu_ffu_ldfsr_d (ifu_ffu_ldfsr_d),
|
3168 |
|
|
.ifu_ffu_ldxfsr_d (ifu_ffu_ldxfsr_d),
|
3169 |
|
|
.ifu_ffu_mvcnd_m (ifu_ffu_mvcnd_m),
|
3170 |
|
|
.ifu_ffu_quad_op_e (ifu_ffu_quad_op_e),
|
3171 |
|
|
.ifu_ffu_stfsr_d (ifu_ffu_stfsr_d),
|
3172 |
|
|
.ifu_ffu_visop_d (ifu_ffu_visop_d),
|
3173 |
|
|
.ifu_lsu_ld_inst_e (ifu_lsu_ld_inst_e),
|
3174 |
|
|
.ifu_tlu_flsh_inst_e (ifu_tlu_flsh_inst_e),
|
3175 |
|
|
.ifu_tlu_flush_w (ifu_tlu_flush_w),
|
3176 |
|
|
.ifu_tlu_inst_vld_w (ifu_tlu_inst_vld_w),
|
3177 |
|
|
.ifu_tlu_sraddr_d (ifu_tlu_sraddr_d[6:0]),
|
3178 |
|
|
.lsu_ffu_ack (lsu_ffu_ack),
|
3179 |
|
|
.lsu_ffu_bld_cnt_w (lsu_ffu_bld_cnt_w[2:0]),
|
3180 |
|
|
.lsu_ffu_blk_asi_e (lsu_ffu_blk_asi_e),
|
3181 |
|
|
.lsu_ffu_flush_pipe_w (lsu_ffu_flush_pipe_w),
|
3182 |
|
|
.lsu_ffu_ld_data (lsu_ffu_ld_data[63:0]),
|
3183 |
|
|
.lsu_ffu_ld_vld (lsu_ffu_ld_vld),
|
3184 |
|
|
.lsu_ffu_stb_full0 (lsu_ffu_stb_full0),
|
3185 |
|
|
.lsu_ffu_stb_full1 (lsu_ffu_stb_full1),
|
3186 |
|
|
.lsu_ffu_stb_full2 (lsu_ffu_stb_full2),
|
3187 |
|
|
.lsu_ffu_stb_full3 (lsu_ffu_stb_full3),
|
3188 |
|
|
.rclk (rclk),
|
3189 |
|
|
.se (se),
|
3190 |
|
|
.sehold (sehold));
|
3191 |
|
|
|
3192 |
|
|
`endif // `ifdef FPGA_SYN_NO_SPU
|
3193 |
|
|
|
3194 |
|
|
/* test_stub_bist AUTO_TEMPLATE(
|
3195 |
|
|
// Outputs
|
3196 |
|
|
.so_0 (spc_scanout0),
|
3197 |
|
|
.so_1 (spc_scanout1),
|
3198 |
|
|
.mbist_data_mode(mbist_userdata_mode),
|
3199 |
|
|
|
3200 |
|
|
// Inputs
|
3201 |
|
|
.mbist_err ({1'b0, mbist_dcache_fail, mbist_icache_fail}),
|
3202 |
|
|
.cluster_grst_l (spc_grst_l),
|
3203 |
|
|
.arst_l (cmp_arst_l));
|
3204 |
|
|
*/
|
3205 |
|
|
|
3206 |
|
|
`ifdef FPGA_SYN_NO_SPU
|
3207 |
|
|
|
3208 |
|
|
test_stub_bist test_stub(
|
3209 |
|
|
// unused
|
3210 |
|
|
.so_2 (),
|
3211 |
|
|
.long_chain_so_2 (1'b0),
|
3212 |
|
|
.short_chain_so_2 (1'b0),
|
3213 |
|
|
|
3214 |
|
|
// connect with scan stitch
|
3215 |
|
|
.si(scan1_4),
|
3216 |
|
|
.so (scan1_5),
|
3217 |
|
|
.long_chain_so_0 (scan0_7),
|
3218 |
|
|
.short_chain_so_0 (short_scan0_6),
|
3219 |
|
|
.long_chain_so_1 (scan1_5),
|
3220 |
|
|
.short_chain_so_1 (short_scan1_4),
|
3221 |
|
|
|
3222 |
|
|
// from LSU
|
3223 |
|
|
.bist_ctl_reg_in(bist_ctl_reg_in[6:0]),
|
3224 |
|
|
|
3225 |
|
|
/*AUTOINST*/
|
3226 |
|
|
// Outputs
|
3227 |
|
|
.mux_drive_disable(mux_drive_disable),
|
3228 |
|
|
.mem_write_disable(mem_write_disable),
|
3229 |
|
|
.sehold (sehold),
|
3230 |
|
|
.se (se),
|
3231 |
|
|
.testmode_l (testmode_l),
|
3232 |
|
|
.mem_bypass (),
|
3233 |
|
|
.so_0 (spc_scanout0), // Templated
|
3234 |
|
|
.so_1 (spc_scanout1), // Templated
|
3235 |
|
|
.tst_ctu_mbist_done(tst_ctu_mbist_done),
|
3236 |
|
|
.tst_ctu_mbist_fail(tst_ctu_mbist_fail),
|
3237 |
|
|
.bist_ctl_reg_out(bist_ctl_reg_out[10:0]),
|
3238 |
|
|
.mbist_bisi_mode(mbist_bisi_mode),
|
3239 |
|
|
.mbist_stop_on_next_fail(mbist_stop_on_next_fail),
|
3240 |
|
|
.mbist_stop_on_fail(mbist_stop_on_fail),
|
3241 |
|
|
.mbist_loop_mode(mbist_loop_mode),
|
3242 |
|
|
.mbist_loop_on_addr(mbist_loop_on_addr),
|
3243 |
|
|
.mbist_data_mode(mbist_userdata_mode), // Templated
|
3244 |
|
|
.mbist_start(mbist_start),
|
3245 |
|
|
// Inputs
|
3246 |
|
|
.ctu_tst_pre_grst_l(ctu_tst_pre_grst_l),
|
3247 |
|
|
.arst_l (cmp_arst_l), // Templated
|
3248 |
|
|
.cluster_grst_l(spc_grst_l), // Templated
|
3249 |
|
|
.global_shift_enable(global_shift_enable),
|
3250 |
|
|
.ctu_tst_scan_disable(ctu_tst_scan_disable),
|
3251 |
|
|
.ctu_tst_scanmode(ctu_tst_scanmode),
|
3252 |
|
|
.ctu_tst_macrotest(ctu_tst_macrotest),
|
3253 |
|
|
.ctu_tst_short_chain(ctu_tst_short_chain),
|
3254 |
|
|
.ctu_tst_mbist_enable(ctu_tst_mbist_enable),
|
3255 |
|
|
.rclk (rclk),
|
3256 |
|
|
.bist_ctl_reg_wr_en(bist_ctl_reg_wr_en),
|
3257 |
|
|
.mbist_done (mbist_done),
|
3258 |
|
|
.mbist_err ({1'b0, mbist_dcache_fail, mbist_icache_fail})); // Templated
|
3259 |
|
|
|
3260 |
|
|
`else
|
3261 |
|
|
|
3262 |
|
|
test_stub_bist test_stub(
|
3263 |
|
|
// unused
|
3264 |
|
|
.so_2 (),
|
3265 |
|
|
.long_chain_so_2 (1'b0),
|
3266 |
|
|
.short_chain_so_2 (1'b0),
|
3267 |
|
|
|
3268 |
|
|
// connect with scan stitch
|
3269 |
|
|
.si(scan1_4),
|
3270 |
|
|
.so (scan1_5),
|
3271 |
|
|
.long_chain_so_0 (scan0_7),
|
3272 |
|
|
.short_chain_so_0 (short_scan0_6),
|
3273 |
|
|
.long_chain_so_1 (scan1_5),
|
3274 |
|
|
.short_chain_so_1 (short_scan1_5),
|
3275 |
|
|
|
3276 |
|
|
// from LSU
|
3277 |
|
|
.bist_ctl_reg_in(bist_ctl_reg_in[6:0]),
|
3278 |
|
|
|
3279 |
|
|
/*AUTOINST*/
|
3280 |
|
|
// Outputs
|
3281 |
|
|
.mux_drive_disable(mux_drive_disable),
|
3282 |
|
|
.mem_write_disable(mem_write_disable),
|
3283 |
|
|
.sehold (sehold),
|
3284 |
|
|
.se (se),
|
3285 |
|
|
.testmode_l (testmode_l),
|
3286 |
|
|
.mem_bypass (mem_bypass),
|
3287 |
|
|
.so_0 (spc_scanout0), // Templated
|
3288 |
|
|
.so_1 (spc_scanout1), // Templated
|
3289 |
|
|
.tst_ctu_mbist_done(tst_ctu_mbist_done),
|
3290 |
|
|
.tst_ctu_mbist_fail(tst_ctu_mbist_fail),
|
3291 |
|
|
.bist_ctl_reg_out(bist_ctl_reg_out[10:0]),
|
3292 |
|
|
.mbist_bisi_mode(mbist_bisi_mode),
|
3293 |
|
|
.mbist_stop_on_next_fail(mbist_stop_on_next_fail),
|
3294 |
|
|
.mbist_stop_on_fail(mbist_stop_on_fail),
|
3295 |
|
|
.mbist_loop_mode(mbist_loop_mode),
|
3296 |
|
|
.mbist_loop_on_addr(mbist_loop_on_addr),
|
3297 |
|
|
.mbist_data_mode(mbist_userdata_mode), // Templated
|
3298 |
|
|
.mbist_start(mbist_start),
|
3299 |
|
|
// Inputs
|
3300 |
|
|
.ctu_tst_pre_grst_l(ctu_tst_pre_grst_l),
|
3301 |
|
|
.arst_l (cmp_arst_l), // Templated
|
3302 |
|
|
.cluster_grst_l(spc_grst_l), // Templated
|
3303 |
|
|
.global_shift_enable(global_shift_enable),
|
3304 |
|
|
.ctu_tst_scan_disable(ctu_tst_scan_disable),
|
3305 |
|
|
.ctu_tst_scanmode(ctu_tst_scanmode),
|
3306 |
|
|
.ctu_tst_macrotest(ctu_tst_macrotest),
|
3307 |
|
|
.ctu_tst_short_chain(ctu_tst_short_chain),
|
3308 |
|
|
.ctu_tst_mbist_enable(ctu_tst_mbist_enable),
|
3309 |
|
|
.rclk (rclk),
|
3310 |
|
|
.bist_ctl_reg_wr_en(bist_ctl_reg_wr_en),
|
3311 |
|
|
.mbist_done (mbist_done),
|
3312 |
|
|
.mbist_err ({1'b0, mbist_dcache_fail, mbist_icache_fail})); // Templated
|
3313 |
|
|
|
3314 |
|
|
`endif // `ifdef FPGA_SYN_NO_SPU
|
3315 |
|
|
|
3316 |
|
|
|
3317 |
|
|
/* bw_clk_cl_sparc_cmp AUTO_TEMPLATE(
|
3318 |
|
|
.si (scan0_6),
|
3319 |
|
|
.so (scan0_7),
|
3320 |
|
|
.arst_l (cmp_arst_l),
|
3321 |
|
|
.grst_l (cmp_grst_l),
|
3322 |
|
|
// Outputs
|
3323 |
|
|
.dbginit_l (spc_dbginit_l),
|
3324 |
|
|
.cluster_grst_l (spc_grst_l));
|
3325 |
|
|
*/
|
3326 |
|
|
bw_clk_cl_sparc_cmp spc_hdr(/*AUTOINST*/
|
3327 |
|
|
// Outputs
|
3328 |
|
|
.cluster_grst_l(spc_grst_l), // Templated
|
3329 |
|
|
.dbginit_l(spc_dbginit_l), // Templated
|
3330 |
|
|
.rclk (rclk),
|
3331 |
|
|
.so (scan0_7), // Templated
|
3332 |
|
|
// Inputs
|
3333 |
|
|
.adbginit_l(adbginit_l),
|
3334 |
|
|
.arst_l (cmp_arst_l), // Templated
|
3335 |
|
|
.cluster_cken(cluster_cken),
|
3336 |
|
|
.gclk (gclk),
|
3337 |
|
|
.gdbginit_l(gdbginit_l),
|
3338 |
|
|
.grst_l (cmp_grst_l), // Templated
|
3339 |
|
|
.se (se),
|
3340 |
|
|
.si (scan0_6)); // Templated
|
3341 |
|
|
endmodule // sparc
|
3342 |
|
|
|
3343 |
|
|
|
3344 |
|
|
// Local Variables:
|
3345 |
|
|
// verilog-library-directories:("../tlu/rtl" "../ifu/rtl" "../exu/rtl" "../lsu/rtl" "../spu/rtl" "../mul/rtl" "../ffu/rtl/" "../../common/rtl" ".")
|
3346 |
|
|
// End:
|
3347 |
|
|
|
3348 |
|
|
|