// ========== Copyright Header Begin ==========================================
// OpenSPARC T2 Processor File: tlu_cth_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 interrupt_receive7_lat_wmr_scanin;
wire interrupt_receive7_lat_wmr_scanout;
wire interrupt_receive6_lat_wmr_scanin;
wire interrupt_receive6_lat_wmr_scanout;
wire interrupt_receive5_lat_wmr_scanin;
wire interrupt_receive5_lat_wmr_scanout;
wire interrupt_receive4_lat_wmr_scanin;
wire interrupt_receive4_lat_wmr_scanout;
wire interrupt_receive3_lat_wmr_scanin;
wire interrupt_receive3_lat_wmr_scanout;
wire interrupt_receive2_lat_wmr_scanin;
wire interrupt_receive2_lat_wmr_scanout;
wire interrupt_receive1_lat_wmr_scanin;
wire interrupt_receive1_lat_wmr_scanout;
wire interrupt_receive0_lat_wmr_scanin;
wire interrupt_receive0_lat_wmr_scanout;
wire int_rec_mux_sel_lat_scanin;
wire int_rec_mux_sel_lat_scanout;
wire [2:0] int_rec_mux_sel;
wire [63:59] rngf_cdbus_unused;
wire [63:0] int_rec_muxed;
wire [7:1] incoming_vector_mux_sel;
wire [5:0] incoming_vector_in;
wire incoming_vector_lat_scanin;
wire incoming_vector_lat_scanout;
wire [5:0] incoming_vector;
wire [7:0] dec_inc_vec_first;
wire [63:0] int_rec_muxed_;
wire [63:0] int_rec_dis_muxed;
wire set_clear_same_thread;
wire [7:0] dec_int_dis_first;
wire irl_cleared_lat_scanin;
wire irl_cleared_lat_scanout;
input spc_aclk_wmr; // Warm reset (non)scan
input [64:56] lsu_rngf_cdbus;
input [7:0] cxi_wr_int_dis; // Interrupt Vector Dispatch packet
input [5:0] cxi_int_dis_vec; // from gasket
input [7:0] asi_wr_int_rec; // Write Interrupt Receive Register
input [7:0] asi_rd_inc_vec_2; // Update Interrupt Vector Register
input [2:0] asi_int_rec_mux_sel_in;
input asi_rd_int_rec; // Read for any thread
input asi_rd_inc_vec; // Read for any thread
input asi_wr_any_int_rec; // Write of any int_rec
input [63:0] asi_wr_data;
input asi_rd_stage_1; // Power management
input [47:0] dfd_asi_data;
input [18:0] dfd_asi_desr;
output wmr_scan_out; // Warm reset (non)scan
output [61:0] cth_wr_data; // Buffered version of asi_wr_data
output [63:0] cth_asi_data;
output [63:0] cth_irl_cleared; // Copy of IRR after clearing operations
////////////////////////////////////////////////////////////////////////////////
assign test = tcu_dectest;
tlu_cth_dp_buff_macro__width_4 clk_control_buf (
//////////////////////////////////////////////////////////////////////////////
tlu_cth_dp_or_macro__ports_3__width_8 irl_en_or (
.din0 (cxi_wr_int_dis [7:0] ),
.din1 (asi_wr_int_rec [7:0] ),
.din2 (asi_rd_inc_vec_2 [7:0] ),
tlu_cth_dp_or_macro__ports_3__width_1 any_irl_0_2_en_or (
tlu_cth_dp_or_macro__ports_3__width_1 any_irl_3_5_en_or (
tlu_cth_dp_or_macro__ports_2__width_1 any_irl_6_7_en_or (
tlu_cth_dp_or_macro__ports_3__width_1 any_irl_en_or (
////////////////////////////////////////////////////////////////////////////////
// Interrupt Receive Registers
tlu_cth_dp_msff_macro__mux_aope__ports_3__width_64 interrupt_receive7_lat ( // FS:wmr_protect
.scan_in(interrupt_receive7_lat_wmr_scanin),
.scan_out(interrupt_receive7_lat_wmr_scanout),
.sel0 (cxi_wr_int_dis [7 ] ),
.sel1 (asi_wr_int_rec [7 ] ),
.dout (int_rec7 [63:0] ),
tlu_cth_dp_msff_macro__mux_aope__ports_3__width_64 interrupt_receive6_lat ( // FS:wmr_protect
.scan_in(interrupt_receive6_lat_wmr_scanin),
.scan_out(interrupt_receive6_lat_wmr_scanout),
.sel0 (cxi_wr_int_dis [6 ] ),
.sel1 (asi_wr_int_rec [6 ] ),
.dout (int_rec6 [63:0] ),
tlu_cth_dp_msff_macro__mux_aope__ports_3__width_64 interrupt_receive5_lat ( // FS:wmr_protect
.scan_in(interrupt_receive5_lat_wmr_scanin),
.scan_out(interrupt_receive5_lat_wmr_scanout),
.sel0 (cxi_wr_int_dis [5 ] ),
.sel1 (asi_wr_int_rec [5 ] ),
.dout (int_rec5 [63:0] ),
tlu_cth_dp_msff_macro__mux_aope__ports_3__width_64 interrupt_receive4_lat ( // FS:wmr_protect
.scan_in(interrupt_receive4_lat_wmr_scanin),
.scan_out(interrupt_receive4_lat_wmr_scanout),
.sel0 (cxi_wr_int_dis [4 ] ),
.sel1 (asi_wr_int_rec [4 ] ),
.dout (int_rec4 [63:0] ),
tlu_cth_dp_msff_macro__mux_aope__ports_3__width_64 interrupt_receive3_lat ( // FS:wmr_protect
.scan_in(interrupt_receive3_lat_wmr_scanin),
.scan_out(interrupt_receive3_lat_wmr_scanout),
.sel0 (cxi_wr_int_dis [3 ] ),
.sel1 (asi_wr_int_rec [3 ] ),
.dout (int_rec3 [63:0] ),
tlu_cth_dp_msff_macro__mux_aope__ports_3__width_64 interrupt_receive2_lat ( // FS:wmr_protect
.scan_in(interrupt_receive2_lat_wmr_scanin),
.scan_out(interrupt_receive2_lat_wmr_scanout),
.sel0 (cxi_wr_int_dis [2 ] ),
.sel1 (asi_wr_int_rec [2 ] ),
.dout (int_rec2 [63:0] ),
tlu_cth_dp_msff_macro__mux_aope__ports_3__width_64 interrupt_receive1_lat ( // FS:wmr_protect
.scan_in(interrupt_receive1_lat_wmr_scanin),
.scan_out(interrupt_receive1_lat_wmr_scanout),
.sel0 (cxi_wr_int_dis [1 ] ),
.sel1 (asi_wr_int_rec [1 ] ),
.dout (int_rec1 [63:0] ),
tlu_cth_dp_msff_macro__mux_aope__ports_3__width_64 interrupt_receive0_lat ( // FS:wmr_protect
.scan_in(interrupt_receive0_lat_wmr_scanin),
.scan_out(interrupt_receive0_lat_wmr_scanout),
.sel0 (cxi_wr_int_dis [0 ] ),
.sel1 (asi_wr_int_rec [0 ] ),
.dout (int_rec0 [63:0] ),
////////////////////////////////////////////////////////////////////////////////
// Mux the Interrupt Receive Registers to either
// write (clear bits that are set in write data) or
// read (encode and clear the MSB)
tlu_cth_dp_msff_macro__dmux_8x__left_29__mux_aope__ports_2__width_3 int_rec_mux_sel_lat (
.scan_in(int_rec_mux_sel_lat_scanin),
.scan_out(int_rec_mux_sel_lat_scanout),
.din0 (lsu_rngf_cdbus [58:56] ),
.din1 (asi_int_rec_mux_sel_in [2:0] ),
.sel0 (lsu_rngf_cdbus [64 ] ),
.dout (int_rec_mux_sel [2:0] ),
assign rngf_cdbus_unused[63:59] =
tlu_cth_dp_mux_macro__dmux_8x__mux_aodec__ports_8__width_64 int_rec_mux (
.din0 (int_rec0 [63:0] ),
.din1 (int_rec1 [63:0] ),
.din2 (int_rec2 [63:0] ),
.din3 (int_rec3 [63:0] ),
.din4 (int_rec4 [63:0] ),
.din5 (int_rec5 [63:0] ),
.din6 (int_rec6 [63:0] ),
.din7 (int_rec7 [63:0] ),
.sel (int_rec_mux_sel [2:0] ),
.dout (int_rec_muxed [63:0] )
////////////////////////////////////////////////////////////////////////////////
// Clear bits that are set in write data on write to Interrupt Receive Reg
tlu_cth_dp_buff_macro__width_62 wr_data_buf (
.din (asi_wr_data [61:0] ),
.dout (cth_wr_data [61:0] )
tlu_cth_dp_and_macro__ports_2__width_64 int_rec_and (
.din0 (int_rec_muxed [63:0] ),
.din1 ({asi_wr_data [63:62],
////////////////////////////////////////////////////////////////////////////////
// Encode and clear the MSB on reads from Incoming Vector Register
tlu_cth_dp_mux_macro__mux_aope__ports_8__width_3 ivr_63_56_mux (
.sel0 (int_rec_muxed [63 ] ),
.sel1 (int_rec_muxed [62 ] ),
.sel2 (int_rec_muxed [61 ] ),
.sel3 (int_rec_muxed [60 ] ),
.sel4 (int_rec_muxed [59 ] ),
.sel5 (int_rec_muxed [58 ] ),
.sel6 (int_rec_muxed [57 ] ),
tlu_cth_dp_mux_macro__mux_aope__ports_8__width_3 ivr_55_48_mux (
.sel0 (int_rec_muxed [55 ] ),
.sel1 (int_rec_muxed [54 ] ),
.sel2 (int_rec_muxed [53 ] ),
.sel3 (int_rec_muxed [52 ] ),
.sel4 (int_rec_muxed [51 ] ),
.sel5 (int_rec_muxed [50 ] ),
.sel6 (int_rec_muxed [49 ] ),
tlu_cth_dp_mux_macro__mux_aope__ports_8__width_3 ivr_47_40_mux (
.sel0 (int_rec_muxed [47 ] ),
.sel1 (int_rec_muxed [46 ] ),
.sel2 (int_rec_muxed [45 ] ),
.sel3 (int_rec_muxed [44 ] ),
.sel4 (int_rec_muxed [43 ] ),
.sel5 (int_rec_muxed [42 ] ),
.sel6 (int_rec_muxed [41 ] ),
tlu_cth_dp_mux_macro__mux_aope__ports_8__width_3 ivr_39_32_mux (
.sel0 (int_rec_muxed [39 ] ),
.sel1 (int_rec_muxed [38 ] ),
.sel2 (int_rec_muxed [37 ] ),
.sel3 (int_rec_muxed [36 ] ),
.sel4 (int_rec_muxed [35 ] ),
.sel5 (int_rec_muxed [34 ] ),
.sel6 (int_rec_muxed [33 ] ),
tlu_cth_dp_mux_macro__mux_aope__ports_8__width_3 ivr_31_24_mux (
.sel0 (int_rec_muxed [31 ] ),
.sel1 (int_rec_muxed [30 ] ),
.sel2 (int_rec_muxed [29 ] ),
.sel3 (int_rec_muxed [28 ] ),
.sel4 (int_rec_muxed [27 ] ),
.sel5 (int_rec_muxed [26 ] ),
.sel6 (int_rec_muxed [25 ] ),
tlu_cth_dp_mux_macro__mux_aope__ports_8__width_3 ivr_23_16_mux (
.sel0 (int_rec_muxed [23 ] ),
.sel1 (int_rec_muxed [22 ] ),
.sel2 (int_rec_muxed [21 ] ),
.sel3 (int_rec_muxed [20 ] ),
.sel4 (int_rec_muxed [19 ] ),
.sel5 (int_rec_muxed [18 ] ),
.sel6 (int_rec_muxed [17 ] ),
tlu_cth_dp_mux_macro__mux_aope__ports_8__width_3 ivr_15_08_mux (
.sel0 (int_rec_muxed [15 ] ),
.sel1 (int_rec_muxed [14 ] ),
.sel2 (int_rec_muxed [13 ] ),
.sel3 (int_rec_muxed [12 ] ),
.sel4 (int_rec_muxed [11 ] ),
.sel5 (int_rec_muxed [10 ] ),
.sel6 (int_rec_muxed [9 ] ),
tlu_cth_dp_mux_macro__mux_aope__ports_8__width_3 ivr_07_00_mux (
.sel0 (int_rec_muxed [7 ] ),
.sel1 (int_rec_muxed [6 ] ),
.sel2 (int_rec_muxed [5 ] ),
.sel3 (int_rec_muxed [4 ] ),
.sel4 (int_rec_muxed [3 ] ),
.sel5 (int_rec_muxed [2 ] ),
.sel6 (int_rec_muxed [1 ] ),
tlu_cth_dp_nor_macro__ports_2__width_28 ivr_nor
( .din0 ({int_rec_muxed [63:60],
.din1 ({int_rec_muxed [59:56],
tlu_cth_dp_nand_macro__ports_4__width_7 ivr_nand (
.dout (incoming_vector_mux_sel[7:1] )
tlu_cth_dp_mux_macro__dmux_6x__mux_aope__ports_8__width_6 incoming_vector_mux (
.sel0 (incoming_vector_mux_sel[7 ] ),
.sel1 (incoming_vector_mux_sel[6 ] ),
.sel2 (incoming_vector_mux_sel[5 ] ),
.sel3 (incoming_vector_mux_sel[4 ] ),
.sel4 (incoming_vector_mux_sel[3 ] ),
.sel5 (incoming_vector_mux_sel[2 ] ),
.sel6 (incoming_vector_mux_sel[1 ] ),
.dout (incoming_vector_in [5:0] )
tlu_cth_dp_msff_macro__width_6 incoming_vector_lat (
.scan_in(incoming_vector_lat_scanin),
.scan_out(incoming_vector_lat_scanout),
.din (incoming_vector_in [5:0] ),
.dout (incoming_vector [5:0] ),
tlu_cth_dp_mux_macro__mux_aodec__ports_8__width_8 enc_inc_vec_first_mux (
.sel (incoming_vector [2:0] ),
.dout (dec_inc_vec_first [7:0] )
tlu_cth_dp_mux_macro__mux_aodec__ports_8__width_64 dec_inc_vec_mux (
.din0 ({56'h00000000000000 ,
dec_inc_vec_first [7:0]}),
.din1 ({48'h000000000000 ,
.din7 ({dec_inc_vec_first [7:0],
.sel (incoming_vector [5:3] ),
.dout (dec_inc_vec [63:0] )
tlu_cth_dp_inv_macro__width_64 int_rec_muxed_inv (
.din (int_rec_muxed [63:0] ),
.dout (int_rec_muxed_ [63:0] )
tlu_cth_dp_nor_macro__ports_2__width_64 inc_vec_nor (
.din0 (dec_inc_vec [63:0] ),
.din1 (int_rec_muxed_ [63:0] ),
////////////////////////////////////////////////////////////////////////////////
// Decode the Interrupt Dispatch Vector register for write
// and OR into existing register
tlu_cth_dp_mux_macro__mux_aonpe__ports_8__width_64 int_rec_dis_mux (
.din0 (int_rec0 [63:0] ),
.din1 (int_rec1 [63:0] ),
.din2 (int_rec2 [63:0] ),
.din3 (int_rec3 [63:0] ),
.din4 (int_rec4 [63:0] ),
.din5 (int_rec5 [63:0] ),
.din6 (int_rec6 [63:0] ),
.din7 (int_rec7 [63:0] ),
.sel0 (cxi_wr_int_dis [0 ] ),
.sel1 (cxi_wr_int_dis [1 ] ),
.sel2 (cxi_wr_int_dis [2 ] ),
.sel3 (cxi_wr_int_dis [3 ] ),
.sel4 (cxi_wr_int_dis [4 ] ),
.sel5 (cxi_wr_int_dis [5 ] ),
.sel6 (cxi_wr_int_dis [6 ] ),
.sel7 (cxi_wr_int_dis [7 ] ),
.dout (int_rec_dis_muxed [63:0] )
// BUT, still have to clear the bits due to Interrupt Receive write or
// Incoming Vector dispatch
// First figure out if the same thread is involved
tlu_cth_dp_mux_macro__mux_aodec__ports_8__width_3 set_clear_same_thread_mux (
.din0 ({asi_wr_int_rec [0 ],
.din1 ({asi_wr_int_rec [1 ],
.din2 ({asi_wr_int_rec [2 ],
.din3 ({asi_wr_int_rec [3 ],
.din4 ({asi_wr_int_rec [4 ],
.din5 ({asi_wr_int_rec [5 ],
.din6 ({asi_wr_int_rec [6 ],
.din7 ({asi_wr_int_rec [7 ],
.sel (int_rec_mux_sel [2:0] ),
// Generate a select for Interrupt Receive write
tlu_cth_dp_nand_macro__ports_2__width_1 s_c_idvw_irw_b_nand (
.din1 (set_clear_same_thread ),
tlu_cth_dp_inv_macro__width_1 s_c_idvw_irw_inv (
// Generate a select for Incoming Vector read
tlu_cth_dp_nand_macro__ports_2__width_1 s_c_idvw_ivr_b_nand (
.din1 (set_clear_same_thread ),
tlu_cth_dp_inv_macro__width_1 s_c_idvw_ivr_inv (
// Generate a select for neither matching or for neither write occurring
tlu_cth_dp_and_macro__ports_2__width_1 neither_match_and (
tlu_cth_dp_buff_macro__dbuff_32x__width_1 tst_mux_rep0 (
.dout (tcu_muxtest_rep0 )
tlu_cth_dp_mux_macro__mux_pgdec__ports_8__width_8 enc_int_dis_first_mux (
.sel (cxi_int_dis_vec [2:0] ),
.muxtst (tcu_muxtest_rep0 ),
.dout (dec_int_dis_first [7:0] ),
tlu_cth_dp_buff_macro__dbuff_48x__width_1 tst_mux_rep1 (
.dout (tcu_muxtest_rep1 )
tlu_cth_dp_mux_macro__mux_pgdec__ports_8__width_64 dec_int_dis_mux (
.din0 ({56'h00000000000000 ,
dec_int_dis_first [7:0]}),
.din1 ({48'h000000000000 ,
.din7 ({dec_int_dis_first [7:0],
.sel (cxi_int_dis_vec [5:3] ),
.muxtst (tcu_muxtest_rep1 ),
.dout (dec_int_dis [63:0] ),
// Mux the cleared registers with the base register and
// OR the new vector in (saves gate levels...)
tlu_cth_dp_mux_macro__mux_aonpe__ports_4__width_64 int_rec_dis_muxed_mux (
.din0 (dec_int_dis [63:0] ),
.din3 (int_rec_dis_muxed [63:0] ),
////////////////////////////////////////////////////////////////////////////////
tlu_cth_dp_msff_macro__mux_aonpe__ports_2__width_64 asi_lat (
.scan_in(asi_lat_scanin),
.scan_out(asi_lat_scanout),
.din0 (int_rec_muxed [63:0] ),
.din1 ({58'h000000000000000 ,
incoming_vector_in [5:0]}),
.dout (asi_data [63:0] ),
tlu_cth_dp_or_macro__ports_3__width_64 asi_data_or (
.din2 (asi_data [63:0] ),
.dout (cth_asi_data [63:0] )
////////////////////////////////////////////////////////////////////////////////
// Check if the register has any bits set after clear operations
tlu_cth_dp_msff_macro__mux_aope__ports_2__width_64 irl_cleared_lat (
.scan_in(irl_cleared_lat_scanin),
.scan_out(irl_cleared_lat_scanout),
.sel0 (asi_wr_any_int_rec ),
.dout (cth_irl_cleared [63:0] ),
assign int_rec_mux_sel_lat_scanin = scan_in ;
assign incoming_vector_lat_scanin = int_rec_mux_sel_lat_scanout;
assign asi_lat_scanin = incoming_vector_lat_scanout;
assign irl_cleared_lat_scanin = asi_lat_scanout ;
assign scan_out = irl_cleared_lat_scanout ;
assign interrupt_receive7_lat_wmr_scanin = wmr_scan_in ;
assign interrupt_receive6_lat_wmr_scanin = interrupt_receive7_lat_wmr_scanout;
assign interrupt_receive5_lat_wmr_scanin = interrupt_receive6_lat_wmr_scanout;
assign interrupt_receive4_lat_wmr_scanin = interrupt_receive5_lat_wmr_scanout;
assign interrupt_receive3_lat_wmr_scanin = interrupt_receive4_lat_wmr_scanout;
assign interrupt_receive2_lat_wmr_scanin = interrupt_receive3_lat_wmr_scanout;
assign interrupt_receive1_lat_wmr_scanin = interrupt_receive2_lat_wmr_scanout;
assign interrupt_receive0_lat_wmr_scanin = interrupt_receive1_lat_wmr_scanout;
assign wmr_scan_out = interrupt_receive0_lat_wmr_scanout;
module tlu_cth_dp_buff_macro__width_4 (
// or macro for ports = 2,3
module tlu_cth_dp_or_macro__ports_3__width_8 (
// or macro for ports = 2,3
module tlu_cth_dp_or_macro__ports_3__width_1 (
// or macro for ports = 2,3
module tlu_cth_dp_or_macro__ports_2__width_1 (
// any PARAMS parms go into naming of macro
module tlu_cth_dp_msff_macro__mux_aope__ports_3__width_64 (
.so({so[62:0],scan_out}),
// any PARAMS parms go into naming of macro
module tlu_cth_dp_msff_macro__dmux_8x__left_29__mux_aope__ports_2__width_3 (
// general mux macro for pass-gate and and-or muxes with/wout priority encoders
// also for pass-gate with decoder
// any PARAMS parms go into naming of macro
module tlu_cth_dp_mux_macro__dmux_8x__mux_aodec__ports_8__width_64 (
module tlu_cth_dp_buff_macro__width_62 (
// and macro for ports = 2,3,4
module tlu_cth_dp_and_macro__ports_2__width_64 (
// general mux macro for pass-gate and and-or muxes with/wout priority encoders
// also for pass-gate with decoder
// any PARAMS parms go into naming of macro
module tlu_cth_dp_mux_macro__mux_aope__ports_8__width_3 (
// nor macro for ports = 2,3
module tlu_cth_dp_nor_macro__ports_2__width_28 (
// nand macro for ports = 2,3,4
module tlu_cth_dp_nand_macro__ports_4__width_7 (
// general mux macro for pass-gate and and-or muxes with/wout priority encoders
// also for pass-gate with decoder
// any PARAMS parms go into naming of macro
module tlu_cth_dp_mux_macro__dmux_6x__mux_aope__ports_8__width_6 (
// any PARAMS parms go into naming of macro
module tlu_cth_dp_msff_macro__width_6 (
// general mux macro for pass-gate and and-or muxes with/wout priority encoders
// also for pass-gate with decoder
// any PARAMS parms go into naming of macro
module tlu_cth_dp_mux_macro__mux_aodec__ports_8__width_8 (
// general mux macro for pass-gate and and-or muxes with/wout priority encoders
// also for pass-gate with decoder
// any PARAMS parms go into naming of macro
module tlu_cth_dp_mux_macro__mux_aodec__ports_8__width_64 (
module tlu_cth_dp_inv_macro__width_64 (
// nor macro for ports = 2,3
module tlu_cth_dp_nor_macro__ports_2__width_64 (
// general mux macro for pass-gate and and-or muxes with/wout priority encoders
// also for pass-gate with decoder
// any PARAMS parms go into naming of macro
module tlu_cth_dp_mux_macro__mux_aonpe__ports_8__width_64 (
cl_dp1_muxbuff8_8x c0_0 (
// general mux macro for pass-gate and and-or muxes with/wout priority encoders
// also for pass-gate with decoder
// any PARAMS parms go into naming of macro
module tlu_cth_dp_mux_macro__mux_aodec__ports_8__width_3 (
// nand macro for ports = 2,3,4
module tlu_cth_dp_nand_macro__ports_2__width_1 (
module tlu_cth_dp_inv_macro__width_1 (
// and macro for ports = 2,3,4
module tlu_cth_dp_and_macro__ports_2__width_1 (
module tlu_cth_dp_buff_macro__dbuff_32x__width_1 (
// general mux macro for pass-gate and and-or muxes with/wout priority encoders
// also for pass-gate with decoder
// any PARAMS parms go into naming of macro
module tlu_cth_dp_mux_macro__mux_pgdec__ports_8__width_8 (
module tlu_cth_dp_buff_macro__dbuff_48x__width_1 (
// general mux macro for pass-gate and and-or muxes with/wout priority encoders
// also for pass-gate with decoder
// any PARAMS parms go into naming of macro
module tlu_cth_dp_mux_macro__mux_pgdec__ports_8__width_64 (
// general mux macro for pass-gate and and-or muxes with/wout priority encoders
// also for pass-gate with decoder
// any PARAMS parms go into naming of macro
module tlu_cth_dp_mux_macro__mux_aonpe__ports_4__width_64 (
cl_dp1_muxbuff4_8x c0_0 (
// any PARAMS parms go into naming of macro
module tlu_cth_dp_msff_macro__mux_aonpe__ports_2__width_64 (
cl_dp1_muxbuff2_8x c1_0 (
.so({so[62:0],scan_out}),
// or macro for ports = 2,3
module tlu_cth_dp_or_macro__ports_3__width_64 (
// any PARAMS parms go into naming of macro
module tlu_cth_dp_msff_macro__mux_aope__ports_2__width_64 (
.so({so[62:0],scan_out}),