// ========== Copyright Header Begin ==========================================
// OpenSPARC T2 Processor File: tlu_sse_dp.v
// Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved
// 4150 Network Circle, Santa Clara, California 95054, U.S.A.
// * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 2 of the License.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
// For the avoidance of doubt, and except that if any non-GPL license
// choice is available it will apply instead, Sun elects to use only
// the General Public License version 2 (GPLv2) at this time for any
// software where a choice of GPL license versions is made
// available with the language indicating that GPLv2 or any later version
// may be used, or where a choice of which version of the GPL is applied is
// otherwise unspecified.
// Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
// CA 95054 USA or visit www.sun.com if you need additional information or
// ========== Copyright Header End ============================================
fls0_spc_hardstop_request,
fls0_spc_softstop_request,
fls1_spc_hardstop_request,
fls1_spc_softstop_request,
input tcu_shscan_clk_stop; // To be synchronized
input [1:0] fls_ss_update_pc_w;
input [47:2] pct0_shadow_pc_d;
input [47:2] pct1_shadow_pc_d;
// NOT SHADOW SCAN, but debug
input fls0_spc_hardstop_request;
input fls0_spc_softstop_request;
input fls0_spc_trigger_pulse;
input fls1_spc_hardstop_request;
input fls1_spc_softstop_request;
input fls1_spc_trigger_pulse;
output sse_shscan_clk_stop;
output [47:2] sse_shadow_pc;
output tlu_hardstop_request;
output tlu_softstop_request;
output tlu_trigger_pulse;
//////////////////////////////////////////////////////////////////////
tlu_sse_dp_buff_macro__width_4 clk_control_buf (
//////////////////////////////////////////////////////////////////////
tlu_sse_dp_msff_macro__left_14__mux_aope__ports_2__stack_60c__width_46 pc_e_lat (
.scan_in(pc_e_lat_scanin),
.scan_out(pc_e_lat_scanout),
.din1 (pct0_shadow_pc_d [47:2] ),
.din0 (pct1_shadow_pc_d [47:2] ),
.sel0 (trl1_shscanid_2 ),
tlu_sse_dp_msff_macro__left_14__stack_60c__width_46 pc_m_lat (
.scan_in(pc_m_lat_scanin),
.scan_out(pc_m_lat_scanout),
tlu_sse_dp_msff_macro__left_12__stack_60c__width_48 pc_b_lat (
.scan_in(pc_b_lat_scanin),
.scan_out(pc_b_lat_scanout),
tlu_sse_dp_msff_macro__left_14__mux_aope__ports_3__stack_60c__width_46 pc_w_lat (
.scan_in(pc_w_lat_scanin),
.scan_out(pc_w_lat_scanout),
.din2 (sse_shadow_pc [47:2] ),
.sel0 (fls_ss_update_pc_w [0 ] ),
.sel1 (fls_ss_update_pc_w [1 ] ),
.dout (sse_shadow_pc [47:2] ),
//////////////////////////////////////////////////////////////////////////////
// OR the stop requests and trigger pulses
tlu_sse_dp_or_macro__ports_2__stack_60c__width_3 debug_or (
.din0 ({fls0_spc_hardstop_request ,
fls0_spc_softstop_request ,
fls0_spc_trigger_pulse }),
.din1 ({fls1_spc_hardstop_request ,
fls1_spc_softstop_request ,
fls1_spc_trigger_pulse }),
.dout ({tlu_hardstop_request ,
assign pc_e_lat_scanin = scan_in ;
assign pc_m_lat_scanin = pc_e_lat_scanout ;
assign pc_b_lat_scanin = pc_m_lat_scanout ;
assign pc_w_lat_scanin = pc_b_lat_scanout ;
assign scan_out = pc_w_lat_scanout ;
module tlu_sse_dp_buff_macro__width_4 (
// any PARAMS parms go into naming of macro
module tlu_sse_dp_msff_macro__left_14__mux_aope__ports_2__stack_60c__width_46 (
.so({so[44:0],scan_out}),
// any PARAMS parms go into naming of macro
module tlu_sse_dp_msff_macro__left_14__stack_60c__width_46 (
.so({so[44:0],scan_out}),
// any PARAMS parms go into naming of macro
module tlu_sse_dp_msff_macro__left_12__stack_60c__width_48 (
.so({so[46:0],scan_out}),
// any PARAMS parms go into naming of macro
module tlu_sse_dp_msff_macro__left_14__mux_aope__ports_3__stack_60c__width_46 (
.so({so[44:0],scan_out}),
// or macro for ports = 2,3
module tlu_sse_dp_or_macro__ports_2__stack_60c__width_3 (