diff --git a/library/axi_jesd_gt/axi_jesd_gt.v b/library/axi_jesd_gt/axi_jesd_gt.v index b90166111..b83ab5d05 100644 --- a/library/axi_jesd_gt/axi_jesd_gt.v +++ b/library/axi_jesd_gt/axi_jesd_gt.v @@ -149,9 +149,8 @@ module axi_jesd_gt ( parameter PCORE_ID = 0; parameter PCORE_DEVICE_TYPE = 0; - parameter PCORE_NUM_OF_LANES = 4; - parameter PCORE_NUM_OF_TX_LANES = PCORE_NUM_OF_LANES; - parameter PCORE_NUM_OF_RX_LANES = PCORE_NUM_OF_LANES; + parameter PCORE_NUM_OF_TX_LANES = 4; + parameter PCORE_NUM_OF_RX_LANES = 4; parameter PCORE_QPLL_REFCLK_DIV = 1; parameter PCORE_QPLL_CFG = 27'h0680181; parameter PCORE_QPLL_FBDIV_RATIO = 1'b1; @@ -174,6 +173,9 @@ module axi_jesd_gt ( parameter PCORE_TX_LANE_SEL_8 = 8; parameter C_S_AXI_MIN_SIZE = 32'hffff; + localparam PCORE_NUM_OF_LANES = (PCORE_NUM_OF_TX_LANES > PCORE_NUM_OF_RX_LANES) ? + PCORE_NUM_OF_TX_LANES : PCORE_NUM_OF_RX_LANES; + // physical interface input ref_clk_q;