//------------------------------------------------------------------------------
//  (c) Copyright 2013-2015 Xilinx, Inc. All rights reserved.
//
//  This file contains confidential and proprietary information
//  of Xilinx, Inc. and is protected under U.S. and
//  international copyright and other intellectual property
//  laws.
//
//  DISCLAIMER
//  This disclaimer is not a license and does not grant any
//  rights to the materials distributed herewith. Except as
//  otherwise provided in a valid license issued to you by
//  Xilinx, and to the maximum extent permitted by applicable
//  law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND
//  WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES
//  AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING
//  BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-
//  INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and
//  (2) Xilinx shall not be liable (whether in contract or tort,
//  including negligence, or under any other theory of
//  liability) for any loss or damage of any kind or nature
//  related to, arising under or in connection with these
//  materials, including for any direct, or any indirect,
//  special, incidental, or consequential loss or damage
//  (including loss of data, profits, goodwill, or any type of
//  loss or damage suffered as a result of any action brought
//  by a third party) even if such damage or loss was
//  reasonably foreseeable or Xilinx had been advised of the
//  possibility of the same.
//
//  CRITICAL APPLICATIONS
//  Xilinx products are not designed or intended to be fail-
//  safe, or for use in any application requiring fail-safe
//  performance, such as life-support or safety devices or
//  systems, Class III medical devices, nuclear facilities,
//  applications related to the deployment of airbags, or any
//  other applications that could lead to death, personal
//  injury, or severe property or environmental damage
//  (individually and collectively, "Critical
//  Applications"). Customer assumes the sole risk and
//  liability of any use of Xilinx products in Critical
//  Applications, subject only to applicable laws and
//  regulations governing limitations on product liability.
//
//  THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS
//  PART OF THIS FILE AT ALL TIMES.
//------------------------------------------------------------------------------

// ***************************
// * DO NOT MODIFY THIS FILE *
// ***************************

