From e66c5282bcc142da3043fab4cb588146d0bd8f6e Mon Sep 17 00:00:00 2001 From: Laszlo Nagy Date: Tue, 1 Mar 2022 09:38:50 +0000 Subject: [PATCH] axi_adrv9001: Expose IODELAY_CTRL parameter to top level --- library/axi_adrv9001/axi_adrv9001.v | 2 ++ library/axi_adrv9001/axi_adrv9001_if.v | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/library/axi_adrv9001/axi_adrv9001.v b/library/axi_adrv9001/axi_adrv9001.v index 5d3d2423b..6d8b82ac6 100644 --- a/library/axi_adrv9001/axi_adrv9001.v +++ b/library/axi_adrv9001/axi_adrv9001.v @@ -46,6 +46,7 @@ module axi_adrv9001 #( parameter DISABLE_TX2_SSI = 0, parameter RX_USE_BUFG = 0, parameter TX_USE_BUFG = 0, + parameter IODELAY_CTRL = 1, parameter IO_DELAY_GROUP = "dev_if_delay_group", parameter FPGA_TECHNOLOGY = 0, parameter FPGA_FAMILY = 0, @@ -280,6 +281,7 @@ module axi_adrv9001 #( .DRP_WIDTH (DRP_WIDTH), .RX_USE_BUFG (RX_USE_BUFG), .TX_USE_BUFG (TX_USE_BUFG), + .IODELAY_CTRL (IODELAY_CTRL), .IO_DELAY_GROUP (IO_DELAY_GROUP), .DISABLE_RX2_SSI (DISABLE_RX2_SSI), .DISABLE_TX2_SSI (DISABLE_TX2_SSI), diff --git a/library/axi_adrv9001/axi_adrv9001_if.v b/library/axi_adrv9001/axi_adrv9001_if.v index 40e52aaa1..790c51174 100644 --- a/library/axi_adrv9001/axi_adrv9001_if.v +++ b/library/axi_adrv9001/axi_adrv9001_if.v @@ -44,6 +44,7 @@ module axi_adrv9001_if #( parameter TX_USE_BUFG = 0, parameter DISABLE_RX2_SSI = 0, parameter DISABLE_TX2_SSI = 0, + parameter IODELAY_CTRL = 1, parameter IO_DELAY_GROUP = "dev_if_delay_group", parameter USE_RX_CLK_FOR_TX = 0 ) ( @@ -208,7 +209,7 @@ module axi_adrv9001_if #( .FPGA_TECHNOLOGY (FPGA_TECHNOLOGY), .NUM_LANES (NUM_LANES), .DRP_WIDTH (DRP_WIDTH), - .IODELAY_CTRL (1), + .IODELAY_CTRL (IODELAY_CTRL), .USE_BUFG (RX_USE_BUFG), .IO_DELAY_GROUP ({IO_DELAY_GROUP,"_rx"}) ) i_rx_1_phy (