// ========== Copyright Header Begin ==========================================
// OpenSPARC T2 Processor File: pcx_bfg_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 ============================================
wire i_dff_grant_x_scanin;
wire i_dff_grant_x_scanout;
wire [13:0] pcx_spc_grant_x;
output [13:0] pcx_spc_grant_px;
input [13:0] pcx_spc_grant_pa;
input tcu_pce_ov; // scan signals
// buffer the high fanout nets
assign pce_ov = tcu_pce_ov_out;
assign siclk = ccx_aclk_out;
assign soclk = ccx_bclk_out;
assign se = tcu_scan_en_out ;
pcx_bfg_dp_buff_macro__dbuff_8x__stack_none__width_4 buf_hfn (
.din ({ccx_aclk,ccx_bclk, tcu_pce_ov, tcu_scan_en}),
.dout ({ccx_aclk_out,ccx_bclk_out,tcu_pce_ov_out,tcu_scan_en_out})
pcx_bfg_dp_msff_macro__stack_14r__width_14 i_dff_grant_x (
.scan_in(i_dff_grant_x_scanin),
.scan_out(i_dff_grant_x_scanout),
.din (pcx_spc_grant_pa[13:0]),
.dout (pcx_spc_grant_x[13:0]),
pcx_bfg_dp_buff_macro__dbuff_32x__rep_1__stack_none__width_14 i_buf_grant_x (
.din (pcx_spc_grant_x[13:0]),
.dout (pcx_spc_grant_px[13:0])
pcx_bfg_dp_buff_macro__dbuff_8x__stack_none__width_1 buf_scanout (
assign i_dff_grant_x_scanin = scan_in ;
assign scan_out_prebuf = i_dff_grant_x_scanout ;
module pcx_bfg_dp_buff_macro__dbuff_8x__stack_none__width_4 (
// any PARAMS parms go into naming of macro
module pcx_bfg_dp_msff_macro__stack_14r__width_14 (
.so({so[12:0],scan_out}),
module pcx_bfg_dp_buff_macro__dbuff_32x__rep_1__stack_none__width_14 (
module pcx_bfg_dp_buff_macro__dbuff_8x__stack_none__width_1 (
module pcx_bfg_dp(pcx_spc_grant_px, pcx_spc_grant_pa, tcu_scan_en, l2clk,
scan_in, tcu_pce_ov, ccx_aclk, ccx_bclk, scan_out, ccx_aclk_out,
ccx_bclk_out, tcu_pce_ov_out, tcu_scan_en_out);
output [13:0] pcx_spc_grant_px;
input [13:0] pcx_spc_grant_pa;
wire i_dff_grant_x_scanin;
wire i_dff_grant_x_scanout;
wire [13:0] pcx_spc_grant_x;
assign pce_ov = tcu_pce_ov_out;
assign siclk = ccx_aclk_out;
assign soclk = ccx_bclk_out;
assign se = tcu_scan_en_out;
assign i_dff_grant_x_scanin = scan_in;
assign scan_out_prebuf = i_dff_grant_x_scanout;
buff_macro__dbuff_8x__stack_none__width_4 buf_hfn(
.din ({ccx_aclk, ccx_bclk,
tcu_pce_ov, tcu_scan_en}),
.dout ({ccx_aclk_out, ccx_bclk_out,
tcu_pce_ov_out, tcu_scan_en_out}));
msff_macro__stack_14r__width_14 i_dff_grant_x(
.scan_in (i_dff_grant_x_scanin),
.scan_out (i_dff_grant_x_scanout),
.din (pcx_spc_grant_pa[13:0]),
.dout (pcx_spc_grant_x[13:0]),
buff_macro__dbuff_32x__rep_1__stack_none__width_14 i_buf_grant_x(
.din (pcx_spc_grant_x[13:0]),
.dout (pcx_spc_grant_px[13:0]));
buff_macro__dbuff_8x__stack_none__width_1 buf_scanout(
module buff_macro__dbuff_32x__rep_1__stack_none__width_14(din, dout);
module msff_macro__stack_14r__width_14(din, clk, en, se, scan_in, siclk, soclk,
pce_ov, stop, dout, scan_out);
.si ({scan_in, so[12:0]}),
.so ({so[12:0], scan_out}),