

module s10TestU2 (

	input		DIFF100_GCLK0_U2,		//CE27 - CD27	//100
	input		DIFF100_GCLK1_U2,		//CC33 - CD33	//88
	input		DIFF100_GCLK2_U2,		//BT23 - BU23	//40
	input		DIFF100_GCLK3_U2,		//BK34 - BL34	//100
	input		DIFF100_GCLK4_U2,		// T25 - U25	//64
	input		DIFF100_GCLK5_U2,		// D16 - C16	//32
	input		DIFF100_GCLK6_U2,		// H19 - G19	//60
	//input		SE50_OSC_CLK_1_U2,	// L25			//100

	//output	DIFF100_SMA_IN_3LU2,	//CN25 - CM25	//removed Moti 20210614
	//output	DIFF100_SMA_IN_3HU2,	//CF19 - CG19	//removed Moti 20210614
	//////////////////////////
	output wire	DIFF100_SMA_IN_3HU2_P,		//CF19
	output wire	DIFF100_SMA_IN_3HU2_N,		//CG19
	output wire	DIFF100_SMA_IN_3LU2_P,		//CN25
	output wire	DIFF100_SMA_IN_3LU2_N,		//CM25
	//////////////////////////
	
	input		DG_DIE1_DPSW_A1,		//  //
	input		DG_DIE1_DPSW_A2,		//  //
	input		DG_DIE1_DPSW_A3,		//
	input		DG_DIE1_DPSW_A4,		//
	input		DG_DIE1_DPSW_A5,		//
	input		DG_DIE1_DPSW_A6,		//
	input		DG_DIE1_DPSW_A7,		//
	input		DG_DIE1_DPSW_A8,		//

	output wire [6:0]		DG_DIE1_SEVEN_SEG1,
	output wire				DG_DIE1_SEVEN_SEG_DP1,
	output wire [6:0]		DG_DIE1_SEVEN_SEG2,
	output wire				DG_DIE1_SEVEN_SEG_DP2,
	input						DG_DIE1_PB1,			//CG25
	//input						PA_D1_nCONFIG,			//K23 SDM
	input						DG_DIE1_CPU_RESET,		//BW18

    //////////////////////////
    output [3:0]   S10_DIE1_LED,    //CJ25CH25CG23CG24
    output       DG_HT3_2AU2_LED,   //BG34
    output       DG_HT3_2BU2_LED,   //BG33
    output       DG_HT3_2CU2_LED,   //BH33
    output       DG_HT3_2FU2_LED,   //BH32
    output       DG_HT3_2GU2_LED,   //BJ34
    output       DG_HT3_2HU2_LED,   //BJ33
    output       DG_HT3_2IU2_LED,   //BK32
    output       DG_HT3_2JU2_LED,   //BL32
    output       DG_HT3_2KU2_LED,   //BL33
    output       DG_HT3_2LU2_LED,   //BN31
    output       DG_HT3_2MU2_LED,   //BN32
    output       DG_HT3_2NU2_LED,   //BM33
    output       DG_HS_SERDES_U2_LED1,  //BP34
    output       DG_HS_SERDES_U2_LED2,  //BR34
    //////////////////////////Bi color LED's
    output      DG_PCIe_MOLEX_U2_LED1,  //BR32
    output      DG_PCIe_MOLEX_U2_LED2,  //BT32
    output      DG_PCIe_28PIN_U2_LED1,  //BP33
    output      DG_PCIe_28PIN_U2_LED2,  //BP32
    output      DG_DDR3_U2_LED,      //BM34


    ////////////////////////// UART
    output wire	DG_DIE1_UART0_TXD,
    output wire	DG_DIE1_UART0_RTS,
    input wire		DG_DIE1_UART0_RXD,
    input wire		DG_DIE1_UART0_CTS,

    output wire	DG_DIE1_UART1_TXD,
    output wire	DG_DIE1_UART1_RTS,
    input wire		DG_DIE1_UART1_RXD,
    input wire		DG_DIE1_UART1_CTS,

    output wire	DG_DIE1_UART2_TXD,
    output wire	DG_DIE1_UART2_RTS,
    input wire		DG_DIE1_UART2_RXD,
    input wire		DG_DIE1_UART2_CTS,

    output wire	DG_DIE1_UART3_TXD,
    output wire	DG_DIE1_UART3_RTS,
    input wire		DG_DIE1_UART3_RXD,
    input wire		DG_DIE1_UART3_CTS,
    //////////////////////////
	 	 //////////////////////////
	 input wire	check1,
	 input wire check2,
	 //////////////////////////
	 ////////////////////////// add by Moti - 20210518
	 //DIFF100_GCLK2_U2l
	 input	wire	CLK_IO_LVDS_MAX10_3IU2,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_1,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_2,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_3,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_4,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_5,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_6,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_7,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_8,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_9,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_10,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_11,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_12,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_13,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_14,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_15,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_16,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_17,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_18,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_19,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_20,
	 input	wire	DG_IO_LVDS_MAX10_3IU2_21,
	 //////////////////////////
////////////////////////// 
input wire CLK_IO_LVDS_2AU2_0P,
input wire CLK_IO_LVDS_2AU2_1P,
input wire DG_IO_LVDS_2AU2_1P,
input wire DG_IO_LVDS_2AU2_2P,
input wire DG_IO_LVDS_2AU2_3P,
input wire DG_IO_LVDS_2AU2_4P,
input wire DG_IO_LVDS_2AU2_5P,
input wire DG_IO_LVDS_2AU2_6P,
input wire DG_IO_LVDS_2AU2_7P,
input wire DG_IO_LVDS_2AU2_8P,
input wire DG_IO_LVDS_2AU2_9P,
input wire DG_IO_LVDS_2AU2_10P,
input wire DG_IO_LVDS_2AU2_11P,
input wire DG_IO_LVDS_2AU2_12P,
input wire DG_IO_LVDS_2AU2_13P,
input wire DG_IO_LVDS_2AU2_14P,
input wire DG_IO_LVDS_2AU2_15P,
input wire DG_IO_LVDS_2AU2_16P,
input wire DG_IO_LVDS_2AU2_17P,
input wire DG_IO_LVDS_2AU2_18P,
input wire DG_IO_LVDS_2AU2_19P,
input wire DG_IO_LVDS_2AU2_20P,
input wire DG_IO_LVDS_2AU2_21P,
input wire DG_IO_LVDS_2AU2_22P,
input wire [1:0] CLK_IO_LVDS_2AU2_N,
input wire [22:1] DG_IO_LVDS_2AU2_N,
//////////////////////////
input wire CLK_IO_LVDS_2BU2_0P,
input wire CLK_IO_LVDS_2BU2_1P,
input wire DG_IO_LVDS_2BU2_1P,
input wire DG_IO_LVDS_2BU2_2P,
input wire DG_IO_LVDS_2BU2_3P,
input wire DG_IO_LVDS_2BU2_4P,
input wire DG_IO_LVDS_2BU2_5P,
input wire DG_IO_LVDS_2BU2_6P,
input wire DG_IO_LVDS_2BU2_7P,
input wire DG_IO_LVDS_2BU2_8P,
input wire DG_IO_LVDS_2BU2_9P,
input wire DG_IO_LVDS_2BU2_10P,
input wire DG_IO_LVDS_2BU2_11P,
input wire DG_IO_LVDS_2BU2_12P,
input wire DG_IO_LVDS_2BU2_13P,
input wire DG_IO_LVDS_2BU2_14P,
input wire DG_IO_LVDS_2BU2_15P,
input wire DG_IO_LVDS_2BU2_16P,
input wire DG_IO_LVDS_2BU2_17P,
input wire DG_IO_LVDS_2BU2_18P,
input wire DG_IO_LVDS_2BU2_19P,
input wire DG_IO_LVDS_2BU2_20P,
input wire DG_IO_LVDS_2BU2_21P,
input wire DG_IO_LVDS_2BU2_22P,
input wire [1:0] CLK_IO_LVDS_2BU2_N,
input wire [22:1] DG_IO_LVDS_2BU2_N,
//////////////////////////
input wire CLK_IO_LVDS_2CU2_0P,
input wire CLK_IO_LVDS_2CU2_1P,
input wire DG_IO_LVDS_2CU2_1P,
input wire DG_IO_LVDS_2CU2_2P,
input wire DG_IO_LVDS_2CU2_3P,
input wire DG_IO_LVDS_2CU2_4P,
input wire DG_IO_LVDS_2CU2_5P,
input wire DG_IO_LVDS_2CU2_6P,
input wire DG_IO_LVDS_2CU2_7P,
input wire DG_IO_LVDS_2CU2_8P,
input wire DG_IO_LVDS_2CU2_9P,
input wire DG_IO_LVDS_2CU2_10P,
input wire DG_IO_LVDS_2CU2_11P,
input wire DG_IO_LVDS_2CU2_12P,
input wire DG_IO_LVDS_2CU2_13P,
input wire DG_IO_LVDS_2CU2_14P,
input wire DG_IO_LVDS_2CU2_15P,
input wire DG_IO_LVDS_2CU2_16P,
input wire DG_IO_LVDS_2CU2_17P,
input wire DG_IO_LVDS_2CU2_18P,
input wire DG_IO_LVDS_2CU2_19P,
input wire DG_IO_LVDS_2CU2_20P,
input wire DG_IO_LVDS_2CU2_21P,
input wire DG_IO_LVDS_2CU2_22P,
input wire [1:0] CLK_IO_LVDS_2CU2_N,
input wire [22:1] DG_IO_LVDS_2CU2_N,
//////////////////////////
input wire CLK_IO_LVDS_2FU2_0P,
input wire CLK_IO_LVDS_2FU2_1P,
input wire DG_IO_LVDS_2FU2_1P,
input wire DG_IO_LVDS_2FU2_2P,
input wire DG_IO_LVDS_2FU2_3P,
input wire DG_IO_LVDS_2FU2_4P,
input wire DG_IO_LVDS_2FU2_5P,
input wire DG_IO_LVDS_2FU2_6P,
input wire DG_IO_LVDS_2FU2_7P,
input wire DG_IO_LVDS_2FU2_8P,
input wire DG_IO_LVDS_2FU2_9P,
input wire DG_IO_LVDS_2FU2_10P,
input wire DG_IO_LVDS_2FU2_11P,
input wire DG_IO_LVDS_2FU2_12P,
input wire DG_IO_LVDS_2FU2_13P,
input wire DG_IO_LVDS_2FU2_14P,
input wire DG_IO_LVDS_2FU2_15P,
input wire DG_IO_LVDS_2FU2_16P,
input wire DG_IO_LVDS_2FU2_17P,
input wire DG_IO_LVDS_2FU2_18P,
input wire DG_IO_LVDS_2FU2_19P,
input wire DG_IO_LVDS_2FU2_20P,
input wire DG_IO_LVDS_2FU2_21P,
input wire DG_IO_LVDS_2FU2_22P,
input wire [1:0] CLK_IO_LVDS_2FU2_N,
input wire [22:1] DG_IO_LVDS_2FU2_N,
//////////////////////////
input wire CLK_IO_LVDS_2GU2_0P,
input wire CLK_IO_LVDS_2GU2_1P,
input wire DG_IO_LVDS_2GU2_1P,
input wire DG_IO_LVDS_2GU2_2P,
input wire DG_IO_LVDS_2GU2_3P,
input wire DG_IO_LVDS_2GU2_4P,
input wire DG_IO_LVDS_2GU2_5P,
input wire DG_IO_LVDS_2GU2_6P,
input wire DG_IO_LVDS_2GU2_7P,
input wire DG_IO_LVDS_2GU2_8P,
input wire DG_IO_LVDS_2GU2_9P,
input wire DG_IO_LVDS_2GU2_10P,
input wire DG_IO_LVDS_2GU2_11P,
input wire DG_IO_LVDS_2GU2_12P,
input wire DG_IO_LVDS_2GU2_13P,
input wire DG_IO_LVDS_2GU2_14P,
input wire DG_IO_LVDS_2GU2_15P,
input wire DG_IO_LVDS_2GU2_16P,
input wire DG_IO_LVDS_2GU2_17P,
input wire DG_IO_LVDS_2GU2_18P,
input wire DG_IO_LVDS_2GU2_19P,
input wire DG_IO_LVDS_2GU2_20P,
input wire DG_IO_LVDS_2GU2_21P,
input wire DG_IO_LVDS_2GU2_22P,
input wire [1:0] CLK_IO_LVDS_2GU2_N,
input wire [22:1] DG_IO_LVDS_2GU2_N,
//////////////////////////
input wire CLK_IO_LVDS_2HU2_0P,
input wire CLK_IO_LVDS_2HU2_1P,
input wire DG_IO_LVDS_2HU2_1P,
input wire DG_IO_LVDS_2HU2_2P,
input wire DG_IO_LVDS_2HU2_3P,
input wire DG_IO_LVDS_2HU2_4P,
input wire DG_IO_LVDS_2HU2_5P,
input wire DG_IO_LVDS_2HU2_6P,
input wire DG_IO_LVDS_2HU2_7P,
input wire DG_IO_LVDS_2HU2_8P,
input wire DG_IO_LVDS_2HU2_9P,
input wire DG_IO_LVDS_2HU2_10P,
input wire DG_IO_LVDS_2HU2_11P,
input wire DG_IO_LVDS_2HU2_12P,
input wire DG_IO_LVDS_2HU2_13P,
input wire DG_IO_LVDS_2HU2_14P,
input wire DG_IO_LVDS_2HU2_15P,
input wire DG_IO_LVDS_2HU2_16P,
input wire DG_IO_LVDS_2HU2_17P,
input wire DG_IO_LVDS_2HU2_18P,
input wire DG_IO_LVDS_2HU2_19P,
input wire DG_IO_LVDS_2HU2_20P,
input wire DG_IO_LVDS_2HU2_21P,
input wire DG_IO_LVDS_2HU2_22P,
input wire [1:0] CLK_IO_LVDS_2HU2_N,
input wire [22:1] DG_IO_LVDS_2HU2_N,
//////////////////////////
input wire CLK_IO_LVDS_2IU2_0P,
input wire CLK_IO_LVDS_2IU2_1P,
input wire DG_IO_LVDS_2IU2_1P,
input wire DG_IO_LVDS_2IU2_2P,
input wire DG_IO_LVDS_2IU2_3P,
input wire DG_IO_LVDS_2IU2_4P,
input wire DG_IO_LVDS_2IU2_5P,
input wire DG_IO_LVDS_2IU2_6P,
input wire DG_IO_LVDS_2IU2_7P,
input wire DG_IO_LVDS_2IU2_8P,
input wire DG_IO_LVDS_2IU2_9P,
input wire DG_IO_LVDS_2IU2_10P,
input wire DG_IO_LVDS_2IU2_11P,
input wire DG_IO_LVDS_2IU2_12P,
input wire DG_IO_LVDS_2IU2_13P,
input wire DG_IO_LVDS_2IU2_14P,
input wire DG_IO_LVDS_2IU2_15P,
input wire DG_IO_LVDS_2IU2_16P,
input wire DG_IO_LVDS_2IU2_17P,
input wire DG_IO_LVDS_2IU2_18P,
input wire DG_IO_LVDS_2IU2_19P,
input wire DG_IO_LVDS_2IU2_20P,
input wire DG_IO_LVDS_2IU2_21P,
input wire DG_IO_LVDS_2IU2_22P,
input wire [1:0] CLK_IO_LVDS_2IU2_N,
input wire [22:1] DG_IO_LVDS_2IU2_N,
//////////////////////////
input wire CLK_IO_LVDS_2JU2_0P,
input wire CLK_IO_LVDS_2JU2_1P,
input wire DG_IO_LVDS_2JU2_1P,
input wire DG_IO_LVDS_2JU2_2P,
input wire DG_IO_LVDS_2JU2_3P,
input wire DG_IO_LVDS_2JU2_4P,
input wire DG_IO_LVDS_2JU2_5P,
input wire DG_IO_LVDS_2JU2_6P,
input wire DG_IO_LVDS_2JU2_7P,
input wire DG_IO_LVDS_2JU2_8P,
input wire DG_IO_LVDS_2JU2_9P,
input wire DG_IO_LVDS_2JU2_10P,
input wire DG_IO_LVDS_2JU2_11P,
input wire DG_IO_LVDS_2JU2_12P,
input wire DG_IO_LVDS_2JU2_13P,
input wire DG_IO_LVDS_2JU2_14P,
input wire DG_IO_LVDS_2JU2_15P,
input wire DG_IO_LVDS_2JU2_16P,
input wire DG_IO_LVDS_2JU2_17P,
input wire DG_IO_LVDS_2JU2_18P,
input wire DG_IO_LVDS_2JU2_19P,
input wire DG_IO_LVDS_2JU2_20P,
input wire DG_IO_LVDS_2JU2_21P,
input wire DG_IO_LVDS_2JU2_22P,
input wire [1:0] CLK_IO_LVDS_2JU2_N,
input wire [22:1] DG_IO_LVDS_2JU2_N,
////////////////////////
input wire CLK_IO_LVDS_2KU2_0P,
input wire CLK_IO_LVDS_2KU2_1P,
input wire DG_IO_LVDS_2KU2_1P,
input wire DG_IO_LVDS_2KU2_2P,
input wire DG_IO_LVDS_2KU2_3P,
input wire DG_IO_LVDS_2KU2_4P,
input wire DG_IO_LVDS_2KU2_5P,
input wire DG_IO_LVDS_2KU2_6P,
input wire DG_IO_LVDS_2KU2_7P,
input wire DG_IO_LVDS_2KU2_8P,
input wire DG_IO_LVDS_2KU2_9P,
input wire DG_IO_LVDS_2KU2_10P,
input wire DG_IO_LVDS_2KU2_11P,
input wire DG_IO_LVDS_2KU2_12P,
input wire DG_IO_LVDS_2KU2_13P,
input wire DG_IO_LVDS_2KU2_14P,
input wire DG_IO_LVDS_2KU2_15P,
input wire DG_IO_LVDS_2KU2_16P,
input wire DG_IO_LVDS_2KU2_17P,
input wire DG_IO_LVDS_2KU2_18P,
input wire DG_IO_LVDS_2KU2_19P,
input wire DG_IO_LVDS_2KU2_20P,
input wire DG_IO_LVDS_2KU2_21P,
input wire DG_IO_LVDS_2KU2_22P,
input wire [1:0] CLK_IO_LVDS_2KU2_N,
input wire [22:1] DG_IO_LVDS_2KU2_N,
//////////////////////////
input wire CLK_IO_LVDS_2LU2_0P,
input wire CLK_IO_LVDS_2LU2_1P,
input wire DG_IO_LVDS_2LU2_1P,
input wire DG_IO_LVDS_2LU2_2P,
input wire DG_IO_LVDS_2LU2_3P,
input wire DG_IO_LVDS_2LU2_4P,
input wire DG_IO_LVDS_2LU2_5P,
input wire DG_IO_LVDS_2LU2_6P,
input wire DG_IO_LVDS_2LU2_7P,
input wire DG_IO_LVDS_2LU2_8P,
input wire DG_IO_LVDS_2LU2_9P,
input wire DG_IO_LVDS_2LU2_10P,
input wire DG_IO_LVDS_2LU2_11P,
input wire DG_IO_LVDS_2LU2_12P,
input wire DG_IO_LVDS_2LU2_13P,
input wire DG_IO_LVDS_2LU2_14P,
input wire DG_IO_LVDS_2LU2_15P,
input wire DG_IO_LVDS_2LU2_16P,
input wire DG_IO_LVDS_2LU2_17P,
input wire DG_IO_LVDS_2LU2_18P,
input wire DG_IO_LVDS_2LU2_19P,
input wire DG_IO_LVDS_2LU2_20P,
input wire DG_IO_LVDS_2LU2_21P,
input wire DG_IO_LVDS_2LU2_22P,
input wire [1:0] CLK_IO_LVDS_2LU2_N,
input wire [22:1] DG_IO_LVDS_2LU2_N,
//////////////////////////
input wire CLK_IO_LVDS_2MU2_0P,
input wire CLK_IO_LVDS_2MU2_1P,
input wire DG_IO_LVDS_2MU2_1P,
input wire DG_IO_LVDS_2MU2_2P,
input wire DG_IO_LVDS_2MU2_3P,
input wire DG_IO_LVDS_2MU2_4P,
input wire DG_IO_LVDS_2MU2_5P,
input wire DG_IO_LVDS_2MU2_6P,
input wire DG_IO_LVDS_2MU2_7P,
input wire DG_IO_LVDS_2MU2_8P,
input wire DG_IO_LVDS_2MU2_9P,
input wire DG_IO_LVDS_2MU2_10P,
input wire DG_IO_LVDS_2MU2_11P,
input wire DG_IO_LVDS_2MU2_12P,
input wire DG_IO_LVDS_2MU2_13P,
input wire DG_IO_LVDS_2MU2_14P,
input wire DG_IO_LVDS_2MU2_15P,
input wire DG_IO_LVDS_2MU2_16P,
input wire DG_IO_LVDS_2MU2_17P,
input wire DG_IO_LVDS_2MU2_18P,
input wire DG_IO_LVDS_2MU2_19P,
input wire DG_IO_LVDS_2MU2_20P,
input wire DG_IO_LVDS_2MU2_21P,
input wire DG_IO_LVDS_2MU2_22P,
input wire [1:0] CLK_IO_LVDS_2MU2_N,
input wire [22:1] DG_IO_LVDS_2MU2_N,
//////////////////////////
input wire CLK_IO_LVDS_2NU2_0P,
input wire CLK_IO_LVDS_2NU2_1P,
input wire DG_IO_LVDS_2NU2_1P,
input wire DG_IO_LVDS_2NU2_2P,
input wire DG_IO_LVDS_2NU2_3P,
input wire DG_IO_LVDS_2NU2_4P,
input wire DG_IO_LVDS_2NU2_5P,
input wire DG_IO_LVDS_2NU2_6P,
input wire DG_IO_LVDS_2NU2_7P,
input wire DG_IO_LVDS_2NU2_8P,
input wire DG_IO_LVDS_2NU2_9P,
input wire DG_IO_LVDS_2NU2_10P,
input wire DG_IO_LVDS_2NU2_11P,
input wire DG_IO_LVDS_2NU2_12P,
input wire DG_IO_LVDS_2NU2_13P,
input wire DG_IO_LVDS_2NU2_14P,
input wire DG_IO_LVDS_2NU2_15P,
input wire DG_IO_LVDS_2NU2_16P,
input wire DG_IO_LVDS_2NU2_17P,
input wire DG_IO_LVDS_2NU2_18P,
input wire DG_IO_LVDS_2NU2_19P,
input wire DG_IO_LVDS_2NU2_20P,
input wire DG_IO_LVDS_2NU2_21P,
input wire DG_IO_LVDS_2NU2_22P,
input wire [1:0] CLK_IO_LVDS_2NU2_N,
input wire [22:1] DG_IO_LVDS_2NU2_N,
////////////////////////// add by Moti - 20210518
output wire DIFF100_LVDS_3EU2_CLK1P,
output wire DIFF100_LVDS_3FU2_CLK0P,
output wire DG_IO_LVDS_3DU2_1P,
output wire DG_IO_LVDS_3DU2_2P,
output wire DG_IO_LVDS_3DU2_3P,
output wire DG_IO_LVDS_3DU2_4P,
output wire DG_IO_LVDS_3DU2_5P,
output wire DG_IO_LVDS_3DU2_6P,
output wire DG_IO_LVDS_3DU2_7P,
output wire DG_IO_LVDS_3DU2_8P,
output wire DG_IO_LVDS_3DU2_9P,
output wire DG_IO_LVDS_3DU2_10P,
output wire DG_IO_LVDS_3DU2_11P,
output wire DG_IO_LVDS_3DU2_12P,
output wire DG_IO_LVDS_3DU2_13P,
output wire DG_IO_LVDS_3DU2_14P,
output wire DG_IO_LVDS_3DU2_15P,
output wire DG_IO_LVDS_3DU2_16P,
output wire DG_IO_LVDS_3DU2_17P,
output wire DG_IO_LVDS_3DU2_18P,
output wire DG_IO_LVDS_3DU2_19P,
output wire DG_IO_LVDS_3DU2_20P,
output wire DG_IO_LVDS_3DU2_21P,
output wire DG_IO_LVDS_3DU2_22P,
output wire DG_IO_LVDS_3EU2_1P,
output wire DG_IO_LVDS_3EU2_2P,
output wire DG_IO_LVDS_3EU2_3P,
output wire DG_IO_LVDS_3EU2_4P,
output wire DG_IO_LVDS_3EU2_5P,
output wire DG_IO_LVDS_3EU2_6P,
output wire DG_IO_LVDS_3EU2_7P,
output wire DG_IO_LVDS_3EU2_8P,
output wire DG_IO_LVDS_3EU2_9P,
output wire DG_IO_LVDS_3EU2_10P,
output wire DG_IO_LVDS_3EU2_11P,
output wire DG_IO_LVDS_3EU2_12P,
output wire DG_IO_LVDS_3EU2_13P,
output wire DG_IO_LVDS_3EU2_14P,
output wire DG_IO_LVDS_3EU2_15P,
output wire DG_IO_LVDS_3EU2_16P,
output wire DG_IO_LVDS_3EU2_17P,
output wire DG_IO_LVDS_3EU2_18P,
output wire DG_IO_LVDS_3EU2_19P,
output wire DG_IO_LVDS_3EU2_20P,
output wire DG_IO_LVDS_3EU2_21P,
output wire DG_IO_LVDS_3EU2_22P,
output wire DG_IO_LVDS_3FU2_1P,
output wire DG_IO_LVDS_3FU2_2P,
output wire DG_IO_LVDS_3FU2_3P,
output wire DG_IO_LVDS_3FU2_4P,
output wire DG_IO_LVDS_3FU2_5P,
output wire DG_IO_LVDS_3FU2_6P,
output wire DG_IO_LVDS_3FU2_7P,
output wire DG_IO_LVDS_3FU2_8P,
output wire DG_IO_LVDS_3FU2_9P,
output wire DG_IO_LVDS_3FU2_10P,
output wire DG_IO_LVDS_3FU2_11P,
output wire DG_IO_LVDS_3FU2_12P,
output wire DG_IO_LVDS_3FU2_13P,
output wire DG_IO_LVDS_3FU2_14P,
output wire DG_IO_LVDS_3FU2_15P,
output wire DG_IO_LVDS_3FU2_16P,
output wire DG_IO_LVDS_3FU2_17P,
output wire DG_IO_LVDS_3FU2_18P,
output wire DG_IO_LVDS_3FU2_19P,
output wire DG_IO_LVDS_3FU2_20P,
output wire DG_IO_LVDS_3FU2_21P,
output wire DG_IO_LVDS_3FU2_22P,
output wire DIFF100_LVDS_3EU2_CLK1N,
output wire DIFF100_LVDS_3FU2_CLK0N,
output wire [22:1] DG_IO_LVDS_3DU2_N,
output wire [22:1] DG_IO_LVDS_3EU2_N,
output wire [22:1] DG_IO_LVDS_3FU2_N
//////////////////////////
);

