adrv9371x: Set correct transceiver type for UltraScale projects

Make sure that the axi_adxcvr instances are configured with the same
transceiver type as the util_adxcvr.

This is necessary for software to be able to detect the transceiver type
and support dynamic reconfiguration.

It is also necessary for correct eye scan support in the axi_adxcvr block.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
main
Lars-Peter Clausen 2017-11-10 17:11:46 +01:00
parent 631f9253b2
commit 46acdadb92
2 changed files with 8 additions and 0 deletions

View File

@ -15,6 +15,10 @@ source ../common/adrv9371x_bd.tcl
ad_connect sys_dma_clk axi_ddr_cntrl/addn_ui_clkout3
ad_connect sys_dma_rstgen/ext_reset_in sys_rstgen/peripheral_reset
ad_ip_parameter axi_ad9371_tx_xcvr CONFIG.XCVR_TYPE 1
ad_ip_parameter axi_ad9371_rx_xcvr CONFIG.XCVR_TYPE 1
ad_ip_parameter axi_ad9371_rx_os_xcvr CONFIG.XCVR_TYPE 1
ad_ip_parameter util_ad9371_xcvr CONFIG.XCVR_TYPE 1
ad_ip_parameter util_ad9371_xcvr CONFIG.QPLL_FBDIV 20
ad_ip_parameter util_ad9371_xcvr CONFIG.QPLL_REFCLK_DIV 1

View File

@ -16,6 +16,10 @@ source ../common/adrv9371x_bd.tcl
ad_connect sys_dma_clk sys_ps8/pl_clk2
ad_connect sys_dma_rstgen/ext_reset_in sys_rstgen/peripheral_reset
ad_ip_parameter axi_ad9371_tx_xcvr CONFIG.XCVR_TYPE 2
ad_ip_parameter axi_ad9371_rx_xcvr CONFIG.XCVR_TYPE 2
ad_ip_parameter axi_ad9371_rx_os_xcvr CONFIG.XCVR_TYPE 2
ad_ip_parameter util_ad9371_xcvr CONFIG.XCVR_TYPE 2
ad_ip_parameter util_ad9371_xcvr CONFIG.QPLL_FBDIV 80
ad_ip_parameter util_ad9371_xcvr CONFIG.QPLL_REFCLK_DIV 1