// ========== Copyright Header Begin ==========================================
// OpenSPARC T2 Processor File: tlu_eem_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 ============================================
input [7:0] asi_error_mask;
input [7:0] asi_mbist_ecc_in;
// ({8 {asi_error_tsau}} & asi_error_mask[07:00])) &
// {8 {~asi_mbist_run}}) | asi_mbist_tsa_ecc_in[07:00];
tlu_eem_dp_and_macro__ports_2__stack_8r__width_8 error_inject_and (
.din0 ({8 {asi_error_inject}} ),
.din1 (asi_error_mask [7:0] ),
.dout (error_inject [7:0] )
tlu_eem_dp_xor_macro__ports_2__stack_8r__width_8 ecc_pre_mux_xor (
.din1 (error_inject [7:0] ),
.dout (ecc_pre_mux [7:0] )
tlu_eem_dp_inv_macro__stack_8r__width_8 ecc_mux_0_nand (
.din (asi_mbist_ecc_in [7:0] ),
tlu_eem_dp_inv_macro__stack_8r__width_1 mbist_run_inv (
tlu_eem_dp_nand_macro__ports_2__stack_8r__width_8 ecc_mux_1_nand (
.din0 (ecc_pre_mux [7:0] ),
.din1 ({8 {mbist_run_}} ),
tlu_eem_dp_nand_macro__ports_2__stack_8r__width_8 ecc_mux_nand (
.din0 (ecc_mux_0 [7:0] ),
.din1 (ecc_mux_1 [7:0] ),
//mux_macro ecc_mux (width=8, ports=2, mux=aope, stack=8r) (
// .din0 (asi_mbist_ecc_in [07:00] ),
// .din1 (ecc_pre_mux [07:00] ),
// .sel0 (asi_mbist_run ),
// .dout (ecc_out [07:00] )
supply0 vss; // <- port for ground
supply1 vdd; // <- port for power
// and macro for ports = 2,3,4
module tlu_eem_dp_and_macro__ports_2__stack_8r__width_8 (
// xor macro for ports = 2,3
module tlu_eem_dp_xor_macro__ports_2__stack_8r__width_8 (
module tlu_eem_dp_inv_macro__stack_8r__width_8 (
module tlu_eem_dp_inv_macro__stack_8r__width_1 (
// nand macro for ports = 2,3,4
module tlu_eem_dp_nand_macro__ports_2__stack_8r__width_8 (