/////////////////////////////////////////////
//////////			UART			///////////////
/////////////////////////////////////////////
assign DG_DIE1_UART0_TXD = DG_DIE1_UART1_RXD;
assign DG_DIE1_UART0_RTS = DG_DIE1_UART1_CTS; 

assign DG_DIE1_UART1_TXD = DG_DIE1_UART0_RXD;
assign DG_DIE1_UART1_RTS = DG_DIE1_UART0_CTS;

assign DG_DIE1_UART2_TXD = DG_DIE1_UART3_RXD;
assign DG_DIE1_UART2_RTS = DG_DIE1_UART3_CTS;

assign DG_DIE1_UART3_TXD = DG_DIE1_UART2_RXD;
assign DG_DIE1_UART3_RTS = DG_DIE1_UART2_CTS;
/////////////////////////////////////////////


assign	DIFF100_LVDS_3EU2_CLK1P = ( DG_DIE1_DPSW_A2 == 1'b1 ) ? 1'b1 : 1'b0 ;		// add by Moti - 20210518
assign   DIFF100_LVDS_3FU2_CLK0P = ( DG_DIE1_DPSW_A2 == 1'b1 ) ? 1'b1 : 1'b0 ;		// add by Moti - 20210518

//////////////////////////////
wire			clkOut0;
wire			clkOut1;

wire			clkWire0;
wire			clkWire1;
wire			clkWire2;
wire			clkWire3;
						
assign DIFF100_SMA_IN_3HU2_P = clkWire0;
assign DIFF100_SMA_IN_3HU2_N = clkWire1;
assign DIFF100_SMA_IN_3LU2_P = clkWire2;
assign DIFF100_SMA_IN_3LU2_N = clkWire3;

//assign	clkOut0 = ( DG_DIE1_DPSW_A1 == 1'b1 ) ? clkWire2 : clkWire0 ;
//assign	clkOut1 = ( DG_DIE1_DPSW_A1 == 1'b1 ) ? clkWire3 : clkWire1 ;

wire clk1;
clkDivby10 clkDivby10_1(
	.clk			(DIFF100_GCLK1_U2),	
	.clk_out		(clk1)
);
wire clk2;
clkDivby10 clkDivby10_2(
	.clk			(DIFF100_GCLK2_U2),	
	.clk_out		(clk2)
);
wire clk3;
clkDivby10 clkDivby10_3(
	.clk			(DIFF100_GCLK4_U2),	
	.clk_out		(clk3)
);
wire clk4;
clkDivby10 clkDivby10_4(
	.clk			(DIFF100_GCLK0_U2),	
	.clk_out		(clk4)
);
wire clk5;
clkDivby10 clkDivby10_5(
	.clk			(DIFF100_GCLK6_U2),	
	.clk_out		(clk5)
);
wire clk6;
clkDivby10 clkDivby10_6(
	.clk			(DIFF100_GCLK3_U2),	
	.clk_out		(clk6)
);
wire clk7;
clkDivby10 clkDivby10_7(
	.clk			(DIFF100_GCLK5_U2),	
	.clk_out		(clk7)
);

assign	clkWire0 = ( DG_DIE1_DPSW_A8 == 1'b1 ) ? clk1 : clk2 ;
assign	clkWire1 = ( DG_DIE1_DPSW_A8 == 1'b1 ) ? clk3 : 1'b0 ;

assign	clkWire2 = ( DG_DIE1_DPSW_A8 == 1'b1 ) ? clk4 : clk5 ;
assign	clkWire3 = ( DG_DIE1_DPSW_A8 == 1'b1 ) ? clk6 : clk7 ;
//////////////////////////////

wire	clk40MHz  = DIFF100_GCLK2_U2;

wire	rstCPU = DG_DIE1_CPU_RESET;
wire	reset_n	= DG_DIE1_CPU_RESET;
wire	clk2Hz;


clkDiv_2Hz clkDiv_2Hz1(
	.clk			(clk40MHz),
	.clk_out		(clk2Hz),
	.reset_n		(rstCPU)
);

seven_seg_cnt seven_seg_cnt1(
	.clk			(clk2Hz),
   .digit		(),   
   .sev_seg		(DG_DIE1_SEVEN_SEG1),  
   .dp			(DG_DIE1_SEVEN_SEG_DP1),
	.up			(~DG_DIE1_PB1),
   .reset_n		(rstCPU)
);

/////////////////////////////////////////////
////////////////// LED's ////////////////////
/////////////////////////////////////////////
assign	DG_DIE1_SEVEN_SEG2 = DG_DIE1_SEVEN_SEG1;
assign	DG_DIE1_SEVEN_SEG_DP2 = DG_DIE1_SEVEN_SEG_DP1;

//assign	S10_DIE1_LED = ( DG_DIE1_DPSW_A1 == 1'b1 ) ? 4'b1111 : 4'd0 ;			//removed by Moti 20210518
assign	S10_DIE1_LED [3:2] = ( DG_DIE1_DPSW_A1 == 1'b1 ) ? 2'b11 : 2'd0 ;	//add by Moti 20210518
assign	S10_DIE1_LED [1] = ( DG_DIE1_DPSW_A4 == 1'b1 ) ? 1'b1 : 1'b0 ;				//add by Moti 20210518
assign	S10_DIE1_LED [0] = ( Max10_U2_LED == 1'b1 ) ? 1'b1 : 1'b0 ;	

assign	DG_HS_SERDES_U2_LED1 = ( DG_DIE1_DPSW_A2 == 1'b1 ) ? 1'b1 : 1'b0 ;
assign	DG_HS_SERDES_U2_LED2 = ( DG_DIE1_DPSW_A2 == 1'b1 ) ? 1'b1 : 1'b0 ;

assign	DG_PCIe_MOLEX_U2_LED1 = ( DG_DIE1_DPSW_A5 == 1'b1 ) ? 1'b1 : 1'b0 ;
assign   DG_PCIe_MOLEX_U2_LED2 = ( DG_DIE1_DPSW_A6 == 1'b1 ) ? 1'b1 : 1'b0 ;
assign   DG_PCIe_28PIN_U2_LED1 = ( DG_DIE1_DPSW_A7 == 1'b1 ) ? 1'b1 : 1'b0 ;
assign   DG_PCIe_28PIN_U2_LED2 = ( DG_DIE1_DPSW_A8 == 1'b1 ) ? 1'b1 : 1'b0 ;
assign	DG_DDR3_U2_LED			 = ( DG_DIE1_DPSW_A3 == 1'b1 ) ? 1'b1 : 1'b0 ;

/////////////////////////////////////////////

//Rx   ---- 2AU2

wire [11:0] DG_2AU2_A;  
wire [11:0] DG_2AU2_B;  
wire [11:0] DG_2AU2_C;  
wire [11:0] DG_2AU2_D; 

assign DG_2AU2_A[0] = CLK_IO_LVDS_2AU2_0P; 
assign DG_2AU2_A[2] = DG_IO_LVDS_2AU2_1P;  
assign DG_2AU2_A[4] = DG_IO_LVDS_2AU2_2P;  
assign DG_2AU2_A[6] = DG_IO_LVDS_2AU2_3P;  
assign DG_2AU2_A[8] = DG_IO_LVDS_2AU2_4P;  
assign DG_2AU2_A[10]= DG_IO_LVDS_2AU2_5P;  
assign DG_2AU2_B[0] = DG_IO_LVDS_2AU2_6P;  
assign DG_2AU2_B[2] = DG_IO_LVDS_2AU2_7P;  
assign DG_2AU2_B[4] = DG_IO_LVDS_2AU2_8P;  
assign DG_2AU2_B[6] = DG_IO_LVDS_2AU2_9P;  
assign DG_2AU2_B[8] = DG_IO_LVDS_2AU2_10P; 
assign DG_2AU2_B[10]= DG_IO_LVDS_2AU2_11P; 
assign DG_2AU2_C[0] = DG_IO_LVDS_2AU2_12P; 
assign DG_2AU2_C[2] = DG_IO_LVDS_2AU2_13P; 
assign DG_2AU2_C[4] = DG_IO_LVDS_2AU2_14P; 
assign DG_2AU2_C[6] = DG_IO_LVDS_2AU2_15P; 
assign DG_2AU2_C[8] = DG_IO_LVDS_2AU2_16P; 
assign DG_2AU2_C[10]= DG_IO_LVDS_2AU2_17P; 
assign DG_2AU2_D[0 ]=  CLK_IO_LVDS_2AU2_1P; 
assign DG_2AU2_D[2] =  DG_IO_LVDS_2AU2_18P; 
assign DG_2AU2_D[4] =  DG_IO_LVDS_2AU2_19P; 
assign DG_2AU2_D[6] =  DG_IO_LVDS_2AU2_20P; 
assign DG_2AU2_D[8] =  DG_IO_LVDS_2AU2_21P; 
assign DG_2AU2_D[10]=  DG_IO_LVDS_2AU2_22P;


assign DG_2AU2_D[1] = CLK_IO_LVDS_2AU2_N[1];
assign DG_2AU2_A[1] = CLK_IO_LVDS_2AU2_N[0];


assign DG_2AU2_A[3]=    DG_IO_LVDS_2AU2_N[1];
assign DG_2AU2_A[5]=   DG_IO_LVDS_2AU2_N[2] ;
assign DG_2AU2_A[7]=   DG_IO_LVDS_2AU2_N[3] ;
assign DG_2AU2_A[9]=   DG_IO_LVDS_2AU2_N[4] ;
assign DG_2AU2_A[11]=  DG_IO_LVDS_2AU2_N[5] ;
assign DG_2AU2_B[1]=   DG_IO_LVDS_2AU2_N[6] ;
assign DG_2AU2_B[3]=   DG_IO_LVDS_2AU2_N[7] ;
assign DG_2AU2_B[5] =  DG_IO_LVDS_2AU2_N[8] ;
assign DG_2AU2_B[7]=   DG_IO_LVDS_2AU2_N[9] ;
assign DG_2AU2_B[9]=   DG_IO_LVDS_2AU2_N[10];
assign DG_2AU2_B[11] = DG_IO_LVDS_2AU2_N[11];
assign DG_2AU2_C[1]=   DG_IO_LVDS_2AU2_N[12];
assign DG_2AU2_C[3]=   DG_IO_LVDS_2AU2_N[13];
assign DG_2AU2_C[5] =  DG_IO_LVDS_2AU2_N[14];
assign DG_2AU2_C[7]=   DG_IO_LVDS_2AU2_N[15];
assign DG_2AU2_C[9]=   DG_IO_LVDS_2AU2_N[16];
assign DG_2AU2_C[11] = DG_IO_LVDS_2AU2_N[17];
assign DG_2AU2_D[3] =  DG_IO_LVDS_2AU2_N[18];
assign DG_2AU2_D[5]=   DG_IO_LVDS_2AU2_N[19];
assign DG_2AU2_D[7]=   DG_IO_LVDS_2AU2_N[20];
assign DG_2AU2_D[9] =  DG_IO_LVDS_2AU2_N[21];
assign DG_2AU2_D[11]=  DG_IO_LVDS_2AU2_N[22];

wire [11:0] DG_2AU2_D_XRS;
wire [11:0] DG_2AU2_C_XRS;
wire [11:0] DG_2AU2_B_XRS;
wire [11:0] DG_2AU2_A_XRS;

assign DG_2AU2_D_XRS[11:0] ={ DG_2AU2_D[9], DG_2AU2_D[8], DG_2AU2_D[11], DG_2AU2_D[10], DG_2AU2_D[5], DG_2AU2_D[4], DG_2AU2_D[7], DG_2AU2_D[6], DG_2AU2_D[1], DG_2AU2_D[0], DG_2AU2_D[3], DG_2AU2_D[2]};
assign DG_2AU2_C_XRS[11:0] ={ DG_2AU2_C[9], DG_2AU2_C[8], DG_2AU2_C[11], DG_2AU2_C[10], DG_2AU2_C[5], DG_2AU2_C[4], DG_2AU2_C[7], DG_2AU2_C[6], DG_2AU2_C[1], DG_2AU2_C[0], DG_2AU2_C[3], DG_2AU2_C[2]};
assign DG_2AU2_B_XRS[11:0] ={ DG_2AU2_B[9], DG_2AU2_B[8], DG_2AU2_B[11], DG_2AU2_B[10], DG_2AU2_B[5], DG_2AU2_B[4], DG_2AU2_B[7], DG_2AU2_B[6], DG_2AU2_B[1], DG_2AU2_B[0], DG_2AU2_B[3], DG_2AU2_B[2]};
assign DG_2AU2_A_XRS[11:0] ={ DG_2AU2_A[9], DG_2AU2_A[8], DG_2AU2_A[11], DG_2AU2_A[10], DG_2AU2_A[5], DG_2AU2_A[4], DG_2AU2_A[7], DG_2AU2_A[6], DG_2AU2_A[1], DG_2AU2_A[0], DG_2AU2_A[3], DG_2AU2_A[2]};

									
wire DG_HT3_2AU2_P, DG_HT3_2AU2_N;
assign DG_HT3_2AU2_LED = ( DG_HT3_2AU2_N && DG_HT3_2AU2_P ) ? 1'b1 : 1'b0 ;

HT3Input12 HT3InputAB1(
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(DG_2AU2_D_XRS		),
	.InData1		(DG_2AU2_C_XRS	    ),
   .check		(DG_HT3_2AU2_P		),
	.Compare_data0(),
	.Compare_data1()
);
HT3Input12 HT3InputCD1(
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(DG_2AU2_B_XRS      ),
	.InData1		(DG_2AU2_A_XRS      ),
   .check		(DG_HT3_2AU2_N		),
	.Compare_data0(),
	.Compare_data1()
);

wire [10:0] InWire2BU2_0 = {DG_IO_LVDS_2BU2_1P,DG_IO_LVDS_2BU2_2P,DG_IO_LVDS_2BU2_3P,DG_IO_LVDS_2BU2_4P,DG_IO_LVDS_2BU2_5P,
									DG_IO_LVDS_2BU2_6P,DG_IO_LVDS_2BU2_7P,DG_IO_LVDS_2BU2_8P,DG_IO_LVDS_2BU2_9P,DG_IO_LVDS_2BU2_10P,DG_IO_LVDS_2BU2_11P};
									
wire [10:0] InWire2BU2_1 = {DG_IO_LVDS_2BU2_12P,DG_IO_LVDS_2BU2_13P,DG_IO_LVDS_2BU2_14P,DG_IO_LVDS_2BU2_15P,DG_IO_LVDS_2BU2_16P,
									DG_IO_LVDS_2BU2_17P,DG_IO_LVDS_2BU2_18P,DG_IO_LVDS_2BU2_19P,DG_IO_LVDS_2BU2_20P,DG_IO_LVDS_2BU2_21P,DG_IO_LVDS_2BU2_22P};

wire DG_HT3_2BU2_P, DG_HT3_2BU2_N;
assign DG_HT3_2BU2_LED = ( DG_HT3_2BU2_N && DG_HT3_2BU2_P ) ? 1'b1 : 1'b0 ;
/*
HT3Output HT3Output2(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	({DG_IO_LVDS_2BU2_1P,DG_IO_LVDS_2BU2_2P,DG_IO_LVDS_2BU2_3P,DG_IO_LVDS_2BU2_4P,DG_IO_LVDS_2BU2_5P,
									DG_IO_LVDS_2BU2_6P,DG_IO_LVDS_2BU2_7P,DG_IO_LVDS_2BU2_8P,DG_IO_LVDS_2BU2_9P,DG_IO_LVDS_2BU2_10P,DG_IO_LVDS_2BU2_11P}),
	.DataOut1	({DG_IO_LVDS_2BU2_12P,DG_IO_LVDS_2BU2_13P,DG_IO_LVDS_2BU2_14P,DG_IO_LVDS_2BU2_15P,DG_IO_LVDS_2BU2_16P,
									DG_IO_LVDS_2BU2_17P,DG_IO_LVDS_2BU2_18P,DG_IO_LVDS_2BU2_19P,DG_IO_LVDS_2BU2_20P,DG_IO_LVDS_2BU2_21P,DG_IO_LVDS_2BU2_22P})
);

HT3Output HT3Output2n(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	(DG_IO_LVDS_2BU2_N[11:1]),
	.DataOut1	(DG_IO_LVDS_2BU2_N[22:12])
);
*/

HT3Input HT3Input2(
	.clk0			(CLK_IO_LVDS_2BU2_0P	),
	.clk1			(CLK_IO_LVDS_2BU2_1P	),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(InWire2BU2_0			),
	.InData1		(InWire2BU2_1			),
   .check		(DG_HT3_2BU2_P		)
);
HT3Input HT3Input2n(
	.clk0			(CLK_IO_LVDS_2BU2_N[0]),
	.clk1			(CLK_IO_LVDS_2BU2_N[1]),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(DG_IO_LVDS_2BU2_N[11:1 ]),
	.InData1		(DG_IO_LVDS_2BU2_N[22:12]),
   .check		(DG_HT3_2BU2_N		)
);

wire [10:0] InWire2CU2_0 = {DG_IO_LVDS_2CU2_1P,DG_IO_LVDS_2CU2_2P,DG_IO_LVDS_2CU2_3P,DG_IO_LVDS_2CU2_4P,DG_IO_LVDS_2CU2_5P,
									DG_IO_LVDS_2CU2_6P,DG_IO_LVDS_2CU2_7P,DG_IO_LVDS_2CU2_8P,DG_IO_LVDS_2CU2_9P,DG_IO_LVDS_2CU2_10P,DG_IO_LVDS_2CU2_11P};
									
wire [10:0] InWire2CU2_1 = {DG_IO_LVDS_2CU2_12P,DG_IO_LVDS_2CU2_13P,DG_IO_LVDS_2CU2_14P,DG_IO_LVDS_2CU2_15P,DG_IO_LVDS_2CU2_16P,
									DG_IO_LVDS_2CU2_17P,DG_IO_LVDS_2CU2_18P,DG_IO_LVDS_2CU2_19P,DG_IO_LVDS_2CU2_20P,DG_IO_LVDS_2CU2_21P,DG_IO_LVDS_2CU2_22P};

wire DG_HT3_2CU2_P, DG_HT3_2CU2_N;
assign DG_HT3_2CU2_LED = ( DG_HT3_2CU2_N && DG_HT3_2CU2_P ) ? 1'b1 : 1'b0 ;
/*
HT3Output HT3Output3(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	({DG_IO_LVDS_2CU2_1P,DG_IO_LVDS_2CU2_2P,DG_IO_LVDS_2CU2_3P,DG_IO_LVDS_2CU2_4P,DG_IO_LVDS_2CU2_5P,
									DG_IO_LVDS_2CU2_6P,DG_IO_LVDS_2CU2_7P,DG_IO_LVDS_2CU2_8P,DG_IO_LVDS_2CU2_9P,DG_IO_LVDS_2CU2_10P,DG_IO_LVDS_2CU2_11P}),
	.DataOut1	({DG_IO_LVDS_2CU2_12P,DG_IO_LVDS_2CU2_13P,DG_IO_LVDS_2CU2_14P,DG_IO_LVDS_2CU2_15P,DG_IO_LVDS_2CU2_16P,
									DG_IO_LVDS_2CU2_17P,DG_IO_LVDS_2CU2_18P,DG_IO_LVDS_2CU2_19P,DG_IO_LVDS_2CU2_20P,DG_IO_LVDS_2CU2_21P,DG_IO_LVDS_2CU2_22P})
);

HT3Output HT3Output3n(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	(DG_IO_LVDS_2CU2_N[11:1]),
	.DataOut1	(DG_IO_LVDS_2CU2_N[22:12])
);
*/

HT3Input HT3Input3(
	.clk0			(CLK_IO_LVDS_2CU2_0P	),
	.clk1			(CLK_IO_LVDS_2CU2_1P	),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(InWire2CU2_0			),
	.InData1		(InWire2CU2_1			),
   .check		(DG_HT3_2CU2_P		)
);
HT3Input HT3Input3n(
	.clk0			(CLK_IO_LVDS_2CU2_N[0]),
	.clk1			(CLK_IO_LVDS_2CU2_N[1]),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(DG_IO_LVDS_2CU2_N[11:1 ]),
	.InData1		(DG_IO_LVDS_2CU2_N[22:12]),
   .check		(DG_HT3_2CU2_N		)
);

wire [10:0] InWire2FU2_0 = {DG_IO_LVDS_2FU2_1P,DG_IO_LVDS_2FU2_2P,DG_IO_LVDS_2FU2_3P,DG_IO_LVDS_2FU2_4P,DG_IO_LVDS_2FU2_5P,
									DG_IO_LVDS_2FU2_6P,DG_IO_LVDS_2FU2_7P,DG_IO_LVDS_2FU2_8P,DG_IO_LVDS_2FU2_9P,DG_IO_LVDS_2FU2_10P,DG_IO_LVDS_2FU2_11P};
									
wire [10:0] InWire2FU2_1 = {DG_IO_LVDS_2FU2_12P,DG_IO_LVDS_2FU2_13P,DG_IO_LVDS_2FU2_14P,DG_IO_LVDS_2FU2_15P,DG_IO_LVDS_2FU2_16P,
									DG_IO_LVDS_2FU2_17P,DG_IO_LVDS_2FU2_18P,DG_IO_LVDS_2FU2_19P,DG_IO_LVDS_2FU2_20P,DG_IO_LVDS_2FU2_21P,DG_IO_LVDS_2FU2_22P};

wire DG_HT3_2FU2_P, DG_HT3_2FU2_N;
assign DG_HT3_2FU2_LED = ( DG_HT3_2FU2_N && DG_HT3_2FU2_P ) ? 1'b1 : 1'b0 ;
/*
HT3Output HT3Output4(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	({DG_IO_LVDS_2FU2_1P,DG_IO_LVDS_2FU2_2P,DG_IO_LVDS_2FU2_3P,DG_IO_LVDS_2FU2_4P,DG_IO_LVDS_2FU2_5P,
									DG_IO_LVDS_2FU2_6P,DG_IO_LVDS_2FU2_7P,DG_IO_LVDS_2FU2_8P,DG_IO_LVDS_2FU2_9P,DG_IO_LVDS_2FU2_10P,DG_IO_LVDS_2FU2_11P}),
	.DataOut1	({DG_IO_LVDS_2FU2_12P,DG_IO_LVDS_2FU2_13P,DG_IO_LVDS_2FU2_14P,DG_IO_LVDS_2FU2_15P,DG_IO_LVDS_2FU2_16P,
									DG_IO_LVDS_2FU2_17P,DG_IO_LVDS_2FU2_18P,DG_IO_LVDS_2FU2_19P,DG_IO_LVDS_2FU2_20P,DG_IO_LVDS_2FU2_21P,DG_IO_LVDS_2FU2_22P})
);

HT3Output HT3Output4n(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	(DG_IO_LVDS_2FU2_N[11:1]),
	.DataOut1	(DG_IO_LVDS_2FU2_N[22:12])
);*/

HT3Input HT3Input4(
	.clk0			(CLK_IO_LVDS_2FU2_0P	),
	.clk1			(CLK_IO_LVDS_2FU2_1P	),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(InWire2FU2_0			),
	.InData1		(InWire2FU2_1			),
   .check		(DG_HT3_2FU2_P		)
);
HT3Input HT3Input4n(
	.clk0			(CLK_IO_LVDS_2FU2_N[0]),
	.clk1			(CLK_IO_LVDS_2FU2_N[1]),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(DG_IO_LVDS_2FU2_N[11:1 ]),
	.InData1		(DG_IO_LVDS_2FU2_N[22:12]),
   .check		(DG_HT3_2FU2_N		)
);

wire [10:0] InWire2GU2_0 = {DG_IO_LVDS_2GU2_1P,DG_IO_LVDS_2GU2_2P,DG_IO_LVDS_2GU2_3P,DG_IO_LVDS_2GU2_4P,DG_IO_LVDS_2GU2_5P,
									DG_IO_LVDS_2GU2_6P,DG_IO_LVDS_2GU2_7P,DG_IO_LVDS_2GU2_8P,DG_IO_LVDS_2GU2_9P,DG_IO_LVDS_2GU2_10P,DG_IO_LVDS_2GU2_11P};
									
wire [10:0] InWire2GU2_1 = {DG_IO_LVDS_2GU2_12P,DG_IO_LVDS_2GU2_13P,DG_IO_LVDS_2GU2_14P,DG_IO_LVDS_2GU2_15P,DG_IO_LVDS_2GU2_16P,
									DG_IO_LVDS_2GU2_17P,DG_IO_LVDS_2GU2_18P,DG_IO_LVDS_2GU2_19P,DG_IO_LVDS_2GU2_20P,DG_IO_LVDS_2GU2_21P,DG_IO_LVDS_2GU2_22P};

wire DG_HT3_2GU2_P, DG_HT3_2GU2_N;
assign DG_HT3_2GU2_LED = ( DG_HT3_2GU2_N && DG_HT3_2GU2_P ) ? 1'b1 : 1'b0 ;
/*
HT3Output HT3Output5(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	({DG_IO_LVDS_2GU2_1P,DG_IO_LVDS_2GU2_2P,DG_IO_LVDS_2GU2_3P,DG_IO_LVDS_2GU2_4P,DG_IO_LVDS_2GU2_5P,
									DG_IO_LVDS_2GU2_6P,DG_IO_LVDS_2GU2_7P,DG_IO_LVDS_2GU2_8P,DG_IO_LVDS_2GU2_9P,DG_IO_LVDS_2GU2_10P,DG_IO_LVDS_2GU2_11P}),
	.DataOut1	({DG_IO_LVDS_2GU2_12P,DG_IO_LVDS_2GU2_13P,DG_IO_LVDS_2GU2_14P,DG_IO_LVDS_2GU2_15P,DG_IO_LVDS_2GU2_16P,
									DG_IO_LVDS_2GU2_17P,DG_IO_LVDS_2GU2_18P,DG_IO_LVDS_2GU2_19P,DG_IO_LVDS_2GU2_20P,DG_IO_LVDS_2GU2_21P,DG_IO_LVDS_2GU2_22P})
);

HT3Output HT3Output5n(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	(DG_IO_LVDS_2GU2_N[11:1]),
	.DataOut1	(DG_IO_LVDS_2GU2_N[22:12])
);*/

HT3Input HT3Input5(
	.clk0			(CLK_IO_LVDS_2GU2_0P	),
	.clk1			(CLK_IO_LVDS_2GU2_1P	),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(InWire2GU2_0			),
	.InData1		(InWire2GU2_1			),
   .check		(DG_HT3_2GU2_P		)
);
HT3Input HT3Input5n(
	.clk0			(CLK_IO_LVDS_2GU2_N[0]),
	.clk1			(CLK_IO_LVDS_2GU2_N[1]),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(DG_IO_LVDS_2GU2_N[11:1 ]),
	.InData1		(DG_IO_LVDS_2GU2_N[22:12]),
   .check		(DG_HT3_2GU2_N		)
);

wire [10:0] InWire2HU2_0 = {DG_IO_LVDS_2HU2_1P,DG_IO_LVDS_2HU2_2P,DG_IO_LVDS_2HU2_3P,DG_IO_LVDS_2HU2_4P,DG_IO_LVDS_2HU2_5P,
									DG_IO_LVDS_2HU2_6P,DG_IO_LVDS_2HU2_7P,DG_IO_LVDS_2HU2_8P,DG_IO_LVDS_2HU2_9P,DG_IO_LVDS_2HU2_10P,DG_IO_LVDS_2HU2_11P};
									
wire [10:0] InWire2HU2_1 = {DG_IO_LVDS_2HU2_12P,DG_IO_LVDS_2HU2_13P,DG_IO_LVDS_2HU2_14P,DG_IO_LVDS_2HU2_15P,DG_IO_LVDS_2HU2_16P,
									DG_IO_LVDS_2HU2_17P,DG_IO_LVDS_2HU2_18P,DG_IO_LVDS_2HU2_19P,DG_IO_LVDS_2HU2_20P,DG_IO_LVDS_2HU2_21P,DG_IO_LVDS_2HU2_22P};

wire DG_HT3_2HU2_P, DG_HT3_2HU2_N;
assign DG_HT3_2HU2_LED = ( DG_HT3_2HU2_N && DG_HT3_2HU2_P ) ? 1'b1 : 1'b0 ;
/*
HT3Output HT3Output6(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	({DG_IO_LVDS_2HU2_1P,DG_IO_LVDS_2HU2_2P,DG_IO_LVDS_2HU2_3P,DG_IO_LVDS_2HU2_4P,DG_IO_LVDS_2HU2_5P,
									DG_IO_LVDS_2HU2_6P,DG_IO_LVDS_2HU2_7P,DG_IO_LVDS_2HU2_8P,DG_IO_LVDS_2HU2_9P,DG_IO_LVDS_2HU2_10P,DG_IO_LVDS_2HU2_11P}),
	.DataOut1	({DG_IO_LVDS_2HU2_12P,DG_IO_LVDS_2HU2_13P,DG_IO_LVDS_2HU2_14P,DG_IO_LVDS_2HU2_15P,DG_IO_LVDS_2HU2_16P,
									DG_IO_LVDS_2HU2_17P,DG_IO_LVDS_2HU2_18P,DG_IO_LVDS_2HU2_19P,DG_IO_LVDS_2HU2_20P,DG_IO_LVDS_2HU2_21P,DG_IO_LVDS_2HU2_22P})
);

HT3Output HT3Output6n(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	(DG_IO_LVDS_2HU2_N[11:1]),
	.DataOut1	(DG_IO_LVDS_2HU2_N[22:12])
);*/


HT3Input HT3Input6(
	.clk0			(CLK_IO_LVDS_2HU2_0P	),
	.clk1			(CLK_IO_LVDS_2HU2_1P	),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(InWire2HU2_0			),
	.InData1		(InWire2HU2_1			),
   .check		(DG_HT3_2HU2_P		)
);
HT3Input HT3Input6n(
	.clk0			(CLK_IO_LVDS_2HU2_N[0]),
	.clk1			(CLK_IO_LVDS_2HU2_N[1]),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(DG_IO_LVDS_2HU2_N[11:1 ]),
	.InData1		(DG_IO_LVDS_2HU2_N[22:12]),
   .check		(DG_HT3_2HU2_N		)
);

wire [10:0] InWire2IU2_0 = {DG_IO_LVDS_2IU2_1P,DG_IO_LVDS_2IU2_2P,DG_IO_LVDS_2IU2_3P,DG_IO_LVDS_2IU2_4P,DG_IO_LVDS_2IU2_5P,
									DG_IO_LVDS_2IU2_6P,DG_IO_LVDS_2IU2_7P,DG_IO_LVDS_2IU2_8P,DG_IO_LVDS_2IU2_9P,DG_IO_LVDS_2IU2_10P,DG_IO_LVDS_2IU2_11P};
									
wire [10:0] InWire2IU2_1 = {DG_IO_LVDS_2IU2_12P,DG_IO_LVDS_2IU2_13P,DG_IO_LVDS_2IU2_14P,DG_IO_LVDS_2IU2_15P,DG_IO_LVDS_2IU2_16P,
									DG_IO_LVDS_2IU2_17P,DG_IO_LVDS_2IU2_18P,DG_IO_LVDS_2IU2_19P,DG_IO_LVDS_2IU2_20P,DG_IO_LVDS_2IU2_21P,DG_IO_LVDS_2IU2_22P};

wire DG_HT3_2IU2_P, DG_HT3_2IU2_N;
assign DG_HT3_2IU2_LED = ( DG_HT3_2IU2_N && DG_HT3_2IU2_P ) ? 1'b1 : 1'b0 ;
/*
HT3Output HT3Output7(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	({DG_IO_LVDS_2IU2_1P,DG_IO_LVDS_2IU2_2P,DG_IO_LVDS_2IU2_3P,DG_IO_LVDS_2IU2_4P,DG_IO_LVDS_2IU2_5P,
									DG_IO_LVDS_2IU2_6P,DG_IO_LVDS_2IU2_7P,DG_IO_LVDS_2IU2_8P,DG_IO_LVDS_2IU2_9P,DG_IO_LVDS_2IU2_10P,DG_IO_LVDS_2IU2_11P}),
	.DataOut1	({DG_IO_LVDS_2IU2_12P,DG_IO_LVDS_2IU2_13P,DG_IO_LVDS_2IU2_14P,DG_IO_LVDS_2IU2_15P,DG_IO_LVDS_2IU2_16P,
									DG_IO_LVDS_2IU2_17P,DG_IO_LVDS_2IU2_18P,DG_IO_LVDS_2IU2_19P,DG_IO_LVDS_2IU2_20P,DG_IO_LVDS_2IU2_21P,DG_IO_LVDS_2IU2_22P})
);

HT3Output HT3Output7n(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	(DG_IO_LVDS_2IU2_N[11:1]),
	.DataOut1	(DG_IO_LVDS_2IU2_N[22:12])
);*/

HT3Input HT3Input7(
	.clk0			(CLK_IO_LVDS_2IU2_0P	),
	.clk1			(CLK_IO_LVDS_2IU2_1P	),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(InWire2IU2_0			),
	.InData1		(InWire2IU2_1			),
   .check		(DG_HT3_2IU2_P		)
);
HT3Input HT3Input7n(
	.clk0			(CLK_IO_LVDS_2IU2_N[0]),
	.clk1			(CLK_IO_LVDS_2IU2_N[1]),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(DG_IO_LVDS_2IU2_N[11:1 ]),
	.InData1		(DG_IO_LVDS_2IU2_N[22:12]),
   .check		(DG_HT3_2IU2_N		)
);

wire [10:0] InWire2JU2_0 = {DG_IO_LVDS_2JU2_1P,DG_IO_LVDS_2JU2_2P,DG_IO_LVDS_2JU2_3P,DG_IO_LVDS_2JU2_4P,DG_IO_LVDS_2JU2_5P,
									DG_IO_LVDS_2JU2_6P,DG_IO_LVDS_2JU2_7P,DG_IO_LVDS_2JU2_8P,DG_IO_LVDS_2JU2_9P,DG_IO_LVDS_2JU2_10P,DG_IO_LVDS_2JU2_11P};
									
wire [10:0] InWire2JU2_1 = {DG_IO_LVDS_2JU2_12P,DG_IO_LVDS_2JU2_13P,DG_IO_LVDS_2JU2_14P,DG_IO_LVDS_2JU2_15P,DG_IO_LVDS_2JU2_16P,
									DG_IO_LVDS_2JU2_17P,DG_IO_LVDS_2JU2_18P,DG_IO_LVDS_2JU2_19P,DG_IO_LVDS_2JU2_20P,DG_IO_LVDS_2JU2_21P,DG_IO_LVDS_2JU2_22P};

wire DG_HT3_2JU2_P, DG_HT3_2JU2_N;
assign DG_HT3_2JU2_LED = ( DG_HT3_2JU2_N && DG_HT3_2JU2_P ) ? 1'b1 : 1'b0 ;
/*
HT3Output HT3Output8(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	({DG_IO_LVDS_2JU2_1P,DG_IO_LVDS_2JU2_2P,DG_IO_LVDS_2JU2_3P,DG_IO_LVDS_2JU2_4P,DG_IO_LVDS_2JU2_5P,
									DG_IO_LVDS_2JU2_6P,DG_IO_LVDS_2JU2_7P,DG_IO_LVDS_2JU2_8P,DG_IO_LVDS_2JU2_9P,DG_IO_LVDS_2JU2_10P,DG_IO_LVDS_2JU2_11P}),
	.DataOut1	({DG_IO_LVDS_2JU2_12P,DG_IO_LVDS_2JU2_13P,DG_IO_LVDS_2JU2_14P,DG_IO_LVDS_2JU2_15P,DG_IO_LVDS_2JU2_16P,
									DG_IO_LVDS_2JU2_17P,DG_IO_LVDS_2JU2_18P,DG_IO_LVDS_2JU2_19P,DG_IO_LVDS_2JU2_20P,DG_IO_LVDS_2JU2_21P,DG_IO_LVDS_2JU2_22P})
);

HT3Output HT3Output8n(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	(DG_IO_LVDS_2JU2_N[11:1]),
	.DataOut1	(DG_IO_LVDS_2JU2_N[22:12])
);*/

HT3Input HT3Input8(
	.clk0			(CLK_IO_LVDS_2JU2_0P	),
	.clk1			(CLK_IO_LVDS_2JU2_1P	),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(InWire2JU2_0			),
	.InData1		(InWire2JU2_1			),
   .check		(DG_HT3_2JU2_P		)
);
HT3Input HT3Input8n(
	.clk0			(CLK_IO_LVDS_2JU2_N[0]),
	.clk1			(CLK_IO_LVDS_2JU2_N[1]),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(DG_IO_LVDS_2JU2_N[11:1 ]),
	.InData1		(DG_IO_LVDS_2JU2_N[22:12]),
   .check		(DG_HT3_2JU2_N		)
);

wire [10:0] InWire2KU2_0 = {DG_IO_LVDS_2KU2_1P,DG_IO_LVDS_2KU2_2P,DG_IO_LVDS_2KU2_3P,DG_IO_LVDS_2KU2_4P,DG_IO_LVDS_2KU2_5P,
									DG_IO_LVDS_2KU2_6P,DG_IO_LVDS_2KU2_7P,DG_IO_LVDS_2KU2_8P,DG_IO_LVDS_2KU2_9P,DG_IO_LVDS_2KU2_10P,DG_IO_LVDS_2KU2_11P};
									
wire [10:0] InWire2KU2_1 = {DG_IO_LVDS_2KU2_12P,DG_IO_LVDS_2KU2_13P,DG_IO_LVDS_2KU2_14P,DG_IO_LVDS_2KU2_15P,DG_IO_LVDS_2KU2_16P,
									DG_IO_LVDS_2KU2_17P,DG_IO_LVDS_2KU2_18P,DG_IO_LVDS_2KU2_19P,DG_IO_LVDS_2KU2_20P,DG_IO_LVDS_2KU2_21P,DG_IO_LVDS_2KU2_22P};

wire DG_HT3_2KU2_P, DG_HT3_2KU2_N;
assign DG_HT3_2KU2_LED = ( DG_HT3_2KU2_N && DG_HT3_2KU2_P ) ? 1'b1 : 1'b0 ;
/*
HT3Output HT3Output9(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	({DG_IO_LVDS_2KU2_1P,DG_IO_LVDS_2KU2_2P,DG_IO_LVDS_2KU2_3P,DG_IO_LVDS_2KU2_4P,DG_IO_LVDS_2KU2_5P,
									DG_IO_LVDS_2KU2_6P,DG_IO_LVDS_2KU2_7P,DG_IO_LVDS_2KU2_8P,DG_IO_LVDS_2KU2_9P,DG_IO_LVDS_2KU2_10P,DG_IO_LVDS_2KU2_11P}),
	.DataOut1	({DG_IO_LVDS_2KU2_12P,DG_IO_LVDS_2KU2_13P,DG_IO_LVDS_2KU2_14P,DG_IO_LVDS_2KU2_15P,DG_IO_LVDS_2KU2_16P,
									DG_IO_LVDS_2KU2_17P,DG_IO_LVDS_2KU2_18P,DG_IO_LVDS_2KU2_19P,DG_IO_LVDS_2KU2_20P,DG_IO_LVDS_2KU2_21P,DG_IO_LVDS_2KU2_22P})
);

HT3Output HT3Output9n(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	(DG_IO_LVDS_2KU2_N[11:1]),
	.DataOut1	(DG_IO_LVDS_2KU2_N[22:12])
);*/

HT3Input HT3Input9(
	.clk0			(CLK_IO_LVDS_2KU2_0P	),
	.clk1			(CLK_IO_LVDS_2KU2_1P	),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(InWire2KU2_0			),
	.InData1		(InWire2KU2_1			),
   .check		(DG_HT3_2KU2_P		)
);
HT3Input HT3Input9n(
	.clk0			(CLK_IO_LVDS_2KU2_N[0]),
	.clk1			(CLK_IO_LVDS_2KU2_N[1]),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(DG_IO_LVDS_2KU2_N[11:1 ]),
	.InData1		(DG_IO_LVDS_2KU2_N[22:12]),
   .check		(DG_HT3_2KU2_N		)
);

wire [10:0] InWire2LU2_0 = {DG_IO_LVDS_2LU2_1P,DG_IO_LVDS_2LU2_2P,DG_IO_LVDS_2LU2_3P,DG_IO_LVDS_2LU2_4P,DG_IO_LVDS_2LU2_5P,
									DG_IO_LVDS_2LU2_6P,DG_IO_LVDS_2LU2_7P,DG_IO_LVDS_2LU2_8P,DG_IO_LVDS_2LU2_9P,DG_IO_LVDS_2LU2_10P,DG_IO_LVDS_2LU2_11P};
									
wire [10:0] InWire2LU2_1 = {DG_IO_LVDS_2LU2_12P,DG_IO_LVDS_2LU2_13P,DG_IO_LVDS_2LU2_14P,DG_IO_LVDS_2LU2_15P,DG_IO_LVDS_2LU2_16P,
									DG_IO_LVDS_2LU2_17P,DG_IO_LVDS_2LU2_18P,DG_IO_LVDS_2LU2_19P,DG_IO_LVDS_2LU2_20P,DG_IO_LVDS_2LU2_21P,DG_IO_LVDS_2LU2_22P};

wire DG_HT3_2LU2_P, DG_HT3_2LU2_N;
assign DG_HT3_2LU2_LED = ( DG_HT3_2LU2_N && DG_HT3_2LU2_P ) ? 1'b1 : 1'b0 ;
/*
HT3Output HT3Output10(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	({DG_IO_LVDS_2LU2_1P,DG_IO_LVDS_2LU2_2P,DG_IO_LVDS_2LU2_3P,DG_IO_LVDS_2LU2_4P,DG_IO_LVDS_2LU2_5P,
									DG_IO_LVDS_2LU2_6P,DG_IO_LVDS_2LU2_7P,DG_IO_LVDS_2LU2_8P,DG_IO_LVDS_2LU2_9P,DG_IO_LVDS_2LU2_10P,DG_IO_LVDS_2LU2_11P}),
	.DataOut1	({DG_IO_LVDS_2LU2_12P,DG_IO_LVDS_2LU2_13P,DG_IO_LVDS_2LU2_14P,DG_IO_LVDS_2LU2_15P,DG_IO_LVDS_2LU2_16P,
									DG_IO_LVDS_2LU2_17P,DG_IO_LVDS_2LU2_18P,DG_IO_LVDS_2LU2_19P,DG_IO_LVDS_2LU2_20P,DG_IO_LVDS_2LU2_21P,DG_IO_LVDS_2LU2_22P})
);

HT3Output HT3Output10n(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	(DG_IO_LVDS_2LU2_N[11:1]),
	.DataOut1	(DG_IO_LVDS_2LU2_N[22:12])
);*/

HT3Input HT3Input10(
	.clk0			(CLK_IO_LVDS_2LU2_0P	),
	.clk1			(CLK_IO_LVDS_2LU2_1P	),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(InWire2LU2_0			),
	.InData1		(InWire2LU2_1			),
   .check		(DG_HT3_2LU2_P		)
);
HT3Input HT3Input10n(
	.clk0			(CLK_IO_LVDS_2LU2_N[0]),
	.clk1			(CLK_IO_LVDS_2LU2_N[1]),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(DG_IO_LVDS_2LU2_N[11:1 ]),
	.InData1		(DG_IO_LVDS_2LU2_N[22:12]),
   .check		(DG_HT3_2LU2_N		)
);

//Rx   ---- 2MU2

wire [11:0] DG_2MU2_A;  
wire [11:0] DG_2MU2_B;  
wire [11:0] DG_2MU2_C;  
wire [11:0] DG_2MU2_D; 

assign DG_2MU2_A[0] = CLK_IO_LVDS_2MU2_0P; 
assign DG_2MU2_A[2] = DG_IO_LVDS_2MU2_1P;  
assign DG_2MU2_A[4] = DG_IO_LVDS_2MU2_2P;  
assign DG_2MU2_A[6] = DG_IO_LVDS_2MU2_3P;  
assign DG_2MU2_A[8] = DG_IO_LVDS_2MU2_4P;  
assign DG_2MU2_A[10]= DG_IO_LVDS_2MU2_5P;  
assign DG_2MU2_B[0] = DG_IO_LVDS_2MU2_6P;  
assign DG_2MU2_B[2] = DG_IO_LVDS_2MU2_7P;  
assign DG_2MU2_B[4] = DG_IO_LVDS_2MU2_8P;  
assign DG_2MU2_B[6] = DG_IO_LVDS_2MU2_9P;  
assign DG_2MU2_B[8] = DG_IO_LVDS_2MU2_10P; 
assign DG_2MU2_B[10]= DG_IO_LVDS_2MU2_11P; 
assign DG_2MU2_C[0] = DG_IO_LVDS_2MU2_12P; 
assign DG_2MU2_C[2] = DG_IO_LVDS_2MU2_13P; 
assign DG_2MU2_C[4] = DG_IO_LVDS_2MU2_14P; 
assign DG_2MU2_C[6] = DG_IO_LVDS_2MU2_15P; 
assign DG_2MU2_C[8] = DG_IO_LVDS_2MU2_16P; 
assign DG_2MU2_C[10]= DG_IO_LVDS_2MU2_17P; 
assign DG_2MU2_D[0 ]=  CLK_IO_LVDS_2MU2_1P; 
assign DG_2MU2_D[2] =  DG_IO_LVDS_2MU2_18P; 
assign DG_2MU2_D[4] =  DG_IO_LVDS_2MU2_19P; 
assign DG_2MU2_D[6] =  DG_IO_LVDS_2MU2_20P; 
assign DG_2MU2_D[8] =  DG_IO_LVDS_2MU2_21P; 
assign DG_2MU2_D[10]=  DG_IO_LVDS_2MU2_22P;


assign DG_2MU2_D[1] = CLK_IO_LVDS_2MU2_N[1];
assign DG_2MU2_A[1] = CLK_IO_LVDS_2MU2_N[0];


assign DG_2MU2_A[3]=    DG_IO_LVDS_2MU2_N[1];
assign DG_2MU2_A[5]=   DG_IO_LVDS_2MU2_N[2] ;
assign DG_2MU2_A[7]=   DG_IO_LVDS_2MU2_N[3] ;
assign DG_2MU2_A[9]=   DG_IO_LVDS_2MU2_N[4] ;
assign DG_2MU2_A[11]=  DG_IO_LVDS_2MU2_N[5] ;
assign DG_2MU2_B[1]=   DG_IO_LVDS_2MU2_N[6] ;
assign DG_2MU2_B[3]=   DG_IO_LVDS_2MU2_N[7] ;
assign DG_2MU2_B[5] =  DG_IO_LVDS_2MU2_N[8] ;
assign DG_2MU2_B[7]=   DG_IO_LVDS_2MU2_N[9] ;
assign DG_2MU2_B[9]=   DG_IO_LVDS_2MU2_N[10];
assign DG_2MU2_B[11] = DG_IO_LVDS_2MU2_N[11];
assign DG_2MU2_C[1]=   DG_IO_LVDS_2MU2_N[12];
assign DG_2MU2_C[3]=   DG_IO_LVDS_2MU2_N[13];
assign DG_2MU2_C[5] =  DG_IO_LVDS_2MU2_N[14];
assign DG_2MU2_C[7]=   DG_IO_LVDS_2MU2_N[15];
assign DG_2MU2_C[9]=   DG_IO_LVDS_2MU2_N[16];
assign DG_2MU2_C[11] = DG_IO_LVDS_2MU2_N[17];
assign DG_2MU2_D[3] =  DG_IO_LVDS_2MU2_N[18];
assign DG_2MU2_D[5]=   DG_IO_LVDS_2MU2_N[19];
assign DG_2MU2_D[7]=   DG_IO_LVDS_2MU2_N[20];
assign DG_2MU2_D[9] =  DG_IO_LVDS_2MU2_N[21];
assign DG_2MU2_D[11]=  DG_IO_LVDS_2MU2_N[22];

wire [11:0] DG_2MU2_D_XRS;
wire [11:0] DG_2MU2_C_XRS;
wire [11:0] DG_2MU2_B_XRS;
wire [11:0] DG_2MU2_A_XRS;

assign DG_2MU2_D_XRS[11:0] ={ DG_2MU2_D[9], DG_2MU2_D[8], DG_2MU2_D[11], DG_2MU2_D[10], DG_2MU2_D[5], DG_2MU2_D[4], DG_2MU2_D[7], DG_2MU2_D[6], DG_2MU2_D[1], DG_2MU2_D[0], DG_2MU2_D[3], DG_2MU2_D[2]};
assign DG_2MU2_C_XRS[11:0] ={ DG_2MU2_C[9], DG_2MU2_C[8], DG_2MU2_C[11], DG_2MU2_C[10], DG_2MU2_C[5], DG_2MU2_C[4], DG_2MU2_C[7], DG_2MU2_C[6], DG_2MU2_C[1], DG_2MU2_C[0], DG_2MU2_C[3], DG_2MU2_C[2]};
assign DG_2MU2_B_XRS[11:0] ={ DG_2MU2_B[9], DG_2MU2_B[8], DG_2MU2_B[11], DG_2MU2_B[10], DG_2MU2_B[5], DG_2MU2_B[4], DG_2MU2_B[7], DG_2MU2_B[6], DG_2MU2_B[1], DG_2MU2_B[0], DG_2MU2_B[3], DG_2MU2_B[2]};
assign DG_2MU2_A_XRS[11:0] ={ DG_2MU2_A[9], DG_2MU2_A[8], DG_2MU2_A[11], DG_2MU2_A[10], DG_2MU2_A[5], DG_2MU2_A[4], DG_2MU2_A[7], DG_2MU2_A[6], DG_2MU2_A[1], DG_2MU2_A[0], DG_2MU2_A[3], DG_2MU2_A[2]};

//wire [10:0] InWire2MU2_0 = {DG_IO_LVDS_2MU2_1P,DG_IO_LVDS_2MU2_2P,DG_IO_LVDS_2MU2_3P,DG_IO_LVDS_2MU2_4P,DG_IO_LVDS_2MU2_5P,
	//								DG_IO_LVDS_2MU2_6P,DG_IO_LVDS_2MU2_7P,DG_IO_LVDS_2MU2_8P,DG_IO_LVDS_2MU2_9P,DG_IO_LVDS_2MU2_10P,DG_IO_LVDS_2MU2_11P};
									
//wire [10:0] InWire2MU2_1 = {DG_IO_LVDS_2MU2_12P,DG_IO_LVDS_2MU2_13P,DG_IO_LVDS_2MU2_14P,DG_IO_LVDS_2MU2_15P,DG_IO_LVDS_2MU2_16P,
	//								DG_IO_LVDS_2MU2_17P,DG_IO_LVDS_2MU2_18P,DG_IO_LVDS_2MU2_19P,DG_IO_LVDS_2MU2_20P,DG_IO_LVDS_2MU2_21P,DG_IO_LVDS_2MU2_22P};

wire DG_HT3_2MU2_P, DG_HT3_2MU2_N;
assign DG_HT3_2MU2_LED = ( DG_HT3_2MU2_N && DG_HT3_2MU2_P ) ? 1'b1 : 1'b0 ;


HT3Input12 HT3InputAB(
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(DG_2MU2_D_XRS		),
	.InData1		(DG_2MU2_C_XRS	    ),
   .check		(DG_HT3_2MU2_P		),
	.Compare_data0(),
	.Compare_data1()
);
HT3Input12 HT3InputCD(
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(DG_2MU2_B_XRS      ),
	.InData1		(DG_2MU2_A_XRS      ),
   .check		(DG_HT3_2MU2_N		),
	.Compare_data0(),
	.Compare_data1()
);


/*
HT3Output HT3Output11(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	({DG_IO_LVDS_2MU2_1P,DG_IO_LVDS_2MU2_2P,DG_IO_LVDS_2MU2_3P,DG_IO_LVDS_2MU2_4P,DG_IO_LVDS_2MU2_5P,
									DG_IO_LVDS_2MU2_6P,DG_IO_LVDS_2MU2_7P,DG_IO_LVDS_2MU2_8P,DG_IO_LVDS_2MU2_9P,DG_IO_LVDS_2MU2_10P,DG_IO_LVDS_2MU2_11P}),
	.DataOut1	({DG_IO_LVDS_2MU2_12P,DG_IO_LVDS_2MU2_13P,DG_IO_LVDS_2MU2_14P,DG_IO_LVDS_2MU2_15P,DG_IO_LVDS_2MU2_16P,
									DG_IO_LVDS_2MU2_17P,DG_IO_LVDS_2MU2_18P,DG_IO_LVDS_2MU2_19P,DG_IO_LVDS_2MU2_20P,DG_IO_LVDS_2MU2_21P,DG_IO_LVDS_2MU2_22P})
);


HT3Output HT3Output11n(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	(DG_IO_LVDS_2MU2_N[11:1]),
	.DataOut1	(DG_IO_LVDS_2MU2_N[22:12])
);*/

/*HT3Input HT3Input11(
	.clk0			(CLK_IO_LVDS_2MU2_0P	),
	.clk1			(CLK_IO_LVDS_2MU2_1P	),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(InWire2MU2_0			),
	.InData1		(InWire2MU2_1			),
   .check		(DG_HT3_2MU2_P		)
);
HT3Input HT3Input11n(
	.clk0			(CLK_IO_LVDS_2MU2_N[0]),
	.clk1			(CLK_IO_LVDS_2MU2_N[1]),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(DG_IO_LVDS_2MU2_N[11:1 ]),
	.InData1		(DG_IO_LVDS_2MU2_N[22:12]),
   .check		(DG_HT3_2MU2_N		)
);*/

wire [10:0] InWire2NU2_0 = {DG_IO_LVDS_2NU2_1P,DG_IO_LVDS_2NU2_2P,DG_IO_LVDS_2NU2_3P,DG_IO_LVDS_2NU2_4P,DG_IO_LVDS_2NU2_5P,
									DG_IO_LVDS_2NU2_6P,DG_IO_LVDS_2NU2_7P,DG_IO_LVDS_2NU2_8P,DG_IO_LVDS_2NU2_9P,DG_IO_LVDS_2NU2_10P,DG_IO_LVDS_2NU2_11P};
									
wire [10:0] InWire2NU2_1 = {DG_IO_LVDS_2NU2_12P,DG_IO_LVDS_2NU2_13P,DG_IO_LVDS_2NU2_14P,DG_IO_LVDS_2NU2_15P,DG_IO_LVDS_2NU2_16P,
									DG_IO_LVDS_2NU2_17P,DG_IO_LVDS_2NU2_18P,DG_IO_LVDS_2NU2_19P,DG_IO_LVDS_2NU2_20P,DG_IO_LVDS_2NU2_21P,DG_IO_LVDS_2NU2_22P};

wire DG_HT3_2NU2_P, DG_HT3_2NU2_N;
assign DG_HT3_2NU2_LED = ( DG_HT3_2NU2_N && DG_HT3_2NU2_P ) ? 1'b1 : 1'b0 ;

/*
HT3Output HT3Output12(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	({DG_IO_LVDS_2NU2_1P,DG_IO_LVDS_2NU2_2P,DG_IO_LVDS_2NU2_3P,DG_IO_LVDS_2NU2_4P,DG_IO_LVDS_2NU2_5P,
									DG_IO_LVDS_2NU2_6P,DG_IO_LVDS_2NU2_7P,DG_IO_LVDS_2NU2_8P,DG_IO_LVDS_2NU2_9P,DG_IO_LVDS_2NU2_10P,DG_IO_LVDS_2NU2_11P}),
	.DataOut1	({DG_IO_LVDS_2NU2_12P,DG_IO_LVDS_2NU2_13P,DG_IO_LVDS_2NU2_14P,DG_IO_LVDS_2NU2_15P,DG_IO_LVDS_2NU2_16P,
									DG_IO_LVDS_2NU2_17P,DG_IO_LVDS_2NU2_18P,DG_IO_LVDS_2NU2_19P,DG_IO_LVDS_2NU2_20P,DG_IO_LVDS_2NU2_21P,DG_IO_LVDS_2NU2_22P})
);

HT3Output HT3Output12n(
	.clk0			(),
	.clk1			(),
	.reset_n		(DG_DIE1_DPSW_A2),
	.DataOut0	(DG_IO_LVDS_2NU2_N[11:1]),
	.DataOut1	(DG_IO_LVDS_2NU2_N[22:12])
);*/


HT3Input HT3Input12(
	.clk0			(CLK_IO_LVDS_2NU2_0P	),
	.clk1			(CLK_IO_LVDS_2NU2_1P	),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(InWire2NU2_0			),
	.InData1		(InWire2NU2_1			),
   .check		(DG_HT3_2NU2_P		)
);
HT3Input HT3Input12n(
	.clk0			(CLK_IO_LVDS_2NU2_N[0]),
	.clk1			(CLK_IO_LVDS_2NU2_N[1]),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(DG_IO_LVDS_2NU2_N[11:1 ]),
	.InData1		(DG_IO_LVDS_2NU2_N[22:12]),
   .check		(DG_HT3_2NU2_N		)
);


////////////////////////// add by Moti - 20210518
wire [10:0] InWireU2_0 = {DG_IO_LVDS_MAX10_3IU2_1,DG_IO_LVDS_MAX10_3IU2_2,DG_IO_LVDS_MAX10_3IU2_3,DG_IO_LVDS_MAX10_3IU2_4,DG_IO_LVDS_MAX10_3IU2_5,DG_IO_LVDS_MAX10_3IU2_6,
									DG_IO_LVDS_MAX10_3IU2_7,DG_IO_LVDS_MAX10_3IU2_8,DG_IO_LVDS_MAX10_3IU2_9,DG_IO_LVDS_MAX10_3IU2_10,DG_IO_LVDS_MAX10_3IU2_11};

wire [10:0] InWireU2_1 = {DG_IO_LVDS_MAX10_3IU2_12,DG_IO_LVDS_MAX10_3IU2_13,DG_IO_LVDS_MAX10_3IU2_14,DG_IO_LVDS_MAX10_3IU2_15,DG_IO_LVDS_MAX10_3IU2_16,DG_IO_LVDS_MAX10_3IU2_17,
									DG_IO_LVDS_MAX10_3IU2_18,DG_IO_LVDS_MAX10_3IU2_19,DG_IO_LVDS_MAX10_3IU2_20,DG_IO_LVDS_MAX10_3IU2_21,1'b1};

wire Max10_U2_LED;
		
HT3Input Max10U2Input(
	.clk0			(CLK_IO_LVDS_MAX10_3IU2	),
	.clk1			(CLK_IO_LVDS_MAX10_3IU2	),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.InData0		(InWireU2_0					),
	.InData1		(InWireU2_1					),
   .check		(Max10_U2_LED				)
);
//////////////////////////
////////////////////////// add by Moti - 20210518


HT3Output HS_LVDS_Output1(
	.clk0			(),
	.clk1			(),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.DataOut0	({DG_IO_LVDS_3DU2_1P,DG_IO_LVDS_3DU2_2P,DG_IO_LVDS_3DU2_3P,DG_IO_LVDS_3DU2_4P,DG_IO_LVDS_3DU2_5P,DG_IO_LVDS_3DU2_6P,DG_IO_LVDS_3DU2_7P,DG_IO_LVDS_3DU2_8P,DG_IO_LVDS_3DU2_9P,DG_IO_LVDS_3DU2_10P,DG_IO_LVDS_3DU2_11P}),
	.DataOut1	({DG_IO_LVDS_3DU2_12P,DG_IO_LVDS_3DU2_13P,DG_IO_LVDS_3DU2_14P,DG_IO_LVDS_3DU2_15P,DG_IO_LVDS_3DU2_16P,DG_IO_LVDS_3DU2_17P,DG_IO_LVDS_3DU2_18P,DG_IO_LVDS_3DU2_19P,DG_IO_LVDS_3DU2_20P,DG_IO_LVDS_3DU2_21P,DG_IO_LVDS_3DU2_22P})
);

HT3Output HS_LVDS_Output1n(
	.clk0			(),
	.clk1			(),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.DataOut0	({DG_IO_LVDS_3DU2_N[1],DG_IO_LVDS_3DU2_N[2],DG_IO_LVDS_3DU2_N[3],DG_IO_LVDS_3DU2_N[4],DG_IO_LVDS_3DU2_N[5],DG_IO_LVDS_3DU2_N[6],DG_IO_LVDS_3DU2_N[7],DG_IO_LVDS_3DU2_N[8],DG_IO_LVDS_3DU2_N[9],DG_IO_LVDS_3DU2_N[10],DG_IO_LVDS_3DU2_N[11]}),
	.DataOut1	({DG_IO_LVDS_3DU2_N[12],DG_IO_LVDS_3DU2_N[13],DG_IO_LVDS_3DU2_N[14],DG_IO_LVDS_3DU2_N[15],DG_IO_LVDS_3DU2_N[16],DG_IO_LVDS_3DU2_N[17],DG_IO_LVDS_3DU2_N[18],DG_IO_LVDS_3DU2_N[19],DG_IO_LVDS_3DU2_N[20],DG_IO_LVDS_3DU2_N[21],DG_IO_LVDS_3DU2_N[22]})
);



HT3Output HS_LVDS_Output2(
	.clk0			(),
	.clk1			(),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.DataOut0	({DG_IO_LVDS_3EU2_1P,DG_IO_LVDS_3EU2_2P,DG_IO_LVDS_3EU2_3P,DG_IO_LVDS_3EU2_4P,DG_IO_LVDS_3EU2_5P,DG_IO_LVDS_3EU2_6P,DG_IO_LVDS_3EU2_7P,DG_IO_LVDS_3EU2_8P,DG_IO_LVDS_3EU2_9P,DG_IO_LVDS_3EU2_10P,DG_IO_LVDS_3EU2_11P}),
	.DataOut1	({DG_IO_LVDS_3EU2_12P,DG_IO_LVDS_3EU2_13P,DG_IO_LVDS_3EU2_14P,DG_IO_LVDS_3EU2_15P,DG_IO_LVDS_3EU2_16P,DG_IO_LVDS_3EU2_17P,DG_IO_LVDS_3EU2_18P,DG_IO_LVDS_3EU2_19P,DG_IO_LVDS_3EU2_20P,DG_IO_LVDS_3EU2_21P,DG_IO_LVDS_3EU2_22P})
); 

HT3Output HS_LVDS_Output2n(
	.clk0			(),
	.clk1			(),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.DataOut0	({DG_IO_LVDS_3EU2_N[1],DG_IO_LVDS_3EU2_N[2],DG_IO_LVDS_3EU2_N[3],DG_IO_LVDS_3EU2_N[4],DG_IO_LVDS_3EU2_N[5],DG_IO_LVDS_3EU2_N[6],DG_IO_LVDS_3EU2_N[7],DG_IO_LVDS_3EU2_N[8],DG_IO_LVDS_3EU2_N[9],DG_IO_LVDS_3EU2_N[10],DG_IO_LVDS_3EU2_N[11]}),
	.DataOut1	({DG_IO_LVDS_3EU2_N[12],DG_IO_LVDS_3EU2_N[13],DG_IO_LVDS_3EU2_N[14],DG_IO_LVDS_3EU2_N[15],DG_IO_LVDS_3EU2_N[16],DG_IO_LVDS_3EU2_N[17],DG_IO_LVDS_3EU2_N[18],DG_IO_LVDS_3EU2_N[19],DG_IO_LVDS_3EU2_N[20],DG_IO_LVDS_3EU2_N[21],DG_IO_LVDS_3EU2_N[22]})
);   


HT3Output HS_LVDS_Output3(
	.clk0			(),
	.clk1			(),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.DataOut0	({DG_IO_LVDS_3FU2_1P,DG_IO_LVDS_3FU2_2P,DG_IO_LVDS_3FU2_3P,DG_IO_LVDS_3FU2_4P,DG_IO_LVDS_3FU2_5P,DG_IO_LVDS_3FU2_6P,DG_IO_LVDS_3FU2_7P,DG_IO_LVDS_3FU2_8P,DG_IO_LVDS_3FU2_9P,DG_IO_LVDS_3FU2_10P,DG_IO_LVDS_3FU2_11P}),
	.DataOut1	({DG_IO_LVDS_3FU2_12P,DG_IO_LVDS_3FU2_13P,DG_IO_LVDS_3FU2_14P,DG_IO_LVDS_3FU2_15P,DG_IO_LVDS_3FU2_16P,DG_IO_LVDS_3FU2_17P,DG_IO_LVDS_3FU2_18P,DG_IO_LVDS_3FU2_19P,DG_IO_LVDS_3FU2_20P,DG_IO_LVDS_3FU2_21P,DG_IO_LVDS_3FU2_22P})
);

HT3Output HS_LVDS_Output3n(
	.clk0			(),
	.clk1			(),
   .selector_msb  (DG_DIE1_DPSW_A2		),
   .selector_lsb  (DG_DIE1_DPSW_A3		),
	.DataOut0	({DG_IO_LVDS_3FU2_N[1],DG_IO_LVDS_3FU2_N[2],DG_IO_LVDS_3FU2_N[3],DG_IO_LVDS_3FU2_N[4],DG_IO_LVDS_3FU2_N[5],DG_IO_LVDS_3FU2_N[6],DG_IO_LVDS_3FU2_N[7],DG_IO_LVDS_3FU2_N[8],DG_IO_LVDS_3FU2_N[9],DG_IO_LVDS_3FU2_N[10],DG_IO_LVDS_3FU2_N[11]}),
	.DataOut1	({DG_IO_LVDS_3FU2_N[12],DG_IO_LVDS_3FU2_N[13],DG_IO_LVDS_3FU2_N[14],DG_IO_LVDS_3FU2_N[15],DG_IO_LVDS_3FU2_N[16],DG_IO_LVDS_3FU2_N[17],DG_IO_LVDS_3FU2_N[18],DG_IO_LVDS_3FU2_N[19],DG_IO_LVDS_3FU2_N[20],DG_IO_LVDS_3FU2_N[21],DG_IO_LVDS_3FU2_N[22]})
);
//////////////////////////



endmodule