`timescale 1ps/1ps

module gtwizard_ultrascale_v1_7_13_gthe4_channel #(


  // -------------------------------------------------------------------------------------------------------------------
  // Parameters controlling primitive wrapper HDL generation
  // -------------------------------------------------------------------------------------------------------------------
  parameter         NUM_CHANNELS = 4,


  // -------------------------------------------------------------------------------------------------------------------
  // Parameters relating to GTHE4_CHANNEL primitive
  // -------------------------------------------------------------------------------------------------------------------

  // primitive wrapper parameters which override corresponding GTHE4_CHANNEL primitive parameters
  parameter   [0:0] GTHE4_CHANNEL_ACJTAG_DEBUG_MODE = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_ACJTAG_MODE = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_ACJTAG_RESET = 1'b0,
  parameter  [15:0] GTHE4_CHANNEL_ADAPT_CFG0 = 16'h9200,
  parameter  [15:0] GTHE4_CHANNEL_ADAPT_CFG1 = 16'h801C,
  parameter  [15:0] GTHE4_CHANNEL_ADAPT_CFG2 = 16'h0000,
  parameter         GTHE4_CHANNEL_ALIGN_COMMA_DOUBLE = "FALSE",
  parameter   [9:0] GTHE4_CHANNEL_ALIGN_COMMA_ENABLE = 10'b0001111111,
  parameter integer GTHE4_CHANNEL_ALIGN_COMMA_WORD = 1,
  parameter         GTHE4_CHANNEL_ALIGN_MCOMMA_DET = "TRUE",
  parameter   [9:0] GTHE4_CHANNEL_ALIGN_MCOMMA_VALUE = 10'b1010000011,
  parameter         GTHE4_CHANNEL_ALIGN_PCOMMA_DET = "TRUE",
  parameter   [9:0] GTHE4_CHANNEL_ALIGN_PCOMMA_VALUE = 10'b0101111100,
  parameter   [0:0] GTHE4_CHANNEL_A_RXOSCALRESET = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_A_RXPROGDIVRESET = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_A_RXTERMINATION = 1'b1,
  parameter   [4:0] GTHE4_CHANNEL_A_TXDIFFCTRL = 5'b01100,
  parameter   [0:0] GTHE4_CHANNEL_A_TXPROGDIVRESET = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CAPBYPASS_FORCE = 1'b0,
  parameter         GTHE4_CHANNEL_CBCC_DATA_SOURCE_SEL = "DECODED",
  parameter   [0:0] GTHE4_CHANNEL_CDR_SWAP_MODE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CFOK_PWRSVE_EN = 1'b1,
  parameter         GTHE4_CHANNEL_CHAN_BOND_KEEP_ALIGN = "FALSE",
  parameter integer GTHE4_CHANNEL_CHAN_BOND_MAX_SKEW = 7,
  parameter   [9:0] GTHE4_CHANNEL_CHAN_BOND_SEQ_1_1 = 10'b0101111100,
  parameter   [9:0] GTHE4_CHANNEL_CHAN_BOND_SEQ_1_2 = 10'b0000000000,
  parameter   [9:0] GTHE4_CHANNEL_CHAN_BOND_SEQ_1_3 = 10'b0000000000,
  parameter   [9:0] GTHE4_CHANNEL_CHAN_BOND_SEQ_1_4 = 10'b0000000000,
  parameter   [3:0] GTHE4_CHANNEL_CHAN_BOND_SEQ_1_ENABLE = 4'b1111,
  parameter   [9:0] GTHE4_CHANNEL_CHAN_BOND_SEQ_2_1 = 10'b0100000000,
  parameter   [9:0] GTHE4_CHANNEL_CHAN_BOND_SEQ_2_2 = 10'b0100000000,
  parameter   [9:0] GTHE4_CHANNEL_CHAN_BOND_SEQ_2_3 = 10'b0100000000,
  parameter   [9:0] GTHE4_CHANNEL_CHAN_BOND_SEQ_2_4 = 10'b0100000000,
  parameter   [3:0] GTHE4_CHANNEL_CHAN_BOND_SEQ_2_ENABLE = 4'b1111,
  parameter         GTHE4_CHANNEL_CHAN_BOND_SEQ_2_USE = "FALSE",
  parameter integer GTHE4_CHANNEL_CHAN_BOND_SEQ_LEN = 2,
  parameter  [15:0] GTHE4_CHANNEL_CH_HSPMUX = 16'h2424,
  parameter  [15:0] GTHE4_CHANNEL_CKCAL1_CFG_0 = 16'b0000000000000000,
  parameter  [15:0] GTHE4_CHANNEL_CKCAL1_CFG_1 = 16'b0000000000000000,
  parameter  [15:0] GTHE4_CHANNEL_CKCAL1_CFG_2 = 16'b0000000000000000,
  parameter  [15:0] GTHE4_CHANNEL_CKCAL1_CFG_3 = 16'b0000000000000000,
  parameter  [15:0] GTHE4_CHANNEL_CKCAL2_CFG_0 = 16'b0000000000000000,
  parameter  [15:0] GTHE4_CHANNEL_CKCAL2_CFG_1 = 16'b0000000000000000,
  parameter  [15:0] GTHE4_CHANNEL_CKCAL2_CFG_2 = 16'b0000000000000000,
  parameter  [15:0] GTHE4_CHANNEL_CKCAL2_CFG_3 = 16'b0000000000000000,
  parameter  [15:0] GTHE4_CHANNEL_CKCAL2_CFG_4 = 16'b0000000000000000,
  parameter  [15:0] GTHE4_CHANNEL_CKCAL_RSVD0 = 16'h4000,
  parameter  [15:0] GTHE4_CHANNEL_CKCAL_RSVD1 = 16'h0000,
  parameter         GTHE4_CHANNEL_CLK_CORRECT_USE = "TRUE",
  parameter         GTHE4_CHANNEL_CLK_COR_KEEP_IDLE = "FALSE",
  parameter integer GTHE4_CHANNEL_CLK_COR_MAX_LAT = 20,
  parameter integer GTHE4_CHANNEL_CLK_COR_MIN_LAT = 18,
  parameter         GTHE4_CHANNEL_CLK_COR_PRECEDENCE = "TRUE",
  parameter integer GTHE4_CHANNEL_CLK_COR_REPEAT_WAIT = 0,
  parameter   [9:0] GTHE4_CHANNEL_CLK_COR_SEQ_1_1 = 10'b0100011100,
  parameter   [9:0] GTHE4_CHANNEL_CLK_COR_SEQ_1_2 = 10'b0000000000,
  parameter   [9:0] GTHE4_CHANNEL_CLK_COR_SEQ_1_3 = 10'b0000000000,
  parameter   [9:0] GTHE4_CHANNEL_CLK_COR_SEQ_1_4 = 10'b0000000000,
  parameter   [3:0] GTHE4_CHANNEL_CLK_COR_SEQ_1_ENABLE = 4'b1111,
  parameter   [9:0] GTHE4_CHANNEL_CLK_COR_SEQ_2_1 = 10'b0100000000,
  parameter   [9:0] GTHE4_CHANNEL_CLK_COR_SEQ_2_2 = 10'b0100000000,
  parameter   [9:0] GTHE4_CHANNEL_CLK_COR_SEQ_2_3 = 10'b0100000000,
  parameter   [9:0] GTHE4_CHANNEL_CLK_COR_SEQ_2_4 = 10'b0100000000,
  parameter   [3:0] GTHE4_CHANNEL_CLK_COR_SEQ_2_ENABLE = 4'b1111,
  parameter         GTHE4_CHANNEL_CLK_COR_SEQ_2_USE = "FALSE",
  parameter integer GTHE4_CHANNEL_CLK_COR_SEQ_LEN = 2,
  parameter  [15:0] GTHE4_CHANNEL_CPLL_CFG0 = 16'h01FA,
  parameter  [15:0] GTHE4_CHANNEL_CPLL_CFG1 = 16'h24A9,
  parameter  [15:0] GTHE4_CHANNEL_CPLL_CFG2 = 16'h6807,
  parameter  [15:0] GTHE4_CHANNEL_CPLL_CFG3 = 16'h0000,
  parameter integer GTHE4_CHANNEL_CPLL_FBDIV = 4,
  parameter integer GTHE4_CHANNEL_CPLL_FBDIV_45 = 4,
  parameter  [15:0] GTHE4_CHANNEL_CPLL_INIT_CFG0 = 16'h001E,
  parameter  [15:0] GTHE4_CHANNEL_CPLL_LOCK_CFG = 16'h01E8,
  parameter integer GTHE4_CHANNEL_CPLL_REFCLK_DIV = 1,
  parameter   [2:0] GTHE4_CHANNEL_CTLE3_OCAP_EXT_CTRL = 3'b000,
  parameter   [0:0] GTHE4_CHANNEL_CTLE3_OCAP_EXT_EN = 1'b0,
  parameter   [1:0] GTHE4_CHANNEL_DDI_CTRL = 2'b00,
  parameter integer GTHE4_CHANNEL_DDI_REALIGN_WAIT = 15,
  parameter         GTHE4_CHANNEL_DEC_MCOMMA_DETECT = "TRUE",
  parameter         GTHE4_CHANNEL_DEC_PCOMMA_DETECT = "TRUE",
  parameter         GTHE4_CHANNEL_DEC_VALID_COMMA_ONLY = "TRUE",
  parameter   [0:0] GTHE4_CHANNEL_DELAY_ELEC = 1'b0,
  parameter   [9:0] GTHE4_CHANNEL_DMONITOR_CFG0 = 10'h000,
  parameter   [7:0] GTHE4_CHANNEL_DMONITOR_CFG1 = 8'h00,
  parameter   [0:0] GTHE4_CHANNEL_ES_CLK_PHASE_SEL = 1'b0,
  parameter   [5:0] GTHE4_CHANNEL_ES_CONTROL = 6'b000000,
  parameter         GTHE4_CHANNEL_ES_ERRDET_EN = "FALSE",
  parameter         GTHE4_CHANNEL_ES_EYE_SCAN_EN = "FALSE",
  parameter  [11:0] GTHE4_CHANNEL_ES_HORZ_OFFSET = 12'h800,
  parameter   [4:0] GTHE4_CHANNEL_ES_PRESCALE = 5'b00000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUALIFIER0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUALIFIER1 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUALIFIER2 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUALIFIER3 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUALIFIER4 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUALIFIER5 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUALIFIER6 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUALIFIER7 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUALIFIER8 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUALIFIER9 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUAL_MASK0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUAL_MASK1 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUAL_MASK2 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUAL_MASK3 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUAL_MASK4 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUAL_MASK5 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUAL_MASK6 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUAL_MASK7 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUAL_MASK8 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_QUAL_MASK9 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_SDATA_MASK0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_SDATA_MASK1 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_SDATA_MASK2 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_SDATA_MASK3 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_SDATA_MASK4 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_SDATA_MASK5 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_SDATA_MASK6 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_SDATA_MASK7 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_SDATA_MASK8 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_ES_SDATA_MASK9 = 16'h0000,
  parameter   [0:0] GTHE4_CHANNEL_EYE_SCAN_SWAP_EN = 1'b0,
  parameter   [3:0] GTHE4_CHANNEL_FTS_DESKEW_SEQ_ENABLE = 4'b1111,
  parameter   [3:0] GTHE4_CHANNEL_FTS_LANE_DESKEW_CFG = 4'b1111,
  parameter         GTHE4_CHANNEL_FTS_LANE_DESKEW_EN = "FALSE",
  parameter   [4:0] GTHE4_CHANNEL_GEARBOX_MODE = 5'b00000,
  parameter   [0:0] GTHE4_CHANNEL_ISCAN_CK_PH_SEL2 = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_LOCAL_MASTER = 1'b0,
  parameter   [2:0] GTHE4_CHANNEL_LPBK_BIAS_CTRL = 3'b000,
  parameter   [0:0] GTHE4_CHANNEL_LPBK_EN_RCAL_B = 1'b0,
  parameter   [3:0] GTHE4_CHANNEL_LPBK_EXT_RCAL = 4'b0000,
  parameter   [2:0] GTHE4_CHANNEL_LPBK_IND_CTRL0 = 3'b000,
  parameter   [2:0] GTHE4_CHANNEL_LPBK_IND_CTRL1 = 3'b000,
  parameter   [2:0] GTHE4_CHANNEL_LPBK_IND_CTRL2 = 3'b000,
  parameter   [3:0] GTHE4_CHANNEL_LPBK_RG_CTRL = 4'b0000,
  parameter   [1:0] GTHE4_CHANNEL_OOBDIVCTL = 2'b00,
  parameter   [0:0] GTHE4_CHANNEL_OOB_PWRUP = 1'b0,
  parameter         GTHE4_CHANNEL_PCI3_AUTO_REALIGN = "FRST_SMPL",
  parameter   [0:0] GTHE4_CHANNEL_PCI3_PIPE_RX_ELECIDLE = 1'b1,
  parameter   [1:0] GTHE4_CHANNEL_PCI3_RX_ASYNC_EBUF_BYPASS = 2'b00,
  parameter   [0:0] GTHE4_CHANNEL_PCI3_RX_ELECIDLE_EI2_ENABLE = 1'b0,
  parameter   [5:0] GTHE4_CHANNEL_PCI3_RX_ELECIDLE_H2L_COUNT = 6'b000000,
  parameter   [2:0] GTHE4_CHANNEL_PCI3_RX_ELECIDLE_H2L_DISABLE = 3'b000,
  parameter   [5:0] GTHE4_CHANNEL_PCI3_RX_ELECIDLE_HI_COUNT = 6'b000000,
  parameter   [0:0] GTHE4_CHANNEL_PCI3_RX_ELECIDLE_LP4_DISABLE = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_PCI3_RX_FIFO_DISABLE = 1'b0,
  parameter   [4:0] GTHE4_CHANNEL_PCIE3_CLK_COR_EMPTY_THRSH = 5'b00000,
  parameter   [5:0] GTHE4_CHANNEL_PCIE3_CLK_COR_FULL_THRSH = 6'b010000,
  parameter   [4:0] GTHE4_CHANNEL_PCIE3_CLK_COR_MAX_LAT = 5'b01000,
  parameter   [4:0] GTHE4_CHANNEL_PCIE3_CLK_COR_MIN_LAT = 5'b00100,
  parameter   [5:0] GTHE4_CHANNEL_PCIE3_CLK_COR_THRSH_TIMER = 6'b001000,
  parameter  [15:0] GTHE4_CHANNEL_PCIE_BUFG_DIV_CTRL = 16'h0000,
  parameter   [1:0] GTHE4_CHANNEL_PCIE_PLL_SEL_MODE_GEN12 = 2'h0,
  parameter   [1:0] GTHE4_CHANNEL_PCIE_PLL_SEL_MODE_GEN3 = 2'h0,
  parameter   [1:0] GTHE4_CHANNEL_PCIE_PLL_SEL_MODE_GEN4 = 2'h0,
  parameter  [15:0] GTHE4_CHANNEL_PCIE_RXPCS_CFG_GEN3 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_PCIE_RXPMA_CFG = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_PCIE_TXPCS_CFG_GEN3 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_PCIE_TXPMA_CFG = 16'h0000,
  parameter         GTHE4_CHANNEL_PCS_PCIE_EN = "FALSE",
  parameter  [15:0] GTHE4_CHANNEL_PCS_RSVD0 = 16'b0000000000000000,
  parameter  [11:0] GTHE4_CHANNEL_PD_TRANS_TIME_FROM_P2 = 12'h03C,
  parameter   [7:0] GTHE4_CHANNEL_PD_TRANS_TIME_NONE_P2 = 8'h19,
  parameter   [7:0] GTHE4_CHANNEL_PD_TRANS_TIME_TO_P2 = 8'h64,
  parameter integer GTHE4_CHANNEL_PREIQ_FREQ_BST = 0,
  parameter   [2:0] GTHE4_CHANNEL_PROCESS_PAR = 3'b010,
  parameter   [0:0] GTHE4_CHANNEL_RATE_SW_USE_DRP = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RCLK_SIPO_DLY_ENB = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RCLK_SIPO_INV_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RESET_POWERSAVE_DISABLE = 1'b0,
  parameter   [2:0] GTHE4_CHANNEL_RTX_BUF_CML_CTRL = 3'b010,
  parameter   [1:0] GTHE4_CHANNEL_RTX_BUF_TERM_CTRL = 2'b00,
  parameter   [4:0] GTHE4_CHANNEL_RXBUFRESET_TIME = 5'b00001,
  parameter         GTHE4_CHANNEL_RXBUF_ADDR_MODE = "FULL",
  parameter   [3:0] GTHE4_CHANNEL_RXBUF_EIDLE_HI_CNT = 4'b1000,
  parameter   [3:0] GTHE4_CHANNEL_RXBUF_EIDLE_LO_CNT = 4'b0000,
  parameter         GTHE4_CHANNEL_RXBUF_EN = "TRUE",
  parameter         GTHE4_CHANNEL_RXBUF_RESET_ON_CB_CHANGE = "TRUE",
  parameter         GTHE4_CHANNEL_RXBUF_RESET_ON_COMMAALIGN = "FALSE",
  parameter         GTHE4_CHANNEL_RXBUF_RESET_ON_EIDLE = "FALSE",
  parameter         GTHE4_CHANNEL_RXBUF_RESET_ON_RATE_CHANGE = "TRUE",
  parameter integer GTHE4_CHANNEL_RXBUF_THRESH_OVFLW = 0,
  parameter         GTHE4_CHANNEL_RXBUF_THRESH_OVRD = "FALSE",
  parameter integer GTHE4_CHANNEL_RXBUF_THRESH_UNDFLW = 4,
  parameter   [4:0] GTHE4_CHANNEL_RXCDRFREQRESET_TIME = 5'b00001,
  parameter   [4:0] GTHE4_CHANNEL_RXCDRPHRESET_TIME = 5'b00001,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_CFG0 = 16'h0003,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_CFG0_GEN3 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_CFG1 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_CFG1_GEN3 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_CFG2 = 16'h0155,
  parameter   [9:0] GTHE4_CHANNEL_RXCDR_CFG2_GEN2 = 10'h164,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_CFG2_GEN3 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_CFG2_GEN4 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_CFG3 = 16'h002A,
  parameter   [5:0] GTHE4_CHANNEL_RXCDR_CFG3_GEN2 = 6'h24,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_CFG3_GEN3 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_CFG3_GEN4 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_CFG4 = 16'h5AD6,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_CFG4_GEN3 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_CFG5 = 16'hB46B,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_CFG5_GEN3 = 16'h0000,
  parameter   [0:0] GTHE4_CHANNEL_RXCDR_FR_RESET_ON_EIDLE = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCDR_HOLD_DURING_EIDLE = 1'b0,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_LOCK_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_LOCK_CFG1 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_LOCK_CFG2 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_LOCK_CFG3 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCDR_LOCK_CFG4 = 16'h0000,
  parameter   [0:0] GTHE4_CHANNEL_RXCDR_PH_RESET_ON_EIDLE = 1'b0,
  parameter  [15:0] GTHE4_CHANNEL_RXCFOK_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCFOK_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXCFOK_CFG2 = 16'h002D,
  parameter  [15:0] GTHE4_CHANNEL_RXCKCAL1_IQ_LOOP_RST_CFG = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCKCAL1_I_LOOP_RST_CFG = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCKCAL1_Q_LOOP_RST_CFG = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCKCAL2_DX_LOOP_RST_CFG = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCKCAL2_D_LOOP_RST_CFG = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCKCAL2_S_LOOP_RST_CFG = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXCKCAL2_X_LOOP_RST_CFG = 16'h0000,
  parameter   [6:0] GTHE4_CHANNEL_RXDFELPMRESET_TIME = 7'b0001111,
  parameter  [15:0] GTHE4_CHANNEL_RXDFELPM_KL_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFELPM_KL_CFG1 = 16'h0022,
  parameter  [15:0] GTHE4_CHANNEL_RXDFELPM_KL_CFG2 = 16'h0100,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_CFG0 = 16'h4000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_CFG1 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_GC_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_GC_CFG1 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_GC_CFG2 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_H2_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_H2_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_H3_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_H3_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_H4_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_H4_CFG1 = 16'h0003,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_H5_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_H5_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_H6_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_H6_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_H7_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_H7_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_H8_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_H8_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_H9_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_H9_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_HA_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_HA_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_HB_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_HB_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_HC_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_HC_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_HD_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_HD_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_HE_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_HE_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_HF_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_HF_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_KH_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_KH_CFG1 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_KH_CFG2 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_KH_CFG3 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_OS_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_OS_CFG1 = 16'h0002,
  parameter   [0:0] GTHE4_CHANNEL_RXDFE_PWR_SAVING = 1'b0,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_UT_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_UT_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_UT_CFG2 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_VP_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXDFE_VP_CFG1 = 16'h0022,
  parameter  [15:0] GTHE4_CHANNEL_RXDLY_CFG = 16'h0010,
  parameter  [15:0] GTHE4_CHANNEL_RXDLY_LCFG = 16'h0030,
  parameter         GTHE4_CHANNEL_RXELECIDLE_CFG = "SIGCFG_4",
  parameter integer GTHE4_CHANNEL_RXGBOX_FIFO_INIT_RD_ADDR = 4,
  parameter         GTHE4_CHANNEL_RXGEARBOX_EN = "FALSE",
  parameter   [4:0] GTHE4_CHANNEL_RXISCANRESET_TIME = 5'b00001,
  parameter  [15:0] GTHE4_CHANNEL_RXLPM_CFG = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXLPM_GC_CFG = 16'h1000,
  parameter  [15:0] GTHE4_CHANNEL_RXLPM_KH_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXLPM_KH_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXLPM_OS_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXLPM_OS_CFG1 = 16'h0000,
  parameter   [8:0] GTHE4_CHANNEL_RXOOB_CFG = 9'b000110000,
  parameter         GTHE4_CHANNEL_RXOOB_CLK_CFG = "PMA",
  parameter   [4:0] GTHE4_CHANNEL_RXOSCALRESET_TIME = 5'b00011,
  parameter integer GTHE4_CHANNEL_RXOUT_DIV = 4,
  parameter   [4:0] GTHE4_CHANNEL_RXPCSRESET_TIME = 5'b00001,
  parameter  [15:0] GTHE4_CHANNEL_RXPHBEACON_CFG = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_RXPHDLY_CFG = 16'h2020,
  parameter  [15:0] GTHE4_CHANNEL_RXPHSAMP_CFG = 16'h2100,
  parameter  [15:0] GTHE4_CHANNEL_RXPHSLIP_CFG = 16'h9933,
  parameter   [4:0] GTHE4_CHANNEL_RXPH_MONITOR_SEL = 5'b00000,
  parameter   [0:0] GTHE4_CHANNEL_RXPI_AUTO_BW_SEL_BYPASS = 1'b0,
  parameter  [15:0] GTHE4_CHANNEL_RXPI_CFG0 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_RXPI_CFG1 = 16'b0000000000000000,
  parameter   [0:0] GTHE4_CHANNEL_RXPI_LPM = 1'b0,
  parameter   [1:0] GTHE4_CHANNEL_RXPI_SEL_LC = 2'b00,
  parameter   [1:0] GTHE4_CHANNEL_RXPI_STARTCODE = 2'b00,
  parameter   [0:0] GTHE4_CHANNEL_RXPI_VREFSEL = 1'b0,
  parameter         GTHE4_CHANNEL_RXPMACLK_SEL = "DATA",
  parameter   [4:0] GTHE4_CHANNEL_RXPMARESET_TIME = 5'b00001,
  parameter   [0:0] GTHE4_CHANNEL_RXPRBS_ERR_LOOPBACK = 1'b0,
  parameter integer GTHE4_CHANNEL_RXPRBS_LINKACQ_CNT = 15,
  parameter   [0:0] GTHE4_CHANNEL_RXREFCLKDIV2_SEL = 1'b0,
  parameter integer GTHE4_CHANNEL_RXSLIDE_AUTO_WAIT = 7,
  parameter         GTHE4_CHANNEL_RXSLIDE_MODE = "OFF",
  parameter   [0:0] GTHE4_CHANNEL_RXSYNC_MULTILANE = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXSYNC_OVRD = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXSYNC_SKIP_DA = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RX_AFE_CM_EN = 1'b0,
  parameter  [15:0] GTHE4_CHANNEL_RX_BIAS_CFG0 = 16'h12B0,
  parameter   [5:0] GTHE4_CHANNEL_RX_BUFFER_CFG = 6'b000000,
  parameter   [0:0] GTHE4_CHANNEL_RX_CAPFF_SARC_ENB = 1'b0,
  parameter integer GTHE4_CHANNEL_RX_CLK25_DIV = 8,
  parameter   [0:0] GTHE4_CHANNEL_RX_CLKMUX_EN = 1'b1,
  parameter   [4:0] GTHE4_CHANNEL_RX_CLK_SLIP_OVRD = 5'b00000,
  parameter   [3:0] GTHE4_CHANNEL_RX_CM_BUF_CFG = 4'b1010,
  parameter   [0:0] GTHE4_CHANNEL_RX_CM_BUF_PD = 1'b0,
  parameter integer GTHE4_CHANNEL_RX_CM_SEL = 3,
  parameter integer GTHE4_CHANNEL_RX_CM_TRIM = 12,
  parameter   [7:0] GTHE4_CHANNEL_RX_CTLE3_LPF = 8'b00000000,
  parameter integer GTHE4_CHANNEL_RX_DATA_WIDTH = 20,
  parameter   [5:0] GTHE4_CHANNEL_RX_DDI_SEL = 6'b000000,
  parameter         GTHE4_CHANNEL_RX_DEFER_RESET_BUF_EN = "TRUE",
  parameter   [2:0] GTHE4_CHANNEL_RX_DEGEN_CTRL = 3'b011,
  parameter integer GTHE4_CHANNEL_RX_DFELPM_CFG0 = 0,
  parameter   [0:0] GTHE4_CHANNEL_RX_DFELPM_CFG1 = 1'b1,
  parameter   [0:0] GTHE4_CHANNEL_RX_DFELPM_KLKH_AGC_STUP_EN = 1'b1,
  parameter   [1:0] GTHE4_CHANNEL_RX_DFE_AGC_CFG0 = 2'b00,
  parameter integer GTHE4_CHANNEL_RX_DFE_AGC_CFG1 = 4,
  parameter integer GTHE4_CHANNEL_RX_DFE_KL_LPM_KH_CFG0 = 1,
  parameter integer GTHE4_CHANNEL_RX_DFE_KL_LPM_KH_CFG1 = 4,
  parameter   [1:0] GTHE4_CHANNEL_RX_DFE_KL_LPM_KL_CFG0 = 2'b01,
  parameter integer GTHE4_CHANNEL_RX_DFE_KL_LPM_KL_CFG1 = 4,
  parameter   [0:0] GTHE4_CHANNEL_RX_DFE_LPM_HOLD_DURING_EIDLE = 1'b0,
  parameter         GTHE4_CHANNEL_RX_DISPERR_SEQ_MATCH = "TRUE",
  parameter   [0:0] GTHE4_CHANNEL_RX_DIV2_MODE_B = 1'b0,
  parameter   [4:0] GTHE4_CHANNEL_RX_DIVRESET_TIME = 5'b00001,
  parameter   [0:0] GTHE4_CHANNEL_RX_EN_CTLE_RCAL_B = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RX_EN_HI_LR = 1'b1,
  parameter   [8:0] GTHE4_CHANNEL_RX_EXT_RL_CTRL = 9'b000000000,
  parameter   [6:0] GTHE4_CHANNEL_RX_EYESCAN_VS_CODE = 7'b0000000,
  parameter   [0:0] GTHE4_CHANNEL_RX_EYESCAN_VS_NEG_DIR = 1'b0,
  parameter   [1:0] GTHE4_CHANNEL_RX_EYESCAN_VS_RANGE = 2'b00,
  parameter   [0:0] GTHE4_CHANNEL_RX_EYESCAN_VS_UT_SIGN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RX_FABINT_USRCLK_FLOP = 1'b0,
  parameter integer GTHE4_CHANNEL_RX_INT_DATAWIDTH = 1,
  parameter   [0:0] GTHE4_CHANNEL_RX_PMA_POWER_SAVE = 1'b0,
  parameter  [15:0] GTHE4_CHANNEL_RX_PMA_RSV0 = 16'h0000,
  parameter    real GTHE4_CHANNEL_RX_PROGDIV_CFG = 0.0,
  parameter  [15:0] GTHE4_CHANNEL_RX_PROGDIV_RATE = 16'h0001,
  parameter   [3:0] GTHE4_CHANNEL_RX_RESLOAD_CTRL = 4'b0000,
  parameter   [0:0] GTHE4_CHANNEL_RX_RESLOAD_OVRD = 1'b0,
  parameter   [2:0] GTHE4_CHANNEL_RX_SAMPLE_PERIOD = 3'b101,
  parameter integer GTHE4_CHANNEL_RX_SIG_VALID_DLY = 11,
  parameter   [0:0] GTHE4_CHANNEL_RX_SUM_DFETAPREP_EN = 1'b0,
  parameter   [3:0] GTHE4_CHANNEL_RX_SUM_IREF_TUNE = 4'b1001,
  parameter   [3:0] GTHE4_CHANNEL_RX_SUM_RESLOAD_CTRL = 4'b0000,
  parameter   [3:0] GTHE4_CHANNEL_RX_SUM_VCMTUNE = 4'b1010,
  parameter   [0:0] GTHE4_CHANNEL_RX_SUM_VCM_OVWR = 1'b0,
  parameter   [2:0] GTHE4_CHANNEL_RX_SUM_VREF_TUNE = 3'b100,
  parameter   [1:0] GTHE4_CHANNEL_RX_TUNE_AFE_OS = 2'b00,
  parameter   [2:0] GTHE4_CHANNEL_RX_VREG_CTRL = 3'b101,
  parameter   [0:0] GTHE4_CHANNEL_RX_VREG_PDB = 1'b1,
  parameter   [1:0] GTHE4_CHANNEL_RX_WIDEMODE_CDR = 2'b01,
  parameter   [1:0] GTHE4_CHANNEL_RX_WIDEMODE_CDR_GEN3 = 2'b01,
  parameter   [1:0] GTHE4_CHANNEL_RX_WIDEMODE_CDR_GEN4 = 2'b01,
  parameter         GTHE4_CHANNEL_RX_XCLK_SEL = "RXDES",
  parameter   [0:0] GTHE4_CHANNEL_RX_XMODE_SEL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_SAMPLE_CLK_PHASE = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_SAS_12G_MODE = 1'b0,
  parameter   [3:0] GTHE4_CHANNEL_SATA_BURST_SEQ_LEN = 4'b1111,
  parameter   [2:0] GTHE4_CHANNEL_SATA_BURST_VAL = 3'b100,
  parameter         GTHE4_CHANNEL_SATA_CPLL_CFG = "VCO_3000MHZ",
  parameter   [2:0] GTHE4_CHANNEL_SATA_EIDLE_VAL = 3'b100,
  parameter         GTHE4_CHANNEL_SHOW_REALIGN_COMMA = "TRUE",
  parameter         GTHE4_CHANNEL_SIM_MODE = "FAST",
  parameter         GTHE4_CHANNEL_SIM_RECEIVER_DETECT_PASS = "TRUE",
  parameter         GTHE4_CHANNEL_SIM_RESET_SPEEDUP = "TRUE",
  parameter         GTHE4_CHANNEL_SIM_TX_EIDLE_DRIVE_LEVEL = "Z",
  parameter         GTHE4_CHANNEL_SIM_DEVICE = "ULTRASCALE_PLUS",
  parameter   [0:0] GTHE4_CHANNEL_SRSTMODE = 1'b0,
  parameter   [1:0] GTHE4_CHANNEL_TAPDLY_SET_TX = 2'h0,
  parameter   [3:0] GTHE4_CHANNEL_TEMPERATURE_PAR = 4'b0010,
  parameter  [14:0] GTHE4_CHANNEL_TERM_RCAL_CFG = 15'b100001000010000,
  parameter   [2:0] GTHE4_CHANNEL_TERM_RCAL_OVRD = 3'b000,
  parameter   [7:0] GTHE4_CHANNEL_TRANS_TIME_RATE = 8'h0E,
  parameter   [7:0] GTHE4_CHANNEL_TST_RSV0 = 8'h00,
  parameter   [7:0] GTHE4_CHANNEL_TST_RSV1 = 8'h00,
  parameter         GTHE4_CHANNEL_TXBUF_EN = "TRUE",
  parameter         GTHE4_CHANNEL_TXBUF_RESET_ON_RATE_CHANGE = "FALSE",
  parameter  [15:0] GTHE4_CHANNEL_TXDLY_CFG = 16'h0010,
  parameter  [15:0] GTHE4_CHANNEL_TXDLY_LCFG = 16'h0030,
  parameter   [3:0] GTHE4_CHANNEL_TXDRVBIAS_N = 4'b1010,
  parameter         GTHE4_CHANNEL_TXFIFO_ADDR_CFG = "LOW",
  parameter integer GTHE4_CHANNEL_TXGBOX_FIFO_INIT_RD_ADDR = 4,
  parameter         GTHE4_CHANNEL_TXGEARBOX_EN = "FALSE",
  parameter integer GTHE4_CHANNEL_TXOUT_DIV = 4,
  parameter   [4:0] GTHE4_CHANNEL_TXPCSRESET_TIME = 5'b00001,
  parameter  [15:0] GTHE4_CHANNEL_TXPHDLY_CFG0 = 16'h6020,
  parameter  [15:0] GTHE4_CHANNEL_TXPHDLY_CFG1 = 16'h0002,
  parameter  [15:0] GTHE4_CHANNEL_TXPH_CFG = 16'h8123,
  parameter  [15:0] GTHE4_CHANNEL_TXPH_CFG2 = 16'h0000,
  parameter   [4:0] GTHE4_CHANNEL_TXPH_MONITOR_SEL = 5'b00000,
  parameter  [15:0] GTHE4_CHANNEL_TXPI_CFG = 16'h0000,
  parameter   [1:0] GTHE4_CHANNEL_TXPI_CFG0 = 2'b00,
  parameter   [1:0] GTHE4_CHANNEL_TXPI_CFG1 = 2'b00,
  parameter   [1:0] GTHE4_CHANNEL_TXPI_CFG2 = 2'b00,
  parameter   [0:0] GTHE4_CHANNEL_TXPI_CFG3 = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPI_CFG4 = 1'b1,
  parameter   [2:0] GTHE4_CHANNEL_TXPI_CFG5 = 3'b000,
  parameter   [0:0] GTHE4_CHANNEL_TXPI_GRAY_SEL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPI_INVSTROBE_SEL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPI_LPM = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPI_PPM = 1'b0,
  parameter         GTHE4_CHANNEL_TXPI_PPMCLK_SEL = "TXUSRCLK2",
  parameter   [7:0] GTHE4_CHANNEL_TXPI_PPM_CFG = 8'b00000000,
  parameter   [2:0] GTHE4_CHANNEL_TXPI_SYNFREQ_PPM = 3'b000,
  parameter   [0:0] GTHE4_CHANNEL_TXPI_VREFSEL = 1'b0,
  parameter   [4:0] GTHE4_CHANNEL_TXPMARESET_TIME = 5'b00001,
  parameter   [0:0] GTHE4_CHANNEL_TXREFCLKDIV2_SEL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXSYNC_MULTILANE = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXSYNC_OVRD = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXSYNC_SKIP_DA = 1'b0,
  parameter integer GTHE4_CHANNEL_TX_CLK25_DIV = 8,
  parameter   [0:0] GTHE4_CHANNEL_TX_CLKMUX_EN = 1'b1,
  parameter integer GTHE4_CHANNEL_TX_DATA_WIDTH = 20,
  parameter  [15:0] GTHE4_CHANNEL_TX_DCC_LOOP_RST_CFG = 16'h0000,
  parameter   [5:0] GTHE4_CHANNEL_TX_DEEMPH0 = 6'b000000,
  parameter   [5:0] GTHE4_CHANNEL_TX_DEEMPH1 = 6'b000000,
  parameter   [5:0] GTHE4_CHANNEL_TX_DEEMPH2 = 6'b000000,
  parameter   [5:0] GTHE4_CHANNEL_TX_DEEMPH3 = 6'b000000,
  parameter   [4:0] GTHE4_CHANNEL_TX_DIVRESET_TIME = 5'b00001,
  parameter         GTHE4_CHANNEL_TX_DRIVE_MODE = "DIRECT",
  parameter integer GTHE4_CHANNEL_TX_DRVMUX_CTRL = 2,
  parameter   [2:0] GTHE4_CHANNEL_TX_EIDLE_ASSERT_DELAY = 3'b110,
  parameter   [2:0] GTHE4_CHANNEL_TX_EIDLE_DEASSERT_DELAY = 3'b100,
  parameter   [0:0] GTHE4_CHANNEL_TX_FABINT_USRCLK_FLOP = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TX_FIFO_BYP_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TX_IDLE_DATA_ZERO = 1'b0,
  parameter integer GTHE4_CHANNEL_TX_INT_DATAWIDTH = 1,
  parameter         GTHE4_CHANNEL_TX_LOOPBACK_DRIVE_HIZ = "FALSE",
  parameter   [0:0] GTHE4_CHANNEL_TX_MAINCURSOR_SEL = 1'b0,
  parameter   [6:0] GTHE4_CHANNEL_TX_MARGIN_FULL_0 = 7'b1001110,
  parameter   [6:0] GTHE4_CHANNEL_TX_MARGIN_FULL_1 = 7'b1001001,
  parameter   [6:0] GTHE4_CHANNEL_TX_MARGIN_FULL_2 = 7'b1000101,
  parameter   [6:0] GTHE4_CHANNEL_TX_MARGIN_FULL_3 = 7'b1000010,
  parameter   [6:0] GTHE4_CHANNEL_TX_MARGIN_FULL_4 = 7'b1000000,
  parameter   [6:0] GTHE4_CHANNEL_TX_MARGIN_LOW_0 = 7'b1000110,
  parameter   [6:0] GTHE4_CHANNEL_TX_MARGIN_LOW_1 = 7'b1000100,
  parameter   [6:0] GTHE4_CHANNEL_TX_MARGIN_LOW_2 = 7'b1000010,
  parameter   [6:0] GTHE4_CHANNEL_TX_MARGIN_LOW_3 = 7'b1000000,
  parameter   [6:0] GTHE4_CHANNEL_TX_MARGIN_LOW_4 = 7'b1000000,
  parameter  [15:0] GTHE4_CHANNEL_TX_PHICAL_CFG0 = 16'h0000,
  parameter  [15:0] GTHE4_CHANNEL_TX_PHICAL_CFG1 = 16'h7E00,
  parameter  [15:0] GTHE4_CHANNEL_TX_PHICAL_CFG2 = 16'h0000,
  parameter integer GTHE4_CHANNEL_TX_PI_BIASSET = 0,
  parameter   [1:0] GTHE4_CHANNEL_TX_PI_IBIAS_MID = 2'b00,
  parameter   [0:0] GTHE4_CHANNEL_TX_PMADATA_OPT = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TX_PMA_POWER_SAVE = 1'b0,
  parameter  [15:0] GTHE4_CHANNEL_TX_PMA_RSV0 = 16'h0000,
  parameter integer GTHE4_CHANNEL_TX_PREDRV_CTRL = 2,
  parameter         GTHE4_CHANNEL_TX_PROGCLK_SEL = "POSTPI",
  parameter    real GTHE4_CHANNEL_TX_PROGDIV_CFG = 0.0,
  parameter  [15:0] GTHE4_CHANNEL_TX_PROGDIV_RATE = 16'h0001,
  parameter   [0:0] GTHE4_CHANNEL_TX_QPI_STATUS_EN = 1'b0,
  parameter  [13:0] GTHE4_CHANNEL_TX_RXDETECT_CFG = 14'h0032,
  parameter integer GTHE4_CHANNEL_TX_RXDETECT_REF = 3,
  parameter   [2:0] GTHE4_CHANNEL_TX_SAMPLE_PERIOD = 3'b101,
  parameter   [0:0] GTHE4_CHANNEL_TX_SARC_LPBK_ENB = 1'b0,
  parameter   [1:0] GTHE4_CHANNEL_TX_SW_MEAS = 2'b00,
  parameter   [2:0] GTHE4_CHANNEL_TX_VREG_CTRL = 3'b000,
  parameter   [0:0] GTHE4_CHANNEL_TX_VREG_PDB = 1'b0,
  parameter   [1:0] GTHE4_CHANNEL_TX_VREG_VREFSEL = 2'b00,
  parameter         GTHE4_CHANNEL_TX_XCLK_SEL = "TXOUT",
  parameter   [0:0] GTHE4_CHANNEL_USB_BOTH_BURST_IDLE = 1'b0,
  parameter   [6:0] GTHE4_CHANNEL_USB_BURSTMAX_U3WAKE = 7'b1111111,
  parameter   [6:0] GTHE4_CHANNEL_USB_BURSTMIN_U3WAKE = 7'b1100011,
  parameter   [0:0] GTHE4_CHANNEL_USB_CLK_COR_EQ_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_USB_EXT_CNTL = 1'b1,
  parameter   [9:0] GTHE4_CHANNEL_USB_IDLEMAX_POLLING = 10'b1010111011,
  parameter   [9:0] GTHE4_CHANNEL_USB_IDLEMIN_POLLING = 10'b0100101011,
  parameter   [8:0] GTHE4_CHANNEL_USB_LFPSPING_BURST = 9'b000000101,
  parameter   [8:0] GTHE4_CHANNEL_USB_LFPSPOLLING_BURST = 9'b000110001,
  parameter   [8:0] GTHE4_CHANNEL_USB_LFPSPOLLING_IDLE_MS = 9'b000000100,
  parameter   [8:0] GTHE4_CHANNEL_USB_LFPSU1EXIT_BURST = 9'b000011101,
  parameter   [8:0] GTHE4_CHANNEL_USB_LFPSU2LPEXIT_BURST_MS = 9'b001100011,
  parameter   [8:0] GTHE4_CHANNEL_USB_LFPSU3WAKE_BURST_MS = 9'b111110011,
  parameter   [3:0] GTHE4_CHANNEL_USB_LFPS_TPERIOD = 4'b0011,
  parameter   [0:0] GTHE4_CHANNEL_USB_LFPS_TPERIOD_ACCURATE = 1'b1,
  parameter   [0:0] GTHE4_CHANNEL_USB_MODE = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_USB_PCIE_ERR_REP_DIS = 1'b0,
  parameter integer GTHE4_CHANNEL_USB_PING_SATA_MAX_INIT = 21,
  parameter integer GTHE4_CHANNEL_USB_PING_SATA_MIN_INIT = 12,
  parameter integer GTHE4_CHANNEL_USB_POLL_SATA_MAX_BURST = 8,
  parameter integer GTHE4_CHANNEL_USB_POLL_SATA_MIN_BURST = 4,
  parameter   [0:0] GTHE4_CHANNEL_USB_RAW_ELEC = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_USB_RXIDLE_P0_CTRL = 1'b1,
  parameter   [0:0] GTHE4_CHANNEL_USB_TXIDLE_TUNE_ENABLE = 1'b1,
  parameter integer GTHE4_CHANNEL_USB_U1_SATA_MAX_WAKE = 7,
  parameter integer GTHE4_CHANNEL_USB_U1_SATA_MIN_WAKE = 4,
  parameter integer GTHE4_CHANNEL_USB_U2_SAS_MAX_COM = 64,
  parameter integer GTHE4_CHANNEL_USB_U2_SAS_MIN_COM = 36,
  parameter   [0:0] GTHE4_CHANNEL_USE_PCS_CLK_PHASE_SEL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_Y_ALL_MODE = 1'b0,

  // primitive wrapper parameters which specify GTHE4_CHANNEL primitive input port default driver values
  parameter   [0:0] GTHE4_CHANNEL_CDRSTEPDIR_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CDRSTEPSQ_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CDRSTEPSX_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CFGRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CLKRSVD0_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CLKRSVD1_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CPLLFREQLOCK_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CPLLLOCKDETCLK_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CPLLLOCKEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CPLLPD_VAL = 1'b0,
  parameter   [2:0] GTHE4_CHANNEL_CPLLREFCLKSEL_VAL = 3'b0,
  parameter   [0:0] GTHE4_CHANNEL_CPLLRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_DMONFIFORESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_DMONITORCLK_VAL = 1'b0,
  parameter   [9:0] GTHE4_CHANNEL_DRPADDR_VAL = 10'b0,
  parameter   [0:0] GTHE4_CHANNEL_DRPCLK_VAL = 1'b0,
  parameter  [15:0] GTHE4_CHANNEL_DRPDI_VAL = 16'b0,
  parameter   [0:0] GTHE4_CHANNEL_DRPEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_DRPRST_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_DRPWE_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_EYESCANRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_EYESCANTRIGGER_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_FREQOS_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTGREFCLK_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTHRXN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTHRXP_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTNORTHREFCLK0_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTNORTHREFCLK1_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTREFCLK0_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTREFCLK1_VAL = 1'b0,
  parameter  [15:0] GTHE4_CHANNEL_GTRSVD_VAL = 16'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTRXRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTRXRESETSEL_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTSOUTHREFCLK0_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTSOUTHREFCLK1_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTTXRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTTXRESETSEL_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_INCPCTRL_VAL = 1'b0,
  parameter   [2:0] GTHE4_CHANNEL_LOOPBACK_VAL = 3'b0,
  parameter   [0:0] GTHE4_CHANNEL_PCIEEQRXEQADAPTDONE_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_PCIERSTIDLE_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_PCIERSTTXSYNCSTART_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_PCIEUSERRATEDONE_VAL = 1'b0,
  parameter  [15:0] GTHE4_CHANNEL_PCSRSVDIN_VAL = 16'b0,
  parameter   [0:0] GTHE4_CHANNEL_QPLL0CLK_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_QPLL0FREQLOCK_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_QPLL0REFCLK_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_QPLL1CLK_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_QPLL1FREQLOCK_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_QPLL1REFCLK_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RESETOVRD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RX8B10BEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXAFECFOKEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXBUFRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCDRFREQRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCDRHOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCDROVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCDRRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCHBONDEN_VAL = 1'b0,
  parameter   [4:0] GTHE4_CHANNEL_RXCHBONDI_VAL = 5'b0,
  parameter   [2:0] GTHE4_CHANNEL_RXCHBONDLEVEL_VAL = 3'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCHBONDMASTER_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCHBONDSLAVE_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCKCALRESET_VAL = 1'b0,
  parameter   [6:0] GTHE4_CHANNEL_RXCKCALSTART_VAL = 7'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCOMMADETEN_VAL = 1'b0,
  parameter   [1:0] GTHE4_CHANNEL_RXDFEAGCCTRL_VAL = 2'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEAGCHOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEAGCOVRDEN_VAL = 1'b0,
  parameter   [3:0] GTHE4_CHANNEL_RXDFECFOKFCNUM_VAL = 4'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFECFOKFEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFECFOKFPULSE_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFECFOKHOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFECFOKOVREN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEKHHOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEKHOVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFELFHOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFELFOVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFELPMRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP10HOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP10OVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP11HOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP11OVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP12HOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP12OVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP13HOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP13OVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP14HOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP14OVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP15HOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP15OVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP2HOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP2OVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP3HOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP3OVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP4HOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP4OVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP5HOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP5OVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP6HOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP6OVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP7HOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP7OVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP8HOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP8OVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP9HOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP9OVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEUTHOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEUTOVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEVPHOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEVPOVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEXYDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDLYBYPASS_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDLYEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDLYOVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDLYSRESET_VAL = 1'b0,
  parameter   [1:0] GTHE4_CHANNEL_RXELECIDLEMODE_VAL = 2'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXEQTRAINING_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXGEARBOXSLIP_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLATCLK_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMGCHOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMGCOVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMHFHOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMHFOVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMLFHOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMLFKLOVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMOSHOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMOSOVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXMCOMMAALIGNEN_VAL = 1'b0,
  parameter   [1:0] GTHE4_CHANNEL_RXMONITORSEL_VAL = 2'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXOOBRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXOSCALRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXOSHOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXOSOVRDEN_VAL = 1'b0,
  parameter   [2:0] GTHE4_CHANNEL_RXOUTCLKSEL_VAL = 3'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPCOMMAALIGNEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPCSRESET_VAL = 1'b0,
  parameter   [1:0] GTHE4_CHANNEL_RXPD_VAL = 2'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPHALIGN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPHALIGNEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPHDLYPD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPHDLYRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPHOVRDEN_VAL = 1'b0,
  parameter   [1:0] GTHE4_CHANNEL_RXPLLCLKSEL_VAL = 2'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPMARESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPOLARITY_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPRBSCNTRESET_VAL = 1'b0,
  parameter   [3:0] GTHE4_CHANNEL_RXPRBSSEL_VAL = 4'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPROGDIVRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXQPIEN_VAL = 1'b0,
  parameter   [2:0] GTHE4_CHANNEL_RXRATE_VAL = 3'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXRATEMODE_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXSLIDE_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXSLIPOUTCLK_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXSLIPPMA_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXSYNCALLIN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXSYNCIN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXSYNCMODE_VAL = 1'b0,
  parameter   [1:0] GTHE4_CHANNEL_RXSYSCLKSEL_VAL = 2'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXTERMINATION_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXUSERRDY_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXUSRCLK_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXUSRCLK2_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_SIGVALIDCLK_VAL = 1'b0,
  parameter  [19:0] GTHE4_CHANNEL_TSTIN_VAL = 20'b0,
  parameter   [7:0] GTHE4_CHANNEL_TX8B10BBYPASS_VAL = 8'b0,
  parameter   [0:0] GTHE4_CHANNEL_TX8B10BEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXCOMINIT_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXCOMSAS_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXCOMWAKE_VAL = 1'b0,
  parameter  [15:0] GTHE4_CHANNEL_TXCTRL0_VAL = 16'b0,
  parameter  [15:0] GTHE4_CHANNEL_TXCTRL1_VAL = 16'b0,
  parameter   [7:0] GTHE4_CHANNEL_TXCTRL2_VAL = 8'b0,
  parameter [127:0] GTHE4_CHANNEL_TXDATA_VAL = 128'b0,
  parameter   [7:0] GTHE4_CHANNEL_TXDATAEXTENDRSVD_VAL = 8'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDCCFORCESTART_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDCCRESET_VAL = 1'b0,
  parameter   [1:0] GTHE4_CHANNEL_TXDEEMPH_VAL = 2'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDETECTRX_VAL = 1'b0,
  parameter   [4:0] GTHE4_CHANNEL_TXDIFFCTRL_VAL = 5'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDLYBYPASS_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDLYEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDLYHOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDLYOVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDLYSRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDLYUPDOWN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXELECIDLE_VAL = 1'b0,
  parameter   [5:0] GTHE4_CHANNEL_TXHEADER_VAL = 6'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXINHIBIT_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXLATCLK_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXLFPSTRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXLFPSU2LPEXIT_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXLFPSU3WAKE_VAL = 1'b0,
  parameter   [6:0] GTHE4_CHANNEL_TXMAINCURSOR_VAL = 7'b0,
  parameter   [2:0] GTHE4_CHANNEL_TXMARGIN_VAL = 3'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXMUXDCDEXHOLD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXMUXDCDORWREN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXONESZEROS_VAL = 1'b0,
  parameter   [2:0] GTHE4_CHANNEL_TXOUTCLKSEL_VAL = 3'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPCSRESET_VAL = 1'b0,
  parameter   [1:0] GTHE4_CHANNEL_TXPD_VAL = 2'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPDELECIDLEMODE_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPHALIGN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPHALIGNEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPHDLYPD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPHDLYRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPHDLYTSTCLK_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPHINIT_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPHOVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPIPPMEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPIPPMOVRDEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPIPPMPD_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPIPPMSEL_VAL = 1'b0,
  parameter   [4:0] GTHE4_CHANNEL_TXPIPPMSTEPSIZE_VAL = 5'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPISOPD_VAL = 1'b0,
  parameter   [1:0] GTHE4_CHANNEL_TXPLLCLKSEL_VAL = 2'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPMARESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPOLARITY_VAL = 1'b0,
  parameter   [4:0] GTHE4_CHANNEL_TXPOSTCURSOR_VAL = 5'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPRBSFORCEERR_VAL = 1'b0,
  parameter   [3:0] GTHE4_CHANNEL_TXPRBSSEL_VAL = 4'b0,
  parameter   [4:0] GTHE4_CHANNEL_TXPRECURSOR_VAL = 5'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPROGDIVRESET_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXQPIBIASEN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXQPIWEAKPUP_VAL = 1'b0,
  parameter   [2:0] GTHE4_CHANNEL_TXRATE_VAL = 3'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXRATEMODE_VAL = 1'b0,
  parameter   [6:0] GTHE4_CHANNEL_TXSEQUENCE_VAL = 7'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXSWING_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXSYNCALLIN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXSYNCIN_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXSYNCMODE_VAL = 1'b0,
  parameter   [1:0] GTHE4_CHANNEL_TXSYSCLKSEL_VAL = 2'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXUSERRDY_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXUSRCLK_VAL = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXUSRCLK2_VAL = 1'b0,

  // primitive wrapper parameters which control GTHE4_CHANNEL primitive input port tie-off enablement
  parameter   [0:0] GTHE4_CHANNEL_CDRSTEPDIR_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CDRSTEPSQ_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CDRSTEPSX_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CFGRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CLKRSVD0_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CLKRSVD1_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CPLLFREQLOCK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CPLLLOCKDETCLK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CPLLLOCKEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CPLLPD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CPLLREFCLKSEL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_CPLLRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_DMONFIFORESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_DMONITORCLK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_DRPADDR_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_DRPCLK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_DRPDI_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_DRPEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_DRPRST_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_DRPWE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_EYESCANRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_EYESCANTRIGGER_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_FREQOS_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTGREFCLK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTHRXN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTHRXP_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTNORTHREFCLK0_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTNORTHREFCLK1_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTREFCLK0_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTREFCLK1_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTRSVD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTRXRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTRXRESETSEL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTSOUTHREFCLK0_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTSOUTHREFCLK1_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTTXRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_GTTXRESETSEL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_INCPCTRL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_LOOPBACK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_PCIEEQRXEQADAPTDONE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_PCIERSTIDLE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_PCIERSTTXSYNCSTART_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_PCIEUSERRATEDONE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_PCSRSVDIN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_QPLL0CLK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_QPLL0FREQLOCK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_QPLL0REFCLK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_QPLL1CLK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_QPLL1FREQLOCK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_QPLL1REFCLK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RESETOVRD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RX8B10BEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXAFECFOKEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXBUFRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCDRFREQRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCDRHOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCDROVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCDRRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCHBONDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCHBONDI_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCHBONDLEVEL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCHBONDMASTER_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCHBONDSLAVE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCKCALRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCKCALSTART_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXCOMMADETEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEAGCCTRL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEAGCHOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEAGCOVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFECFOKFCNUM_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFECFOKFEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFECFOKFPULSE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFECFOKHOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFECFOKOVREN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEKHHOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEKHOVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFELFHOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFELFOVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFELPMRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP10HOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP10OVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP11HOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP11OVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP12HOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP12OVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP13HOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP13OVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP14HOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP14OVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP15HOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP15OVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP2HOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP2OVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP3HOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP3OVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP4HOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP4OVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP5HOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP5OVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP6HOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP6OVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP7HOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP7OVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP8HOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP8OVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP9HOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFETAP9OVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEUTHOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEUTOVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEVPHOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEVPOVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDFEXYDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDLYBYPASS_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDLYEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDLYOVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXDLYSRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXELECIDLEMODE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXEQTRAINING_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXGEARBOXSLIP_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLATCLK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMGCHOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMGCOVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMHFHOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMHFOVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMLFHOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMLFKLOVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMOSHOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXLPMOSOVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXMCOMMAALIGNEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXMONITORSEL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXOOBRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXOSCALRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXOSHOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXOSOVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXOUTCLKSEL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPCOMMAALIGNEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPCSRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPHALIGN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPHALIGNEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPHDLYPD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPHDLYRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPHOVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPLLCLKSEL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPMARESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPOLARITY_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPRBSCNTRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPRBSSEL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXPROGDIVRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXQPIEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXRATE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXRATEMODE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXSLIDE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXSLIPOUTCLK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXSLIPPMA_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXSYNCALLIN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXSYNCIN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXSYNCMODE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXSYSCLKSEL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXTERMINATION_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXUSERRDY_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXUSRCLK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_RXUSRCLK2_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_SIGVALIDCLK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TSTIN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TX8B10BBYPASS_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TX8B10BEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXCOMINIT_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXCOMSAS_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXCOMWAKE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXCTRL0_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXCTRL1_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXCTRL2_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDATA_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDATAEXTENDRSVD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDCCFORCESTART_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDCCRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDEEMPH_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDETECTRX_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDIFFCTRL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDLYBYPASS_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDLYEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDLYHOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDLYOVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDLYSRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXDLYUPDOWN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXELECIDLE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXHEADER_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXINHIBIT_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXLATCLK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXLFPSTRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXLFPSU2LPEXIT_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXLFPSU3WAKE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXMAINCURSOR_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXMARGIN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXMUXDCDEXHOLD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXMUXDCDORWREN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXONESZEROS_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXOUTCLKSEL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPCSRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPDELECIDLEMODE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPHALIGN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPHALIGNEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPHDLYPD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPHDLYRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPHDLYTSTCLK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPHINIT_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPHOVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPIPPMEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPIPPMOVRDEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPIPPMPD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPIPPMSEL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPIPPMSTEPSIZE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPISOPD_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPLLCLKSEL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPMARESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPOLARITY_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPOSTCURSOR_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPRBSFORCEERR_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPRBSSEL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPRECURSOR_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXPROGDIVRESET_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXQPIBIASEN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXQPIWEAKPUP_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXRATE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXRATEMODE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXSEQUENCE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXSWING_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXSYNCALLIN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXSYNCIN_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXSYNCMODE_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXSYSCLKSEL_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXUSERRDY_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXUSRCLK_TIE_EN = 1'b0,
  parameter   [0:0] GTHE4_CHANNEL_TXUSRCLK2_TIE_EN = 1'b0

)(


  // -------------------------------------------------------------------------------------------------------------------
  // Ports relating to GTHE4_CHANNEL primitive
  // -------------------------------------------------------------------------------------------------------------------

  // primitive wrapper input ports which can drive corresponding GTHE4_CHANNEL primitive input ports
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CDRSTEPDIR,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CDRSTEPSQ,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CDRSTEPSX,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CFGRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CLKRSVD0,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CLKRSVD1,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CPLLFREQLOCK,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CPLLLOCKDETCLK,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CPLLLOCKEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CPLLPD,
  input  wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_CPLLREFCLKSEL,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CPLLRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_DMONFIFORESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_DMONITORCLK,
  input  wire [(NUM_CHANNELS* 10)-1:0] GTHE4_CHANNEL_DRPADDR,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_DRPCLK,
  input  wire [(NUM_CHANNELS* 16)-1:0] GTHE4_CHANNEL_DRPDI,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_DRPEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_DRPRST,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_DRPWE,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_EYESCANRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_EYESCANTRIGGER,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_FREQOS,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTGREFCLK,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTHRXN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTHRXP,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTNORTHREFCLK0,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTNORTHREFCLK1,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTREFCLK0,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTREFCLK1,
  input  wire [(NUM_CHANNELS* 16)-1:0] GTHE4_CHANNEL_GTRSVD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTRXRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTRXRESETSEL,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTSOUTHREFCLK0,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTSOUTHREFCLK1,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTTXRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTTXRESETSEL,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_INCPCTRL,
  input  wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_LOOPBACK,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_PCIEEQRXEQADAPTDONE,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_PCIERSTIDLE,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_PCIERSTTXSYNCSTART,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_PCIEUSERRATEDONE,
  input  wire [(NUM_CHANNELS* 16)-1:0] GTHE4_CHANNEL_PCSRSVDIN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_QPLL0CLK,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_QPLL0FREQLOCK,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_QPLL0REFCLK,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_QPLL1CLK,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_QPLL1FREQLOCK,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_QPLL1REFCLK,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RESETOVRD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RX8B10BEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXAFECFOKEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXBUFRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCDRFREQRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCDRHOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCDROVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCDRRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCHBONDEN,
  input  wire [(NUM_CHANNELS*  5)-1:0] GTHE4_CHANNEL_RXCHBONDI,
  input  wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_RXCHBONDLEVEL,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCHBONDMASTER,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCHBONDSLAVE,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCKCALRESET,
  input  wire [(NUM_CHANNELS*  7)-1:0] GTHE4_CHANNEL_RXCKCALSTART,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCOMMADETEN,
  input  wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_RXDFEAGCCTRL,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEAGCHOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEAGCOVRDEN,
  input  wire [(NUM_CHANNELS*  4)-1:0] GTHE4_CHANNEL_RXDFECFOKFCNUM,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFECFOKFEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFECFOKFPULSE,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFECFOKHOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFECFOKOVREN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEKHHOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEKHOVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFELFHOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFELFOVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFELPMRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP10HOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP10OVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP11HOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP11OVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP12HOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP12OVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP13HOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP13OVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP14HOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP14OVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP15HOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP15OVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP2HOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP2OVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP3HOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP3OVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP4HOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP4OVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP5HOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP5OVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP6HOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP6OVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP7HOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP7OVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP8HOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP8OVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP9HOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP9OVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEUTHOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEUTOVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEVPHOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEVPOVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEXYDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDLYBYPASS,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDLYEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDLYOVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDLYSRESET,
  input  wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_RXELECIDLEMODE,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXEQTRAINING,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXGEARBOXSLIP,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLATCLK,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMGCHOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMGCOVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMHFHOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMHFOVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMLFHOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMLFKLOVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMOSHOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMOSOVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXMCOMMAALIGNEN,
  input  wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_RXMONITORSEL,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXOOBRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXOSCALRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXOSHOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXOSOVRDEN,
  input  wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_RXOUTCLKSEL,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPCOMMAALIGNEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPCSRESET,
  input  wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_RXPD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPHALIGN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPHALIGNEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPHDLYPD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPHDLYRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPHOVRDEN,
  input  wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_RXPLLCLKSEL,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPMARESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPOLARITY,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPRBSCNTRESET,
  input  wire [(NUM_CHANNELS*  4)-1:0] GTHE4_CHANNEL_RXPRBSSEL,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPROGDIVRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXQPIEN,
  input  wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_RXRATE,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXRATEMODE,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSLIDE,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSLIPOUTCLK,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSLIPPMA,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSYNCALLIN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSYNCIN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSYNCMODE,
  input  wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_RXSYSCLKSEL,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXTERMINATION,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXUSERRDY,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXUSRCLK,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXUSRCLK2,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_SIGVALIDCLK,
  input  wire [(NUM_CHANNELS* 20)-1:0] GTHE4_CHANNEL_TSTIN,
  input  wire [(NUM_CHANNELS*  8)-1:0] GTHE4_CHANNEL_TX8B10BBYPASS,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TX8B10BEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXCOMINIT,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXCOMSAS,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXCOMWAKE,
  input  wire [(NUM_CHANNELS* 16)-1:0] GTHE4_CHANNEL_TXCTRL0,
  input  wire [(NUM_CHANNELS* 16)-1:0] GTHE4_CHANNEL_TXCTRL1,
  input  wire [(NUM_CHANNELS*  8)-1:0] GTHE4_CHANNEL_TXCTRL2,
  input  wire [(NUM_CHANNELS*128)-1:0] GTHE4_CHANNEL_TXDATA,
  input  wire [(NUM_CHANNELS*  8)-1:0] GTHE4_CHANNEL_TXDATAEXTENDRSVD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDCCFORCESTART,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDCCRESET,
  input  wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_TXDEEMPH,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDETECTRX,
  input  wire [(NUM_CHANNELS*  5)-1:0] GTHE4_CHANNEL_TXDIFFCTRL,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDLYBYPASS,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDLYEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDLYHOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDLYOVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDLYSRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDLYUPDOWN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXELECIDLE,
  input  wire [(NUM_CHANNELS*  6)-1:0] GTHE4_CHANNEL_TXHEADER,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXINHIBIT,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXLATCLK,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXLFPSTRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXLFPSU2LPEXIT,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXLFPSU3WAKE,
  input  wire [(NUM_CHANNELS*  7)-1:0] GTHE4_CHANNEL_TXMAINCURSOR,
  input  wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_TXMARGIN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXMUXDCDEXHOLD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXMUXDCDORWREN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXONESZEROS,
  input  wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_TXOUTCLKSEL,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPCSRESET,
  input  wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_TXPD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPDELECIDLEMODE,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPHALIGN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPHALIGNEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPHDLYPD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPHDLYRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPHDLYTSTCLK,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPHINIT,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPHOVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPIPPMEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPIPPMOVRDEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPIPPMPD,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPIPPMSEL,
  input  wire [(NUM_CHANNELS*  5)-1:0] GTHE4_CHANNEL_TXPIPPMSTEPSIZE,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPISOPD,
  input  wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_TXPLLCLKSEL,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPMARESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPOLARITY,
  input  wire [(NUM_CHANNELS*  5)-1:0] GTHE4_CHANNEL_TXPOSTCURSOR,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPRBSFORCEERR,
  input  wire [(NUM_CHANNELS*  4)-1:0] GTHE4_CHANNEL_TXPRBSSEL,
  input  wire [(NUM_CHANNELS*  5)-1:0] GTHE4_CHANNEL_TXPRECURSOR,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPROGDIVRESET,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXQPIBIASEN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXQPIWEAKPUP,
  input  wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_TXRATE,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXRATEMODE,
  input  wire [(NUM_CHANNELS*  7)-1:0] GTHE4_CHANNEL_TXSEQUENCE,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXSWING,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXSYNCALLIN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXSYNCIN,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXSYNCMODE,
  input  wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_TXSYSCLKSEL,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXUSERRDY,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXUSRCLK,
  input  wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXUSRCLK2,

  // primitive wrapper output ports which are driven by corresponding GTHE4_CHANNEL primitive output ports
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_BUFGTCE,
  output wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_BUFGTCEMASK,
  output wire [(NUM_CHANNELS*  9)-1:0] GTHE4_CHANNEL_BUFGTDIV,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_BUFGTRESET,
  output wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_BUFGTRSTMASK,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CPLLFBCLKLOST,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CPLLLOCK,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CPLLREFCLKLOST,
  output wire [(NUM_CHANNELS* 16)-1:0] GTHE4_CHANNEL_DMONITOROUT,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_DMONITOROUTCLK,
  output wire [(NUM_CHANNELS* 16)-1:0] GTHE4_CHANNEL_DRPDO,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_DRPRDY,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_EYESCANDATAERROR,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTHTXN,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTHTXP,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTPOWERGOOD,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTREFCLKMONITOR,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_PCIERATEGEN3,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_PCIERATEIDLE,
  output wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_PCIERATEQPLLPD,
  output wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_PCIERATEQPLLRESET,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_PCIESYNCTXSYNCDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_PCIEUSERGEN3RDY,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_PCIEUSERPHYSTATUSRST,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_PCIEUSERRATESTART,
  output wire [(NUM_CHANNELS* 16)-1:0] GTHE4_CHANNEL_PCSRSVDOUT,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_PHYSTATUS,
  output wire [(NUM_CHANNELS* 16)-1:0] GTHE4_CHANNEL_PINRSRVDAS,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_POWERPRESENT,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RESETEXCEPTION,
  output wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_RXBUFSTATUS,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXBYTEISALIGNED,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXBYTEREALIGN,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCDRLOCK,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCDRPHDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCHANBONDSEQ,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCHANISALIGNED,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCHANREALIGN,
  output wire [(NUM_CHANNELS*  5)-1:0] GTHE4_CHANNEL_RXCHBONDO,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCKCALDONE,
  output wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_RXCLKCORCNT,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCOMINITDET,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCOMMADET,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCOMSASDET,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCOMWAKEDET,
  output wire [(NUM_CHANNELS* 16)-1:0] GTHE4_CHANNEL_RXCTRL0,
  output wire [(NUM_CHANNELS* 16)-1:0] GTHE4_CHANNEL_RXCTRL1,
  output wire [(NUM_CHANNELS*  8)-1:0] GTHE4_CHANNEL_RXCTRL2,
  output wire [(NUM_CHANNELS*  8)-1:0] GTHE4_CHANNEL_RXCTRL3,
  output wire [(NUM_CHANNELS*128)-1:0] GTHE4_CHANNEL_RXDATA,
  output wire [(NUM_CHANNELS*  8)-1:0] GTHE4_CHANNEL_RXDATAEXTENDRSVD,
  output wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_RXDATAVALID,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDLYSRESETDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXELECIDLE,
  output wire [(NUM_CHANNELS*  6)-1:0] GTHE4_CHANNEL_RXHEADER,
  output wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_RXHEADERVALID,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLFPSTRESETDET,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLFPSU2LPEXITDET,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLFPSU3WAKEDET,
  output wire [(NUM_CHANNELS*  8)-1:0] GTHE4_CHANNEL_RXMONITOROUT,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXOSINTDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXOSINTSTARTED,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXOSINTSTROBEDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXOSINTSTROBESTARTED,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXOUTCLK,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXOUTCLKFABRIC,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXOUTCLKPCS,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPHALIGNDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPHALIGNERR,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPMARESETDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPRBSERR,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPRBSLOCKED,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPRGDIVRESETDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXQPISENN,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXQPISENP,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXRATEDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXRECCLKOUT,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXRESETDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSLIDERDY,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSLIPDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSLIPOUTCLKRDY,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSLIPPMARDY,
  output wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_RXSTARTOFSEQ,
  output wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_RXSTATUS,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSYNCDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSYNCOUT,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXVALID,
  output wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_TXBUFSTATUS,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXCOMFINISH,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDCCDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDLYSRESETDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXOUTCLK,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXOUTCLKFABRIC,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXOUTCLKPCS,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPHALIGNDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPHINITDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPMARESETDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPRGDIVRESETDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXQPISENN,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXQPISENP,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXRATEDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXRESETDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXSYNCDONE,
  output wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXSYNCOUT

);


  // -------------------------------------------------------------------------------------------------------------------
  // HDL generation of wiring and instances relating to GTHE4_CHANNEL primitive
  // -------------------------------------------------------------------------------------------------------------------

  generate if (NUM_CHANNELS > 0) begin : gthe4_channel_gen

    // for each GTHE4_CHANNEL primitive input port, declare a vector scaled to drive all generated instances
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CDRSTEPDIR_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CDRSTEPSQ_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CDRSTEPSX_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CFGRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CLKRSVD0_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CLKRSVD1_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CPLLFREQLOCK_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CPLLLOCKDETCLK_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CPLLLOCKEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CPLLPD_int;
    wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_CPLLREFCLKSEL_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_CPLLRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_DMONFIFORESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_DMONITORCLK_int;
    wire [(NUM_CHANNELS* 10)-1:0] GTHE4_CHANNEL_DRPADDR_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_DRPCLK_int;
    wire [(NUM_CHANNELS* 16)-1:0] GTHE4_CHANNEL_DRPDI_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_DRPEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_DRPRST_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_DRPWE_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_EYESCANRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_EYESCANTRIGGER_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_FREQOS_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTGREFCLK_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTHRXN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTHRXP_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTNORTHREFCLK0_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTNORTHREFCLK1_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTREFCLK0_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTREFCLK1_int;
    wire [(NUM_CHANNELS* 16)-1:0] GTHE4_CHANNEL_GTRSVD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTRXRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTRXRESETSEL_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTSOUTHREFCLK0_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTSOUTHREFCLK1_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTTXRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_GTTXRESETSEL_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_INCPCTRL_int;
    wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_LOOPBACK_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_PCIEEQRXEQADAPTDONE_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_PCIERSTIDLE_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_PCIERSTTXSYNCSTART_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_PCIEUSERRATEDONE_int;
    wire [(NUM_CHANNELS* 16)-1:0] GTHE4_CHANNEL_PCSRSVDIN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_QPLL0CLK_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_QPLL0FREQLOCK_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_QPLL0REFCLK_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_QPLL1CLK_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_QPLL1FREQLOCK_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_QPLL1REFCLK_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RESETOVRD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RX8B10BEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXAFECFOKEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXBUFRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCDRFREQRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCDRHOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCDROVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCDRRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCHBONDEN_int;
    wire [(NUM_CHANNELS*  5)-1:0] GTHE4_CHANNEL_RXCHBONDI_int;
    wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_RXCHBONDLEVEL_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCHBONDMASTER_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCHBONDSLAVE_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCKCALRESET_int;
    wire [(NUM_CHANNELS*  7)-1:0] GTHE4_CHANNEL_RXCKCALSTART_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXCOMMADETEN_int;
    wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_RXDFEAGCCTRL_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEAGCHOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEAGCOVRDEN_int;
    wire [(NUM_CHANNELS*  4)-1:0] GTHE4_CHANNEL_RXDFECFOKFCNUM_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFECFOKFEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFECFOKFPULSE_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFECFOKHOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFECFOKOVREN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEKHHOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEKHOVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFELFHOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFELFOVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFELPMRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP10HOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP10OVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP11HOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP11OVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP12HOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP12OVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP13HOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP13OVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP14HOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP14OVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP15HOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP15OVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP2HOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP2OVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP3HOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP3OVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP4HOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP4OVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP5HOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP5OVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP6HOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP6OVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP7HOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP7OVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP8HOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP8OVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP9HOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFETAP9OVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEUTHOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEUTOVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEVPHOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEVPOVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDFEXYDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDLYBYPASS_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDLYEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDLYOVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXDLYSRESET_int;
    wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_RXELECIDLEMODE_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXEQTRAINING_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXGEARBOXSLIP_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLATCLK_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMGCHOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMGCOVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMHFHOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMHFOVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMLFHOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMLFKLOVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMOSHOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXLPMOSOVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXMCOMMAALIGNEN_int;
    wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_RXMONITORSEL_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXOOBRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXOSCALRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXOSHOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXOSOVRDEN_int;
    wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_RXOUTCLKSEL_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPCOMMAALIGNEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPCSRESET_int;
    wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_RXPD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPHALIGN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPHALIGNEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPHDLYPD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPHDLYRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPHOVRDEN_int;
    wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_RXPLLCLKSEL_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPMARESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPOLARITY_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPRBSCNTRESET_int;
    wire [(NUM_CHANNELS*  4)-1:0] GTHE4_CHANNEL_RXPRBSSEL_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXPROGDIVRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXQPIEN_int;
    wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_RXRATE_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXRATEMODE_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSLIDE_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSLIPOUTCLK_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSLIPPMA_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSYNCALLIN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSYNCIN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXSYNCMODE_int;
    wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_RXSYSCLKSEL_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXTERMINATION_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXUSERRDY_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXUSRCLK_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_RXUSRCLK2_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_SIGVALIDCLK_int;
    wire [(NUM_CHANNELS* 20)-1:0] GTHE4_CHANNEL_TSTIN_int;
    wire [(NUM_CHANNELS*  8)-1:0] GTHE4_CHANNEL_TX8B10BBYPASS_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TX8B10BEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXCOMINIT_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXCOMSAS_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXCOMWAKE_int;
    wire [(NUM_CHANNELS* 16)-1:0] GTHE4_CHANNEL_TXCTRL0_int;
    wire [(NUM_CHANNELS* 16)-1:0] GTHE4_CHANNEL_TXCTRL1_int;
    wire [(NUM_CHANNELS*  8)-1:0] GTHE4_CHANNEL_TXCTRL2_int;
    wire [(NUM_CHANNELS*128)-1:0] GTHE4_CHANNEL_TXDATA_int;
    wire [(NUM_CHANNELS*  8)-1:0] GTHE4_CHANNEL_TXDATAEXTENDRSVD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDCCFORCESTART_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDCCRESET_int;
    wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_TXDEEMPH_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDETECTRX_int;
    wire [(NUM_CHANNELS*  5)-1:0] GTHE4_CHANNEL_TXDIFFCTRL_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDLYBYPASS_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDLYEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDLYHOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDLYOVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDLYSRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXDLYUPDOWN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXELECIDLE_int;
    wire [(NUM_CHANNELS*  6)-1:0] GTHE4_CHANNEL_TXHEADER_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXINHIBIT_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXLATCLK_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXLFPSTRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXLFPSU2LPEXIT_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXLFPSU3WAKE_int;
    wire [(NUM_CHANNELS*  7)-1:0] GTHE4_CHANNEL_TXMAINCURSOR_int;
    wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_TXMARGIN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXMUXDCDEXHOLD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXMUXDCDORWREN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXONESZEROS_int;
    wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_TXOUTCLKSEL_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPCSRESET_int;
    wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_TXPD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPDELECIDLEMODE_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPHALIGN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPHALIGNEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPHDLYPD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPHDLYRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPHDLYTSTCLK_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPHINIT_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPHOVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPIPPMEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPIPPMOVRDEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPIPPMPD_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPIPPMSEL_int;
    wire [(NUM_CHANNELS*  5)-1:0] GTHE4_CHANNEL_TXPIPPMSTEPSIZE_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPISOPD_int;
    wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_TXPLLCLKSEL_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPMARESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPOLARITY_int;
    wire [(NUM_CHANNELS*  5)-1:0] GTHE4_CHANNEL_TXPOSTCURSOR_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPRBSFORCEERR_int;
    wire [(NUM_CHANNELS*  4)-1:0] GTHE4_CHANNEL_TXPRBSSEL_int;
    wire [(NUM_CHANNELS*  5)-1:0] GTHE4_CHANNEL_TXPRECURSOR_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXPROGDIVRESET_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXQPIBIASEN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXQPIWEAKPUP_int;
    wire [(NUM_CHANNELS*  3)-1:0] GTHE4_CHANNEL_TXRATE_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXRATEMODE_int;
    wire [(NUM_CHANNELS*  7)-1:0] GTHE4_CHANNEL_TXSEQUENCE_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXSWING_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXSYNCALLIN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXSYNCIN_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXSYNCMODE_int;
    wire [(NUM_CHANNELS*  2)-1:0] GTHE4_CHANNEL_TXSYSCLKSEL_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXUSERRDY_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXUSRCLK_int;
    wire [(NUM_CHANNELS*  1)-1:0] GTHE4_CHANNEL_TXUSRCLK2_int;

    // assign each vector either the corresponding tie-off value or the corresponding input port, scaled appropriately
    if (GTHE4_CHANNEL_CDRSTEPDIR_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_CDRSTEPDIR_int = {NUM_CHANNELS{GTHE4_CHANNEL_CDRSTEPDIR_VAL}};
    else
      assign GTHE4_CHANNEL_CDRSTEPDIR_int = {NUM_CHANNELS{GTHE4_CHANNEL_CDRSTEPDIR}};

    if (GTHE4_CHANNEL_CDRSTEPSQ_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_CDRSTEPSQ_int = {NUM_CHANNELS{GTHE4_CHANNEL_CDRSTEPSQ_VAL}};
    else
      assign GTHE4_CHANNEL_CDRSTEPSQ_int = {NUM_CHANNELS{GTHE4_CHANNEL_CDRSTEPSQ}};

    if (GTHE4_CHANNEL_CDRSTEPSX_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_CDRSTEPSX_int = {NUM_CHANNELS{GTHE4_CHANNEL_CDRSTEPSX_VAL}};
    else
      assign GTHE4_CHANNEL_CDRSTEPSX_int = {NUM_CHANNELS{GTHE4_CHANNEL_CDRSTEPSX}};

    if (GTHE4_CHANNEL_CFGRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_CFGRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_CFGRESET_VAL}};
    else
      assign GTHE4_CHANNEL_CFGRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_CFGRESET}};

    if (GTHE4_CHANNEL_CLKRSVD0_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_CLKRSVD0_int = {NUM_CHANNELS{GTHE4_CHANNEL_CLKRSVD0_VAL}};
    else
      assign GTHE4_CHANNEL_CLKRSVD0_int = {NUM_CHANNELS{GTHE4_CHANNEL_CLKRSVD0}};

    if (GTHE4_CHANNEL_CLKRSVD1_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_CLKRSVD1_int = {NUM_CHANNELS{GTHE4_CHANNEL_CLKRSVD1_VAL}};
    else
      assign GTHE4_CHANNEL_CLKRSVD1_int = {NUM_CHANNELS{GTHE4_CHANNEL_CLKRSVD1}};

    if (GTHE4_CHANNEL_CPLLFREQLOCK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_CPLLFREQLOCK_int = {NUM_CHANNELS{GTHE4_CHANNEL_CPLLFREQLOCK_VAL}};
    else
      assign GTHE4_CHANNEL_CPLLFREQLOCK_int = {NUM_CHANNELS{GTHE4_CHANNEL_CPLLFREQLOCK}};

    if (GTHE4_CHANNEL_CPLLLOCKDETCLK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_CPLLLOCKDETCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_CPLLLOCKDETCLK_VAL}};
    else
      assign GTHE4_CHANNEL_CPLLLOCKDETCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_CPLLLOCKDETCLK}};

    if (GTHE4_CHANNEL_CPLLLOCKEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_CPLLLOCKEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_CPLLLOCKEN_VAL}};
    else
      assign GTHE4_CHANNEL_CPLLLOCKEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_CPLLLOCKEN}};

    if (GTHE4_CHANNEL_CPLLPD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_CPLLPD_int = {NUM_CHANNELS{GTHE4_CHANNEL_CPLLPD_VAL}};
    else
      assign GTHE4_CHANNEL_CPLLPD_int = {NUM_CHANNELS{GTHE4_CHANNEL_CPLLPD}};

    if (GTHE4_CHANNEL_CPLLREFCLKSEL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_CPLLREFCLKSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_CPLLREFCLKSEL_VAL}};
    else
      assign GTHE4_CHANNEL_CPLLREFCLKSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_CPLLREFCLKSEL}};

    if (GTHE4_CHANNEL_CPLLRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_CPLLRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_CPLLRESET_VAL}};
    else
      assign GTHE4_CHANNEL_CPLLRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_CPLLRESET}};

    if (GTHE4_CHANNEL_DMONFIFORESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_DMONFIFORESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_DMONFIFORESET_VAL}};
    else
      assign GTHE4_CHANNEL_DMONFIFORESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_DMONFIFORESET}};

    if (GTHE4_CHANNEL_DMONITORCLK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_DMONITORCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_DMONITORCLK_VAL}};
    else
      assign GTHE4_CHANNEL_DMONITORCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_DMONITORCLK}};

    if (GTHE4_CHANNEL_DRPADDR_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_DRPADDR_int = {NUM_CHANNELS{GTHE4_CHANNEL_DRPADDR_VAL}};
    else
      assign GTHE4_CHANNEL_DRPADDR_int = {NUM_CHANNELS{GTHE4_CHANNEL_DRPADDR}};

    if (GTHE4_CHANNEL_DRPCLK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_DRPCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_DRPCLK_VAL}};
    else
      assign GTHE4_CHANNEL_DRPCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_DRPCLK}};

    if (GTHE4_CHANNEL_DRPDI_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_DRPDI_int = {NUM_CHANNELS{GTHE4_CHANNEL_DRPDI_VAL}};
    else
      assign GTHE4_CHANNEL_DRPDI_int = {NUM_CHANNELS{GTHE4_CHANNEL_DRPDI}};

    if (GTHE4_CHANNEL_DRPEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_DRPEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_DRPEN_VAL}};
    else
      assign GTHE4_CHANNEL_DRPEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_DRPEN}};

    if (GTHE4_CHANNEL_DRPRST_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_DRPRST_int = {NUM_CHANNELS{GTHE4_CHANNEL_DRPRST_VAL}};
    else
      assign GTHE4_CHANNEL_DRPRST_int = {NUM_CHANNELS{GTHE4_CHANNEL_DRPRST}};

    if (GTHE4_CHANNEL_DRPWE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_DRPWE_int = {NUM_CHANNELS{GTHE4_CHANNEL_DRPWE_VAL}};
    else
      assign GTHE4_CHANNEL_DRPWE_int = {NUM_CHANNELS{GTHE4_CHANNEL_DRPWE}};

    if (GTHE4_CHANNEL_EYESCANRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_EYESCANRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_EYESCANRESET_VAL}};
    else
      assign GTHE4_CHANNEL_EYESCANRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_EYESCANRESET}};

    if (GTHE4_CHANNEL_EYESCANTRIGGER_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_EYESCANTRIGGER_int = {NUM_CHANNELS{GTHE4_CHANNEL_EYESCANTRIGGER_VAL}};
    else
      assign GTHE4_CHANNEL_EYESCANTRIGGER_int = {NUM_CHANNELS{GTHE4_CHANNEL_EYESCANTRIGGER}};

    if (GTHE4_CHANNEL_FREQOS_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_FREQOS_int = {NUM_CHANNELS{GTHE4_CHANNEL_FREQOS_VAL}};
    else
      assign GTHE4_CHANNEL_FREQOS_int = {NUM_CHANNELS{GTHE4_CHANNEL_FREQOS}};

    if (GTHE4_CHANNEL_GTGREFCLK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_GTGREFCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTGREFCLK_VAL}};
    else
      assign GTHE4_CHANNEL_GTGREFCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTGREFCLK}};

    if (GTHE4_CHANNEL_GTHRXN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_GTHRXN_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTHRXN_VAL}};
    else
      assign GTHE4_CHANNEL_GTHRXN_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTHRXN}};

    if (GTHE4_CHANNEL_GTHRXP_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_GTHRXP_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTHRXP_VAL}};
    else
      assign GTHE4_CHANNEL_GTHRXP_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTHRXP}};

    if (GTHE4_CHANNEL_GTNORTHREFCLK0_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_GTNORTHREFCLK0_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTNORTHREFCLK0_VAL}};
    else
      assign GTHE4_CHANNEL_GTNORTHREFCLK0_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTNORTHREFCLK0}};

    if (GTHE4_CHANNEL_GTNORTHREFCLK1_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_GTNORTHREFCLK1_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTNORTHREFCLK1_VAL}};
    else
      assign GTHE4_CHANNEL_GTNORTHREFCLK1_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTNORTHREFCLK1}};

    if (GTHE4_CHANNEL_GTREFCLK0_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_GTREFCLK0_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTREFCLK0_VAL}};
    else
      assign GTHE4_CHANNEL_GTREFCLK0_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTREFCLK0}};

    if (GTHE4_CHANNEL_GTREFCLK1_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_GTREFCLK1_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTREFCLK1_VAL}};
    else
      assign GTHE4_CHANNEL_GTREFCLK1_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTREFCLK1}};

    if (GTHE4_CHANNEL_GTRSVD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_GTRSVD_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTRSVD_VAL}};
    else
      assign GTHE4_CHANNEL_GTRSVD_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTRSVD}};

    if (GTHE4_CHANNEL_GTRXRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_GTRXRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTRXRESET_VAL}};
    else
      assign GTHE4_CHANNEL_GTRXRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTRXRESET}};

    if (GTHE4_CHANNEL_GTRXRESETSEL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_GTRXRESETSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTRXRESETSEL_VAL}};
    else
      assign GTHE4_CHANNEL_GTRXRESETSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTRXRESETSEL}};

    if (GTHE4_CHANNEL_GTSOUTHREFCLK0_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_GTSOUTHREFCLK0_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTSOUTHREFCLK0_VAL}};
    else
      assign GTHE4_CHANNEL_GTSOUTHREFCLK0_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTSOUTHREFCLK0}};

    if (GTHE4_CHANNEL_GTSOUTHREFCLK1_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_GTSOUTHREFCLK1_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTSOUTHREFCLK1_VAL}};
    else
      assign GTHE4_CHANNEL_GTSOUTHREFCLK1_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTSOUTHREFCLK1}};

    if (GTHE4_CHANNEL_GTTXRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_GTTXRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTTXRESET_VAL}};
    else
      assign GTHE4_CHANNEL_GTTXRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTTXRESET}};

    if (GTHE4_CHANNEL_GTTXRESETSEL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_GTTXRESETSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTTXRESETSEL_VAL}};
    else
      assign GTHE4_CHANNEL_GTTXRESETSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_GTTXRESETSEL}};

    if (GTHE4_CHANNEL_INCPCTRL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_INCPCTRL_int = {NUM_CHANNELS{GTHE4_CHANNEL_INCPCTRL_VAL}};
    else
      assign GTHE4_CHANNEL_INCPCTRL_int = {NUM_CHANNELS{GTHE4_CHANNEL_INCPCTRL}};

    if (GTHE4_CHANNEL_LOOPBACK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_LOOPBACK_int = {NUM_CHANNELS{GTHE4_CHANNEL_LOOPBACK_VAL}};
    else
      assign GTHE4_CHANNEL_LOOPBACK_int = {NUM_CHANNELS{GTHE4_CHANNEL_LOOPBACK}};

    if (GTHE4_CHANNEL_PCIEEQRXEQADAPTDONE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_PCIEEQRXEQADAPTDONE_int = {NUM_CHANNELS{GTHE4_CHANNEL_PCIEEQRXEQADAPTDONE_VAL}};
    else
      assign GTHE4_CHANNEL_PCIEEQRXEQADAPTDONE_int = {NUM_CHANNELS{GTHE4_CHANNEL_PCIEEQRXEQADAPTDONE}};

    if (GTHE4_CHANNEL_PCIERSTIDLE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_PCIERSTIDLE_int = {NUM_CHANNELS{GTHE4_CHANNEL_PCIERSTIDLE_VAL}};
    else
      assign GTHE4_CHANNEL_PCIERSTIDLE_int = {NUM_CHANNELS{GTHE4_CHANNEL_PCIERSTIDLE}};

    if (GTHE4_CHANNEL_PCIERSTTXSYNCSTART_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_PCIERSTTXSYNCSTART_int = {NUM_CHANNELS{GTHE4_CHANNEL_PCIERSTTXSYNCSTART_VAL}};
    else
      assign GTHE4_CHANNEL_PCIERSTTXSYNCSTART_int = {NUM_CHANNELS{GTHE4_CHANNEL_PCIERSTTXSYNCSTART}};

    if (GTHE4_CHANNEL_PCIEUSERRATEDONE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_PCIEUSERRATEDONE_int = {NUM_CHANNELS{GTHE4_CHANNEL_PCIEUSERRATEDONE_VAL}};
    else
      assign GTHE4_CHANNEL_PCIEUSERRATEDONE_int = {NUM_CHANNELS{GTHE4_CHANNEL_PCIEUSERRATEDONE}};

    if (GTHE4_CHANNEL_PCSRSVDIN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_PCSRSVDIN_int = {NUM_CHANNELS{GTHE4_CHANNEL_PCSRSVDIN_VAL}};
    else
      assign GTHE4_CHANNEL_PCSRSVDIN_int = {NUM_CHANNELS{GTHE4_CHANNEL_PCSRSVDIN}};

    if (GTHE4_CHANNEL_QPLL0CLK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_QPLL0CLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_QPLL0CLK_VAL}};
    else
      assign GTHE4_CHANNEL_QPLL0CLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_QPLL0CLK}};

    if (GTHE4_CHANNEL_QPLL0FREQLOCK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_QPLL0FREQLOCK_int = {NUM_CHANNELS{GTHE4_CHANNEL_QPLL0FREQLOCK_VAL}};
    else
      assign GTHE4_CHANNEL_QPLL0FREQLOCK_int = {NUM_CHANNELS{GTHE4_CHANNEL_QPLL0FREQLOCK}};

    if (GTHE4_CHANNEL_QPLL0REFCLK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_QPLL0REFCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_QPLL0REFCLK_VAL}};
    else
      assign GTHE4_CHANNEL_QPLL0REFCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_QPLL0REFCLK}};

    if (GTHE4_CHANNEL_QPLL1CLK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_QPLL1CLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_QPLL1CLK_VAL}};
    else
      assign GTHE4_CHANNEL_QPLL1CLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_QPLL1CLK}};

    if (GTHE4_CHANNEL_QPLL1FREQLOCK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_QPLL1FREQLOCK_int = {NUM_CHANNELS{GTHE4_CHANNEL_QPLL1FREQLOCK_VAL}};
    else
      assign GTHE4_CHANNEL_QPLL1FREQLOCK_int = {NUM_CHANNELS{GTHE4_CHANNEL_QPLL1FREQLOCK}};

    if (GTHE4_CHANNEL_QPLL1REFCLK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_QPLL1REFCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_QPLL1REFCLK_VAL}};
    else
      assign GTHE4_CHANNEL_QPLL1REFCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_QPLL1REFCLK}};

    if (GTHE4_CHANNEL_RESETOVRD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RESETOVRD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RESETOVRD_VAL}};
    else
      assign GTHE4_CHANNEL_RESETOVRD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RESETOVRD}};

    if (GTHE4_CHANNEL_RX8B10BEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RX8B10BEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RX8B10BEN_VAL}};
    else
      assign GTHE4_CHANNEL_RX8B10BEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RX8B10BEN}};

    if (GTHE4_CHANNEL_RXAFECFOKEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXAFECFOKEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXAFECFOKEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXAFECFOKEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXAFECFOKEN}};

    if (GTHE4_CHANNEL_RXBUFRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXBUFRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXBUFRESET_VAL}};
    else
      assign GTHE4_CHANNEL_RXBUFRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXBUFRESET}};

    if (GTHE4_CHANNEL_RXCDRFREQRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXCDRFREQRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCDRFREQRESET_VAL}};
    else
      assign GTHE4_CHANNEL_RXCDRFREQRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCDRFREQRESET}};

    if (GTHE4_CHANNEL_RXCDRHOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXCDRHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCDRHOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXCDRHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCDRHOLD}};

    if (GTHE4_CHANNEL_RXCDROVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXCDROVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCDROVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXCDROVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCDROVRDEN}};

    if (GTHE4_CHANNEL_RXCDRRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXCDRRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCDRRESET_VAL}};
    else
      assign GTHE4_CHANNEL_RXCDRRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCDRRESET}};

    if (GTHE4_CHANNEL_RXCHBONDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXCHBONDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCHBONDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXCHBONDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCHBONDEN}};

    if (GTHE4_CHANNEL_RXCHBONDI_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXCHBONDI_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCHBONDI_VAL}};
    else
      assign GTHE4_CHANNEL_RXCHBONDI_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCHBONDI}};

    if (GTHE4_CHANNEL_RXCHBONDLEVEL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXCHBONDLEVEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCHBONDLEVEL_VAL}};
    else
      assign GTHE4_CHANNEL_RXCHBONDLEVEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCHBONDLEVEL}};

    if (GTHE4_CHANNEL_RXCHBONDMASTER_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXCHBONDMASTER_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCHBONDMASTER_VAL}};
    else
      assign GTHE4_CHANNEL_RXCHBONDMASTER_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCHBONDMASTER}};

    if (GTHE4_CHANNEL_RXCHBONDSLAVE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXCHBONDSLAVE_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCHBONDSLAVE_VAL}};
    else
      assign GTHE4_CHANNEL_RXCHBONDSLAVE_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCHBONDSLAVE}};

    if (GTHE4_CHANNEL_RXCKCALRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXCKCALRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCKCALRESET_VAL}};
    else
      assign GTHE4_CHANNEL_RXCKCALRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCKCALRESET}};

    if (GTHE4_CHANNEL_RXCKCALSTART_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXCKCALSTART_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCKCALSTART_VAL}};
    else
      assign GTHE4_CHANNEL_RXCKCALSTART_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCKCALSTART}};

    if (GTHE4_CHANNEL_RXCOMMADETEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXCOMMADETEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCOMMADETEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXCOMMADETEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXCOMMADETEN}};

    if (GTHE4_CHANNEL_RXDFEAGCCTRL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFEAGCCTRL_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEAGCCTRL_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFEAGCCTRL_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEAGCCTRL}};

    if (GTHE4_CHANNEL_RXDFEAGCHOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFEAGCHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEAGCHOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFEAGCHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEAGCHOLD}};

    if (GTHE4_CHANNEL_RXDFEAGCOVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFEAGCOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEAGCOVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFEAGCOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEAGCOVRDEN}};

    if (GTHE4_CHANNEL_RXDFECFOKFCNUM_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFECFOKFCNUM_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFECFOKFCNUM_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFECFOKFCNUM_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFECFOKFCNUM}};

    if (GTHE4_CHANNEL_RXDFECFOKFEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFECFOKFEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFECFOKFEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFECFOKFEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFECFOKFEN}};

    if (GTHE4_CHANNEL_RXDFECFOKFPULSE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFECFOKFPULSE_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFECFOKFPULSE_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFECFOKFPULSE_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFECFOKFPULSE}};

    if (GTHE4_CHANNEL_RXDFECFOKHOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFECFOKHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFECFOKHOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFECFOKHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFECFOKHOLD}};

    if (GTHE4_CHANNEL_RXDFECFOKOVREN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFECFOKOVREN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFECFOKOVREN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFECFOKOVREN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFECFOKOVREN}};

    if (GTHE4_CHANNEL_RXDFEKHHOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFEKHHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEKHHOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFEKHHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEKHHOLD}};

    if (GTHE4_CHANNEL_RXDFEKHOVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFEKHOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEKHOVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFEKHOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEKHOVRDEN}};

    if (GTHE4_CHANNEL_RXDFELFHOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFELFHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFELFHOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFELFHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFELFHOLD}};

    if (GTHE4_CHANNEL_RXDFELFOVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFELFOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFELFOVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFELFOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFELFOVRDEN}};

    if (GTHE4_CHANNEL_RXDFELPMRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFELPMRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFELPMRESET_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFELPMRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFELPMRESET}};

    if (GTHE4_CHANNEL_RXDFETAP10HOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP10HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP10HOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP10HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP10HOLD}};

    if (GTHE4_CHANNEL_RXDFETAP10OVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP10OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP10OVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP10OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP10OVRDEN}};

    if (GTHE4_CHANNEL_RXDFETAP11HOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP11HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP11HOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP11HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP11HOLD}};

    if (GTHE4_CHANNEL_RXDFETAP11OVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP11OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP11OVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP11OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP11OVRDEN}};

    if (GTHE4_CHANNEL_RXDFETAP12HOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP12HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP12HOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP12HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP12HOLD}};

    if (GTHE4_CHANNEL_RXDFETAP12OVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP12OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP12OVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP12OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP12OVRDEN}};

    if (GTHE4_CHANNEL_RXDFETAP13HOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP13HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP13HOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP13HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP13HOLD}};

    if (GTHE4_CHANNEL_RXDFETAP13OVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP13OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP13OVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP13OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP13OVRDEN}};

    if (GTHE4_CHANNEL_RXDFETAP14HOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP14HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP14HOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP14HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP14HOLD}};

    if (GTHE4_CHANNEL_RXDFETAP14OVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP14OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP14OVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP14OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP14OVRDEN}};

    if (GTHE4_CHANNEL_RXDFETAP15HOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP15HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP15HOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP15HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP15HOLD}};

    if (GTHE4_CHANNEL_RXDFETAP15OVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP15OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP15OVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP15OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP15OVRDEN}};

    if (GTHE4_CHANNEL_RXDFETAP2HOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP2HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP2HOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP2HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP2HOLD}};

    if (GTHE4_CHANNEL_RXDFETAP2OVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP2OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP2OVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP2OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP2OVRDEN}};

    if (GTHE4_CHANNEL_RXDFETAP3HOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP3HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP3HOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP3HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP3HOLD}};

    if (GTHE4_CHANNEL_RXDFETAP3OVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP3OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP3OVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP3OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP3OVRDEN}};

    if (GTHE4_CHANNEL_RXDFETAP4HOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP4HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP4HOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP4HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP4HOLD}};

    if (GTHE4_CHANNEL_RXDFETAP4OVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP4OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP4OVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP4OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP4OVRDEN}};

    if (GTHE4_CHANNEL_RXDFETAP5HOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP5HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP5HOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP5HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP5HOLD}};

    if (GTHE4_CHANNEL_RXDFETAP5OVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP5OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP5OVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP5OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP5OVRDEN}};

    if (GTHE4_CHANNEL_RXDFETAP6HOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP6HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP6HOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP6HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP6HOLD}};

    if (GTHE4_CHANNEL_RXDFETAP6OVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP6OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP6OVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP6OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP6OVRDEN}};

    if (GTHE4_CHANNEL_RXDFETAP7HOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP7HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP7HOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP7HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP7HOLD}};

    if (GTHE4_CHANNEL_RXDFETAP7OVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP7OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP7OVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP7OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP7OVRDEN}};

    if (GTHE4_CHANNEL_RXDFETAP8HOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP8HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP8HOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP8HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP8HOLD}};

    if (GTHE4_CHANNEL_RXDFETAP8OVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP8OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP8OVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP8OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP8OVRDEN}};

    if (GTHE4_CHANNEL_RXDFETAP9HOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP9HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP9HOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP9HOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP9HOLD}};

    if (GTHE4_CHANNEL_RXDFETAP9OVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFETAP9OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP9OVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFETAP9OVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFETAP9OVRDEN}};

    if (GTHE4_CHANNEL_RXDFEUTHOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFEUTHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEUTHOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFEUTHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEUTHOLD}};

    if (GTHE4_CHANNEL_RXDFEUTOVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFEUTOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEUTOVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFEUTOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEUTOVRDEN}};

    if (GTHE4_CHANNEL_RXDFEVPHOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFEVPHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEVPHOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFEVPHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEVPHOLD}};

    if (GTHE4_CHANNEL_RXDFEVPOVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFEVPOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEVPOVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFEVPOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEVPOVRDEN}};

    if (GTHE4_CHANNEL_RXDFEXYDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDFEXYDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEXYDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDFEXYDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDFEXYDEN}};

    if (GTHE4_CHANNEL_RXDLYBYPASS_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDLYBYPASS_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDLYBYPASS_VAL}};
    else
      assign GTHE4_CHANNEL_RXDLYBYPASS_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDLYBYPASS}};

    if (GTHE4_CHANNEL_RXDLYEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDLYEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDLYEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDLYEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDLYEN}};

    if (GTHE4_CHANNEL_RXDLYOVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDLYOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDLYOVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXDLYOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDLYOVRDEN}};

    if (GTHE4_CHANNEL_RXDLYSRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXDLYSRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDLYSRESET_VAL}};
    else
      assign GTHE4_CHANNEL_RXDLYSRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXDLYSRESET}};

    if (GTHE4_CHANNEL_RXELECIDLEMODE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXELECIDLEMODE_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXELECIDLEMODE_VAL}};
    else
      assign GTHE4_CHANNEL_RXELECIDLEMODE_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXELECIDLEMODE}};

    if (GTHE4_CHANNEL_RXEQTRAINING_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXEQTRAINING_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXEQTRAINING_VAL}};
    else
      assign GTHE4_CHANNEL_RXEQTRAINING_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXEQTRAINING}};

    if (GTHE4_CHANNEL_RXGEARBOXSLIP_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXGEARBOXSLIP_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXGEARBOXSLIP_VAL}};
    else
      assign GTHE4_CHANNEL_RXGEARBOXSLIP_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXGEARBOXSLIP}};

    if (GTHE4_CHANNEL_RXLATCLK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXLATCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLATCLK_VAL}};
    else
      assign GTHE4_CHANNEL_RXLATCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLATCLK}};

    if (GTHE4_CHANNEL_RXLPMEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXLPMEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXLPMEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMEN}};

    if (GTHE4_CHANNEL_RXLPMGCHOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXLPMGCHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMGCHOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXLPMGCHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMGCHOLD}};

    if (GTHE4_CHANNEL_RXLPMGCOVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXLPMGCOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMGCOVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXLPMGCOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMGCOVRDEN}};

    if (GTHE4_CHANNEL_RXLPMHFHOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXLPMHFHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMHFHOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXLPMHFHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMHFHOLD}};

    if (GTHE4_CHANNEL_RXLPMHFOVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXLPMHFOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMHFOVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXLPMHFOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMHFOVRDEN}};

    if (GTHE4_CHANNEL_RXLPMLFHOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXLPMLFHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMLFHOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXLPMLFHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMLFHOLD}};

    if (GTHE4_CHANNEL_RXLPMLFKLOVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXLPMLFKLOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMLFKLOVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXLPMLFKLOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMLFKLOVRDEN}};

    if (GTHE4_CHANNEL_RXLPMOSHOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXLPMOSHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMOSHOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXLPMOSHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMOSHOLD}};

    if (GTHE4_CHANNEL_RXLPMOSOVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXLPMOSOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMOSOVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXLPMOSOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXLPMOSOVRDEN}};

    if (GTHE4_CHANNEL_RXMCOMMAALIGNEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXMCOMMAALIGNEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXMCOMMAALIGNEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXMCOMMAALIGNEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXMCOMMAALIGNEN}};

    if (GTHE4_CHANNEL_RXMONITORSEL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXMONITORSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXMONITORSEL_VAL}};
    else
      assign GTHE4_CHANNEL_RXMONITORSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXMONITORSEL}};

    if (GTHE4_CHANNEL_RXOOBRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXOOBRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXOOBRESET_VAL}};
    else
      assign GTHE4_CHANNEL_RXOOBRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXOOBRESET}};

    if (GTHE4_CHANNEL_RXOSCALRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXOSCALRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXOSCALRESET_VAL}};
    else
      assign GTHE4_CHANNEL_RXOSCALRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXOSCALRESET}};

    if (GTHE4_CHANNEL_RXOSHOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXOSHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXOSHOLD_VAL}};
    else
      assign GTHE4_CHANNEL_RXOSHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXOSHOLD}};

    if (GTHE4_CHANNEL_RXOSOVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXOSOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXOSOVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXOSOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXOSOVRDEN}};

    if (GTHE4_CHANNEL_RXOUTCLKSEL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXOUTCLKSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXOUTCLKSEL_VAL}};
    else
      assign GTHE4_CHANNEL_RXOUTCLKSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXOUTCLKSEL}};

    if (GTHE4_CHANNEL_RXPCOMMAALIGNEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXPCOMMAALIGNEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPCOMMAALIGNEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXPCOMMAALIGNEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPCOMMAALIGNEN}};

    if (GTHE4_CHANNEL_RXPCSRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXPCSRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPCSRESET_VAL}};
    else
      assign GTHE4_CHANNEL_RXPCSRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPCSRESET}};

    if (GTHE4_CHANNEL_RXPD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXPD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPD_VAL}};
    else
      assign GTHE4_CHANNEL_RXPD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPD}};

    if (GTHE4_CHANNEL_RXPHALIGN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXPHALIGN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPHALIGN_VAL}};
    else
      assign GTHE4_CHANNEL_RXPHALIGN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPHALIGN}};

    if (GTHE4_CHANNEL_RXPHALIGNEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXPHALIGNEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPHALIGNEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXPHALIGNEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPHALIGNEN}};

    if (GTHE4_CHANNEL_RXPHDLYPD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXPHDLYPD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPHDLYPD_VAL}};
    else
      assign GTHE4_CHANNEL_RXPHDLYPD_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPHDLYPD}};

    if (GTHE4_CHANNEL_RXPHDLYRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXPHDLYRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPHDLYRESET_VAL}};
    else
      assign GTHE4_CHANNEL_RXPHDLYRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPHDLYRESET}};

    if (GTHE4_CHANNEL_RXPHOVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXPHOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPHOVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXPHOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPHOVRDEN}};

    if (GTHE4_CHANNEL_RXPLLCLKSEL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXPLLCLKSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPLLCLKSEL_VAL}};
    else
      assign GTHE4_CHANNEL_RXPLLCLKSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPLLCLKSEL}};

    if (GTHE4_CHANNEL_RXPMARESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXPMARESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPMARESET_VAL}};
    else
      assign GTHE4_CHANNEL_RXPMARESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPMARESET}};

    if (GTHE4_CHANNEL_RXPOLARITY_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXPOLARITY_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPOLARITY_VAL}};
    else
      assign GTHE4_CHANNEL_RXPOLARITY_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPOLARITY}};

    if (GTHE4_CHANNEL_RXPRBSCNTRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXPRBSCNTRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPRBSCNTRESET_VAL}};
    else
      assign GTHE4_CHANNEL_RXPRBSCNTRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPRBSCNTRESET}};

    if (GTHE4_CHANNEL_RXPRBSSEL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXPRBSSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPRBSSEL_VAL}};
    else
      assign GTHE4_CHANNEL_RXPRBSSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPRBSSEL}};

    if (GTHE4_CHANNEL_RXPROGDIVRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXPROGDIVRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPROGDIVRESET_VAL}};
    else
      assign GTHE4_CHANNEL_RXPROGDIVRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXPROGDIVRESET}};

    if (GTHE4_CHANNEL_RXQPIEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXQPIEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXQPIEN_VAL}};
    else
      assign GTHE4_CHANNEL_RXQPIEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXQPIEN}};

    if (GTHE4_CHANNEL_RXRATE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXRATE_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXRATE_VAL}};
    else
      assign GTHE4_CHANNEL_RXRATE_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXRATE}};

    if (GTHE4_CHANNEL_RXRATEMODE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXRATEMODE_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXRATEMODE_VAL}};
    else
      assign GTHE4_CHANNEL_RXRATEMODE_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXRATEMODE}};

    if (GTHE4_CHANNEL_RXSLIDE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXSLIDE_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXSLIDE_VAL}};
    else
      assign GTHE4_CHANNEL_RXSLIDE_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXSLIDE}};

    if (GTHE4_CHANNEL_RXSLIPOUTCLK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXSLIPOUTCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXSLIPOUTCLK_VAL}};
    else
      assign GTHE4_CHANNEL_RXSLIPOUTCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXSLIPOUTCLK}};

    if (GTHE4_CHANNEL_RXSLIPPMA_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXSLIPPMA_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXSLIPPMA_VAL}};
    else
      assign GTHE4_CHANNEL_RXSLIPPMA_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXSLIPPMA}};

    if (GTHE4_CHANNEL_RXSYNCALLIN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXSYNCALLIN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXSYNCALLIN_VAL}};
    else
      assign GTHE4_CHANNEL_RXSYNCALLIN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXSYNCALLIN}};

    if (GTHE4_CHANNEL_RXSYNCIN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXSYNCIN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXSYNCIN_VAL}};
    else
      assign GTHE4_CHANNEL_RXSYNCIN_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXSYNCIN}};

    if (GTHE4_CHANNEL_RXSYNCMODE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXSYNCMODE_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXSYNCMODE_VAL}};
    else
      assign GTHE4_CHANNEL_RXSYNCMODE_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXSYNCMODE}};

    if (GTHE4_CHANNEL_RXSYSCLKSEL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXSYSCLKSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXSYSCLKSEL_VAL}};
    else
      assign GTHE4_CHANNEL_RXSYSCLKSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXSYSCLKSEL}};

    if (GTHE4_CHANNEL_RXTERMINATION_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXTERMINATION_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXTERMINATION_VAL}};
    else
      assign GTHE4_CHANNEL_RXTERMINATION_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXTERMINATION}};

    if (GTHE4_CHANNEL_RXUSERRDY_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXUSERRDY_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXUSERRDY_VAL}};
    else
      assign GTHE4_CHANNEL_RXUSERRDY_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXUSERRDY}};

    if (GTHE4_CHANNEL_RXUSRCLK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXUSRCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXUSRCLK_VAL}};
    else
      assign GTHE4_CHANNEL_RXUSRCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXUSRCLK}};

    if (GTHE4_CHANNEL_RXUSRCLK2_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_RXUSRCLK2_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXUSRCLK2_VAL}};
    else
      assign GTHE4_CHANNEL_RXUSRCLK2_int = {NUM_CHANNELS{GTHE4_CHANNEL_RXUSRCLK2}};

    if (GTHE4_CHANNEL_SIGVALIDCLK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_SIGVALIDCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_SIGVALIDCLK_VAL}};
    else
      assign GTHE4_CHANNEL_SIGVALIDCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_SIGVALIDCLK}};

    if (GTHE4_CHANNEL_TSTIN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TSTIN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TSTIN_VAL}};
    else
      assign GTHE4_CHANNEL_TSTIN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TSTIN}};

    if (GTHE4_CHANNEL_TX8B10BBYPASS_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TX8B10BBYPASS_int = {NUM_CHANNELS{GTHE4_CHANNEL_TX8B10BBYPASS_VAL}};
    else
      assign GTHE4_CHANNEL_TX8B10BBYPASS_int = {NUM_CHANNELS{GTHE4_CHANNEL_TX8B10BBYPASS}};

    if (GTHE4_CHANNEL_TX8B10BEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TX8B10BEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TX8B10BEN_VAL}};
    else
      assign GTHE4_CHANNEL_TX8B10BEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TX8B10BEN}};

    if (GTHE4_CHANNEL_TXCOMINIT_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXCOMINIT_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXCOMINIT_VAL}};
    else
      assign GTHE4_CHANNEL_TXCOMINIT_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXCOMINIT}};

    if (GTHE4_CHANNEL_TXCOMSAS_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXCOMSAS_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXCOMSAS_VAL}};
    else
      assign GTHE4_CHANNEL_TXCOMSAS_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXCOMSAS}};

    if (GTHE4_CHANNEL_TXCOMWAKE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXCOMWAKE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXCOMWAKE_VAL}};
    else
      assign GTHE4_CHANNEL_TXCOMWAKE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXCOMWAKE}};

    if (GTHE4_CHANNEL_TXCTRL0_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXCTRL0_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXCTRL0_VAL}};
    else
      assign GTHE4_CHANNEL_TXCTRL0_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXCTRL0}};

    if (GTHE4_CHANNEL_TXCTRL1_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXCTRL1_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXCTRL1_VAL}};
    else
      assign GTHE4_CHANNEL_TXCTRL1_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXCTRL1}};

    if (GTHE4_CHANNEL_TXCTRL2_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXCTRL2_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXCTRL2_VAL}};
    else
      assign GTHE4_CHANNEL_TXCTRL2_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXCTRL2}};

    if (GTHE4_CHANNEL_TXDATA_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXDATA_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDATA_VAL}};
    else
      assign GTHE4_CHANNEL_TXDATA_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDATA}};

    if (GTHE4_CHANNEL_TXDATAEXTENDRSVD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXDATAEXTENDRSVD_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDATAEXTENDRSVD_VAL}};
    else
      assign GTHE4_CHANNEL_TXDATAEXTENDRSVD_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDATAEXTENDRSVD}};

    if (GTHE4_CHANNEL_TXDCCFORCESTART_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXDCCFORCESTART_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDCCFORCESTART_VAL}};
    else
      assign GTHE4_CHANNEL_TXDCCFORCESTART_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDCCFORCESTART}};

    if (GTHE4_CHANNEL_TXDCCRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXDCCRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDCCRESET_VAL}};
    else
      assign GTHE4_CHANNEL_TXDCCRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDCCRESET}};

    if (GTHE4_CHANNEL_TXDEEMPH_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXDEEMPH_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDEEMPH_VAL}};
    else
      assign GTHE4_CHANNEL_TXDEEMPH_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDEEMPH}};

    if (GTHE4_CHANNEL_TXDETECTRX_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXDETECTRX_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDETECTRX_VAL}};
    else
      assign GTHE4_CHANNEL_TXDETECTRX_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDETECTRX}};

    if (GTHE4_CHANNEL_TXDIFFCTRL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXDIFFCTRL_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDIFFCTRL_VAL}};
    else
      assign GTHE4_CHANNEL_TXDIFFCTRL_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDIFFCTRL}};

    if (GTHE4_CHANNEL_TXDLYBYPASS_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXDLYBYPASS_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDLYBYPASS_VAL}};
    else
      assign GTHE4_CHANNEL_TXDLYBYPASS_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDLYBYPASS}};

    if (GTHE4_CHANNEL_TXDLYEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXDLYEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDLYEN_VAL}};
    else
      assign GTHE4_CHANNEL_TXDLYEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDLYEN}};

    if (GTHE4_CHANNEL_TXDLYHOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXDLYHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDLYHOLD_VAL}};
    else
      assign GTHE4_CHANNEL_TXDLYHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDLYHOLD}};

    if (GTHE4_CHANNEL_TXDLYOVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXDLYOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDLYOVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_TXDLYOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDLYOVRDEN}};

    if (GTHE4_CHANNEL_TXDLYSRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXDLYSRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDLYSRESET_VAL}};
    else
      assign GTHE4_CHANNEL_TXDLYSRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDLYSRESET}};

    if (GTHE4_CHANNEL_TXDLYUPDOWN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXDLYUPDOWN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDLYUPDOWN_VAL}};
    else
      assign GTHE4_CHANNEL_TXDLYUPDOWN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXDLYUPDOWN}};

    if (GTHE4_CHANNEL_TXELECIDLE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXELECIDLE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXELECIDLE_VAL}};
    else
      assign GTHE4_CHANNEL_TXELECIDLE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXELECIDLE}};

    if (GTHE4_CHANNEL_TXHEADER_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXHEADER_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXHEADER_VAL}};
    else
      assign GTHE4_CHANNEL_TXHEADER_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXHEADER}};

    if (GTHE4_CHANNEL_TXINHIBIT_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXINHIBIT_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXINHIBIT_VAL}};
    else
      assign GTHE4_CHANNEL_TXINHIBIT_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXINHIBIT}};

    if (GTHE4_CHANNEL_TXLATCLK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXLATCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXLATCLK_VAL}};
    else
      assign GTHE4_CHANNEL_TXLATCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXLATCLK}};

    if (GTHE4_CHANNEL_TXLFPSTRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXLFPSTRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXLFPSTRESET_VAL}};
    else
      assign GTHE4_CHANNEL_TXLFPSTRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXLFPSTRESET}};

    if (GTHE4_CHANNEL_TXLFPSU2LPEXIT_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXLFPSU2LPEXIT_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXLFPSU2LPEXIT_VAL}};
    else
      assign GTHE4_CHANNEL_TXLFPSU2LPEXIT_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXLFPSU2LPEXIT}};

    if (GTHE4_CHANNEL_TXLFPSU3WAKE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXLFPSU3WAKE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXLFPSU3WAKE_VAL}};
    else
      assign GTHE4_CHANNEL_TXLFPSU3WAKE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXLFPSU3WAKE}};

    if (GTHE4_CHANNEL_TXMAINCURSOR_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXMAINCURSOR_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXMAINCURSOR_VAL}};
    else
      assign GTHE4_CHANNEL_TXMAINCURSOR_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXMAINCURSOR}};

    if (GTHE4_CHANNEL_TXMARGIN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXMARGIN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXMARGIN_VAL}};
    else
      assign GTHE4_CHANNEL_TXMARGIN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXMARGIN}};

    if (GTHE4_CHANNEL_TXMUXDCDEXHOLD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXMUXDCDEXHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXMUXDCDEXHOLD_VAL}};
    else
      assign GTHE4_CHANNEL_TXMUXDCDEXHOLD_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXMUXDCDEXHOLD}};

    if (GTHE4_CHANNEL_TXMUXDCDORWREN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXMUXDCDORWREN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXMUXDCDORWREN_VAL}};
    else
      assign GTHE4_CHANNEL_TXMUXDCDORWREN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXMUXDCDORWREN}};

    if (GTHE4_CHANNEL_TXONESZEROS_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXONESZEROS_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXONESZEROS_VAL}};
    else
      assign GTHE4_CHANNEL_TXONESZEROS_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXONESZEROS}};

    if (GTHE4_CHANNEL_TXOUTCLKSEL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXOUTCLKSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXOUTCLKSEL_VAL}};
    else
      assign GTHE4_CHANNEL_TXOUTCLKSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXOUTCLKSEL}};

    if (GTHE4_CHANNEL_TXPCSRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPCSRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPCSRESET_VAL}};
    else
      assign GTHE4_CHANNEL_TXPCSRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPCSRESET}};

    if (GTHE4_CHANNEL_TXPD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPD_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPD_VAL}};
    else
      assign GTHE4_CHANNEL_TXPD_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPD}};

    if (GTHE4_CHANNEL_TXPDELECIDLEMODE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPDELECIDLEMODE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPDELECIDLEMODE_VAL}};
    else
      assign GTHE4_CHANNEL_TXPDELECIDLEMODE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPDELECIDLEMODE}};

    if (GTHE4_CHANNEL_TXPHALIGN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPHALIGN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPHALIGN_VAL}};
    else
      assign GTHE4_CHANNEL_TXPHALIGN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPHALIGN}};

    if (GTHE4_CHANNEL_TXPHALIGNEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPHALIGNEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPHALIGNEN_VAL}};
    else
      assign GTHE4_CHANNEL_TXPHALIGNEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPHALIGNEN}};

    if (GTHE4_CHANNEL_TXPHDLYPD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPHDLYPD_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPHDLYPD_VAL}};
    else
      assign GTHE4_CHANNEL_TXPHDLYPD_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPHDLYPD}};

    if (GTHE4_CHANNEL_TXPHDLYRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPHDLYRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPHDLYRESET_VAL}};
    else
      assign GTHE4_CHANNEL_TXPHDLYRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPHDLYRESET}};

    if (GTHE4_CHANNEL_TXPHDLYTSTCLK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPHDLYTSTCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPHDLYTSTCLK_VAL}};
    else
      assign GTHE4_CHANNEL_TXPHDLYTSTCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPHDLYTSTCLK}};

    if (GTHE4_CHANNEL_TXPHINIT_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPHINIT_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPHINIT_VAL}};
    else
      assign GTHE4_CHANNEL_TXPHINIT_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPHINIT}};

    if (GTHE4_CHANNEL_TXPHOVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPHOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPHOVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_TXPHOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPHOVRDEN}};

    if (GTHE4_CHANNEL_TXPIPPMEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPIPPMEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPIPPMEN_VAL}};
    else
      assign GTHE4_CHANNEL_TXPIPPMEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPIPPMEN}};

    if (GTHE4_CHANNEL_TXPIPPMOVRDEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPIPPMOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPIPPMOVRDEN_VAL}};
    else
      assign GTHE4_CHANNEL_TXPIPPMOVRDEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPIPPMOVRDEN}};

    if (GTHE4_CHANNEL_TXPIPPMPD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPIPPMPD_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPIPPMPD_VAL}};
    else
      assign GTHE4_CHANNEL_TXPIPPMPD_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPIPPMPD}};

    if (GTHE4_CHANNEL_TXPIPPMSEL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPIPPMSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPIPPMSEL_VAL}};
    else
      assign GTHE4_CHANNEL_TXPIPPMSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPIPPMSEL}};

    if (GTHE4_CHANNEL_TXPIPPMSTEPSIZE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPIPPMSTEPSIZE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPIPPMSTEPSIZE_VAL}};
    else
      assign GTHE4_CHANNEL_TXPIPPMSTEPSIZE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPIPPMSTEPSIZE}};

    if (GTHE4_CHANNEL_TXPISOPD_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPISOPD_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPISOPD_VAL}};
    else
      assign GTHE4_CHANNEL_TXPISOPD_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPISOPD}};

    if (GTHE4_CHANNEL_TXPLLCLKSEL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPLLCLKSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPLLCLKSEL_VAL}};
    else
      assign GTHE4_CHANNEL_TXPLLCLKSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPLLCLKSEL}};

    if (GTHE4_CHANNEL_TXPMARESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPMARESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPMARESET_VAL}};
    else
      assign GTHE4_CHANNEL_TXPMARESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPMARESET}};

    if (GTHE4_CHANNEL_TXPOLARITY_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPOLARITY_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPOLARITY_VAL}};
    else
      assign GTHE4_CHANNEL_TXPOLARITY_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPOLARITY}};

    if (GTHE4_CHANNEL_TXPOSTCURSOR_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPOSTCURSOR_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPOSTCURSOR_VAL}};
    else
      assign GTHE4_CHANNEL_TXPOSTCURSOR_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPOSTCURSOR}};

    if (GTHE4_CHANNEL_TXPRBSFORCEERR_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPRBSFORCEERR_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPRBSFORCEERR_VAL}};
    else
      assign GTHE4_CHANNEL_TXPRBSFORCEERR_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPRBSFORCEERR}};

    if (GTHE4_CHANNEL_TXPRBSSEL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPRBSSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPRBSSEL_VAL}};
    else
      assign GTHE4_CHANNEL_TXPRBSSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPRBSSEL}};

    if (GTHE4_CHANNEL_TXPRECURSOR_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPRECURSOR_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPRECURSOR_VAL}};
    else
      assign GTHE4_CHANNEL_TXPRECURSOR_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPRECURSOR}};

    if (GTHE4_CHANNEL_TXPROGDIVRESET_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXPROGDIVRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPROGDIVRESET_VAL}};
    else
      assign GTHE4_CHANNEL_TXPROGDIVRESET_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXPROGDIVRESET}};

    if (GTHE4_CHANNEL_TXQPIBIASEN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXQPIBIASEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXQPIBIASEN_VAL}};
    else
      assign GTHE4_CHANNEL_TXQPIBIASEN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXQPIBIASEN}};

    if (GTHE4_CHANNEL_TXQPIWEAKPUP_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXQPIWEAKPUP_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXQPIWEAKPUP_VAL}};
    else
      assign GTHE4_CHANNEL_TXQPIWEAKPUP_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXQPIWEAKPUP}};

    if (GTHE4_CHANNEL_TXRATE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXRATE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXRATE_VAL}};
    else
      assign GTHE4_CHANNEL_TXRATE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXRATE}};

    if (GTHE4_CHANNEL_TXRATEMODE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXRATEMODE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXRATEMODE_VAL}};
    else
      assign GTHE4_CHANNEL_TXRATEMODE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXRATEMODE}};

    if (GTHE4_CHANNEL_TXSEQUENCE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXSEQUENCE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXSEQUENCE_VAL}};
    else
      assign GTHE4_CHANNEL_TXSEQUENCE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXSEQUENCE}};

    if (GTHE4_CHANNEL_TXSWING_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXSWING_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXSWING_VAL}};
    else
      assign GTHE4_CHANNEL_TXSWING_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXSWING}};

    if (GTHE4_CHANNEL_TXSYNCALLIN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXSYNCALLIN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXSYNCALLIN_VAL}};
    else
      assign GTHE4_CHANNEL_TXSYNCALLIN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXSYNCALLIN}};

    if (GTHE4_CHANNEL_TXSYNCIN_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXSYNCIN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXSYNCIN_VAL}};
    else
      assign GTHE4_CHANNEL_TXSYNCIN_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXSYNCIN}};

    if (GTHE4_CHANNEL_TXSYNCMODE_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXSYNCMODE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXSYNCMODE_VAL}};
    else
      assign GTHE4_CHANNEL_TXSYNCMODE_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXSYNCMODE}};

    if (GTHE4_CHANNEL_TXSYSCLKSEL_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXSYSCLKSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXSYSCLKSEL_VAL}};
    else
      assign GTHE4_CHANNEL_TXSYSCLKSEL_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXSYSCLKSEL}};

    if (GTHE4_CHANNEL_TXUSERRDY_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXUSERRDY_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXUSERRDY_VAL}};
    else
      assign GTHE4_CHANNEL_TXUSERRDY_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXUSERRDY}};

    if (GTHE4_CHANNEL_TXUSRCLK_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXUSRCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXUSRCLK_VAL}};
    else
      assign GTHE4_CHANNEL_TXUSRCLK_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXUSRCLK}};

    if (GTHE4_CHANNEL_TXUSRCLK2_TIE_EN == 1'b1)
      assign GTHE4_CHANNEL_TXUSRCLK2_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXUSRCLK2_VAL}};
    else
      assign GTHE4_CHANNEL_TXUSRCLK2_int = {NUM_CHANNELS{GTHE4_CHANNEL_TXUSRCLK2}};

    // generate the appropriate number of GTHE4_CHANNEL primitive instances, mapping parameters and ports
    genvar ch;
    for (ch = 0; ch < NUM_CHANNELS; ch = ch + 1) begin : gen_gthe4_channel_inst

      GTHE4_CHANNEL #(
        .ACJTAG_DEBUG_MODE            (GTHE4_CHANNEL_ACJTAG_DEBUG_MODE           ),
        .ACJTAG_MODE                  (GTHE4_CHANNEL_ACJTAG_MODE                 ),
        .ACJTAG_RESET                 (GTHE4_CHANNEL_ACJTAG_RESET                ),
        .ADAPT_CFG0                   (GTHE4_CHANNEL_ADAPT_CFG0                  ),
        .ADAPT_CFG1                   (GTHE4_CHANNEL_ADAPT_CFG1                  ),
        .ADAPT_CFG2                   (GTHE4_CHANNEL_ADAPT_CFG2                  ),
        .ALIGN_COMMA_DOUBLE           (GTHE4_CHANNEL_ALIGN_COMMA_DOUBLE          ),
        .ALIGN_COMMA_ENABLE           (GTHE4_CHANNEL_ALIGN_COMMA_ENABLE          ),
        .ALIGN_COMMA_WORD             (GTHE4_CHANNEL_ALIGN_COMMA_WORD            ),
        .ALIGN_MCOMMA_DET             (GTHE4_CHANNEL_ALIGN_MCOMMA_DET            ),
        .ALIGN_MCOMMA_VALUE           (GTHE4_CHANNEL_ALIGN_MCOMMA_VALUE          ),
        .ALIGN_PCOMMA_DET             (GTHE4_CHANNEL_ALIGN_PCOMMA_DET            ),
        .ALIGN_PCOMMA_VALUE           (GTHE4_CHANNEL_ALIGN_PCOMMA_VALUE          ),
        .A_RXOSCALRESET               (GTHE4_CHANNEL_A_RXOSCALRESET              ),
        .A_RXPROGDIVRESET             (GTHE4_CHANNEL_A_RXPROGDIVRESET            ),
        .A_RXTERMINATION              (GTHE4_CHANNEL_A_RXTERMINATION             ),
        .A_TXDIFFCTRL                 (GTHE4_CHANNEL_A_TXDIFFCTRL                ),
        .A_TXPROGDIVRESET             (GTHE4_CHANNEL_A_TXPROGDIVRESET            ),
        .CAPBYPASS_FORCE              (GTHE4_CHANNEL_CAPBYPASS_FORCE             ),
        .CBCC_DATA_SOURCE_SEL         (GTHE4_CHANNEL_CBCC_DATA_SOURCE_SEL        ),
        .CDR_SWAP_MODE_EN             (GTHE4_CHANNEL_CDR_SWAP_MODE_EN            ),
        .CFOK_PWRSVE_EN               (GTHE4_CHANNEL_CFOK_PWRSVE_EN              ),
        .CHAN_BOND_KEEP_ALIGN         (GTHE4_CHANNEL_CHAN_BOND_KEEP_ALIGN        ),
        .CHAN_BOND_MAX_SKEW           (GTHE4_CHANNEL_CHAN_BOND_MAX_SKEW          ),
        .CHAN_BOND_SEQ_1_1            (GTHE4_CHANNEL_CHAN_BOND_SEQ_1_1           ),
        .CHAN_BOND_SEQ_1_2            (GTHE4_CHANNEL_CHAN_BOND_SEQ_1_2           ),
        .CHAN_BOND_SEQ_1_3            (GTHE4_CHANNEL_CHAN_BOND_SEQ_1_3           ),
        .CHAN_BOND_SEQ_1_4            (GTHE4_CHANNEL_CHAN_BOND_SEQ_1_4           ),
        .CHAN_BOND_SEQ_1_ENABLE       (GTHE4_CHANNEL_CHAN_BOND_SEQ_1_ENABLE      ),
        .CHAN_BOND_SEQ_2_1            (GTHE4_CHANNEL_CHAN_BOND_SEQ_2_1           ),
        .CHAN_BOND_SEQ_2_2            (GTHE4_CHANNEL_CHAN_BOND_SEQ_2_2           ),
        .CHAN_BOND_SEQ_2_3            (GTHE4_CHANNEL_CHAN_BOND_SEQ_2_3           ),
        .CHAN_BOND_SEQ_2_4            (GTHE4_CHANNEL_CHAN_BOND_SEQ_2_4           ),
        .CHAN_BOND_SEQ_2_ENABLE       (GTHE4_CHANNEL_CHAN_BOND_SEQ_2_ENABLE      ),
        .CHAN_BOND_SEQ_2_USE          (GTHE4_CHANNEL_CHAN_BOND_SEQ_2_USE         ),
        .CHAN_BOND_SEQ_LEN            (GTHE4_CHANNEL_CHAN_BOND_SEQ_LEN           ),
        .CH_HSPMUX                    (GTHE4_CHANNEL_CH_HSPMUX                   ),
        .CKCAL1_CFG_0                 (GTHE4_CHANNEL_CKCAL1_CFG_0                ),
        .CKCAL1_CFG_1                 (GTHE4_CHANNEL_CKCAL1_CFG_1                ),
        .CKCAL1_CFG_2                 (GTHE4_CHANNEL_CKCAL1_CFG_2                ),
        .CKCAL1_CFG_3                 (GTHE4_CHANNEL_CKCAL1_CFG_3                ),
        .CKCAL2_CFG_0                 (GTHE4_CHANNEL_CKCAL2_CFG_0                ),
        .CKCAL2_CFG_1                 (GTHE4_CHANNEL_CKCAL2_CFG_1                ),
        .CKCAL2_CFG_2                 (GTHE4_CHANNEL_CKCAL2_CFG_2                ),
        .CKCAL2_CFG_3                 (GTHE4_CHANNEL_CKCAL2_CFG_3                ),
        .CKCAL2_CFG_4                 (GTHE4_CHANNEL_CKCAL2_CFG_4                ),
        .CKCAL_RSVD0                  (GTHE4_CHANNEL_CKCAL_RSVD0                 ),
        .CKCAL_RSVD1                  (GTHE4_CHANNEL_CKCAL_RSVD1                 ),
        .CLK_CORRECT_USE              (GTHE4_CHANNEL_CLK_CORRECT_USE             ),
        .CLK_COR_KEEP_IDLE            (GTHE4_CHANNEL_CLK_COR_KEEP_IDLE           ),
        .CLK_COR_MAX_LAT              (GTHE4_CHANNEL_CLK_COR_MAX_LAT             ),
        .CLK_COR_MIN_LAT              (GTHE4_CHANNEL_CLK_COR_MIN_LAT             ),
        .CLK_COR_PRECEDENCE           (GTHE4_CHANNEL_CLK_COR_PRECEDENCE          ),
        .CLK_COR_REPEAT_WAIT          (GTHE4_CHANNEL_CLK_COR_REPEAT_WAIT         ),
        .CLK_COR_SEQ_1_1              (GTHE4_CHANNEL_CLK_COR_SEQ_1_1             ),
        .CLK_COR_SEQ_1_2              (GTHE4_CHANNEL_CLK_COR_SEQ_1_2             ),
        .CLK_COR_SEQ_1_3              (GTHE4_CHANNEL_CLK_COR_SEQ_1_3             ),
        .CLK_COR_SEQ_1_4              (GTHE4_CHANNEL_CLK_COR_SEQ_1_4             ),
        .CLK_COR_SEQ_1_ENABLE         (GTHE4_CHANNEL_CLK_COR_SEQ_1_ENABLE        ),
        .CLK_COR_SEQ_2_1              (GTHE4_CHANNEL_CLK_COR_SEQ_2_1             ),
        .CLK_COR_SEQ_2_2              (GTHE4_CHANNEL_CLK_COR_SEQ_2_2             ),
        .CLK_COR_SEQ_2_3              (GTHE4_CHANNEL_CLK_COR_SEQ_2_3             ),
        .CLK_COR_SEQ_2_4              (GTHE4_CHANNEL_CLK_COR_SEQ_2_4             ),
        .CLK_COR_SEQ_2_ENABLE         (GTHE4_CHANNEL_CLK_COR_SEQ_2_ENABLE        ),
        .CLK_COR_SEQ_2_USE            (GTHE4_CHANNEL_CLK_COR_SEQ_2_USE           ),
        .CLK_COR_SEQ_LEN              (GTHE4_CHANNEL_CLK_COR_SEQ_LEN             ),
        .CPLL_CFG0                    (GTHE4_CHANNEL_CPLL_CFG0                   ),
        .CPLL_CFG1                    (GTHE4_CHANNEL_CPLL_CFG1                   ),
        .CPLL_CFG2                    (GTHE4_CHANNEL_CPLL_CFG2                   ),
        .CPLL_CFG3                    (GTHE4_CHANNEL_CPLL_CFG3                   ),
        .CPLL_FBDIV                   (GTHE4_CHANNEL_CPLL_FBDIV                  ),
        .CPLL_FBDIV_45                (GTHE4_CHANNEL_CPLL_FBDIV_45               ),
        .CPLL_INIT_CFG0               (GTHE4_CHANNEL_CPLL_INIT_CFG0              ),
        .CPLL_LOCK_CFG                (GTHE4_CHANNEL_CPLL_LOCK_CFG               ),
        .CPLL_REFCLK_DIV              (GTHE4_CHANNEL_CPLL_REFCLK_DIV             ),
        .CTLE3_OCAP_EXT_CTRL          (GTHE4_CHANNEL_CTLE3_OCAP_EXT_CTRL         ),
        .CTLE3_OCAP_EXT_EN            (GTHE4_CHANNEL_CTLE3_OCAP_EXT_EN           ),
        .DDI_CTRL                     (GTHE4_CHANNEL_DDI_CTRL                    ),
        .DDI_REALIGN_WAIT             (GTHE4_CHANNEL_DDI_REALIGN_WAIT            ),
        .DEC_MCOMMA_DETECT            (GTHE4_CHANNEL_DEC_MCOMMA_DETECT           ),
        .DEC_PCOMMA_DETECT            (GTHE4_CHANNEL_DEC_PCOMMA_DETECT           ),
        .DEC_VALID_COMMA_ONLY         (GTHE4_CHANNEL_DEC_VALID_COMMA_ONLY        ),
        .DELAY_ELEC                   (GTHE4_CHANNEL_DELAY_ELEC                  ),
        .DMONITOR_CFG0                (GTHE4_CHANNEL_DMONITOR_CFG0               ),
        .DMONITOR_CFG1                (GTHE4_CHANNEL_DMONITOR_CFG1               ),
        .ES_CLK_PHASE_SEL             (GTHE4_CHANNEL_ES_CLK_PHASE_SEL            ),
        .ES_CONTROL                   (GTHE4_CHANNEL_ES_CONTROL                  ),
        .ES_ERRDET_EN                 (GTHE4_CHANNEL_ES_ERRDET_EN                ),
        .ES_EYE_SCAN_EN               (GTHE4_CHANNEL_ES_EYE_SCAN_EN              ),
        .ES_HORZ_OFFSET               (GTHE4_CHANNEL_ES_HORZ_OFFSET              ),
        .ES_PRESCALE                  (GTHE4_CHANNEL_ES_PRESCALE                 ),
        .ES_QUALIFIER0                (GTHE4_CHANNEL_ES_QUALIFIER0               ),
        .ES_QUALIFIER1                (GTHE4_CHANNEL_ES_QUALIFIER1               ),
        .ES_QUALIFIER2                (GTHE4_CHANNEL_ES_QUALIFIER2               ),
        .ES_QUALIFIER3                (GTHE4_CHANNEL_ES_QUALIFIER3               ),
        .ES_QUALIFIER4                (GTHE4_CHANNEL_ES_QUALIFIER4               ),
        .ES_QUALIFIER5                (GTHE4_CHANNEL_ES_QUALIFIER5               ),
        .ES_QUALIFIER6                (GTHE4_CHANNEL_ES_QUALIFIER6               ),
        .ES_QUALIFIER7                (GTHE4_CHANNEL_ES_QUALIFIER7               ),
        .ES_QUALIFIER8                (GTHE4_CHANNEL_ES_QUALIFIER8               ),
        .ES_QUALIFIER9                (GTHE4_CHANNEL_ES_QUALIFIER9               ),
        .ES_QUAL_MASK0                (GTHE4_CHANNEL_ES_QUAL_MASK0               ),
        .ES_QUAL_MASK1                (GTHE4_CHANNEL_ES_QUAL_MASK1               ),
        .ES_QUAL_MASK2                (GTHE4_CHANNEL_ES_QUAL_MASK2               ),
        .ES_QUAL_MASK3                (GTHE4_CHANNEL_ES_QUAL_MASK3               ),
        .ES_QUAL_MASK4                (GTHE4_CHANNEL_ES_QUAL_MASK4               ),
        .ES_QUAL_MASK5                (GTHE4_CHANNEL_ES_QUAL_MASK5               ),
        .ES_QUAL_MASK6                (GTHE4_CHANNEL_ES_QUAL_MASK6               ),
        .ES_QUAL_MASK7                (GTHE4_CHANNEL_ES_QUAL_MASK7               ),
        .ES_QUAL_MASK8                (GTHE4_CHANNEL_ES_QUAL_MASK8               ),
        .ES_QUAL_MASK9                (GTHE4_CHANNEL_ES_QUAL_MASK9               ),
        .ES_SDATA_MASK0               (GTHE4_CHANNEL_ES_SDATA_MASK0              ),
        .ES_SDATA_MASK1               (GTHE4_CHANNEL_ES_SDATA_MASK1              ),
        .ES_SDATA_MASK2               (GTHE4_CHANNEL_ES_SDATA_MASK2              ),
        .ES_SDATA_MASK3               (GTHE4_CHANNEL_ES_SDATA_MASK3              ),
        .ES_SDATA_MASK4               (GTHE4_CHANNEL_ES_SDATA_MASK4              ),
        .ES_SDATA_MASK5               (GTHE4_CHANNEL_ES_SDATA_MASK5              ),
        .ES_SDATA_MASK6               (GTHE4_CHANNEL_ES_SDATA_MASK6              ),
        .ES_SDATA_MASK7               (GTHE4_CHANNEL_ES_SDATA_MASK7              ),
        .ES_SDATA_MASK8               (GTHE4_CHANNEL_ES_SDATA_MASK8              ),
        .ES_SDATA_MASK9               (GTHE4_CHANNEL_ES_SDATA_MASK9              ),
        .EYE_SCAN_SWAP_EN             (GTHE4_CHANNEL_EYE_SCAN_SWAP_EN            ),
        .FTS_DESKEW_SEQ_ENABLE        (GTHE4_CHANNEL_FTS_DESKEW_SEQ_ENABLE       ),
        .FTS_LANE_DESKEW_CFG          (GTHE4_CHANNEL_FTS_LANE_DESKEW_CFG         ),
        .FTS_LANE_DESKEW_EN           (GTHE4_CHANNEL_FTS_LANE_DESKEW_EN          ),
        .GEARBOX_MODE                 (GTHE4_CHANNEL_GEARBOX_MODE                ),
        .ISCAN_CK_PH_SEL2             (GTHE4_CHANNEL_ISCAN_CK_PH_SEL2            ),
        .LOCAL_MASTER                 (GTHE4_CHANNEL_LOCAL_MASTER                ),
        .LPBK_BIAS_CTRL               (GTHE4_CHANNEL_LPBK_BIAS_CTRL              ),
        .LPBK_EN_RCAL_B               (GTHE4_CHANNEL_LPBK_EN_RCAL_B              ),
        .LPBK_EXT_RCAL                (GTHE4_CHANNEL_LPBK_EXT_RCAL               ),
        .LPBK_IND_CTRL0               (GTHE4_CHANNEL_LPBK_IND_CTRL0              ),
        .LPBK_IND_CTRL1               (GTHE4_CHANNEL_LPBK_IND_CTRL1              ),
        .LPBK_IND_CTRL2               (GTHE4_CHANNEL_LPBK_IND_CTRL2              ),
        .LPBK_RG_CTRL                 (GTHE4_CHANNEL_LPBK_RG_CTRL                ),
        .OOBDIVCTL                    (GTHE4_CHANNEL_OOBDIVCTL                   ),
        .OOB_PWRUP                    (GTHE4_CHANNEL_OOB_PWRUP                   ),
        .PCI3_AUTO_REALIGN            (GTHE4_CHANNEL_PCI3_AUTO_REALIGN           ),
        .PCI3_PIPE_RX_ELECIDLE        (GTHE4_CHANNEL_PCI3_PIPE_RX_ELECIDLE       ),
        .PCI3_RX_ASYNC_EBUF_BYPASS    (GTHE4_CHANNEL_PCI3_RX_ASYNC_EBUF_BYPASS   ),
        .PCI3_RX_ELECIDLE_EI2_ENABLE  (GTHE4_CHANNEL_PCI3_RX_ELECIDLE_EI2_ENABLE ),
        .PCI3_RX_ELECIDLE_H2L_COUNT   (GTHE4_CHANNEL_PCI3_RX_ELECIDLE_H2L_COUNT  ),
        .PCI3_RX_ELECIDLE_H2L_DISABLE (GTHE4_CHANNEL_PCI3_RX_ELECIDLE_H2L_DISABLE),
        .PCI3_RX_ELECIDLE_HI_COUNT    (GTHE4_CHANNEL_PCI3_RX_ELECIDLE_HI_COUNT   ),
        .PCI3_RX_ELECIDLE_LP4_DISABLE (GTHE4_CHANNEL_PCI3_RX_ELECIDLE_LP4_DISABLE),
        .PCI3_RX_FIFO_DISABLE         (GTHE4_CHANNEL_PCI3_RX_FIFO_DISABLE        ),
        .PCIE3_CLK_COR_EMPTY_THRSH    (GTHE4_CHANNEL_PCIE3_CLK_COR_EMPTY_THRSH   ),
        .PCIE3_CLK_COR_FULL_THRSH     (GTHE4_CHANNEL_PCIE3_CLK_COR_FULL_THRSH    ),
        .PCIE3_CLK_COR_MAX_LAT        (GTHE4_CHANNEL_PCIE3_CLK_COR_MAX_LAT       ),
        .PCIE3_CLK_COR_MIN_LAT        (GTHE4_CHANNEL_PCIE3_CLK_COR_MIN_LAT       ),
        .PCIE3_CLK_COR_THRSH_TIMER    (GTHE4_CHANNEL_PCIE3_CLK_COR_THRSH_TIMER   ),
        .PCIE_BUFG_DIV_CTRL           (GTHE4_CHANNEL_PCIE_BUFG_DIV_CTRL          ),
        .PCIE_PLL_SEL_MODE_GEN12      (GTHE4_CHANNEL_PCIE_PLL_SEL_MODE_GEN12     ),
        .PCIE_PLL_SEL_MODE_GEN3       (GTHE4_CHANNEL_PCIE_PLL_SEL_MODE_GEN3      ),
        .PCIE_PLL_SEL_MODE_GEN4       (GTHE4_CHANNEL_PCIE_PLL_SEL_MODE_GEN4      ),
        .PCIE_RXPCS_CFG_GEN3          (GTHE4_CHANNEL_PCIE_RXPCS_CFG_GEN3         ),
        .PCIE_RXPMA_CFG               (GTHE4_CHANNEL_PCIE_RXPMA_CFG              ),
        .PCIE_TXPCS_CFG_GEN3          (GTHE4_CHANNEL_PCIE_TXPCS_CFG_GEN3         ),
        .PCIE_TXPMA_CFG               (GTHE4_CHANNEL_PCIE_TXPMA_CFG              ),
        .PCS_PCIE_EN                  (GTHE4_CHANNEL_PCS_PCIE_EN                 ),
        .PCS_RSVD0                    (GTHE4_CHANNEL_PCS_RSVD0                   ),
        .PD_TRANS_TIME_FROM_P2        (GTHE4_CHANNEL_PD_TRANS_TIME_FROM_P2       ),
        .PD_TRANS_TIME_NONE_P2        (GTHE4_CHANNEL_PD_TRANS_TIME_NONE_P2       ),
        .PD_TRANS_TIME_TO_P2          (GTHE4_CHANNEL_PD_TRANS_TIME_TO_P2         ),
        .PREIQ_FREQ_BST               (GTHE4_CHANNEL_PREIQ_FREQ_BST              ),
        .PROCESS_PAR                  (GTHE4_CHANNEL_PROCESS_PAR                 ),
        .RATE_SW_USE_DRP              (GTHE4_CHANNEL_RATE_SW_USE_DRP             ),
        .RCLK_SIPO_DLY_ENB            (GTHE4_CHANNEL_RCLK_SIPO_DLY_ENB           ),
        .RCLK_SIPO_INV_EN             (GTHE4_CHANNEL_RCLK_SIPO_INV_EN            ),
        .RESET_POWERSAVE_DISABLE      (GTHE4_CHANNEL_RESET_POWERSAVE_DISABLE     ),
        .RTX_BUF_CML_CTRL             (GTHE4_CHANNEL_RTX_BUF_CML_CTRL            ),
        .RTX_BUF_TERM_CTRL            (GTHE4_CHANNEL_RTX_BUF_TERM_CTRL           ),
        .RXBUFRESET_TIME              (GTHE4_CHANNEL_RXBUFRESET_TIME             ),
        .RXBUF_ADDR_MODE              (GTHE4_CHANNEL_RXBUF_ADDR_MODE             ),
        .RXBUF_EIDLE_HI_CNT           (GTHE4_CHANNEL_RXBUF_EIDLE_HI_CNT          ),
        .RXBUF_EIDLE_LO_CNT           (GTHE4_CHANNEL_RXBUF_EIDLE_LO_CNT          ),
        .RXBUF_EN                     (GTHE4_CHANNEL_RXBUF_EN                    ),
        .RXBUF_RESET_ON_CB_CHANGE     (GTHE4_CHANNEL_RXBUF_RESET_ON_CB_CHANGE    ),
        .RXBUF_RESET_ON_COMMAALIGN    (GTHE4_CHANNEL_RXBUF_RESET_ON_COMMAALIGN   ),
        .RXBUF_RESET_ON_EIDLE         (GTHE4_CHANNEL_RXBUF_RESET_ON_EIDLE        ),
        .RXBUF_RESET_ON_RATE_CHANGE   (GTHE4_CHANNEL_RXBUF_RESET_ON_RATE_CHANGE  ),
        .RXBUF_THRESH_OVFLW           (GTHE4_CHANNEL_RXBUF_THRESH_OVFLW          ),
        .RXBUF_THRESH_OVRD            (GTHE4_CHANNEL_RXBUF_THRESH_OVRD           ),
        .RXBUF_THRESH_UNDFLW          (GTHE4_CHANNEL_RXBUF_THRESH_UNDFLW         ),
        .RXCDRFREQRESET_TIME          (GTHE4_CHANNEL_RXCDRFREQRESET_TIME         ),
        .RXCDRPHRESET_TIME            (GTHE4_CHANNEL_RXCDRPHRESET_TIME           ),
        .RXCDR_CFG0                   (GTHE4_CHANNEL_RXCDR_CFG0                  ),
        .RXCDR_CFG0_GEN3              (GTHE4_CHANNEL_RXCDR_CFG0_GEN3             ),
        .RXCDR_CFG1                   (GTHE4_CHANNEL_RXCDR_CFG1                  ),
        .RXCDR_CFG1_GEN3              (GTHE4_CHANNEL_RXCDR_CFG1_GEN3             ),
        .RXCDR_CFG2                   (GTHE4_CHANNEL_RXCDR_CFG2                  ),
        .RXCDR_CFG2_GEN2              (GTHE4_CHANNEL_RXCDR_CFG2_GEN2             ),
        .RXCDR_CFG2_GEN3              (GTHE4_CHANNEL_RXCDR_CFG2_GEN3             ),
        .RXCDR_CFG2_GEN4              (GTHE4_CHANNEL_RXCDR_CFG2_GEN4             ),
        .RXCDR_CFG3                   (GTHE4_CHANNEL_RXCDR_CFG3                  ),
        .RXCDR_CFG3_GEN2              (GTHE4_CHANNEL_RXCDR_CFG3_GEN2             ),
        .RXCDR_CFG3_GEN3              (GTHE4_CHANNEL_RXCDR_CFG3_GEN3             ),
        .RXCDR_CFG3_GEN4              (GTHE4_CHANNEL_RXCDR_CFG3_GEN4             ),
        .RXCDR_CFG4                   (GTHE4_CHANNEL_RXCDR_CFG4                  ),
        .RXCDR_CFG4_GEN3              (GTHE4_CHANNEL_RXCDR_CFG4_GEN3             ),
        .RXCDR_CFG5                   (GTHE4_CHANNEL_RXCDR_CFG5                  ),
        .RXCDR_CFG5_GEN3              (GTHE4_CHANNEL_RXCDR_CFG5_GEN3             ),
        .RXCDR_FR_RESET_ON_EIDLE      (GTHE4_CHANNEL_RXCDR_FR_RESET_ON_EIDLE     ),
        .RXCDR_HOLD_DURING_EIDLE      (GTHE4_CHANNEL_RXCDR_HOLD_DURING_EIDLE     ),
        .RXCDR_LOCK_CFG0              (GTHE4_CHANNEL_RXCDR_LOCK_CFG0             ),
        .RXCDR_LOCK_CFG1              (GTHE4_CHANNEL_RXCDR_LOCK_CFG1             ),
        .RXCDR_LOCK_CFG2              (GTHE4_CHANNEL_RXCDR_LOCK_CFG2             ),
        .RXCDR_LOCK_CFG3              (GTHE4_CHANNEL_RXCDR_LOCK_CFG3             ),
        .RXCDR_LOCK_CFG4              (GTHE4_CHANNEL_RXCDR_LOCK_CFG4             ),
        .RXCDR_PH_RESET_ON_EIDLE      (GTHE4_CHANNEL_RXCDR_PH_RESET_ON_EIDLE     ),
        .RXCFOK_CFG0                  (GTHE4_CHANNEL_RXCFOK_CFG0                 ),
        .RXCFOK_CFG1                  (GTHE4_CHANNEL_RXCFOK_CFG1                 ),
        .RXCFOK_CFG2                  (GTHE4_CHANNEL_RXCFOK_CFG2                 ),
        .RXCKCAL1_IQ_LOOP_RST_CFG     (GTHE4_CHANNEL_RXCKCAL1_IQ_LOOP_RST_CFG    ),
        .RXCKCAL1_I_LOOP_RST_CFG      (GTHE4_CHANNEL_RXCKCAL1_I_LOOP_RST_CFG     ),
        .RXCKCAL1_Q_LOOP_RST_CFG      (GTHE4_CHANNEL_RXCKCAL1_Q_LOOP_RST_CFG     ),
        .RXCKCAL2_DX_LOOP_RST_CFG     (GTHE4_CHANNEL_RXCKCAL2_DX_LOOP_RST_CFG    ),
        .RXCKCAL2_D_LOOP_RST_CFG      (GTHE4_CHANNEL_RXCKCAL2_D_LOOP_RST_CFG     ),
        .RXCKCAL2_S_LOOP_RST_CFG      (GTHE4_CHANNEL_RXCKCAL2_S_LOOP_RST_CFG     ),
        .RXCKCAL2_X_LOOP_RST_CFG      (GTHE4_CHANNEL_RXCKCAL2_X_LOOP_RST_CFG     ),
        .RXDFELPMRESET_TIME           (GTHE4_CHANNEL_RXDFELPMRESET_TIME          ),
        .RXDFELPM_KL_CFG0             (GTHE4_CHANNEL_RXDFELPM_KL_CFG0            ),
        .RXDFELPM_KL_CFG1             (GTHE4_CHANNEL_RXDFELPM_KL_CFG1            ),
        .RXDFELPM_KL_CFG2             (GTHE4_CHANNEL_RXDFELPM_KL_CFG2            ),
        .RXDFE_CFG0                   (GTHE4_CHANNEL_RXDFE_CFG0                  ),
        .RXDFE_CFG1                   (GTHE4_CHANNEL_RXDFE_CFG1                  ),
        .RXDFE_GC_CFG0                (GTHE4_CHANNEL_RXDFE_GC_CFG0               ),
        .RXDFE_GC_CFG1                (GTHE4_CHANNEL_RXDFE_GC_CFG1               ),
        .RXDFE_GC_CFG2                (GTHE4_CHANNEL_RXDFE_GC_CFG2               ),
        .RXDFE_H2_CFG0                (GTHE4_CHANNEL_RXDFE_H2_CFG0               ),
        .RXDFE_H2_CFG1                (GTHE4_CHANNEL_RXDFE_H2_CFG1               ),
        .RXDFE_H3_CFG0                (GTHE4_CHANNEL_RXDFE_H3_CFG0               ),
        .RXDFE_H3_CFG1                (GTHE4_CHANNEL_RXDFE_H3_CFG1               ),
        .RXDFE_H4_CFG0                (GTHE4_CHANNEL_RXDFE_H4_CFG0               ),
        .RXDFE_H4_CFG1                (GTHE4_CHANNEL_RXDFE_H4_CFG1               ),
        .RXDFE_H5_CFG0                (GTHE4_CHANNEL_RXDFE_H5_CFG0               ),
        .RXDFE_H5_CFG1                (GTHE4_CHANNEL_RXDFE_H5_CFG1               ),
        .RXDFE_H6_CFG0                (GTHE4_CHANNEL_RXDFE_H6_CFG0               ),
        .RXDFE_H6_CFG1                (GTHE4_CHANNEL_RXDFE_H6_CFG1               ),
        .RXDFE_H7_CFG0                (GTHE4_CHANNEL_RXDFE_H7_CFG0               ),
        .RXDFE_H7_CFG1                (GTHE4_CHANNEL_RXDFE_H7_CFG1               ),
        .RXDFE_H8_CFG0                (GTHE4_CHANNEL_RXDFE_H8_CFG0               ),
        .RXDFE_H8_CFG1                (GTHE4_CHANNEL_RXDFE_H8_CFG1               ),
        .RXDFE_H9_CFG0                (GTHE4_CHANNEL_RXDFE_H9_CFG0               ),
        .RXDFE_H9_CFG1                (GTHE4_CHANNEL_RXDFE_H9_CFG1               ),
        .RXDFE_HA_CFG0                (GTHE4_CHANNEL_RXDFE_HA_CFG0               ),
        .RXDFE_HA_CFG1                (GTHE4_CHANNEL_RXDFE_HA_CFG1               ),
        .RXDFE_HB_CFG0                (GTHE4_CHANNEL_RXDFE_HB_CFG0               ),
        .RXDFE_HB_CFG1                (GTHE4_CHANNEL_RXDFE_HB_CFG1               ),
        .RXDFE_HC_CFG0                (GTHE4_CHANNEL_RXDFE_HC_CFG0               ),
        .RXDFE_HC_CFG1                (GTHE4_CHANNEL_RXDFE_HC_CFG1               ),
        .RXDFE_HD_CFG0                (GTHE4_CHANNEL_RXDFE_HD_CFG0               ),
        .RXDFE_HD_CFG1                (GTHE4_CHANNEL_RXDFE_HD_CFG1               ),
        .RXDFE_HE_CFG0                (GTHE4_CHANNEL_RXDFE_HE_CFG0               ),
        .RXDFE_HE_CFG1                (GTHE4_CHANNEL_RXDFE_HE_CFG1               ),
        .RXDFE_HF_CFG0                (GTHE4_CHANNEL_RXDFE_HF_CFG0               ),
        .RXDFE_HF_CFG1                (GTHE4_CHANNEL_RXDFE_HF_CFG1               ),
        .RXDFE_KH_CFG0                (GTHE4_CHANNEL_RXDFE_KH_CFG0               ),
        .RXDFE_KH_CFG1                (GTHE4_CHANNEL_RXDFE_KH_CFG1               ),
        .RXDFE_KH_CFG2                (GTHE4_CHANNEL_RXDFE_KH_CFG2               ),
        .RXDFE_KH_CFG3                (GTHE4_CHANNEL_RXDFE_KH_CFG3               ),
        .RXDFE_OS_CFG0                (GTHE4_CHANNEL_RXDFE_OS_CFG0               ),
        .RXDFE_OS_CFG1                (GTHE4_CHANNEL_RXDFE_OS_CFG1               ),
        .RXDFE_PWR_SAVING             (GTHE4_CHANNEL_RXDFE_PWR_SAVING            ),
        .RXDFE_UT_CFG0                (GTHE4_CHANNEL_RXDFE_UT_CFG0               ),
        .RXDFE_UT_CFG1                (GTHE4_CHANNEL_RXDFE_UT_CFG1               ),
        .RXDFE_UT_CFG2                (GTHE4_CHANNEL_RXDFE_UT_CFG2               ),
        .RXDFE_VP_CFG0                (GTHE4_CHANNEL_RXDFE_VP_CFG0               ),
        .RXDFE_VP_CFG1                (GTHE4_CHANNEL_RXDFE_VP_CFG1               ),
        .RXDLY_CFG                    (GTHE4_CHANNEL_RXDLY_CFG                   ),
        .RXDLY_LCFG                   (GTHE4_CHANNEL_RXDLY_LCFG                  ),
        .RXELECIDLE_CFG               (GTHE4_CHANNEL_RXELECIDLE_CFG              ),
        .RXGBOX_FIFO_INIT_RD_ADDR     (GTHE4_CHANNEL_RXGBOX_FIFO_INIT_RD_ADDR    ),
        .RXGEARBOX_EN                 (GTHE4_CHANNEL_RXGEARBOX_EN                ),
        .RXISCANRESET_TIME            (GTHE4_CHANNEL_RXISCANRESET_TIME           ),
        .RXLPM_CFG                    (GTHE4_CHANNEL_RXLPM_CFG                   ),
        .RXLPM_GC_CFG                 (GTHE4_CHANNEL_RXLPM_GC_CFG                ),
        .RXLPM_KH_CFG0                (GTHE4_CHANNEL_RXLPM_KH_CFG0               ),
        .RXLPM_KH_CFG1                (GTHE4_CHANNEL_RXLPM_KH_CFG1               ),
        .RXLPM_OS_CFG0                (GTHE4_CHANNEL_RXLPM_OS_CFG0               ),
        .RXLPM_OS_CFG1                (GTHE4_CHANNEL_RXLPM_OS_CFG1               ),
        .RXOOB_CFG                    (GTHE4_CHANNEL_RXOOB_CFG                   ),
        .RXOOB_CLK_CFG                (GTHE4_CHANNEL_RXOOB_CLK_CFG               ),
        .RXOSCALRESET_TIME            (GTHE4_CHANNEL_RXOSCALRESET_TIME           ),
        .RXOUT_DIV                    (GTHE4_CHANNEL_RXOUT_DIV                   ),
        .RXPCSRESET_TIME              (GTHE4_CHANNEL_RXPCSRESET_TIME             ),
        .RXPHBEACON_CFG               (GTHE4_CHANNEL_RXPHBEACON_CFG              ),
        .RXPHDLY_CFG                  (GTHE4_CHANNEL_RXPHDLY_CFG                 ),
        .RXPHSAMP_CFG                 (GTHE4_CHANNEL_RXPHSAMP_CFG                ),
        .RXPHSLIP_CFG                 (GTHE4_CHANNEL_RXPHSLIP_CFG                ),
        .RXPH_MONITOR_SEL             (GTHE4_CHANNEL_RXPH_MONITOR_SEL            ),
        .RXPI_AUTO_BW_SEL_BYPASS      (GTHE4_CHANNEL_RXPI_AUTO_BW_SEL_BYPASS     ),
        .RXPI_CFG0                    (GTHE4_CHANNEL_RXPI_CFG0                   ),
        .RXPI_CFG1                    (GTHE4_CHANNEL_RXPI_CFG1                   ),
        .RXPI_LPM                     (GTHE4_CHANNEL_RXPI_LPM                    ),
        .RXPI_SEL_LC                  (GTHE4_CHANNEL_RXPI_SEL_LC                 ),
        .RXPI_STARTCODE               (GTHE4_CHANNEL_RXPI_STARTCODE              ),
        .RXPI_VREFSEL                 (GTHE4_CHANNEL_RXPI_VREFSEL                ),
        .RXPMACLK_SEL                 (GTHE4_CHANNEL_RXPMACLK_SEL                ),
        .RXPMARESET_TIME              (GTHE4_CHANNEL_RXPMARESET_TIME             ),
        .RXPRBS_ERR_LOOPBACK          (GTHE4_CHANNEL_RXPRBS_ERR_LOOPBACK         ),
        .RXPRBS_LINKACQ_CNT           (GTHE4_CHANNEL_RXPRBS_LINKACQ_CNT          ),
        .RXREFCLKDIV2_SEL             (GTHE4_CHANNEL_RXREFCLKDIV2_SEL            ),
        .RXSLIDE_AUTO_WAIT            (GTHE4_CHANNEL_RXSLIDE_AUTO_WAIT           ),
        .RXSLIDE_MODE                 (GTHE4_CHANNEL_RXSLIDE_MODE                ),
        .RXSYNC_MULTILANE             (GTHE4_CHANNEL_RXSYNC_MULTILANE            ),
        .RXSYNC_OVRD                  (GTHE4_CHANNEL_RXSYNC_OVRD                 ),
        .RXSYNC_SKIP_DA               (GTHE4_CHANNEL_RXSYNC_SKIP_DA              ),
        .RX_AFE_CM_EN                 (GTHE4_CHANNEL_RX_AFE_CM_EN                ),
        .RX_BIAS_CFG0                 (GTHE4_CHANNEL_RX_BIAS_CFG0                ),
        .RX_BUFFER_CFG                (GTHE4_CHANNEL_RX_BUFFER_CFG               ),
        .RX_CAPFF_SARC_ENB            (GTHE4_CHANNEL_RX_CAPFF_SARC_ENB           ),
        .RX_CLK25_DIV                 (GTHE4_CHANNEL_RX_CLK25_DIV                ),
        .RX_CLKMUX_EN                 (GTHE4_CHANNEL_RX_CLKMUX_EN                ),
        .RX_CLK_SLIP_OVRD             (GTHE4_CHANNEL_RX_CLK_SLIP_OVRD            ),
        .RX_CM_BUF_CFG                (GTHE4_CHANNEL_RX_CM_BUF_CFG               ),
        .RX_CM_BUF_PD                 (GTHE4_CHANNEL_RX_CM_BUF_PD                ),
        .RX_CM_SEL                    (GTHE4_CHANNEL_RX_CM_SEL                   ),
        .RX_CM_TRIM                   (GTHE4_CHANNEL_RX_CM_TRIM                  ),
        .RX_CTLE3_LPF                 (GTHE4_CHANNEL_RX_CTLE3_LPF                ),
        .RX_DATA_WIDTH                (GTHE4_CHANNEL_RX_DATA_WIDTH               ),
        .RX_DDI_SEL                   (GTHE4_CHANNEL_RX_DDI_SEL                  ),
        .RX_DEFER_RESET_BUF_EN        (GTHE4_CHANNEL_RX_DEFER_RESET_BUF_EN       ),
        .RX_DEGEN_CTRL                (GTHE4_CHANNEL_RX_DEGEN_CTRL               ),
        .RX_DFELPM_CFG0               (GTHE4_CHANNEL_RX_DFELPM_CFG0              ),
        .RX_DFELPM_CFG1               (GTHE4_CHANNEL_RX_DFELPM_CFG1              ),
        .RX_DFELPM_KLKH_AGC_STUP_EN   (GTHE4_CHANNEL_RX_DFELPM_KLKH_AGC_STUP_EN  ),
        .RX_DFE_AGC_CFG0              (GTHE4_CHANNEL_RX_DFE_AGC_CFG0             ),
        .RX_DFE_AGC_CFG1              (GTHE4_CHANNEL_RX_DFE_AGC_CFG1             ),
        .RX_DFE_KL_LPM_KH_CFG0        (GTHE4_CHANNEL_RX_DFE_KL_LPM_KH_CFG0       ),
        .RX_DFE_KL_LPM_KH_CFG1        (GTHE4_CHANNEL_RX_DFE_KL_LPM_KH_CFG1       ),
        .RX_DFE_KL_LPM_KL_CFG0        (GTHE4_CHANNEL_RX_DFE_KL_LPM_KL_CFG0       ),
        .RX_DFE_KL_LPM_KL_CFG1        (GTHE4_CHANNEL_RX_DFE_KL_LPM_KL_CFG1       ),
        .RX_DFE_LPM_HOLD_DURING_EIDLE (GTHE4_CHANNEL_RX_DFE_LPM_HOLD_DURING_EIDLE),
        .RX_DISPERR_SEQ_MATCH         (GTHE4_CHANNEL_RX_DISPERR_SEQ_MATCH        ),
        .RX_DIV2_MODE_B               (GTHE4_CHANNEL_RX_DIV2_MODE_B              ),
        .RX_DIVRESET_TIME             (GTHE4_CHANNEL_RX_DIVRESET_TIME            ),
        .RX_EN_CTLE_RCAL_B            (GTHE4_CHANNEL_RX_EN_CTLE_RCAL_B           ),
        .RX_EN_HI_LR                  (GTHE4_CHANNEL_RX_EN_HI_LR                 ),
        .RX_EXT_RL_CTRL               (GTHE4_CHANNEL_RX_EXT_RL_CTRL              ),
        .RX_EYESCAN_VS_CODE           (GTHE4_CHANNEL_RX_EYESCAN_VS_CODE          ),
        .RX_EYESCAN_VS_NEG_DIR        (GTHE4_CHANNEL_RX_EYESCAN_VS_NEG_DIR       ),
        .RX_EYESCAN_VS_RANGE          (GTHE4_CHANNEL_RX_EYESCAN_VS_RANGE         ),
        .RX_EYESCAN_VS_UT_SIGN        (GTHE4_CHANNEL_RX_EYESCAN_VS_UT_SIGN       ),
        .RX_FABINT_USRCLK_FLOP        (GTHE4_CHANNEL_RX_FABINT_USRCLK_FLOP       ),
        .RX_INT_DATAWIDTH             (GTHE4_CHANNEL_RX_INT_DATAWIDTH            ),
        .RX_PMA_POWER_SAVE            (GTHE4_CHANNEL_RX_PMA_POWER_SAVE           ),
        .RX_PMA_RSV0                  (GTHE4_CHANNEL_RX_PMA_RSV0                 ),
        .RX_PROGDIV_CFG               (GTHE4_CHANNEL_RX_PROGDIV_CFG              ),
        .RX_PROGDIV_RATE              (GTHE4_CHANNEL_RX_PROGDIV_RATE             ),
        .RX_RESLOAD_CTRL              (GTHE4_CHANNEL_RX_RESLOAD_CTRL             ),
        .RX_RESLOAD_OVRD              (GTHE4_CHANNEL_RX_RESLOAD_OVRD             ),
        .RX_SAMPLE_PERIOD             (GTHE4_CHANNEL_RX_SAMPLE_PERIOD            ),
        .RX_SIG_VALID_DLY             (GTHE4_CHANNEL_RX_SIG_VALID_DLY            ),
        .RX_SUM_DFETAPREP_EN          (GTHE4_CHANNEL_RX_SUM_DFETAPREP_EN         ),
        .RX_SUM_IREF_TUNE             (GTHE4_CHANNEL_RX_SUM_IREF_TUNE            ),
        .RX_SUM_RESLOAD_CTRL          (GTHE4_CHANNEL_RX_SUM_RESLOAD_CTRL         ),
        .RX_SUM_VCMTUNE               (GTHE4_CHANNEL_RX_SUM_VCMTUNE              ),
        .RX_SUM_VCM_OVWR              (GTHE4_CHANNEL_RX_SUM_VCM_OVWR             ),
        .RX_SUM_VREF_TUNE             (GTHE4_CHANNEL_RX_SUM_VREF_TUNE            ),
        .RX_TUNE_AFE_OS               (GTHE4_CHANNEL_RX_TUNE_AFE_OS              ),
        .RX_VREG_CTRL                 (GTHE4_CHANNEL_RX_VREG_CTRL                ),
        .RX_VREG_PDB                  (GTHE4_CHANNEL_RX_VREG_PDB                 ),
        .RX_WIDEMODE_CDR              (GTHE4_CHANNEL_RX_WIDEMODE_CDR             ),
        .RX_WIDEMODE_CDR_GEN3         (GTHE4_CHANNEL_RX_WIDEMODE_CDR_GEN3        ),
        .RX_WIDEMODE_CDR_GEN4         (GTHE4_CHANNEL_RX_WIDEMODE_CDR_GEN4        ),
        .RX_XCLK_SEL                  (GTHE4_CHANNEL_RX_XCLK_SEL                 ),
        .RX_XMODE_SEL                 (GTHE4_CHANNEL_RX_XMODE_SEL                ),
        .SAMPLE_CLK_PHASE             (GTHE4_CHANNEL_SAMPLE_CLK_PHASE            ),
        .SAS_12G_MODE                 (GTHE4_CHANNEL_SAS_12G_MODE                ),
        .SATA_BURST_SEQ_LEN           (GTHE4_CHANNEL_SATA_BURST_SEQ_LEN          ),
        .SATA_BURST_VAL               (GTHE4_CHANNEL_SATA_BURST_VAL              ),
        .SATA_CPLL_CFG                (GTHE4_CHANNEL_SATA_CPLL_CFG               ),
        .SATA_EIDLE_VAL               (GTHE4_CHANNEL_SATA_EIDLE_VAL              ),
        .SHOW_REALIGN_COMMA           (GTHE4_CHANNEL_SHOW_REALIGN_COMMA          ),
        .SIM_MODE                     (GTHE4_CHANNEL_SIM_MODE                    ),
        .SIM_RECEIVER_DETECT_PASS     (GTHE4_CHANNEL_SIM_RECEIVER_DETECT_PASS    ),
        .SIM_RESET_SPEEDUP            (GTHE4_CHANNEL_SIM_RESET_SPEEDUP           ),
        .SIM_TX_EIDLE_DRIVE_LEVEL     (GTHE4_CHANNEL_SIM_TX_EIDLE_DRIVE_LEVEL    ),
        .SIM_DEVICE                   (GTHE4_CHANNEL_SIM_DEVICE                  ),
        .SRSTMODE                     (GTHE4_CHANNEL_SRSTMODE                    ),
        .TAPDLY_SET_TX                (GTHE4_CHANNEL_TAPDLY_SET_TX               ),
        .TEMPERATURE_PAR              (GTHE4_CHANNEL_TEMPERATURE_PAR             ),
        .TERM_RCAL_CFG                (GTHE4_CHANNEL_TERM_RCAL_CFG               ),
        .TERM_RCAL_OVRD               (GTHE4_CHANNEL_TERM_RCAL_OVRD              ),
        .TRANS_TIME_RATE              (GTHE4_CHANNEL_TRANS_TIME_RATE             ),
        .TST_RSV0                     (GTHE4_CHANNEL_TST_RSV0                    ),
        .TST_RSV1                     (GTHE4_CHANNEL_TST_RSV1                    ),
        .TXBUF_EN                     (GTHE4_CHANNEL_TXBUF_EN                    ),
        .TXBUF_RESET_ON_RATE_CHANGE   (GTHE4_CHANNEL_TXBUF_RESET_ON_RATE_CHANGE  ),
        .TXDLY_CFG                    (GTHE4_CHANNEL_TXDLY_CFG                   ),
        .TXDLY_LCFG                   (GTHE4_CHANNEL_TXDLY_LCFG                  ),
        .TXDRVBIAS_N                  (GTHE4_CHANNEL_TXDRVBIAS_N                 ),
        .TXFIFO_ADDR_CFG              (GTHE4_CHANNEL_TXFIFO_ADDR_CFG             ),
        .TXGBOX_FIFO_INIT_RD_ADDR     (GTHE4_CHANNEL_TXGBOX_FIFO_INIT_RD_ADDR    ),
        .TXGEARBOX_EN                 (GTHE4_CHANNEL_TXGEARBOX_EN                ),
        .TXOUT_DIV                    (GTHE4_CHANNEL_TXOUT_DIV                   ),
        .TXPCSRESET_TIME              (GTHE4_CHANNEL_TXPCSRESET_TIME             ),
        .TXPHDLY_CFG0                 (GTHE4_CHANNEL_TXPHDLY_CFG0                ),
        .TXPHDLY_CFG1                 (GTHE4_CHANNEL_TXPHDLY_CFG1                ),
        .TXPH_CFG                     (GTHE4_CHANNEL_TXPH_CFG                    ),
        .TXPH_CFG2                    (GTHE4_CHANNEL_TXPH_CFG2                   ),
        .TXPH_MONITOR_SEL             (GTHE4_CHANNEL_TXPH_MONITOR_SEL            ),
        .TXPI_CFG                     (GTHE4_CHANNEL_TXPI_CFG                    ),
        .TXPI_CFG0                    (GTHE4_CHANNEL_TXPI_CFG0                   ),
        .TXPI_CFG1                    (GTHE4_CHANNEL_TXPI_CFG1                   ),
        .TXPI_CFG2                    (GTHE4_CHANNEL_TXPI_CFG2                   ),
        .TXPI_CFG3                    (GTHE4_CHANNEL_TXPI_CFG3                   ),
        .TXPI_CFG4                    (GTHE4_CHANNEL_TXPI_CFG4                   ),
        .TXPI_CFG5                    (GTHE4_CHANNEL_TXPI_CFG5                   ),
        .TXPI_GRAY_SEL                (GTHE4_CHANNEL_TXPI_GRAY_SEL               ),
        .TXPI_INVSTROBE_SEL           (GTHE4_CHANNEL_TXPI_INVSTROBE_SEL          ),
        .TXPI_LPM                     (GTHE4_CHANNEL_TXPI_LPM                    ),
        .TXPI_PPM                     (GTHE4_CHANNEL_TXPI_PPM                    ),
        .TXPI_PPMCLK_SEL              (GTHE4_CHANNEL_TXPI_PPMCLK_SEL             ),
        .TXPI_PPM_CFG                 (GTHE4_CHANNEL_TXPI_PPM_CFG                ),
        .TXPI_SYNFREQ_PPM             (GTHE4_CHANNEL_TXPI_SYNFREQ_PPM            ),
        .TXPI_VREFSEL                 (GTHE4_CHANNEL_TXPI_VREFSEL                ),
        .TXPMARESET_TIME              (GTHE4_CHANNEL_TXPMARESET_TIME             ),
        .TXREFCLKDIV2_SEL             (GTHE4_CHANNEL_TXREFCLKDIV2_SEL            ),
        .TXSYNC_MULTILANE             (GTHE4_CHANNEL_TXSYNC_MULTILANE            ),
        .TXSYNC_OVRD                  (GTHE4_CHANNEL_TXSYNC_OVRD                 ),
        .TXSYNC_SKIP_DA               (GTHE4_CHANNEL_TXSYNC_SKIP_DA              ),
        .TX_CLK25_DIV                 (GTHE4_CHANNEL_TX_CLK25_DIV                ),
        .TX_CLKMUX_EN                 (GTHE4_CHANNEL_TX_CLKMUX_EN                ),
        .TX_DATA_WIDTH                (GTHE4_CHANNEL_TX_DATA_WIDTH               ),
        .TX_DCC_LOOP_RST_CFG          (GTHE4_CHANNEL_TX_DCC_LOOP_RST_CFG         ),
        .TX_DEEMPH0                   (GTHE4_CHANNEL_TX_DEEMPH0                  ),
        .TX_DEEMPH1                   (GTHE4_CHANNEL_TX_DEEMPH1                  ),
        .TX_DEEMPH2                   (GTHE4_CHANNEL_TX_DEEMPH2                  ),
        .TX_DEEMPH3                   (GTHE4_CHANNEL_TX_DEEMPH3                  ),
        .TX_DIVRESET_TIME             (GTHE4_CHANNEL_TX_DIVRESET_TIME            ),
        .TX_DRIVE_MODE                (GTHE4_CHANNEL_TX_DRIVE_MODE               ),
        .TX_DRVMUX_CTRL               (GTHE4_CHANNEL_TX_DRVMUX_CTRL              ),
        .TX_EIDLE_ASSERT_DELAY        (GTHE4_CHANNEL_TX_EIDLE_ASSERT_DELAY       ),
        .TX_EIDLE_DEASSERT_DELAY      (GTHE4_CHANNEL_TX_EIDLE_DEASSERT_DELAY     ),
        .TX_FABINT_USRCLK_FLOP        (GTHE4_CHANNEL_TX_FABINT_USRCLK_FLOP       ),
        .TX_FIFO_BYP_EN               (GTHE4_CHANNEL_TX_FIFO_BYP_EN              ),
        .TX_IDLE_DATA_ZERO            (GTHE4_CHANNEL_TX_IDLE_DATA_ZERO           ),
        .TX_INT_DATAWIDTH             (GTHE4_CHANNEL_TX_INT_DATAWIDTH            ),
        .TX_LOOPBACK_DRIVE_HIZ        (GTHE4_CHANNEL_TX_LOOPBACK_DRIVE_HIZ       ),
        .TX_MAINCURSOR_SEL            (GTHE4_CHANNEL_TX_MAINCURSOR_SEL           ),
        .TX_MARGIN_FULL_0             (GTHE4_CHANNEL_TX_MARGIN_FULL_0            ),
        .TX_MARGIN_FULL_1             (GTHE4_CHANNEL_TX_MARGIN_FULL_1            ),
        .TX_MARGIN_FULL_2             (GTHE4_CHANNEL_TX_MARGIN_FULL_2            ),
        .TX_MARGIN_FULL_3             (GTHE4_CHANNEL_TX_MARGIN_FULL_3            ),
        .TX_MARGIN_FULL_4             (GTHE4_CHANNEL_TX_MARGIN_FULL_4            ),
        .TX_MARGIN_LOW_0              (GTHE4_CHANNEL_TX_MARGIN_LOW_0             ),
        .TX_MARGIN_LOW_1              (GTHE4_CHANNEL_TX_MARGIN_LOW_1             ),
        .TX_MARGIN_LOW_2              (GTHE4_CHANNEL_TX_MARGIN_LOW_2             ),
        .TX_MARGIN_LOW_3              (GTHE4_CHANNEL_TX_MARGIN_LOW_3             ),
        .TX_MARGIN_LOW_4              (GTHE4_CHANNEL_TX_MARGIN_LOW_4             ),
        .TX_PHICAL_CFG0               (GTHE4_CHANNEL_TX_PHICAL_CFG0              ),
        .TX_PHICAL_CFG1               (GTHE4_CHANNEL_TX_PHICAL_CFG1              ),
        .TX_PHICAL_CFG2               (GTHE4_CHANNEL_TX_PHICAL_CFG2              ),
        .TX_PI_BIASSET                (GTHE4_CHANNEL_TX_PI_BIASSET               ),
        .TX_PI_IBIAS_MID              (GTHE4_CHANNEL_TX_PI_IBIAS_MID             ),
        .TX_PMADATA_OPT               (GTHE4_CHANNEL_TX_PMADATA_OPT              ),
        .TX_PMA_POWER_SAVE            (GTHE4_CHANNEL_TX_PMA_POWER_SAVE           ),
        .TX_PMA_RSV0                  (GTHE4_CHANNEL_TX_PMA_RSV0                 ),
        .TX_PREDRV_CTRL               (GTHE4_CHANNEL_TX_PREDRV_CTRL              ),
        .TX_PROGCLK_SEL               (GTHE4_CHANNEL_TX_PROGCLK_SEL              ),
        .TX_PROGDIV_CFG               (GTHE4_CHANNEL_TX_PROGDIV_CFG              ),
        .TX_PROGDIV_RATE              (GTHE4_CHANNEL_TX_PROGDIV_RATE             ),
        .TX_QPI_STATUS_EN             (GTHE4_CHANNEL_TX_QPI_STATUS_EN            ),
        .TX_RXDETECT_CFG              (GTHE4_CHANNEL_TX_RXDETECT_CFG             ),
        .TX_RXDETECT_REF              (GTHE4_CHANNEL_TX_RXDETECT_REF             ),
        .TX_SAMPLE_PERIOD             (GTHE4_CHANNEL_TX_SAMPLE_PERIOD            ),
        .TX_SARC_LPBK_ENB             (GTHE4_CHANNEL_TX_SARC_LPBK_ENB            ),
        .TX_SW_MEAS                   (GTHE4_CHANNEL_TX_SW_MEAS                  ),
        .TX_VREG_CTRL                 (GTHE4_CHANNEL_TX_VREG_CTRL                ),
        .TX_VREG_PDB                  (GTHE4_CHANNEL_TX_VREG_PDB                 ),
        .TX_VREG_VREFSEL              (GTHE4_CHANNEL_TX_VREG_VREFSEL             ),
        .TX_XCLK_SEL                  (GTHE4_CHANNEL_TX_XCLK_SEL                 ),
        .USB_BOTH_BURST_IDLE          (GTHE4_CHANNEL_USB_BOTH_BURST_IDLE         ),
        .USB_BURSTMAX_U3WAKE          (GTHE4_CHANNEL_USB_BURSTMAX_U3WAKE         ),
        .USB_BURSTMIN_U3WAKE          (GTHE4_CHANNEL_USB_BURSTMIN_U3WAKE         ),
        .USB_CLK_COR_EQ_EN            (GTHE4_CHANNEL_USB_CLK_COR_EQ_EN           ),
        .USB_EXT_CNTL                 (GTHE4_CHANNEL_USB_EXT_CNTL                ),
        .USB_IDLEMAX_POLLING          (GTHE4_CHANNEL_USB_IDLEMAX_POLLING         ),
        .USB_IDLEMIN_POLLING          (GTHE4_CHANNEL_USB_IDLEMIN_POLLING         ),
        .USB_LFPSPING_BURST           (GTHE4_CHANNEL_USB_LFPSPING_BURST          ),
        .USB_LFPSPOLLING_BURST        (GTHE4_CHANNEL_USB_LFPSPOLLING_BURST       ),
        .USB_LFPSPOLLING_IDLE_MS      (GTHE4_CHANNEL_USB_LFPSPOLLING_IDLE_MS     ),
        .USB_LFPSU1EXIT_BURST         (GTHE4_CHANNEL_USB_LFPSU1EXIT_BURST        ),
        .USB_LFPSU2LPEXIT_BURST_MS    (GTHE4_CHANNEL_USB_LFPSU2LPEXIT_BURST_MS   ),
        .USB_LFPSU3WAKE_BURST_MS      (GTHE4_CHANNEL_USB_LFPSU3WAKE_BURST_MS     ),
        .USB_LFPS_TPERIOD             (GTHE4_CHANNEL_USB_LFPS_TPERIOD            ),
        .USB_LFPS_TPERIOD_ACCURATE    (GTHE4_CHANNEL_USB_LFPS_TPERIOD_ACCURATE   ),
        .USB_MODE                     (GTHE4_CHANNEL_USB_MODE                    ),
        .USB_PCIE_ERR_REP_DIS         (GTHE4_CHANNEL_USB_PCIE_ERR_REP_DIS        ),
        .USB_PING_SATA_MAX_INIT       (GTHE4_CHANNEL_USB_PING_SATA_MAX_INIT      ),
        .USB_PING_SATA_MIN_INIT       (GTHE4_CHANNEL_USB_PING_SATA_MIN_INIT      ),
        .USB_POLL_SATA_MAX_BURST      (GTHE4_CHANNEL_USB_POLL_SATA_MAX_BURST     ),
        .USB_POLL_SATA_MIN_BURST      (GTHE4_CHANNEL_USB_POLL_SATA_MIN_BURST     ),
        .USB_RAW_ELEC                 (GTHE4_CHANNEL_USB_RAW_ELEC                ),
        .USB_RXIDLE_P0_CTRL           (GTHE4_CHANNEL_USB_RXIDLE_P0_CTRL          ),
        .USB_TXIDLE_TUNE_ENABLE       (GTHE4_CHANNEL_USB_TXIDLE_TUNE_ENABLE      ),
        .USB_U1_SATA_MAX_WAKE         (GTHE4_CHANNEL_USB_U1_SATA_MAX_WAKE        ),
        .USB_U1_SATA_MIN_WAKE         (GTHE4_CHANNEL_USB_U1_SATA_MIN_WAKE        ),
        .USB_U2_SAS_MAX_COM           (GTHE4_CHANNEL_USB_U2_SAS_MAX_COM          ),
        .USB_U2_SAS_MIN_COM           (GTHE4_CHANNEL_USB_U2_SAS_MIN_COM          ),
        .USE_PCS_CLK_PHASE_SEL        (GTHE4_CHANNEL_USE_PCS_CLK_PHASE_SEL       ),
        .Y_ALL_MODE                   (GTHE4_CHANNEL_Y_ALL_MODE                  )
      ) GTHE4_CHANNEL_PRIM_INST (
        .CDRSTEPDIR                   (GTHE4_CHANNEL_CDRSTEPDIR_int          [((ch+1)*  1)-1:(ch*  1)]),
        .CDRSTEPSQ                    (GTHE4_CHANNEL_CDRSTEPSQ_int           [((ch+1)*  1)-1:(ch*  1)]),
        .CDRSTEPSX                    (GTHE4_CHANNEL_CDRSTEPSX_int           [((ch+1)*  1)-1:(ch*  1)]),
        .CFGRESET                     (GTHE4_CHANNEL_CFGRESET_int            [((ch+1)*  1)-1:(ch*  1)]),
        .CLKRSVD0                     (GTHE4_CHANNEL_CLKRSVD0_int            [((ch+1)*  1)-1:(ch*  1)]),
        .CLKRSVD1                     (GTHE4_CHANNEL_CLKRSVD1_int            [((ch+1)*  1)-1:(ch*  1)]),
        .CPLLFREQLOCK                 (GTHE4_CHANNEL_CPLLFREQLOCK_int        [((ch+1)*  1)-1:(ch*  1)]),
        .CPLLLOCKDETCLK               (GTHE4_CHANNEL_CPLLLOCKDETCLK_int      [((ch+1)*  1)-1:(ch*  1)]),
        .CPLLLOCKEN                   (GTHE4_CHANNEL_CPLLLOCKEN_int          [((ch+1)*  1)-1:(ch*  1)]),
        .CPLLPD                       (GTHE4_CHANNEL_CPLLPD_int              [((ch+1)*  1)-1:(ch*  1)]),
        .CPLLREFCLKSEL                (GTHE4_CHANNEL_CPLLREFCLKSEL_int       [((ch+1)*  3)-1:(ch*  3)]),
        .CPLLRESET                    (GTHE4_CHANNEL_CPLLRESET_int           [((ch+1)*  1)-1:(ch*  1)]),
        .DMONFIFORESET                (GTHE4_CHANNEL_DMONFIFORESET_int       [((ch+1)*  1)-1:(ch*  1)]),
        .DMONITORCLK                  (GTHE4_CHANNEL_DMONITORCLK_int         [((ch+1)*  1)-1:(ch*  1)]),
        .DRPADDR                      (GTHE4_CHANNEL_DRPADDR_int             [((ch+1)* 10)-1:(ch* 10)]),
        .DRPCLK                       (GTHE4_CHANNEL_DRPCLK_int              [((ch+1)*  1)-1:(ch*  1)]),
        .DRPDI                        (GTHE4_CHANNEL_DRPDI_int               [((ch+1)* 16)-1:(ch* 16)]),
        .DRPEN                        (GTHE4_CHANNEL_DRPEN_int               [((ch+1)*  1)-1:(ch*  1)]),
        .DRPRST                       (GTHE4_CHANNEL_DRPRST_int              [((ch+1)*  1)-1:(ch*  1)]),
        .DRPWE                        (GTHE4_CHANNEL_DRPWE_int               [((ch+1)*  1)-1:(ch*  1)]),
        .EYESCANRESET                 (GTHE4_CHANNEL_EYESCANRESET_int        [((ch+1)*  1)-1:(ch*  1)]),
        .EYESCANTRIGGER               (GTHE4_CHANNEL_EYESCANTRIGGER_int      [((ch+1)*  1)-1:(ch*  1)]),
        .FREQOS                       (GTHE4_CHANNEL_FREQOS_int              [((ch+1)*  1)-1:(ch*  1)]),
        .GTGREFCLK                    (GTHE4_CHANNEL_GTGREFCLK_int           [((ch+1)*  1)-1:(ch*  1)]),
        .GTHRXN                       (GTHE4_CHANNEL_GTHRXN_int              [((ch+1)*  1)-1:(ch*  1)]),
        .GTHRXP                       (GTHE4_CHANNEL_GTHRXP_int              [((ch+1)*  1)-1:(ch*  1)]),
        .GTNORTHREFCLK0               (GTHE4_CHANNEL_GTNORTHREFCLK0_int      [((ch+1)*  1)-1:(ch*  1)]),
        .GTNORTHREFCLK1               (GTHE4_CHANNEL_GTNORTHREFCLK1_int      [((ch+1)*  1)-1:(ch*  1)]),
        .GTREFCLK0                    (GTHE4_CHANNEL_GTREFCLK0_int           [((ch+1)*  1)-1:(ch*  1)]),
        .GTREFCLK1                    (GTHE4_CHANNEL_GTREFCLK1_int           [((ch+1)*  1)-1:(ch*  1)]),
        .GTRSVD                       (GTHE4_CHANNEL_GTRSVD_int              [((ch+1)* 16)-1:(ch* 16)]),
        .GTRXRESET                    (GTHE4_CHANNEL_GTRXRESET_int           [((ch+1)*  1)-1:(ch*  1)]),
        .GTRXRESETSEL                 (GTHE4_CHANNEL_GTRXRESETSEL_int        [((ch+1)*  1)-1:(ch*  1)]),
        .GTSOUTHREFCLK0               (GTHE4_CHANNEL_GTSOUTHREFCLK0_int      [((ch+1)*  1)-1:(ch*  1)]),
        .GTSOUTHREFCLK1               (GTHE4_CHANNEL_GTSOUTHREFCLK1_int      [((ch+1)*  1)-1:(ch*  1)]),
        .GTTXRESET                    (GTHE4_CHANNEL_GTTXRESET_int           [((ch+1)*  1)-1:(ch*  1)]),
        .GTTXRESETSEL                 (GTHE4_CHANNEL_GTTXRESETSEL_int        [((ch+1)*  1)-1:(ch*  1)]),
        .INCPCTRL                     (GTHE4_CHANNEL_INCPCTRL_int            [((ch+1)*  1)-1:(ch*  1)]),
        .LOOPBACK                     (GTHE4_CHANNEL_LOOPBACK_int            [((ch+1)*  3)-1:(ch*  3)]),
        .PCIEEQRXEQADAPTDONE          (GTHE4_CHANNEL_PCIEEQRXEQADAPTDONE_int [((ch+1)*  1)-1:(ch*  1)]),
        .PCIERSTIDLE                  (GTHE4_CHANNEL_PCIERSTIDLE_int         [((ch+1)*  1)-1:(ch*  1)]),
        .PCIERSTTXSYNCSTART           (GTHE4_CHANNEL_PCIERSTTXSYNCSTART_int  [((ch+1)*  1)-1:(ch*  1)]),
        .PCIEUSERRATEDONE             (GTHE4_CHANNEL_PCIEUSERRATEDONE_int    [((ch+1)*  1)-1:(ch*  1)]),
        .PCSRSVDIN                    (GTHE4_CHANNEL_PCSRSVDIN_int           [((ch+1)* 16)-1:(ch* 16)]),
        .QPLL0CLK                     (GTHE4_CHANNEL_QPLL0CLK_int            [((ch+1)*  1)-1:(ch*  1)]),
        .QPLL0FREQLOCK                (GTHE4_CHANNEL_QPLL0FREQLOCK_int       [((ch+1)*  1)-1:(ch*  1)]),
        .QPLL0REFCLK                  (GTHE4_CHANNEL_QPLL0REFCLK_int         [((ch+1)*  1)-1:(ch*  1)]),
        .QPLL1CLK                     (GTHE4_CHANNEL_QPLL1CLK_int            [((ch+1)*  1)-1:(ch*  1)]),
        .QPLL1FREQLOCK                (GTHE4_CHANNEL_QPLL1FREQLOCK_int       [((ch+1)*  1)-1:(ch*  1)]),
        .QPLL1REFCLK                  (GTHE4_CHANNEL_QPLL1REFCLK_int         [((ch+1)*  1)-1:(ch*  1)]),
        .RESETOVRD                    (GTHE4_CHANNEL_RESETOVRD_int           [((ch+1)*  1)-1:(ch*  1)]),
        .RX8B10BEN                    (GTHE4_CHANNEL_RX8B10BEN_int           [((ch+1)*  1)-1:(ch*  1)]),
        .RXAFECFOKEN                  (GTHE4_CHANNEL_RXAFECFOKEN_int         [((ch+1)*  1)-1:(ch*  1)]),
        .RXBUFRESET                   (GTHE4_CHANNEL_RXBUFRESET_int          [((ch+1)*  1)-1:(ch*  1)]),
        .RXCDRFREQRESET               (GTHE4_CHANNEL_RXCDRFREQRESET_int      [((ch+1)*  1)-1:(ch*  1)]),
        .RXCDRHOLD                    (GTHE4_CHANNEL_RXCDRHOLD_int           [((ch+1)*  1)-1:(ch*  1)]),
        .RXCDROVRDEN                  (GTHE4_CHANNEL_RXCDROVRDEN_int         [((ch+1)*  1)-1:(ch*  1)]),
        .RXCDRRESET                   (GTHE4_CHANNEL_RXCDRRESET_int          [((ch+1)*  1)-1:(ch*  1)]),
        .RXCHBONDEN                   (GTHE4_CHANNEL_RXCHBONDEN_int          [((ch+1)*  1)-1:(ch*  1)]),
        .RXCHBONDI                    (GTHE4_CHANNEL_RXCHBONDI_int           [((ch+1)*  5)-1:(ch*  5)]),
        .RXCHBONDLEVEL                (GTHE4_CHANNEL_RXCHBONDLEVEL_int       [((ch+1)*  3)-1:(ch*  3)]),
        .RXCHBONDMASTER               (GTHE4_CHANNEL_RXCHBONDMASTER_int      [((ch+1)*  1)-1:(ch*  1)]),
        .RXCHBONDSLAVE                (GTHE4_CHANNEL_RXCHBONDSLAVE_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXCKCALRESET                 (GTHE4_CHANNEL_RXCKCALRESET_int        [((ch+1)*  1)-1:(ch*  1)]),
        .RXCKCALSTART                 (GTHE4_CHANNEL_RXCKCALSTART_int        [((ch+1)*  7)-1:(ch*  7)]),
        .RXCOMMADETEN                 (GTHE4_CHANNEL_RXCOMMADETEN_int        [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFEAGCCTRL                 (GTHE4_CHANNEL_RXDFEAGCCTRL_int        [((ch+1)*  2)-1:(ch*  2)]),
        .RXDFEAGCHOLD                 (GTHE4_CHANNEL_RXDFEAGCHOLD_int        [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFEAGCOVRDEN               (GTHE4_CHANNEL_RXDFEAGCOVRDEN_int      [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFECFOKFCNUM               (GTHE4_CHANNEL_RXDFECFOKFCNUM_int      [((ch+1)*  4)-1:(ch*  4)]),
        .RXDFECFOKFEN                 (GTHE4_CHANNEL_RXDFECFOKFEN_int        [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFECFOKFPULSE              (GTHE4_CHANNEL_RXDFECFOKFPULSE_int     [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFECFOKHOLD                (GTHE4_CHANNEL_RXDFECFOKHOLD_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFECFOKOVREN               (GTHE4_CHANNEL_RXDFECFOKOVREN_int      [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFEKHHOLD                  (GTHE4_CHANNEL_RXDFEKHHOLD_int         [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFEKHOVRDEN                (GTHE4_CHANNEL_RXDFEKHOVRDEN_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFELFHOLD                  (GTHE4_CHANNEL_RXDFELFHOLD_int         [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFELFOVRDEN                (GTHE4_CHANNEL_RXDFELFOVRDEN_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFELPMRESET                (GTHE4_CHANNEL_RXDFELPMRESET_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP10HOLD               (GTHE4_CHANNEL_RXDFETAP10HOLD_int      [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP10OVRDEN             (GTHE4_CHANNEL_RXDFETAP10OVRDEN_int    [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP11HOLD               (GTHE4_CHANNEL_RXDFETAP11HOLD_int      [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP11OVRDEN             (GTHE4_CHANNEL_RXDFETAP11OVRDEN_int    [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP12HOLD               (GTHE4_CHANNEL_RXDFETAP12HOLD_int      [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP12OVRDEN             (GTHE4_CHANNEL_RXDFETAP12OVRDEN_int    [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP13HOLD               (GTHE4_CHANNEL_RXDFETAP13HOLD_int      [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP13OVRDEN             (GTHE4_CHANNEL_RXDFETAP13OVRDEN_int    [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP14HOLD               (GTHE4_CHANNEL_RXDFETAP14HOLD_int      [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP14OVRDEN             (GTHE4_CHANNEL_RXDFETAP14OVRDEN_int    [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP15HOLD               (GTHE4_CHANNEL_RXDFETAP15HOLD_int      [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP15OVRDEN             (GTHE4_CHANNEL_RXDFETAP15OVRDEN_int    [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP2HOLD                (GTHE4_CHANNEL_RXDFETAP2HOLD_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP2OVRDEN              (GTHE4_CHANNEL_RXDFETAP2OVRDEN_int     [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP3HOLD                (GTHE4_CHANNEL_RXDFETAP3HOLD_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP3OVRDEN              (GTHE4_CHANNEL_RXDFETAP3OVRDEN_int     [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP4HOLD                (GTHE4_CHANNEL_RXDFETAP4HOLD_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP4OVRDEN              (GTHE4_CHANNEL_RXDFETAP4OVRDEN_int     [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP5HOLD                (GTHE4_CHANNEL_RXDFETAP5HOLD_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP5OVRDEN              (GTHE4_CHANNEL_RXDFETAP5OVRDEN_int     [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP6HOLD                (GTHE4_CHANNEL_RXDFETAP6HOLD_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP6OVRDEN              (GTHE4_CHANNEL_RXDFETAP6OVRDEN_int     [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP7HOLD                (GTHE4_CHANNEL_RXDFETAP7HOLD_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP7OVRDEN              (GTHE4_CHANNEL_RXDFETAP7OVRDEN_int     [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP8HOLD                (GTHE4_CHANNEL_RXDFETAP8HOLD_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP8OVRDEN              (GTHE4_CHANNEL_RXDFETAP8OVRDEN_int     [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP9HOLD                (GTHE4_CHANNEL_RXDFETAP9HOLD_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFETAP9OVRDEN              (GTHE4_CHANNEL_RXDFETAP9OVRDEN_int     [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFEUTHOLD                  (GTHE4_CHANNEL_RXDFEUTHOLD_int         [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFEUTOVRDEN                (GTHE4_CHANNEL_RXDFEUTOVRDEN_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFEVPHOLD                  (GTHE4_CHANNEL_RXDFEVPHOLD_int         [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFEVPOVRDEN                (GTHE4_CHANNEL_RXDFEVPOVRDEN_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXDFEXYDEN                   (GTHE4_CHANNEL_RXDFEXYDEN_int          [((ch+1)*  1)-1:(ch*  1)]),
        .RXDLYBYPASS                  (GTHE4_CHANNEL_RXDLYBYPASS_int         [((ch+1)*  1)-1:(ch*  1)]),
        .RXDLYEN                      (GTHE4_CHANNEL_RXDLYEN_int             [((ch+1)*  1)-1:(ch*  1)]),
        .RXDLYOVRDEN                  (GTHE4_CHANNEL_RXDLYOVRDEN_int         [((ch+1)*  1)-1:(ch*  1)]),
        .RXDLYSRESET                  (GTHE4_CHANNEL_RXDLYSRESET_int         [((ch+1)*  1)-1:(ch*  1)]),
        .RXELECIDLEMODE               (GTHE4_CHANNEL_RXELECIDLEMODE_int      [((ch+1)*  2)-1:(ch*  2)]),
        .RXEQTRAINING                 (GTHE4_CHANNEL_RXEQTRAINING_int        [((ch+1)*  1)-1:(ch*  1)]),
        .RXGEARBOXSLIP                (GTHE4_CHANNEL_RXGEARBOXSLIP_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXLATCLK                     (GTHE4_CHANNEL_RXLATCLK_int            [((ch+1)*  1)-1:(ch*  1)]),
        .RXLPMEN                      (GTHE4_CHANNEL_RXLPMEN_int             [((ch+1)*  1)-1:(ch*  1)]),
        .RXLPMGCHOLD                  (GTHE4_CHANNEL_RXLPMGCHOLD_int         [((ch+1)*  1)-1:(ch*  1)]),
        .RXLPMGCOVRDEN                (GTHE4_CHANNEL_RXLPMGCOVRDEN_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXLPMHFHOLD                  (GTHE4_CHANNEL_RXLPMHFHOLD_int         [((ch+1)*  1)-1:(ch*  1)]),
        .RXLPMHFOVRDEN                (GTHE4_CHANNEL_RXLPMHFOVRDEN_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXLPMLFHOLD                  (GTHE4_CHANNEL_RXLPMLFHOLD_int         [((ch+1)*  1)-1:(ch*  1)]),
        .RXLPMLFKLOVRDEN              (GTHE4_CHANNEL_RXLPMLFKLOVRDEN_int     [((ch+1)*  1)-1:(ch*  1)]),
        .RXLPMOSHOLD                  (GTHE4_CHANNEL_RXLPMOSHOLD_int         [((ch+1)*  1)-1:(ch*  1)]),
        .RXLPMOSOVRDEN                (GTHE4_CHANNEL_RXLPMOSOVRDEN_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXMCOMMAALIGNEN              (GTHE4_CHANNEL_RXMCOMMAALIGNEN_int     [((ch+1)*  1)-1:(ch*  1)]),
        .RXMONITORSEL                 (GTHE4_CHANNEL_RXMONITORSEL_int        [((ch+1)*  2)-1:(ch*  2)]),
        .RXOOBRESET                   (GTHE4_CHANNEL_RXOOBRESET_int          [((ch+1)*  1)-1:(ch*  1)]),
        .RXOSCALRESET                 (GTHE4_CHANNEL_RXOSCALRESET_int        [((ch+1)*  1)-1:(ch*  1)]),
        .RXOSHOLD                     (GTHE4_CHANNEL_RXOSHOLD_int            [((ch+1)*  1)-1:(ch*  1)]),
        .RXOSOVRDEN                   (GTHE4_CHANNEL_RXOSOVRDEN_int          [((ch+1)*  1)-1:(ch*  1)]),
        .RXOUTCLKSEL                  (GTHE4_CHANNEL_RXOUTCLKSEL_int         [((ch+1)*  3)-1:(ch*  3)]),
        .RXPCOMMAALIGNEN              (GTHE4_CHANNEL_RXPCOMMAALIGNEN_int     [((ch+1)*  1)-1:(ch*  1)]),
        .RXPCSRESET                   (GTHE4_CHANNEL_RXPCSRESET_int          [((ch+1)*  1)-1:(ch*  1)]),
        .RXPD                         (GTHE4_CHANNEL_RXPD_int                [((ch+1)*  2)-1:(ch*  2)]),
        .RXPHALIGN                    (GTHE4_CHANNEL_RXPHALIGN_int           [((ch+1)*  1)-1:(ch*  1)]),
        .RXPHALIGNEN                  (GTHE4_CHANNEL_RXPHALIGNEN_int         [((ch+1)*  1)-1:(ch*  1)]),
        .RXPHDLYPD                    (GTHE4_CHANNEL_RXPHDLYPD_int           [((ch+1)*  1)-1:(ch*  1)]),
        .RXPHDLYRESET                 (GTHE4_CHANNEL_RXPHDLYRESET_int        [((ch+1)*  1)-1:(ch*  1)]),
        .RXPHOVRDEN                   (GTHE4_CHANNEL_RXPHOVRDEN_int          [((ch+1)*  1)-1:(ch*  1)]),
        .RXPLLCLKSEL                  (GTHE4_CHANNEL_RXPLLCLKSEL_int         [((ch+1)*  2)-1:(ch*  2)]),
        .RXPMARESET                   (GTHE4_CHANNEL_RXPMARESET_int          [((ch+1)*  1)-1:(ch*  1)]),
        .RXPOLARITY                   (GTHE4_CHANNEL_RXPOLARITY_int          [((ch+1)*  1)-1:(ch*  1)]),
        .RXPRBSCNTRESET               (GTHE4_CHANNEL_RXPRBSCNTRESET_int      [((ch+1)*  1)-1:(ch*  1)]),
        .RXPRBSSEL                    (GTHE4_CHANNEL_RXPRBSSEL_int           [((ch+1)*  4)-1:(ch*  4)]),
        .RXPROGDIVRESET               (GTHE4_CHANNEL_RXPROGDIVRESET_int      [((ch+1)*  1)-1:(ch*  1)]),
        .RXQPIEN                      (GTHE4_CHANNEL_RXQPIEN_int             [((ch+1)*  1)-1:(ch*  1)]),
        .RXRATE                       (GTHE4_CHANNEL_RXRATE_int              [((ch+1)*  3)-1:(ch*  3)]),
        .RXRATEMODE                   (GTHE4_CHANNEL_RXRATEMODE_int          [((ch+1)*  1)-1:(ch*  1)]),
        .RXSLIDE                      (GTHE4_CHANNEL_RXSLIDE_int             [((ch+1)*  1)-1:(ch*  1)]),
        .RXSLIPOUTCLK                 (GTHE4_CHANNEL_RXSLIPOUTCLK_int        [((ch+1)*  1)-1:(ch*  1)]),
        .RXSLIPPMA                    (GTHE4_CHANNEL_RXSLIPPMA_int           [((ch+1)*  1)-1:(ch*  1)]),
        .RXSYNCALLIN                  (GTHE4_CHANNEL_RXSYNCALLIN_int         [((ch+1)*  1)-1:(ch*  1)]),
        .RXSYNCIN                     (GTHE4_CHANNEL_RXSYNCIN_int            [((ch+1)*  1)-1:(ch*  1)]),
        .RXSYNCMODE                   (GTHE4_CHANNEL_RXSYNCMODE_int          [((ch+1)*  1)-1:(ch*  1)]),
        .RXSYSCLKSEL                  (GTHE4_CHANNEL_RXSYSCLKSEL_int         [((ch+1)*  2)-1:(ch*  2)]),
        .RXTERMINATION                (GTHE4_CHANNEL_RXTERMINATION_int       [((ch+1)*  1)-1:(ch*  1)]),
        .RXUSERRDY                    (GTHE4_CHANNEL_RXUSERRDY_int           [((ch+1)*  1)-1:(ch*  1)]),
        .RXUSRCLK                     (GTHE4_CHANNEL_RXUSRCLK_int            [((ch+1)*  1)-1:(ch*  1)]),
        .RXUSRCLK2                    (GTHE4_CHANNEL_RXUSRCLK2_int           [((ch+1)*  1)-1:(ch*  1)]),
        .SIGVALIDCLK                  (GTHE4_CHANNEL_SIGVALIDCLK_int         [((ch+1)*  1)-1:(ch*  1)]),
        .TSTIN                        (GTHE4_CHANNEL_TSTIN_int               [((ch+1)* 20)-1:(ch* 20)]),
        .TX8B10BBYPASS                (GTHE4_CHANNEL_TX8B10BBYPASS_int       [((ch+1)*  8)-1:(ch*  8)]),
        .TX8B10BEN                    (GTHE4_CHANNEL_TX8B10BEN_int           [((ch+1)*  1)-1:(ch*  1)]),
        .TXCOMINIT                    (GTHE4_CHANNEL_TXCOMINIT_int           [((ch+1)*  1)-1:(ch*  1)]),
        .TXCOMSAS                     (GTHE4_CHANNEL_TXCOMSAS_int            [((ch+1)*  1)-1:(ch*  1)]),
        .TXCOMWAKE                    (GTHE4_CHANNEL_TXCOMWAKE_int           [((ch+1)*  1)-1:(ch*  1)]),
        .TXCTRL0                      (GTHE4_CHANNEL_TXCTRL0_int             [((ch+1)* 16)-1:(ch* 16)]),
        .TXCTRL1                      (GTHE4_CHANNEL_TXCTRL1_int             [((ch+1)* 16)-1:(ch* 16)]),
        .TXCTRL2                      (GTHE4_CHANNEL_TXCTRL2_int             [((ch+1)*  8)-1:(ch*  8)]),
        .TXDATA                       (GTHE4_CHANNEL_TXDATA_int              [((ch+1)*128)-1:(ch*128)]),
        .TXDATAEXTENDRSVD             (GTHE4_CHANNEL_TXDATAEXTENDRSVD_int    [((ch+1)*  8)-1:(ch*  8)]),
        .TXDCCFORCESTART              (GTHE4_CHANNEL_TXDCCFORCESTART_int     [((ch+1)*  1)-1:(ch*  1)]),
        .TXDCCRESET                   (GTHE4_CHANNEL_TXDCCRESET_int          [((ch+1)*  1)-1:(ch*  1)]),
        .TXDEEMPH                     (GTHE4_CHANNEL_TXDEEMPH_int            [((ch+1)*  2)-1:(ch*  2)]),
        .TXDETECTRX                   (GTHE4_CHANNEL_TXDETECTRX_int          [((ch+1)*  1)-1:(ch*  1)]),
        .TXDIFFCTRL                   (GTHE4_CHANNEL_TXDIFFCTRL_int          [((ch+1)*  5)-1:(ch*  5)]),
        .TXDLYBYPASS                  (GTHE4_CHANNEL_TXDLYBYPASS_int         [((ch+1)*  1)-1:(ch*  1)]),
        .TXDLYEN                      (GTHE4_CHANNEL_TXDLYEN_int             [((ch+1)*  1)-1:(ch*  1)]),
        .TXDLYHOLD                    (GTHE4_CHANNEL_TXDLYHOLD_int           [((ch+1)*  1)-1:(ch*  1)]),
        .TXDLYOVRDEN                  (GTHE4_CHANNEL_TXDLYOVRDEN_int         [((ch+1)*  1)-1:(ch*  1)]),
        .TXDLYSRESET                  (GTHE4_CHANNEL_TXDLYSRESET_int         [((ch+1)*  1)-1:(ch*  1)]),
        .TXDLYUPDOWN                  (GTHE4_CHANNEL_TXDLYUPDOWN_int         [((ch+1)*  1)-1:(ch*  1)]),
        .TXELECIDLE                   (GTHE4_CHANNEL_TXELECIDLE_int          [((ch+1)*  1)-1:(ch*  1)]),
        .TXHEADER                     (GTHE4_CHANNEL_TXHEADER_int            [((ch+1)*  6)-1:(ch*  6)]),
        .TXINHIBIT                    (GTHE4_CHANNEL_TXINHIBIT_int           [((ch+1)*  1)-1:(ch*  1)]),
        .TXLATCLK                     (GTHE4_CHANNEL_TXLATCLK_int            [((ch+1)*  1)-1:(ch*  1)]),
        .TXLFPSTRESET                 (GTHE4_CHANNEL_TXLFPSTRESET_int        [((ch+1)*  1)-1:(ch*  1)]),
        .TXLFPSU2LPEXIT               (GTHE4_CHANNEL_TXLFPSU2LPEXIT_int      [((ch+1)*  1)-1:(ch*  1)]),
        .TXLFPSU3WAKE                 (GTHE4_CHANNEL_TXLFPSU3WAKE_int        [((ch+1)*  1)-1:(ch*  1)]),
        .TXMAINCURSOR                 (GTHE4_CHANNEL_TXMAINCURSOR_int        [((ch+1)*  7)-1:(ch*  7)]),
        .TXMARGIN                     (GTHE4_CHANNEL_TXMARGIN_int            [((ch+1)*  3)-1:(ch*  3)]),
        .TXMUXDCDEXHOLD               (GTHE4_CHANNEL_TXMUXDCDEXHOLD_int      [((ch+1)*  1)-1:(ch*  1)]),
        .TXMUXDCDORWREN               (GTHE4_CHANNEL_TXMUXDCDORWREN_int      [((ch+1)*  1)-1:(ch*  1)]),
        .TXONESZEROS                  (GTHE4_CHANNEL_TXONESZEROS_int         [((ch+1)*  1)-1:(ch*  1)]),
        .TXOUTCLKSEL                  (GTHE4_CHANNEL_TXOUTCLKSEL_int         [((ch+1)*  3)-1:(ch*  3)]),
        .TXPCSRESET                   (GTHE4_CHANNEL_TXPCSRESET_int          [((ch+1)*  1)-1:(ch*  1)]),
        .TXPD                         (GTHE4_CHANNEL_TXPD_int                [((ch+1)*  2)-1:(ch*  2)]),
        .TXPDELECIDLEMODE             (GTHE4_CHANNEL_TXPDELECIDLEMODE_int    [((ch+1)*  1)-1:(ch*  1)]),
        .TXPHALIGN                    (GTHE4_CHANNEL_TXPHALIGN_int           [((ch+1)*  1)-1:(ch*  1)]),
        .TXPHALIGNEN                  (GTHE4_CHANNEL_TXPHALIGNEN_int         [((ch+1)*  1)-1:(ch*  1)]),
        .TXPHDLYPD                    (GTHE4_CHANNEL_TXPHDLYPD_int           [((ch+1)*  1)-1:(ch*  1)]),
        .TXPHDLYRESET                 (GTHE4_CHANNEL_TXPHDLYRESET_int        [((ch+1)*  1)-1:(ch*  1)]),
        .TXPHDLYTSTCLK                (GTHE4_CHANNEL_TXPHDLYTSTCLK_int       [((ch+1)*  1)-1:(ch*  1)]),
        .TXPHINIT                     (GTHE4_CHANNEL_TXPHINIT_int            [((ch+1)*  1)-1:(ch*  1)]),
        .TXPHOVRDEN                   (GTHE4_CHANNEL_TXPHOVRDEN_int          [((ch+1)*  1)-1:(ch*  1)]),
        .TXPIPPMEN                    (GTHE4_CHANNEL_TXPIPPMEN_int           [((ch+1)*  1)-1:(ch*  1)]),
        .TXPIPPMOVRDEN                (GTHE4_CHANNEL_TXPIPPMOVRDEN_int       [((ch+1)*  1)-1:(ch*  1)]),
        .TXPIPPMPD                    (GTHE4_CHANNEL_TXPIPPMPD_int           [((ch+1)*  1)-1:(ch*  1)]),
        .TXPIPPMSEL                   (GTHE4_CHANNEL_TXPIPPMSEL_int          [((ch+1)*  1)-1:(ch*  1)]),
        .TXPIPPMSTEPSIZE              (GTHE4_CHANNEL_TXPIPPMSTEPSIZE_int     [((ch+1)*  5)-1:(ch*  5)]),
        .TXPISOPD                     (GTHE4_CHANNEL_TXPISOPD_int            [((ch+1)*  1)-1:(ch*  1)]),
        .TXPLLCLKSEL                  (GTHE4_CHANNEL_TXPLLCLKSEL_int         [((ch+1)*  2)-1:(ch*  2)]),
        .TXPMARESET                   (GTHE4_CHANNEL_TXPMARESET_int          [((ch+1)*  1)-1:(ch*  1)]),
        .TXPOLARITY                   (GTHE4_CHANNEL_TXPOLARITY_int          [((ch+1)*  1)-1:(ch*  1)]),
        .TXPOSTCURSOR                 (GTHE4_CHANNEL_TXPOSTCURSOR_int        [((ch+1)*  5)-1:(ch*  5)]),
        .TXPRBSFORCEERR               (GTHE4_CHANNEL_TXPRBSFORCEERR_int      [((ch+1)*  1)-1:(ch*  1)]),
        .TXPRBSSEL                    (GTHE4_CHANNEL_TXPRBSSEL_int           [((ch+1)*  4)-1:(ch*  4)]),
        .TXPRECURSOR                  (GTHE4_CHANNEL_TXPRECURSOR_int         [((ch+1)*  5)-1:(ch*  5)]),
        .TXPROGDIVRESET               (GTHE4_CHANNEL_TXPROGDIVRESET_int      [((ch+1)*  1)-1:(ch*  1)]),
        .TXQPIBIASEN                  (GTHE4_CHANNEL_TXQPIBIASEN_int         [((ch+1)*  1)-1:(ch*  1)]),
        .TXQPIWEAKPUP                 (GTHE4_CHANNEL_TXQPIWEAKPUP_int        [((ch+1)*  1)-1:(ch*  1)]),
        .TXRATE                       (GTHE4_CHANNEL_TXRATE_int              [((ch+1)*  3)-1:(ch*  3)]),
        .TXRATEMODE                   (GTHE4_CHANNEL_TXRATEMODE_int          [((ch+1)*  1)-1:(ch*  1)]),
        .TXSEQUENCE                   (GTHE4_CHANNEL_TXSEQUENCE_int          [((ch+1)*  7)-1:(ch*  7)]),
        .TXSWING                      (GTHE4_CHANNEL_TXSWING_int             [((ch+1)*  1)-1:(ch*  1)]),
        .TXSYNCALLIN                  (GTHE4_CHANNEL_TXSYNCALLIN_int         [((ch+1)*  1)-1:(ch*  1)]),
        .TXSYNCIN                     (GTHE4_CHANNEL_TXSYNCIN_int            [((ch+1)*  1)-1:(ch*  1)]),
        .TXSYNCMODE                   (GTHE4_CHANNEL_TXSYNCMODE_int          [((ch+1)*  1)-1:(ch*  1)]),
        .TXSYSCLKSEL                  (GTHE4_CHANNEL_TXSYSCLKSEL_int         [((ch+1)*  2)-1:(ch*  2)]),
        .TXUSERRDY                    (GTHE4_CHANNEL_TXUSERRDY_int           [((ch+1)*  1)-1:(ch*  1)]),
        .TXUSRCLK                     (GTHE4_CHANNEL_TXUSRCLK_int            [((ch+1)*  1)-1:(ch*  1)]),
        .TXUSRCLK2                    (GTHE4_CHANNEL_TXUSRCLK2_int           [((ch+1)*  1)-1:(ch*  1)]),

        .BUFGTCE                      (GTHE4_CHANNEL_BUFGTCE                 [((ch+1)*  1)-1:(ch*  1)]),
        .BUFGTCEMASK                  (GTHE4_CHANNEL_BUFGTCEMASK             [((ch+1)*  3)-1:(ch*  3)]),
        .BUFGTDIV                     (GTHE4_CHANNEL_BUFGTDIV                [((ch+1)*  9)-1:(ch*  9)]),
        .BUFGTRESET                   (GTHE4_CHANNEL_BUFGTRESET              [((ch+1)*  1)-1:(ch*  1)]),
        .BUFGTRSTMASK                 (GTHE4_CHANNEL_BUFGTRSTMASK            [((ch+1)*  3)-1:(ch*  3)]),
        .CPLLFBCLKLOST                (GTHE4_CHANNEL_CPLLFBCLKLOST           [((ch+1)*  1)-1:(ch*  1)]),
        .CPLLLOCK                     (GTHE4_CHANNEL_CPLLLOCK                [((ch+1)*  1)-1:(ch*  1)]),
        .CPLLREFCLKLOST               (GTHE4_CHANNEL_CPLLREFCLKLOST          [((ch+1)*  1)-1:(ch*  1)]),
        .DMONITOROUT                  (GTHE4_CHANNEL_DMONITOROUT             [((ch+1)* 16)-1:(ch* 16)]),
        .DMONITOROUTCLK               (GTHE4_CHANNEL_DMONITOROUTCLK          [((ch+1)*  1)-1:(ch*  1)]),
        .DRPDO                        (GTHE4_CHANNEL_DRPDO                   [((ch+1)* 16)-1:(ch* 16)]),
        .DRPRDY                       (GTHE4_CHANNEL_DRPRDY                  [((ch+1)*  1)-1:(ch*  1)]),
        .EYESCANDATAERROR             (GTHE4_CHANNEL_EYESCANDATAERROR        [((ch+1)*  1)-1:(ch*  1)]),
        .GTHTXN                       (GTHE4_CHANNEL_GTHTXN                  [((ch+1)*  1)-1:(ch*  1)]),
        .GTHTXP                       (GTHE4_CHANNEL_GTHTXP                  [((ch+1)*  1)-1:(ch*  1)]),
        .GTPOWERGOOD                  (GTHE4_CHANNEL_GTPOWERGOOD             [((ch+1)*  1)-1:(ch*  1)]),
        .GTREFCLKMONITOR              (GTHE4_CHANNEL_GTREFCLKMONITOR         [((ch+1)*  1)-1:(ch*  1)]),
        .PCIERATEGEN3                 (GTHE4_CHANNEL_PCIERATEGEN3            [((ch+1)*  1)-1:(ch*  1)]),
        .PCIERATEIDLE                 (GTHE4_CHANNEL_PCIERATEIDLE            [((ch+1)*  1)-1:(ch*  1)]),
        .PCIERATEQPLLPD               (GTHE4_CHANNEL_PCIERATEQPLLPD          [((ch+1)*  2)-1:(ch*  2)]),
        .PCIERATEQPLLRESET            (GTHE4_CHANNEL_PCIERATEQPLLRESET       [((ch+1)*  2)-1:(ch*  2)]),
        .PCIESYNCTXSYNCDONE           (GTHE4_CHANNEL_PCIESYNCTXSYNCDONE      [((ch+1)*  1)-1:(ch*  1)]),
        .PCIEUSERGEN3RDY              (GTHE4_CHANNEL_PCIEUSERGEN3RDY         [((ch+1)*  1)-1:(ch*  1)]),
        .PCIEUSERPHYSTATUSRST         (GTHE4_CHANNEL_PCIEUSERPHYSTATUSRST    [((ch+1)*  1)-1:(ch*  1)]),
        .PCIEUSERRATESTART            (GTHE4_CHANNEL_PCIEUSERRATESTART       [((ch+1)*  1)-1:(ch*  1)]),
        .PCSRSVDOUT                   (GTHE4_CHANNEL_PCSRSVDOUT              [((ch+1)* 16)-1:(ch* 16)]),
        .PHYSTATUS                    (GTHE4_CHANNEL_PHYSTATUS               [((ch+1)*  1)-1:(ch*  1)]),
        .PINRSRVDAS                   (GTHE4_CHANNEL_PINRSRVDAS              [((ch+1)* 16)-1:(ch* 16)]),
        .POWERPRESENT                 (GTHE4_CHANNEL_POWERPRESENT            [((ch+1)*  1)-1:(ch*  1)]),
        .RESETEXCEPTION               (GTHE4_CHANNEL_RESETEXCEPTION          [((ch+1)*  1)-1:(ch*  1)]),
        .RXBUFSTATUS                  (GTHE4_CHANNEL_RXBUFSTATUS             [((ch+1)*  3)-1:(ch*  3)]),
        .RXBYTEISALIGNED              (GTHE4_CHANNEL_RXBYTEISALIGNED         [((ch+1)*  1)-1:(ch*  1)]),
        .RXBYTEREALIGN                (GTHE4_CHANNEL_RXBYTEREALIGN           [((ch+1)*  1)-1:(ch*  1)]),
        .RXCDRLOCK                    (GTHE4_CHANNEL_RXCDRLOCK               [((ch+1)*  1)-1:(ch*  1)]),
        .RXCDRPHDONE                  (GTHE4_CHANNEL_RXCDRPHDONE             [((ch+1)*  1)-1:(ch*  1)]),
        .RXCHANBONDSEQ                (GTHE4_CHANNEL_RXCHANBONDSEQ           [((ch+1)*  1)-1:(ch*  1)]),
        .RXCHANISALIGNED              (GTHE4_CHANNEL_RXCHANISALIGNED         [((ch+1)*  1)-1:(ch*  1)]),
        .RXCHANREALIGN                (GTHE4_CHANNEL_RXCHANREALIGN           [((ch+1)*  1)-1:(ch*  1)]),
        .RXCHBONDO                    (GTHE4_CHANNEL_RXCHBONDO               [((ch+1)*  5)-1:(ch*  5)]),
        .RXCKCALDONE                  (GTHE4_CHANNEL_RXCKCALDONE             [((ch+1)*  1)-1:(ch*  1)]),
        .RXCLKCORCNT                  (GTHE4_CHANNEL_RXCLKCORCNT             [((ch+1)*  2)-1:(ch*  2)]),
        .RXCOMINITDET                 (GTHE4_CHANNEL_RXCOMINITDET            [((ch+1)*  1)-1:(ch*  1)]),
        .RXCOMMADET                   (GTHE4_CHANNEL_RXCOMMADET              [((ch+1)*  1)-1:(ch*  1)]),
        .RXCOMSASDET                  (GTHE4_CHANNEL_RXCOMSASDET             [((ch+1)*  1)-1:(ch*  1)]),
        .RXCOMWAKEDET                 (GTHE4_CHANNEL_RXCOMWAKEDET            [((ch+1)*  1)-1:(ch*  1)]),
        .RXCTRL0                      (GTHE4_CHANNEL_RXCTRL0                 [((ch+1)* 16)-1:(ch* 16)]),
        .RXCTRL1                      (GTHE4_CHANNEL_RXCTRL1                 [((ch+1)* 16)-1:(ch* 16)]),
        .RXCTRL2                      (GTHE4_CHANNEL_RXCTRL2                 [((ch+1)*  8)-1:(ch*  8)]),
        .RXCTRL3                      (GTHE4_CHANNEL_RXCTRL3                 [((ch+1)*  8)-1:(ch*  8)]),
        .RXDATA                       (GTHE4_CHANNEL_RXDATA                  [((ch+1)*128)-1:(ch*128)]),
        .RXDATAEXTENDRSVD             (GTHE4_CHANNEL_RXDATAEXTENDRSVD        [((ch+1)*  8)-1:(ch*  8)]),
        .RXDATAVALID                  (GTHE4_CHANNEL_RXDATAVALID             [((ch+1)*  2)-1:(ch*  2)]),
        .RXDLYSRESETDONE              (GTHE4_CHANNEL_RXDLYSRESETDONE         [((ch+1)*  1)-1:(ch*  1)]),
        .RXELECIDLE                   (GTHE4_CHANNEL_RXELECIDLE              [((ch+1)*  1)-1:(ch*  1)]),
        .RXHEADER                     (GTHE4_CHANNEL_RXHEADER                [((ch+1)*  6)-1:(ch*  6)]),
        .RXHEADERVALID                (GTHE4_CHANNEL_RXHEADERVALID           [((ch+1)*  2)-1:(ch*  2)]),
        .RXLFPSTRESETDET              (GTHE4_CHANNEL_RXLFPSTRESETDET         [((ch+1)*  1)-1:(ch*  1)]),
        .RXLFPSU2LPEXITDET            (GTHE4_CHANNEL_RXLFPSU2LPEXITDET       [((ch+1)*  1)-1:(ch*  1)]),
        .RXLFPSU3WAKEDET              (GTHE4_CHANNEL_RXLFPSU3WAKEDET         [((ch+1)*  1)-1:(ch*  1)]),
        .RXMONITOROUT                 (GTHE4_CHANNEL_RXMONITOROUT            [((ch+1)*  8)-1:(ch*  8)]),
        .RXOSINTDONE                  (GTHE4_CHANNEL_RXOSINTDONE             [((ch+1)*  1)-1:(ch*  1)]),
        .RXOSINTSTARTED               (GTHE4_CHANNEL_RXOSINTSTARTED          [((ch+1)*  1)-1:(ch*  1)]),
        .RXOSINTSTROBEDONE            (GTHE4_CHANNEL_RXOSINTSTROBEDONE       [((ch+1)*  1)-1:(ch*  1)]),
        .RXOSINTSTROBESTARTED         (GTHE4_CHANNEL_RXOSINTSTROBESTARTED    [((ch+1)*  1)-1:(ch*  1)]),
        .RXOUTCLK                     (GTHE4_CHANNEL_RXOUTCLK                [((ch+1)*  1)-1:(ch*  1)]),
        .RXOUTCLKFABRIC               (GTHE4_CHANNEL_RXOUTCLKFABRIC          [((ch+1)*  1)-1:(ch*  1)]),
        .RXOUTCLKPCS                  (GTHE4_CHANNEL_RXOUTCLKPCS             [((ch+1)*  1)-1:(ch*  1)]),
        .RXPHALIGNDONE                (GTHE4_CHANNEL_RXPHALIGNDONE           [((ch+1)*  1)-1:(ch*  1)]),
        .RXPHALIGNERR                 (GTHE4_CHANNEL_RXPHALIGNERR            [((ch+1)*  1)-1:(ch*  1)]),
        .RXPMARESETDONE               (GTHE4_CHANNEL_RXPMARESETDONE          [((ch+1)*  1)-1:(ch*  1)]),
        .RXPRBSERR                    (GTHE4_CHANNEL_RXPRBSERR               [((ch+1)*  1)-1:(ch*  1)]),
        .RXPRBSLOCKED                 (GTHE4_CHANNEL_RXPRBSLOCKED            [((ch+1)*  1)-1:(ch*  1)]),
        .RXPRGDIVRESETDONE            (GTHE4_CHANNEL_RXPRGDIVRESETDONE       [((ch+1)*  1)-1:(ch*  1)]),
        .RXQPISENN                    (GTHE4_CHANNEL_RXQPISENN               [((ch+1)*  1)-1:(ch*  1)]),
        .RXQPISENP                    (GTHE4_CHANNEL_RXQPISENP               [((ch+1)*  1)-1:(ch*  1)]),
        .RXRATEDONE                   (GTHE4_CHANNEL_RXRATEDONE              [((ch+1)*  1)-1:(ch*  1)]),
        .RXRECCLKOUT                  (GTHE4_CHANNEL_RXRECCLKOUT             [((ch+1)*  1)-1:(ch*  1)]),
        .RXRESETDONE                  (GTHE4_CHANNEL_RXRESETDONE             [((ch+1)*  1)-1:(ch*  1)]),
        .RXSLIDERDY                   (GTHE4_CHANNEL_RXSLIDERDY              [((ch+1)*  1)-1:(ch*  1)]),
        .RXSLIPDONE                   (GTHE4_CHANNEL_RXSLIPDONE              [((ch+1)*  1)-1:(ch*  1)]),
        .RXSLIPOUTCLKRDY              (GTHE4_CHANNEL_RXSLIPOUTCLKRDY         [((ch+1)*  1)-1:(ch*  1)]),
        .RXSLIPPMARDY                 (GTHE4_CHANNEL_RXSLIPPMARDY            [((ch+1)*  1)-1:(ch*  1)]),
        .RXSTARTOFSEQ                 (GTHE4_CHANNEL_RXSTARTOFSEQ            [((ch+1)*  2)-1:(ch*  2)]),
        .RXSTATUS                     (GTHE4_CHANNEL_RXSTATUS                [((ch+1)*  3)-1:(ch*  3)]),
        .RXSYNCDONE                   (GTHE4_CHANNEL_RXSYNCDONE              [((ch+1)*  1)-1:(ch*  1)]),
        .RXSYNCOUT                    (GTHE4_CHANNEL_RXSYNCOUT               [((ch+1)*  1)-1:(ch*  1)]),
        .RXVALID                      (GTHE4_CHANNEL_RXVALID                 [((ch+1)*  1)-1:(ch*  1)]),
        .TXBUFSTATUS                  (GTHE4_CHANNEL_TXBUFSTATUS             [((ch+1)*  2)-1:(ch*  2)]),
        .TXCOMFINISH                  (GTHE4_CHANNEL_TXCOMFINISH             [((ch+1)*  1)-1:(ch*  1)]),
        .TXDCCDONE                    (GTHE4_CHANNEL_TXDCCDONE               [((ch+1)*  1)-1:(ch*  1)]),
        .TXDLYSRESETDONE              (GTHE4_CHANNEL_TXDLYSRESETDONE         [((ch+1)*  1)-1:(ch*  1)]),
        .TXOUTCLK                     (GTHE4_CHANNEL_TXOUTCLK                [((ch+1)*  1)-1:(ch*  1)]),
        .TXOUTCLKFABRIC               (GTHE4_CHANNEL_TXOUTCLKFABRIC          [((ch+1)*  1)-1:(ch*  1)]),
        .TXOUTCLKPCS                  (GTHE4_CHANNEL_TXOUTCLKPCS             [((ch+1)*  1)-1:(ch*  1)]),
        .TXPHALIGNDONE                (GTHE4_CHANNEL_TXPHALIGNDONE           [((ch+1)*  1)-1:(ch*  1)]),
        .TXPHINITDONE                 (GTHE4_CHANNEL_TXPHINITDONE            [((ch+1)*  1)-1:(ch*  1)]),
        .TXPMARESETDONE               (GTHE4_CHANNEL_TXPMARESETDONE          [((ch+1)*  1)-1:(ch*  1)]),
        .TXPRGDIVRESETDONE            (GTHE4_CHANNEL_TXPRGDIVRESETDONE       [((ch+1)*  1)-1:(ch*  1)]),
        .TXQPISENN                    (GTHE4_CHANNEL_TXQPISENN               [((ch+1)*  1)-1:(ch*  1)]),
        .TXQPISENP                    (GTHE4_CHANNEL_TXQPISENP               [((ch+1)*  1)-1:(ch*  1)]),
        .TXRATEDONE                   (GTHE4_CHANNEL_TXRATEDONE              [((ch+1)*  1)-1:(ch*  1)]),
        .TXRESETDONE                  (GTHE4_CHANNEL_TXRESETDONE             [((ch+1)*  1)-1:(ch*  1)]),
        .TXSYNCDONE                   (GTHE4_CHANNEL_TXSYNCDONE              [((ch+1)*  1)-1:(ch*  1)]),
        .TXSYNCOUT                    (GTHE4_CHANNEL_TXSYNCOUT               [((ch+1)*  1)-1:(ch*  1)])
      );
    end

  end
  endgenerate


endmodule
