// ========== Copyright Header Begin ==========================================
// OpenSPARC T2 Processor File: mcu_ibist_ctl.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 ============================================
output [119:0] ibist_txdata;
output [13:0] ibrx_rxerrstat;
output [9:0] ibrx_errcnt;
output [3:0] ibrx_errlnnum;
output [1:0] ibrx_errstat;
input [23:0] fbdic_sbfibportctl;
input [31:0] fbdic_sbfibpgctl;
input [23:0] fbdic_sbfibpattbuf1;
input [9:0] fbdic_sbfibtxmsk;
input [9:0] fbdic_sbfibtxshft;
input [23:0] fbdic_sbfibpattbuf2;
input [9:0] fbdic_sbfibpatt2en;
input [23:0] fbdic_nbfibportctl;
input [31:0] fbdic_nbfibpgctl;
input [23:0] fbdic_nbfibpattbuf1;
input [13:0] fbdic_nbfibrxmsk;
input [13:0] fbdic_nbfibrxshft;
input [13:0] fbdic_nbfibrxlnerr;
input [23:0] fbdic_nbfibpattbuf2;
input [13:0] fbdic_nbfibpatt2en;
input fbdic_ibrx_start_ld;
input fbdic_nbfibportctl_en;
input [9:0] fbdic_errcnt_clr;
input [1:0] fbdic_errstat_clr;
input [167:0] ibist_rxdata;
.scan_out(u_ibtx_scanout),
.ibist_txdata(ibist_txdata[119:0]),
.fbdic_sbfibportctl(fbdic_sbfibportctl[23:0]),
.fbdic_sbfibpgctl(fbdic_sbfibpgctl[31:0]),
.fbdic_sbfibpattbuf1(fbdic_sbfibpattbuf1[23:0]),
.fbdic_sbfibtxmsk(fbdic_sbfibtxmsk[9:0]),
.fbdic_sbfibtxshft(fbdic_sbfibtxshft[9:0]),
.fbdic_sbfibpattbuf2(fbdic_sbfibpattbuf2[23:0]),
.fbdic_sbfibpatt2en(fbdic_sbfibpatt2en[9:0]),
.fbdic_txstart(fbdic_txstart),
.tcu_scan_en(tcu_scan_en)
.scan_out(u_ibrx_scanout),
.ibrx_rxerrstat(ibrx_rxerrstat[13:0]),
.ibrx_errcnt(ibrx_errcnt[9:0]),
.ibrx_errlnnum(ibrx_errlnnum[3:0]),
.ibrx_errstat(ibrx_errstat[1:0]),
.fbdic_nbfibportctl(fbdic_nbfibportctl[23:0]),
.fbdic_nbfibpgctl(fbdic_nbfibpgctl[31:0]),
.fbdic_nbfibpattbuf1(fbdic_nbfibpattbuf1[23:0]),
.fbdic_nbfibrxmsk(fbdic_nbfibrxmsk[13:0]),
.fbdic_nbfibrxshft(fbdic_nbfibrxshft[13:0]),
.fbdic_nbfibrxlnerr(fbdic_nbfibrxlnerr[13:0]),
.fbdic_nbfibpattbuf2(fbdic_nbfibpattbuf2[23:0]),
.fbdic_nbfibpatt2en(fbdic_nbfibpatt2en[13:0]),
.fbdic_rxstart(fbdic_rxstart),
.fbdic_ibrx_start_ld(fbdic_ibrx_start_ld),
.fbdic_nbfibportctl_en(fbdic_nbfibportctl_en),
.fbdic_errcnt_clr(fbdic_errcnt_clr[9:0]),
.fbdic_errstat_clr(fbdic_errstat_clr[1:0]),
.ibist_rxdata(ibist_rxdata[167:0]),
.tcu_scan_en(tcu_scan_en)
assign u_ibtx_scanin = scan_in ;
assign u_ibrx_scanin = u_ibtx_scanout ;
assign scan_out = u_ibrx_scanout ;
// any PARAMS parms go into naming of macro
module mcu_ibist_ctl_msff_ctl_macro__width_6 (
assign fdin[5:0] = din[5:0];
// any PARAMS parms go into naming of macro
module mcu_ibist_ctl_msff_ctl_macro__width_5 (
assign fdin[4:0] = din[4:0];
// any PARAMS parms go into naming of macro
module mcu_ibist_ctl_msff_ctl_macro__width_7 (
assign fdin[6:0] = din[6:0];
// any PARAMS parms go into naming of macro
module mcu_ibist_ctl_msff_ctl_macro__width_2 (
assign fdin[1:0] = din[1:0];
// any PARAMS parms go into naming of macro
module mcu_ibist_ctl_msff_ctl_macro (
assign fdin[0:0] = din[0:0];
// any PARAMS parms go into naming of macro
module mcu_ibist_ctl_msff_ctl_macro__width_4 (
assign fdin[3:0] = din[3:0];
// any PARAMS parms go into naming of macro
module mcu_ibist_ctl_msff_ctl_macro__width_10 (
assign fdin[9:0] = din[9:0];
// any PARAMS parms go into naming of macro
module mcu_ibist_ctl_msff_ctl_macro__width_14 (
assign fdin[13:0] = din[13:0];
.so({so[12:0],scan_out}),