From bc9483c5a2054d93dd7a4e140170e446791442af Mon Sep 17 00:00:00 2001 From: AndreiGrozav Date: Mon, 10 Apr 2017 18:52:37 +0300 Subject: [PATCH] Ip automatic version: Update ad*/common/ad*_bd.tcl ad6676evb/common/ad6676evb_bd.tcl ad7616_sdz/common/ad7616_bd.tcl ad7768evb/common/ad7768evb_bd.tcl ad9265_fmc/common/ad9265_bd.tcl ad9434_fmc/common/ad9434_bd.tcl ad9467_fmc/common/ad9467_bd.tcl ad9739a_fmc/common/ad9739a_fmc_bd.tcl adrv9371x/common/adrv9371x_bd.tcl adv7511/common/adv7511_bd.tcl fmcadc4/common/fmcadc4_bd.tcl --- projects/ad6676evb/common/ad6676evb_bd.tcl | 70 ++--- projects/ad7616_sdz/common/ad7616_bd.tcl | 18 +- projects/ad7768evb/common/ad7768evb_bd.tcl | 30 +-- projects/ad9265_fmc/common/ad9265_bd.tcl | 22 +- projects/ad9434_fmc/common/ad9434_bd.tcl | 20 +- projects/ad9467_fmc/common/ad9467_bd.tcl | 22 +- .../ad9739a_fmc/common/ad9739a_fmc_bd.tcl | 24 +- projects/adrv9371x/common/adrv9371x_bd.tcl | 246 +++++++++--------- projects/adv7511/common/adv7511_bd.tcl | 30 +-- projects/fmcadc4/common/fmcadc4_bd.tcl | 64 ++--- 10 files changed, 273 insertions(+), 273 deletions(-) diff --git a/projects/ad6676evb/common/ad6676evb_bd.tcl b/projects/ad6676evb/common/ad6676evb_bd.tcl index 0990c2bc4..aa02cfe86 100644 --- a/projects/ad6676evb/common/ad6676evb_bd.tcl +++ b/projects/ad6676evb/common/ad6676evb_bd.tcl @@ -1,48 +1,48 @@ # adc peripherals -set axi_ad6676_xcvr [create_bd_cell -type ip -vlnv analog.com:user:axi_adxcvr:1.0 axi_ad6676_xcvr] -set_property -dict [list CONFIG.NUM_OF_LANES {2}] $axi_ad6676_xcvr -set_property -dict [list CONFIG.QPLL_ENABLE {0}] $axi_ad6676_xcvr -set_property -dict [list CONFIG.TX_OR_RX_N {0}] $axi_ad6676_xcvr -set_property -dict [list CONFIG.LPM_OR_DFE_N {0}] $axi_ad6676_xcvr -set_property -dict [list CONFIG.SYS_CLK_SEL {"00"}] $axi_ad6676_xcvr -set_property -dict [list CONFIG.OUT_CLK_SEL {"100"}] $axi_ad6676_xcvr +ad_ip_instance axi_adxcvr axi_ad6676_xcvr +ad_ip_parameter axi_ad6676_xcvr CONFIG.NUM_OF_LANES 2 +ad_ip_parameter axi_ad6676_xcvr CONFIG.QPLL_ENABLE 0 +ad_ip_parameter axi_ad6676_xcvr CONFIG.TX_OR_RX_N 0 +ad_ip_parameter axi_ad6676_xcvr CONFIG.LPM_OR_DFE_N 0 +ad_ip_parameter axi_ad6676_xcvr CONFIG.SYS_CLK_SEL "00" +ad_ip_parameter axi_ad6676_xcvr CONFIG.OUT_CLK_SEL "100" -set axi_ad6676_jesd [create_bd_cell -type ip -vlnv xilinx.com:ip:jesd204:7.0 axi_ad6676_jesd] -set_property -dict [list CONFIG.C_NODE_IS_TRANSMIT {0}] $axi_ad6676_jesd -set_property -dict [list CONFIG.C_LANES {2}] $axi_ad6676_jesd +ad_ip_instance jesd204 axi_ad6676_jesd +ad_ip_parameter axi_ad6676_jesd CONFIG.C_NODE_IS_TRANSMIT 0 +ad_ip_parameter axi_ad6676_jesd CONFIG.C_LANES 2 -set axi_ad6676_core [create_bd_cell -type ip -vlnv analog.com:user:axi_ad6676:1.0 axi_ad6676_core] +ad_ip_instance axi_ad6676 axi_ad6676_core -set axi_ad6676_cpack [create_bd_cell -type ip -vlnv analog.com:user:util_cpack:1.0 axi_ad6676_cpack] -set_property -dict [list CONFIG.NUM_OF_CHANNELS {2}] $axi_ad6676_cpack +ad_ip_instance util_cpack axi_ad6676_cpack +ad_ip_parameter axi_ad6676_cpack CONFIG.NUM_OF_CHANNELS 2 -set axi_ad6676_dma [create_bd_cell -type ip -vlnv analog.com:user:axi_dmac:1.0 axi_ad6676_dma] -set_property -dict [list CONFIG.DMA_TYPE_SRC {2}] $axi_ad6676_dma -set_property -dict [list CONFIG.DMA_TYPE_DEST {0}] $axi_ad6676_dma -set_property -dict [list CONFIG.ID {0}] $axi_ad6676_dma -set_property -dict [list CONFIG.AXI_SLICE_SRC {0}] $axi_ad6676_dma -set_property -dict [list CONFIG.AXI_SLICE_DEST {0}] $axi_ad6676_dma -set_property -dict [list CONFIG.SYNC_TRANSFER_START {1}] $axi_ad6676_dma -set_property -dict [list CONFIG.DMA_LENGTH_WIDTH {24}] $axi_ad6676_dma -set_property -dict [list CONFIG.DMA_2D_TRANSFER {0}] $axi_ad6676_dma -set_property -dict [list CONFIG.CYCLIC {0}] $axi_ad6676_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_SRC {64}] $axi_ad6676_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_DEST {64}] $axi_ad6676_dma +ad_ip_instance axi_dmac axi_ad6676_dma +ad_ip_parameter axi_ad6676_dma CONFIG.DMA_TYPE_SRC 2 +ad_ip_parameter axi_ad6676_dma CONFIG.DMA_TYPE_DEST 0 +ad_ip_parameter axi_ad6676_dma CONFIG.ID 0 +ad_ip_parameter axi_ad6676_dma CONFIG.AXI_SLICE_SRC 0 +ad_ip_parameter axi_ad6676_dma CONFIG.AXI_SLICE_DEST 0 +ad_ip_parameter axi_ad6676_dma CONFIG.SYNC_TRANSFER_START 1 +ad_ip_parameter axi_ad6676_dma CONFIG.DMA_LENGTH_WIDTH 24 +ad_ip_parameter axi_ad6676_dma CONFIG.DMA_2D_TRANSFER 0 +ad_ip_parameter axi_ad6676_dma CONFIG.CYCLIC 0 +ad_ip_parameter axi_ad6676_dma CONFIG.DMA_DATA_WIDTH_SRC 64 +ad_ip_parameter axi_ad6676_dma CONFIG.DMA_DATA_WIDTH_DEST 64 # transceiver core -set util_ad6676_xcvr [create_bd_cell -type ip -vlnv analog.com:user:util_adxcvr:1.0 util_ad6676_xcvr] -set_property -dict [list CONFIG.QPLL_FBDIV {"0010000000"}] $util_ad6676_xcvr -set_property -dict [list CONFIG.CPLL_FBDIV {2}] $util_ad6676_xcvr -set_property -dict [list CONFIG.CPLL_FBDIV_4_5 {5}] $util_ad6676_xcvr -set_property -dict [list CONFIG.TX_NUM_OF_LANES {0}] $util_ad6676_xcvr -set_property -dict [list CONFIG.RX_NUM_OF_LANES {2}] $util_ad6676_xcvr -set_property -dict [list CONFIG.RX_OUT_DIV {1}] $util_ad6676_xcvr -set_property -dict [list CONFIG.RX_CLK25_DIV {8}] $util_ad6676_xcvr -set_property -dict [list CONFIG.RX_DFE_LPM_CFG {0x0904}] $util_ad6676_xcvr -set_property -dict [list CONFIG.RX_CDR_CFG {0x03000023ff20400020}] $util_ad6676_xcvr +ad_ip_instance util_adxcvr util_ad6676_xcvr +ad_ip_parameter util_ad6676_xcvr CONFIG.QPLL_FBDIV "0010000000" +ad_ip_parameter util_ad6676_xcvr CONFIG.CPLL_FBDIV 2 +ad_ip_parameter util_ad6676_xcvr CONFIG.CPLL_FBDIV_4_5 5 +ad_ip_parameter util_ad6676_xcvr CONFIG.TX_NUM_OF_LANES 0 +ad_ip_parameter util_ad6676_xcvr CONFIG.RX_NUM_OF_LANES 2 +ad_ip_parameter util_ad6676_xcvr CONFIG.RX_OUT_DIV 1 +ad_ip_parameter util_ad6676_xcvr CONFIG.RX_CLK25_DIV 8 +ad_ip_parameter util_ad6676_xcvr CONFIG.RX_DFE_LPM_CFG 0x0904 +ad_ip_parameter util_ad6676_xcvr CONFIG.RX_CDR_CFG 0x03000023ff20400020 # reference clocks & resets diff --git a/projects/ad7616_sdz/common/ad7616_bd.tcl b/projects/ad7616_sdz/common/ad7616_bd.tcl index e61e1da78..738c0c889 100644 --- a/projects/ad7616_sdz/common/ad7616_bd.tcl +++ b/projects/ad7616_sdz/common/ad7616_bd.tcl @@ -22,16 +22,16 @@ create_bd_port -dir I rx_busy # instantiation -set axi_ad7616 [create_bd_cell -type ip -vlnv analog.com:user:axi_ad7616:1.0 axi_ad7616] -set_property -dict [list CONFIG.IF_TYPE $ad7616_if] $axi_ad7616 +ad_ip_instance axi_ad7616 axi_ad7616 +ad_ip_parameter axi_ad7616 CONFIG.IF_TYPE $ad7616_if -set axi_ad7616_dma [create_bd_cell -type ip -vlnv analog.com:user:axi_dmac:1.0 axi_ad7616_dma] -set_property -dict [list CONFIG.DMA_TYPE_SRC {2}] $axi_ad7616_dma -set_property -dict [list CONFIG.DMA_TYPE_DEST {0}] $axi_ad7616_dma -set_property -dict [list CONFIG.CYCLIC {0}] $axi_ad7616_dma -set_property -dict [list CONFIG.DMA_2D_TRANSFER {0}] $axi_ad7616_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_SRC {16}] $axi_ad7616_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_DEST {64}] $axi_ad7616_dma +ad_ip_instance axi_dmac axi_ad7616_dma +ad_ip_parameter axi_ad7616_dma CONFIG.DMA_TYPE_SRC 2 +ad_ip_parameter axi_ad7616_dma CONFIG.DMA_TYPE_DEST 0 +ad_ip_parameter axi_ad7616_dma CONFIG.CYCLIC 0 +ad_ip_parameter axi_ad7616_dma CONFIG.DMA_2D_TRANSFER 0 +ad_ip_parameter axi_ad7616_dma CONFIG.DMA_DATA_WIDTH_SRC 16 +ad_ip_parameter axi_ad7616_dma CONFIG.DMA_DATA_WIDTH_DEST 64 # interface connections if {$ad7616_if == 0} { diff --git a/projects/ad7768evb/common/ad7768evb_bd.tcl b/projects/ad7768evb/common/ad7768evb_bd.tcl index 69369dc1f..d69e321f5 100644 --- a/projects/ad7768evb/common/ad7768evb_bd.tcl +++ b/projects/ad7768evb/common/ad7768evb_bd.tcl @@ -13,27 +13,27 @@ create_bd_port -dir O -from 31 -to 0 adc_gpio_1_t # instances -set ad7768_dma [create_bd_cell -type ip -vlnv analog.com:user:axi_dmac:1.0 ad7768_dma] -set_property -dict [list CONFIG.DMA_TYPE_SRC {2}] $ad7768_dma -set_property -dict [list CONFIG.DMA_TYPE_DEST {0}] $ad7768_dma -set_property -dict [list CONFIG.CYCLIC {0}] $ad7768_dma -set_property -dict [list CONFIG.SYNC_TRANSFER_START {1}] $ad7768_dma -set_property -dict [list CONFIG.AXI_SLICE_SRC {0}] $ad7768_dma -set_property -dict [list CONFIG.AXI_SLICE_DEST {0}] $ad7768_dma -set_property -dict [list CONFIG.DMA_2D_TRANSFER {0}] $ad7768_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_SRC {32}] $ad7768_dma +ad_ip_instance axi_dmac ad7768_dma +ad_ip_parameter ad7768_dma CONFIG.DMA_TYPE_SRC 2 +ad_ip_parameter ad7768_dma CONFIG.DMA_TYPE_DEST 0 +ad_ip_parameter ad7768_dma CONFIG.CYCLIC 0 +ad_ip_parameter ad7768_dma CONFIG.SYNC_TRANSFER_START 1 +ad_ip_parameter ad7768_dma CONFIG.AXI_SLICE_SRC 0 +ad_ip_parameter ad7768_dma CONFIG.AXI_SLICE_DEST 0 +ad_ip_parameter ad7768_dma CONFIG.DMA_2D_TRANSFER 0 +ad_ip_parameter ad7768_dma CONFIG.DMA_DATA_WIDTH_SRC 32 # ps7-hp1 -set_property -dict [list CONFIG.PCW_USE_S_AXI_HP1 {1}] $sys_ps7 +ad_ip_parameter sys_ps7 CONFIG.PCW_USE_S_AXI_HP1 1 # gpio -set ad7768_gpio [create_bd_cell -type ip -vlnv xilinx.com:ip:axi_gpio:2.0 ad7768_gpio] -set_property -dict [list CONFIG.C_IS_DUAL {1}] $ad7768_gpio -set_property -dict [list CONFIG.C_GPIO_WIDTH {32}] $ad7768_gpio -set_property -dict [list CONFIG.C_GPIO2_WIDTH {32}] $ad7768_gpio -set_property -dict [list CONFIG.C_INTERRUPT_PRESENT {1}] $ad7768_gpio +ad_ip_instance axi_gpio ad7768_gpio +ad_ip_parameter ad7768_gpio CONFIG.C_IS_DUAL 1 +ad_ip_parameter ad7768_gpio CONFIG.C_GPIO_WIDTH 32 +ad_ip_parameter ad7768_gpio CONFIG.C_GPIO2_WIDTH 32 +ad_ip_parameter ad7768_gpio CONFIG.C_INTERRUPT_PRESENT 1 # interconnects diff --git a/projects/ad9265_fmc/common/ad9265_bd.tcl b/projects/ad9265_fmc/common/ad9265_bd.tcl index 2b7be0f60..f26599da5 100644 --- a/projects/ad9265_fmc/common/ad9265_bd.tcl +++ b/projects/ad9265_fmc/common/ad9265_bd.tcl @@ -10,18 +10,18 @@ create_bd_port -dir I -from 7 -to 0 adc_data_in_p # adc peripheral -set axi_ad9265 [create_bd_cell -type ip -vlnv analog.com:user:axi_ad9265:1.0 axi_ad9265] +ad_ip_instance axi_ad9265 axi_ad9265 -set axi_ad9265_dma [create_bd_cell -type ip -vlnv analog.com:user:axi_dmac:1.0 axi_ad9265_dma] -set_property -dict [list CONFIG.DMA_TYPE_SRC {2}] $axi_ad9265_dma -set_property -dict [list CONFIG.DMA_TYPE_DEST {0}] $axi_ad9265_dma -set_property -dict [list CONFIG.CYCLIC {0}] $axi_ad9265_dma -set_property -dict [list CONFIG.SYNC_TRANSFER_START {0}] $axi_ad9265_dma -set_property -dict [list CONFIG.AXI_SLICE_SRC {0}] $axi_ad9265_dma -set_property -dict [list CONFIG.AXI_SLICE_DEST {0}] $axi_ad9265_dma -set_property -dict [list CONFIG.DMA_2D_TRANSFER {0}] $axi_ad9265_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_SRC {16}] $axi_ad9265_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_DEST {64}] $axi_ad9265_dma +ad_ip_instance axi_dmac axi_ad9265_dma +ad_ip_parameter axi_ad9265_dma CONFIG.DMA_TYPE_SRC 2 +ad_ip_parameter axi_ad9265_dma CONFIG.DMA_TYPE_DEST 0 +ad_ip_parameter axi_ad9265_dma CONFIG.CYCLIC 0 +ad_ip_parameter axi_ad9265_dma CONFIG.SYNC_TRANSFER_START 0 +ad_ip_parameter axi_ad9265_dma CONFIG.AXI_SLICE_SRC 0 +ad_ip_parameter axi_ad9265_dma CONFIG.AXI_SLICE_DEST 0 +ad_ip_parameter axi_ad9265_dma CONFIG.DMA_2D_TRANSFER 0 +ad_ip_parameter axi_ad9265_dma CONFIG.DMA_DATA_WIDTH_SRC 16 +ad_ip_parameter axi_ad9265_dma CONFIG.DMA_DATA_WIDTH_DEST 64 # connections (ad9265) diff --git a/projects/ad9434_fmc/common/ad9434_bd.tcl b/projects/ad9434_fmc/common/ad9434_bd.tcl index a15381c2a..8716f4cca 100644 --- a/projects/ad9434_fmc/common/ad9434_bd.tcl +++ b/projects/ad9434_fmc/common/ad9434_bd.tcl @@ -9,19 +9,19 @@ create_bd_port -dir I adc_or_n # ad9434 -set axi_ad9434 [create_bd_cell -type ip -vlnv analog.com:user:axi_ad9434:1.0 axi_ad9434] +ad_ip_instance axi_ad9434 axi_ad9434 # dma for ad9434 -set axi_ad9434_dma [create_bd_cell -type ip -vlnv analog.com:user:axi_dmac:1.0 axi_ad9434_dma] -set_property -dict [list CONFIG.DMA_TYPE_SRC {2}] $axi_ad9434_dma -set_property -dict [list CONFIG.DMA_TYPE_DEST {0}] $axi_ad9434_dma -set_property -dict [list CONFIG.CYCLIC {0}] $axi_ad9434_dma -set_property -dict [list CONFIG.SYNC_TRANSFER_START {0}] $axi_ad9434_dma -set_property -dict [list CONFIG.AXI_SLICE_SRC {0}] $axi_ad9434_dma -set_property -dict [list CONFIG.AXI_SLICE_DEST {0}] $axi_ad9434_dma -set_property -dict [list CONFIG.DMA_2D_TRANSFER {0}] $axi_ad9434_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_SRC {64}] $axi_ad9434_dma +ad_ip_instance axi_dmac axi_ad9434_dma +ad_ip_parameter axi_ad9434_dma CONFIG.DMA_TYPE_SRC 2 +ad_ip_parameter axi_ad9434_dma CONFIG.DMA_TYPE_DEST 0 +ad_ip_parameter axi_ad9434_dma CONFIG.CYCLIC 0 +ad_ip_parameter axi_ad9434_dma CONFIG.SYNC_TRANSFER_START 0 +ad_ip_parameter axi_ad9434_dma CONFIG.AXI_SLICE_SRC 0 +ad_ip_parameter axi_ad9434_dma CONFIG.AXI_SLICE_DEST 0 +ad_ip_parameter axi_ad9434_dma CONFIG.DMA_2D_TRANSFER 0 +ad_ip_parameter axi_ad9434_dma CONFIG.DMA_DATA_WIDTH_SRC 64 # ad9434 connections diff --git a/projects/ad9467_fmc/common/ad9467_bd.tcl b/projects/ad9467_fmc/common/ad9467_bd.tcl index f25bdc690..cbbd9329b 100644 --- a/projects/ad9467_fmc/common/ad9467_bd.tcl +++ b/projects/ad9467_fmc/common/ad9467_bd.tcl @@ -10,18 +10,18 @@ create_bd_port -dir I -from 7 -to 0 adc_data_in_p # adc peripheral -set axi_ad9467 [create_bd_cell -type ip -vlnv analog.com:user:axi_ad9467:1.0 axi_ad9467] +ad_ip_instance axi_ad9467 axi_ad9467 -set axi_ad9467_dma [create_bd_cell -type ip -vlnv analog.com:user:axi_dmac:1.0 axi_ad9467_dma] -set_property -dict [list CONFIG.DMA_TYPE_SRC {2}] $axi_ad9467_dma -set_property -dict [list CONFIG.DMA_TYPE_DEST {0}] $axi_ad9467_dma -set_property -dict [list CONFIG.CYCLIC {0}] $axi_ad9467_dma -set_property -dict [list CONFIG.SYNC_TRANSFER_START {0}] $axi_ad9467_dma -set_property -dict [list CONFIG.AXI_SLICE_SRC {0}] $axi_ad9467_dma -set_property -dict [list CONFIG.AXI_SLICE_DEST {0}] $axi_ad9467_dma -set_property -dict [list CONFIG.DMA_2D_TRANSFER {0}] $axi_ad9467_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_SRC {16}] $axi_ad9467_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_DEST {64}] $axi_ad9467_dma +ad_ip_instance axi_dmac axi_ad9467_dma +ad_ip_parameter axi_ad9467_dma CONFIG.DMA_TYPE_SRC 2 +ad_ip_parameter axi_ad9467_dma CONFIG.DMA_TYPE_DEST 0 +ad_ip_parameter axi_ad9467_dma CONFIG.CYCLIC 0 +ad_ip_parameter axi_ad9467_dma CONFIG.SYNC_TRANSFER_START 0 +ad_ip_parameter axi_ad9467_dma CONFIG.AXI_SLICE_SRC 0 +ad_ip_parameter axi_ad9467_dma CONFIG.AXI_SLICE_DEST 0 +ad_ip_parameter axi_ad9467_dma CONFIG.DMA_2D_TRANSFER 0 +ad_ip_parameter axi_ad9467_dma CONFIG.DMA_DATA_WIDTH_SRC 16 +ad_ip_parameter axi_ad9467_dma CONFIG.DMA_DATA_WIDTH_DEST 64 # connections (ad9467) diff --git a/projects/ad9739a_fmc/common/ad9739a_fmc_bd.tcl b/projects/ad9739a_fmc/common/ad9739a_fmc_bd.tcl index b3173fd6b..8e7987fdc 100644 --- a/projects/ad9739a_fmc/common/ad9739a_fmc_bd.tcl +++ b/projects/ad9739a_fmc/common/ad9739a_fmc_bd.tcl @@ -12,19 +12,19 @@ create_bd_port -dir O -from 13 -to 0 dac_data_out_b_n # dac peripherals -set axi_ad9739a [create_bd_cell -type ip -vlnv analog.com:user:axi_ad9739a:1.0 axi_ad9739a] +ad_ip_instance axi_ad9739a axi_ad9739a -set axi_ad9739a_dma [create_bd_cell -type ip -vlnv analog.com:user:axi_dmac:1.0 axi_ad9739a_dma] -set_property -dict [list CONFIG.DMA_TYPE_SRC {0}] $axi_ad9739a_dma -set_property -dict [list CONFIG.DMA_TYPE_DEST {2}] $axi_ad9739a_dma -set_property -dict [list CONFIG.FIFO_SIZE {32}] $axi_ad9739a_dma -set_property -dict [list CONFIG.DMA_2D_TRANSFER {0}] $axi_ad9739a_dma -set_property -dict [list CONFIG.CYCLIC {1}] $axi_ad9739a_dma -set_property -dict [list CONFIG.AXI_SLICE_DEST {1}] $axi_ad9739a_dma -set_property -dict [list CONFIG.AXI_SLICE_SRC {1}] $axi_ad9739a_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_DEST {256}] $axi_ad9739a_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_SRC {256}] $axi_ad9739a_dma -set_property -dict [list CONFIG.DMA_AXI_PROTOCOL_SRC {1}] $axi_ad9739a_dma +ad_ip_instance axi_dmac axi_ad9739a_dma +ad_ip_parameter axi_ad9739a_dma CONFIG.DMA_TYPE_SRC 0 +ad_ip_parameter axi_ad9739a_dma CONFIG.DMA_TYPE_DEST 2 +ad_ip_parameter axi_ad9739a_dma CONFIG.FIFO_SIZE 32 +ad_ip_parameter axi_ad9739a_dma CONFIG.DMA_2D_TRANSFER 0 +ad_ip_parameter axi_ad9739a_dma CONFIG.CYCLIC 1 +ad_ip_parameter axi_ad9739a_dma CONFIG.AXI_SLICE_DEST 1 +ad_ip_parameter axi_ad9739a_dma CONFIG.AXI_SLICE_SRC 1 +ad_ip_parameter axi_ad9739a_dma CONFIG.DMA_DATA_WIDTH_DEST 256 +ad_ip_parameter axi_ad9739a_dma CONFIG.DMA_DATA_WIDTH_SRC 256 +ad_ip_parameter axi_ad9739a_dma CONFIG.DMA_AXI_PROTOCOL_SRC 1 # connections (dac) diff --git a/projects/adrv9371x/common/adrv9371x_bd.tcl b/projects/adrv9371x/common/adrv9371x_bd.tcl index 4d1dc4f5e..f3bcddf6a 100644 --- a/projects/adrv9371x/common/adrv9371x_bd.tcl +++ b/projects/adrv9371x/common/adrv9371x_bd.tcl @@ -5,122 +5,122 @@ create_bd_port -dir I dac_fifo_bypass # dac peripherals -set axi_ad9371_tx_clkgen [create_bd_cell -type ip -vlnv analog.com:user:axi_clkgen:1.0 axi_ad9371_tx_clkgen] -set_property -dict [list CONFIG.ID {2}] $axi_ad9371_tx_clkgen -set_property -dict [list CONFIG.CLKIN_PERIOD {8}] $axi_ad9371_tx_clkgen -set_property -dict [list CONFIG.VCO_DIV {1}] $axi_ad9371_tx_clkgen -set_property -dict [list CONFIG.VCO_MUL {8}] $axi_ad9371_tx_clkgen -set_property -dict [list CONFIG.CLK0_DIV {8}] $axi_ad9371_tx_clkgen +ad_ip_instance axi_clkgen axi_ad9371_tx_clkgen +ad_ip_parameter axi_ad9371_tx_clkgen CONFIG.ID 2 +ad_ip_parameter axi_ad9371_tx_clkgen CONFIG.CLKIN_PERIOD 8 +ad_ip_parameter axi_ad9371_tx_clkgen CONFIG.VCO_DIV 1 +ad_ip_parameter axi_ad9371_tx_clkgen CONFIG.VCO_MUL 8 +ad_ip_parameter axi_ad9371_tx_clkgen CONFIG.CLK0_DIV 8 -set axi_ad9371_tx_xcvr [create_bd_cell -type ip -vlnv analog.com:user:axi_adxcvr:1.0 axi_ad9371_tx_xcvr] -set_property -dict [list CONFIG.NUM_OF_LANES {4}] $axi_ad9371_tx_xcvr -set_property -dict [list CONFIG.QPLL_ENABLE {1}] $axi_ad9371_tx_xcvr -set_property -dict [list CONFIG.TX_OR_RX_N {1}] $axi_ad9371_tx_xcvr +ad_ip_instance axi_adxcvr axi_ad9371_tx_xcvr +ad_ip_parameter axi_ad9371_tx_xcvr CONFIG.NUM_OF_LANES 4 +ad_ip_parameter axi_ad9371_tx_xcvr CONFIG.QPLL_ENABLE 1 +ad_ip_parameter axi_ad9371_tx_xcvr CONFIG.TX_OR_RX_N 1 -set axi_ad9371_tx_jesd [create_bd_cell -type ip -vlnv xilinx.com:ip:jesd204:7.0 axi_ad9371_tx_jesd] -set_property -dict [list CONFIG.C_NODE_IS_TRANSMIT {1}] $axi_ad9371_tx_jesd -set_property -dict [list CONFIG.C_LANES {4}] $axi_ad9371_tx_jesd +ad_ip_instance jesd204 axi_ad9371_tx_jesd +ad_ip_parameter axi_ad9371_tx_jesd CONFIG.C_NODE_IS_TRANSMIT 1 +ad_ip_parameter axi_ad9371_tx_jesd CONFIG.C_LANES 4 -set util_ad9371_tx_upack [create_bd_cell -type ip -vlnv analog.com:user:util_upack:1.0 util_ad9371_tx_upack] -set_property -dict [list CONFIG.CHANNEL_DATA_WIDTH {32}] $util_ad9371_tx_upack -set_property -dict [list CONFIG.NUM_OF_CHANNELS {4}] $util_ad9371_tx_upack +ad_ip_instance util_upack util_ad9371_tx_upack +ad_ip_parameter util_ad9371_tx_upack CONFIG.CHANNEL_DATA_WIDTH 32 +ad_ip_parameter util_ad9371_tx_upack CONFIG.NUM_OF_CHANNELS 4 -set axi_ad9371_tx_dma [create_bd_cell -type ip -vlnv analog.com:user:axi_dmac:1.0 axi_ad9371_tx_dma] -set_property -dict [list CONFIG.DMA_TYPE_SRC {0}] $axi_ad9371_tx_dma -set_property -dict [list CONFIG.DMA_TYPE_DEST {1}] $axi_ad9371_tx_dma -set_property -dict [list CONFIG.CYCLIC {1}] $axi_ad9371_tx_dma -set_property -dict [list CONFIG.AXI_SLICE_SRC {0}] $axi_ad9371_tx_dma -set_property -dict [list CONFIG.AXI_SLICE_DEST {1}] $axi_ad9371_tx_dma -set_property -dict [list CONFIG.ASYNC_CLK_DEST_REQ {1}] $axi_ad9371_tx_dma -set_property -dict [list CONFIG.ASYNC_CLK_SRC_DEST {1}] $axi_ad9371_tx_dma -set_property -dict [list CONFIG.ASYNC_CLK_REQ_SRC {1}] $axi_ad9371_tx_dma -set_property -dict [list CONFIG.DMA_2D_TRANSFER {0}] $axi_ad9371_tx_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_DEST {128}] $axi_ad9371_tx_dma +ad_ip_instance axi_dmac axi_ad9371_tx_dma +ad_ip_parameter axi_ad9371_tx_dma CONFIG.DMA_TYPE_SRC 0 +ad_ip_parameter axi_ad9371_tx_dma CONFIG.DMA_TYPE_DEST 1 +ad_ip_parameter axi_ad9371_tx_dma CONFIG.CYCLIC 1 +ad_ip_parameter axi_ad9371_tx_dma CONFIG.AXI_SLICE_SRC 0 +ad_ip_parameter axi_ad9371_tx_dma CONFIG.AXI_SLICE_DEST 1 +ad_ip_parameter axi_ad9371_tx_dma CONFIG.ASYNC_CLK_DEST_REQ 1 +ad_ip_parameter axi_ad9371_tx_dma CONFIG.ASYNC_CLK_SRC_DEST 1 +ad_ip_parameter axi_ad9371_tx_dma CONFIG.ASYNC_CLK_REQ_SRC 1 +ad_ip_parameter axi_ad9371_tx_dma CONFIG.DMA_2D_TRANSFER 0 +ad_ip_parameter axi_ad9371_tx_dma CONFIG.DMA_DATA_WIDTH_DEST 128 # adc peripherals -set axi_ad9371_rx_clkgen [create_bd_cell -type ip -vlnv analog.com:user:axi_clkgen:1.0 axi_ad9371_rx_clkgen] -set_property -dict [list CONFIG.ID {2}] $axi_ad9371_rx_clkgen -set_property -dict [list CONFIG.CLKIN_PERIOD {8}] $axi_ad9371_rx_clkgen -set_property -dict [list CONFIG.VCO_DIV {1}] $axi_ad9371_rx_clkgen -set_property -dict [list CONFIG.VCO_MUL {8}] $axi_ad9371_rx_clkgen -set_property -dict [list CONFIG.CLK0_DIV {8}] $axi_ad9371_rx_clkgen +ad_ip_instance axi_clkgen axi_ad9371_rx_clkgen +ad_ip_parameter axi_ad9371_rx_clkgen CONFIG.ID 2 +ad_ip_parameter axi_ad9371_rx_clkgen CONFIG.CLKIN_PERIOD 8 +ad_ip_parameter axi_ad9371_rx_clkgen CONFIG.VCO_DIV 1 +ad_ip_parameter axi_ad9371_rx_clkgen CONFIG.VCO_MUL 8 +ad_ip_parameter axi_ad9371_rx_clkgen CONFIG.CLK0_DIV 8 -set axi_ad9371_rx_xcvr [create_bd_cell -type ip -vlnv analog.com:user:axi_adxcvr:1.0 axi_ad9371_rx_xcvr] -set_property -dict [list CONFIG.NUM_OF_LANES {2}] $axi_ad9371_rx_xcvr -set_property -dict [list CONFIG.QPLL_ENABLE {0}] $axi_ad9371_rx_xcvr -set_property -dict [list CONFIG.TX_OR_RX_N {0}] $axi_ad9371_rx_xcvr +ad_ip_instance axi_adxcvr axi_ad9371_rx_xcvr +ad_ip_parameter axi_ad9371_rx_xcvr CONFIG.NUM_OF_LANES 2 +ad_ip_parameter axi_ad9371_rx_xcvr CONFIG.QPLL_ENABLE 0 +ad_ip_parameter axi_ad9371_rx_xcvr CONFIG.TX_OR_RX_N 0 -set axi_ad9371_rx_jesd [create_bd_cell -type ip -vlnv xilinx.com:ip:jesd204:7.0 axi_ad9371_rx_jesd] -set_property -dict [list CONFIG.C_NODE_IS_TRANSMIT {0}] $axi_ad9371_rx_jesd -set_property -dict [list CONFIG.C_LANES {2}] $axi_ad9371_rx_jesd +ad_ip_instance jesd204 axi_ad9371_rx_jesd +ad_ip_parameter axi_ad9371_rx_jesd CONFIG.C_NODE_IS_TRANSMIT 0 +ad_ip_parameter axi_ad9371_rx_jesd CONFIG.C_LANES 2 -set util_ad9371_rx_cpack [create_bd_cell -type ip -vlnv analog.com:user:util_cpack:1.0 util_ad9371_rx_cpack] -set_property -dict [list CONFIG.CHANNEL_DATA_WIDTH {16}] $util_ad9371_rx_cpack -set_property -dict [list CONFIG.NUM_OF_CHANNELS {4}] $util_ad9371_rx_cpack +ad_ip_instance util_cpack util_ad9371_rx_cpack +ad_ip_parameter util_ad9371_rx_cpack CONFIG.CHANNEL_DATA_WIDTH 16 +ad_ip_parameter util_ad9371_rx_cpack CONFIG.NUM_OF_CHANNELS 4 -set axi_ad9371_rx_dma [create_bd_cell -type ip -vlnv analog.com:user:axi_dmac:1.0 axi_ad9371_rx_dma] -set_property -dict [list CONFIG.DMA_TYPE_SRC {2}] $axi_ad9371_rx_dma -set_property -dict [list CONFIG.DMA_TYPE_DEST {0}] $axi_ad9371_rx_dma -set_property -dict [list CONFIG.CYCLIC {0}] $axi_ad9371_rx_dma -set_property -dict [list CONFIG.SYNC_TRANSFER_START {1}] $axi_ad9371_rx_dma -set_property -dict [list CONFIG.AXI_SLICE_SRC {0}] $axi_ad9371_rx_dma -set_property -dict [list CONFIG.AXI_SLICE_DEST {0}] $axi_ad9371_rx_dma -set_property -dict [list CONFIG.ASYNC_CLK_DEST_REQ {1}] $axi_ad9371_rx_dma -set_property -dict [list CONFIG.ASYNC_CLK_SRC_DEST {1}] $axi_ad9371_rx_dma -set_property -dict [list CONFIG.ASYNC_CLK_REQ_SRC {1}] $axi_ad9371_rx_dma -set_property -dict [list CONFIG.DMA_2D_TRANSFER {0}] $axi_ad9371_rx_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_SRC {64}] $axi_ad9371_rx_dma +ad_ip_instance axi_dmac axi_ad9371_rx_dma +ad_ip_parameter axi_ad9371_rx_dma CONFIG.DMA_TYPE_SRC 2 +ad_ip_parameter axi_ad9371_rx_dma CONFIG.DMA_TYPE_DEST 0 +ad_ip_parameter axi_ad9371_rx_dma CONFIG.CYCLIC 0 +ad_ip_parameter axi_ad9371_rx_dma CONFIG.SYNC_TRANSFER_START 1 +ad_ip_parameter axi_ad9371_rx_dma CONFIG.AXI_SLICE_SRC 0 +ad_ip_parameter axi_ad9371_rx_dma CONFIG.AXI_SLICE_DEST 0 +ad_ip_parameter axi_ad9371_rx_dma CONFIG.ASYNC_CLK_DEST_REQ 1 +ad_ip_parameter axi_ad9371_rx_dma CONFIG.ASYNC_CLK_SRC_DEST 1 +ad_ip_parameter axi_ad9371_rx_dma CONFIG.ASYNC_CLK_REQ_SRC 1 +ad_ip_parameter axi_ad9371_rx_dma CONFIG.DMA_2D_TRANSFER 0 +ad_ip_parameter axi_ad9371_rx_dma CONFIG.DMA_DATA_WIDTH_SRC 64 # adc-os peripherals -set axi_ad9371_rx_os_clkgen [create_bd_cell -type ip -vlnv analog.com:user:axi_clkgen:1.0 axi_ad9371_rx_os_clkgen] -set_property -dict [list CONFIG.ID {2}] $axi_ad9371_rx_os_clkgen -set_property -dict [list CONFIG.CLKIN_PERIOD {8}] $axi_ad9371_rx_os_clkgen -set_property -dict [list CONFIG.VCO_DIV {1}] $axi_ad9371_rx_os_clkgen -set_property -dict [list CONFIG.VCO_MUL {8}] $axi_ad9371_rx_os_clkgen -set_property -dict [list CONFIG.CLK0_DIV {8}] $axi_ad9371_rx_os_clkgen +ad_ip_instance axi_clkgen axi_ad9371_rx_os_clkgen +ad_ip_parameter axi_ad9371_rx_os_clkgen CONFIG.ID 2 +ad_ip_parameter axi_ad9371_rx_os_clkgen CONFIG.CLKIN_PERIOD 8 +ad_ip_parameter axi_ad9371_rx_os_clkgen CONFIG.VCO_DIV 1 +ad_ip_parameter axi_ad9371_rx_os_clkgen CONFIG.VCO_MUL 8 +ad_ip_parameter axi_ad9371_rx_os_clkgen CONFIG.CLK0_DIV 8 -set axi_ad9371_rx_os_xcvr [create_bd_cell -type ip -vlnv analog.com:user:axi_adxcvr:1.0 axi_ad9371_rx_os_xcvr] -set_property -dict [list CONFIG.NUM_OF_LANES {2}] $axi_ad9371_rx_os_xcvr -set_property -dict [list CONFIG.QPLL_ENABLE {0}] $axi_ad9371_rx_os_xcvr -set_property -dict [list CONFIG.TX_OR_RX_N {0}] $axi_ad9371_rx_os_xcvr +ad_ip_instance axi_adxcvr axi_ad9371_rx_os_xcvr +ad_ip_parameter axi_ad9371_rx_os_xcvr CONFIG.NUM_OF_LANES 2 +ad_ip_parameter axi_ad9371_rx_os_xcvr CONFIG.QPLL_ENABLE 0 +ad_ip_parameter axi_ad9371_rx_os_xcvr CONFIG.TX_OR_RX_N 0 -set axi_ad9371_rx_os_jesd [create_bd_cell -type ip -vlnv xilinx.com:ip:jesd204:7.0 axi_ad9371_rx_os_jesd] -set_property -dict [list CONFIG.C_NODE_IS_TRANSMIT {0}] $axi_ad9371_rx_os_jesd -set_property -dict [list CONFIG.C_LANES {2}] $axi_ad9371_rx_os_jesd +ad_ip_instance jesd204 axi_ad9371_rx_os_jesd +ad_ip_parameter axi_ad9371_rx_os_jesd CONFIG.C_NODE_IS_TRANSMIT 0 +ad_ip_parameter axi_ad9371_rx_os_jesd CONFIG.C_LANES 2 -set util_ad9371_rx_os_cpack [create_bd_cell -type ip -vlnv analog.com:user:util_cpack:1.0 util_ad9371_rx_os_cpack] -set_property -dict [list CONFIG.CHANNEL_DATA_WIDTH {32}] $util_ad9371_rx_os_cpack -set_property -dict [list CONFIG.NUM_OF_CHANNELS {2}] $util_ad9371_rx_os_cpack +ad_ip_instance util_cpack util_ad9371_rx_os_cpack +ad_ip_parameter util_ad9371_rx_os_cpack CONFIG.CHANNEL_DATA_WIDTH 32 +ad_ip_parameter util_ad9371_rx_os_cpack CONFIG.NUM_OF_CHANNELS 2 -set axi_ad9371_rx_os_dma [create_bd_cell -type ip -vlnv analog.com:user:axi_dmac:1.0 axi_ad9371_rx_os_dma] -set_property -dict [list CONFIG.DMA_TYPE_SRC {2}] $axi_ad9371_rx_os_dma -set_property -dict [list CONFIG.DMA_TYPE_DEST {0}] $axi_ad9371_rx_os_dma -set_property -dict [list CONFIG.CYCLIC {0}] $axi_ad9371_rx_os_dma -set_property -dict [list CONFIG.SYNC_TRANSFER_START {1}] $axi_ad9371_rx_os_dma -set_property -dict [list CONFIG.AXI_SLICE_SRC {0}] $axi_ad9371_rx_os_dma -set_property -dict [list CONFIG.AXI_SLICE_DEST {0}] $axi_ad9371_rx_os_dma -set_property -dict [list CONFIG.ASYNC_CLK_DEST_REQ {1}] $axi_ad9371_rx_os_dma -set_property -dict [list CONFIG.ASYNC_CLK_SRC_DEST {1}] $axi_ad9371_rx_os_dma -set_property -dict [list CONFIG.ASYNC_CLK_REQ_SRC {1}] $axi_ad9371_rx_os_dma -set_property -dict [list CONFIG.DMA_2D_TRANSFER {0}] $axi_ad9371_rx_os_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_SRC {64}] $axi_ad9371_rx_os_dma +ad_ip_instance axi_dmac axi_ad9371_rx_os_dma +ad_ip_parameter axi_ad9371_rx_os_dma CONFIG.DMA_TYPE_SRC 2 +ad_ip_parameter axi_ad9371_rx_os_dma CONFIG.DMA_TYPE_DEST 0 +ad_ip_parameter axi_ad9371_rx_os_dma CONFIG.CYCLIC 0 +ad_ip_parameter axi_ad9371_rx_os_dma CONFIG.SYNC_TRANSFER_START 1 +ad_ip_parameter axi_ad9371_rx_os_dma CONFIG.AXI_SLICE_SRC 0 +ad_ip_parameter axi_ad9371_rx_os_dma CONFIG.AXI_SLICE_DEST 0 +ad_ip_parameter axi_ad9371_rx_os_dma CONFIG.ASYNC_CLK_DEST_REQ 1 +ad_ip_parameter axi_ad9371_rx_os_dma CONFIG.ASYNC_CLK_SRC_DEST 1 +ad_ip_parameter axi_ad9371_rx_os_dma CONFIG.ASYNC_CLK_REQ_SRC 1 +ad_ip_parameter axi_ad9371_rx_os_dma CONFIG.DMA_2D_TRANSFER 0 +ad_ip_parameter axi_ad9371_rx_os_dma CONFIG.DMA_DATA_WIDTH_SRC 64 # common cores -set axi_ad9371_core [create_bd_cell -type ip -vlnv analog.com:user:axi_ad9371:1.0 axi_ad9371_core] +ad_ip_instance axi_ad9371 axi_ad9371_core -set util_ad9371_xcvr [create_bd_cell -type ip -vlnv analog.com:user:util_adxcvr:1.0 util_ad9371_xcvr] -set_property -dict [list CONFIG.RX_NUM_OF_LANES {4}] $util_ad9371_xcvr -set_property -dict [list CONFIG.TX_NUM_OF_LANES {4}] $util_ad9371_xcvr -set_property -dict [list CONFIG.TX_OUT_DIV {2}] $util_ad9371_xcvr -set_property -dict [list CONFIG.CPLL_FBDIV {4}] $util_ad9371_xcvr -set_property -dict [list CONFIG.RX_CLK25_DIV {5}] $util_ad9371_xcvr -set_property -dict [list CONFIG.TX_CLK25_DIV {5}] $util_ad9371_xcvr -set_property -dict [list CONFIG.RX_PMA_CFG {0x00018480}] $util_ad9371_xcvr -set_property -dict [list CONFIG.RX_CDR_CFG {0x03000023ff20400020}] $util_ad9371_xcvr -set_property -dict [list CONFIG.QPLL_FBDIV {"0100100000"}] $util_ad9371_xcvr +ad_ip_instance util_adxcvr util_ad9371_xcvr +ad_ip_parameter util_ad9371_xcvr CONFIG.RX_NUM_OF_LANES 4 +ad_ip_parameter util_ad9371_xcvr CONFIG.TX_NUM_OF_LANES 4 +ad_ip_parameter util_ad9371_xcvr CONFIG.TX_OUT_DIV 2 +ad_ip_parameter util_ad9371_xcvr CONFIG.CPLL_FBDIV 4 +ad_ip_parameter util_ad9371_xcvr CONFIG.RX_CLK25_DIV 5 +ad_ip_parameter util_ad9371_xcvr CONFIG.TX_CLK25_DIV 5 +ad_ip_parameter util_ad9371_xcvr CONFIG.RX_PMA_CFG 0x00018480 +ad_ip_parameter util_ad9371_xcvr CONFIG.RX_CDR_CFG 0x03000023ff20400020 +ad_ip_parameter util_ad9371_xcvr CONFIG.QPLL_FBDIV "0100100000" # xcvr interfaces @@ -168,10 +168,10 @@ ad_connect axi_ad9371_rx_os_clkgen/clk_0 axi_ad9371_rx_os_jesd_rstgen/slowest_s # dma clock & reset -set_property -dict [list CONFIG.PCW_FPGA2_PERIPHERAL_FREQMHZ {150}] $sys_ps7 + ad_ip_parameter sys_ps7 CONFIG.PCW_FPGA2_PERIPHERAL_FREQMHZ 150 -set sys_dma_rstgen [create_bd_cell -type ip -vlnv xilinx.com:ip:proc_sys_reset:5.0 sys_dma_rstgen] -set_property -dict [list CONFIG.C_EXT_RST_WIDTH {1}] $sys_dma_rstgen +ad_ip_instance proc_sys_reset sys_dma_rstgen +ad_ip_parameter sys_dma_rstgen CONFIG.C_EXT_RST_WIDTH 1 ad_connect sys_dma_clk sys_ps7/FCLK_CLK2 ad_connect sys_dma_clk sys_dma_rstgen/slowest_sync_clk @@ -296,15 +296,15 @@ ad_cpu_interrupt ps-13 mb-13 axi_ad9371_rx_dma/irq # ila -set ila_adc [create_bd_cell -type ip -vlnv xilinx.com:ip:ila:6.1 ila_adc] -set_property -dict [list CONFIG.C_MONITOR_TYPE {Native}] $ila_adc -set_property -dict [list CONFIG.C_NUM_OF_PROBES {4}] $ila_adc -set_property -dict [list CONFIG.C_PROBE0_WIDTH {16}] $ila_adc -set_property -dict [list CONFIG.C_PROBE1_WIDTH {16}] $ila_adc -set_property -dict [list CONFIG.C_PROBE2_WIDTH {16}] $ila_adc -set_property -dict [list CONFIG.C_PROBE3_WIDTH {16}] $ila_adc -set_property -dict [list CONFIG.C_EN_STRG_QUAL {1}] $ila_adc -set_property -dict [list CONFIG.C_TRIGIN_EN {false}] $ila_adc +ad_ip_instance ila ila_adc +ad_ip_parameter ila_adc CONFIG.C_MONITOR_TYPE Native +ad_ip_parameter ila_adc CONFIG.C_NUM_OF_PROBES 4 +ad_ip_parameter ila_adc CONFIG.C_PROBE0_WIDTH 16 +ad_ip_parameter ila_adc CONFIG.C_PROBE1_WIDTH 16 +ad_ip_parameter ila_adc CONFIG.C_PROBE2_WIDTH 16 +ad_ip_parameter ila_adc CONFIG.C_PROBE3_WIDTH 16 +ad_ip_parameter ila_adc CONFIG.C_EN_STRG_QUAL 1 +ad_ip_parameter ila_adc CONFIG.C_TRIGIN_EN false ad_connect axi_ad9371_rx_clkgen/clk_0 ila_adc/clk ad_connect axi_ad9371_core/adc_data_i0 ila_adc/probe0 @@ -312,25 +312,25 @@ ad_connect axi_ad9371_core/adc_data_q0 ila_adc/probe1 ad_connect axi_ad9371_core/adc_data_i1 ila_adc/probe2 ad_connect axi_ad9371_core/adc_data_q1 ila_adc/probe3 -set bsplit_os_adc_0 [create_bd_cell -type ip -vlnv analog.com:user:util_bsplit:1.0 bsplit_os_adc_0] -set_property -dict [list CONFIG.CHANNEL_DATA_WIDTH {16}] $bsplit_os_adc_0 -set_property -dict [list CONFIG.NUM_OF_CHANNELS {2}] $bsplit_os_adc_0 +ad_ip_instance util_bsplit bsplit_os_adc_0 +ad_ip_parameter bsplit_os_adc_0 CONFIG.CHANNEL_DATA_WIDTH 16 +ad_ip_parameter bsplit_os_adc_0 CONFIG.NUM_OF_CHANNELS 2 -set bsplit_os_adc_1 [create_bd_cell -type ip -vlnv analog.com:user:util_bsplit:1.0 bsplit_os_adc_1] -set_property -dict [list CONFIG.CHANNEL_DATA_WIDTH {16}] $bsplit_os_adc_1 -set_property -dict [list CONFIG.NUM_OF_CHANNELS {2}] $bsplit_os_adc_1 +ad_ip_instance util_bsplit bsplit_os_adc_1 +ad_ip_parameter bsplit_os_adc_1 CONFIG.CHANNEL_DATA_WIDTH 16 +ad_ip_parameter bsplit_os_adc_1 CONFIG.NUM_OF_CHANNELS 2 -set ila_os_adc [create_bd_cell -type ip -vlnv xilinx.com:ip:ila:6.1 ila_os_adc] -set_property -dict [list CONFIG.C_MONITOR_TYPE {Native}] $ila_os_adc -set_property -dict [list CONFIG.C_NUM_OF_PROBES {6}] $ila_os_adc -set_property -dict [list CONFIG.C_PROBE0_WIDTH {1}] $ila_os_adc -set_property -dict [list CONFIG.C_PROBE1_WIDTH {16}] $ila_os_adc -set_property -dict [list CONFIG.C_PROBE2_WIDTH {16}] $ila_os_adc -set_property -dict [list CONFIG.C_PROBE3_WIDTH {1}] $ila_os_adc -set_property -dict [list CONFIG.C_PROBE4_WIDTH {16}] $ila_os_adc -set_property -dict [list CONFIG.C_PROBE5_WIDTH {16}] $ila_os_adc -set_property -dict [list CONFIG.C_EN_STRG_QUAL {1}] $ila_os_adc -set_property -dict [list CONFIG.C_TRIGIN_EN {false}] $ila_os_adc +ad_ip_instance ila ila_os_adc +ad_ip_parameter ila_os_adc CONFIG.C_MONITOR_TYPE Native +ad_ip_parameter ila_os_adc CONFIG.C_NUM_OF_PROBES 6 +ad_ip_parameter ila_os_adc CONFIG.C_PROBE0_WIDTH 1 +ad_ip_parameter ila_os_adc CONFIG.C_PROBE1_WIDTH 16 +ad_ip_parameter ila_os_adc CONFIG.C_PROBE2_WIDTH 16 +ad_ip_parameter ila_os_adc CONFIG.C_PROBE3_WIDTH 1 +ad_ip_parameter ila_os_adc CONFIG.C_PROBE4_WIDTH 16 +ad_ip_parameter ila_os_adc CONFIG.C_PROBE5_WIDTH 16 +ad_ip_parameter ila_os_adc CONFIG.C_EN_STRG_QUAL 1 +ad_ip_parameter ila_os_adc CONFIG.C_TRIGIN_EN false ad_connect axi_ad9371_core/adc_os_data_i0 bsplit_os_adc_0/data ad_connect axi_ad9371_core/adc_os_data_q0 bsplit_os_adc_1/data diff --git a/projects/adv7511/common/adv7511_bd.tcl b/projects/adv7511/common/adv7511_bd.tcl index d33aadccf..9b75f3844 100755 --- a/projects/adv7511/common/adv7511_bd.tcl +++ b/projects/adv7511/common/adv7511_bd.tcl @@ -21,27 +21,27 @@ create_bd_port -dir O spdif # hdmi peripherals -set axi_hdmi_clkgen [create_bd_cell -type ip -vlnv analog.com:user:axi_clkgen:1.0 axi_hdmi_clkgen] -set axi_hdmi_core [create_bd_cell -type ip -vlnv analog.com:user:axi_hdmi_tx:1.0 axi_hdmi_core] +ad_ip_instance axi_clkgen axi_hdmi_clkgen +ad_ip_instance axi_hdmi_tx axi_hdmi_core -set axi_hdmi_dma [create_bd_cell -type ip -vlnv xilinx.com:ip:axi_vdma:6.2 axi_hdmi_dma] -set_property -dict [list CONFIG.c_m_axis_mm2s_tdata_width {64}] $axi_hdmi_dma -set_property -dict [list CONFIG.c_use_mm2s_fsync {1}] $axi_hdmi_dma -set_property -dict [list CONFIG.c_include_s2mm {0}] $axi_hdmi_dma +ad_ip_instance axi_vdma axi_hdmi_dma +ad_ip_parameter axi_hdmi_dma CONFIG.c_m_axis_mm2s_tdata_width 64 +ad_ip_parameter axi_hdmi_dma CONFIG.c_use_mm2s_fsync 1 +ad_ip_parameter axi_hdmi_dma CONFIG.c_include_s2mm 0 # audio peripherals -set sys_audio_clkgen [create_bd_cell -type ip -vlnv xilinx.com:ip:clk_wiz:5.3 sys_audio_clkgen] -set_property -dict [list CONFIG.PRIM_IN_FREQ {200.000}] $sys_audio_clkgen -set_property -dict [list CONFIG.CLKOUT1_REQUESTED_OUT_FREQ {12.288}] $sys_audio_clkgen +ad_ip_instance clk_wiz sys_audio_clkgen +ad_ip_parameter sys_audio_clkgen CONFIG.PRIM_IN_FREQ 200.000 +ad_ip_parameter sys_audio_clkgen CONFIG.CLKOUT1_REQUESTED_OUT_FREQ 12.288 -set axi_spdif_tx_core [create_bd_cell -type ip -vlnv analog.com:user:axi_spdif_tx:1.0 axi_spdif_tx_core] -set_property -dict [list CONFIG.DMA_TYPE {0}] $axi_spdif_tx_core -set_property -dict [list CONFIG.S_AXI_ADDRESS_WIDTH {16}] $axi_spdif_tx_core +ad_ip_instance axi_spdif_tx axi_spdif_tx_core +ad_ip_parameter axi_spdif_tx_core CONFIG.DMA_TYPE 0 +ad_ip_parameter axi_spdif_tx_core CONFIG.S_AXI_ADDRESS_WIDTH 16 -set axi_spdif_tx_dma [create_bd_cell -type ip -vlnv xilinx.com:ip:axi_dma:7.1 axi_spdif_tx_dma] -set_property -dict [list CONFIG.C_INCLUDE_S2MM {0}] $axi_spdif_tx_dma -set_property -dict [list CONFIG.C_SG_INCLUDE_STSCNTRL_STRM {0}] $axi_spdif_tx_dma +ad_ip_instance axi_dma axi_spdif_tx_dma +ad_ip_parameter axi_spdif_tx_dma CONFIG.C_INCLUDE_S2MM 0 +ad_ip_parameter axi_spdif_tx_dma CONFIG.C_SG_INCLUDE_STSCNTRL_STRM 0 # hdmi diff --git a/projects/fmcadc4/common/fmcadc4_bd.tcl b/projects/fmcadc4/common/fmcadc4_bd.tcl index 8397df8d0..fdb380704 100644 --- a/projects/fmcadc4/common/fmcadc4_bd.tcl +++ b/projects/fmcadc4/common/fmcadc4_bd.tcl @@ -3,46 +3,46 @@ # adc peripherals -set axi_ad9680_core_0 [create_bd_cell -type ip -vlnv analog.com:user:axi_ad9680:1.0 axi_ad9680_core_0] -set_property -dict [list CONFIG.ID {0}] $axi_ad9680_core_0 -set axi_ad9680_core_1 [create_bd_cell -type ip -vlnv analog.com:user:axi_ad9680:1.0 axi_ad9680_core_1] -set_property -dict [list CONFIG.ID {1}] $axi_ad9680_core_1 +ad_ip_instance axi_ad9680 axi_ad9680_core_0 +ad_ip_parameter axi_ad9680_core_0 CONFIG.ID 0 +ad_ip_instance axi_ad9680 axi_ad9680_core_1 +ad_ip_parameter axi_ad9680_core_1 CONFIG.ID 1 -set axi_ad9680_xcvr [create_bd_cell -type ip -vlnv analog.com:user:axi_adxcvr:1.0 axi_ad9680_xcvr] -set_property -dict [list CONFIG.NUM_OF_LANES {8}] $axi_ad9680_xcvr -set_property -dict [list CONFIG.QPLL_ENABLE {1}] $axi_ad9680_xcvr -set_property -dict [list CONFIG.TX_OR_RX_N {0}] $axi_ad9680_xcvr +ad_ip_instance axi_adxcvr axi_ad9680_xcvr +ad_ip_parameter axi_ad9680_xcvr CONFIG.NUM_OF_LANES 8 +ad_ip_parameter axi_ad9680_xcvr CONFIG.QPLL_ENABLE 1 +ad_ip_parameter axi_ad9680_xcvr CONFIG.TX_OR_RX_N 0 -set axi_ad9680_jesd [create_bd_cell -type ip -vlnv xilinx.com:ip:jesd204:7.0 axi_ad9680_jesd] -set_property -dict [list CONFIG.C_NODE_IS_TRANSMIT {0}] $axi_ad9680_jesd -set_property -dict [list CONFIG.C_LANES {8}] $axi_ad9680_jesd +ad_ip_instance jesd204 axi_ad9680_jesd +ad_ip_parameter axi_ad9680_jesd CONFIG.C_NODE_IS_TRANSMIT 0 +ad_ip_parameter axi_ad9680_jesd CONFIG.C_LANES 8 -set axi_ad9680_dma [create_bd_cell -type ip -vlnv analog.com:user:axi_dmac:1.0 axi_ad9680_dma] -set_property -dict [list CONFIG.DMA_TYPE_SRC {1}] $axi_ad9680_dma -set_property -dict [list CONFIG.DMA_TYPE_DEST {0}] $axi_ad9680_dma -set_property -dict [list CONFIG.ID {0}] $axi_ad9680_dma -set_property -dict [list CONFIG.AXI_SLICE_SRC {0}] $axi_ad9680_dma -set_property -dict [list CONFIG.AXI_SLICE_DEST {0}] $axi_ad9680_dma -set_property -dict [list CONFIG.SYNC_TRANSFER_START {1}] $axi_ad9680_dma -set_property -dict [list CONFIG.DMA_LENGTH_WIDTH {24}] $axi_ad9680_dma -set_property -dict [list CONFIG.DMA_2D_TRANSFER {0}] $axi_ad9680_dma -set_property -dict [list CONFIG.CYCLIC {0}] $axi_ad9680_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_SRC {64}] $axi_ad9680_dma -set_property -dict [list CONFIG.DMA_DATA_WIDTH_DEST {64}] $axi_ad9680_dma +ad_ip_instance axi_dmac axi_ad9680_dma +ad_ip_parameter axi_ad9680_dma CONFIG.DMA_TYPE_SRC 1 +ad_ip_parameter axi_ad9680_dma CONFIG.DMA_TYPE_DEST 0 +ad_ip_parameter axi_ad9680_dma CONFIG.ID 0 +ad_ip_parameter axi_ad9680_dma CONFIG.AXI_SLICE_SRC 0 +ad_ip_parameter axi_ad9680_dma CONFIG.AXI_SLICE_DEST 0 +ad_ip_parameter axi_ad9680_dma CONFIG.SYNC_TRANSFER_START 1 +ad_ip_parameter axi_ad9680_dma CONFIG.DMA_LENGTH_WIDTH 24 +ad_ip_parameter axi_ad9680_dma CONFIG.DMA_2D_TRANSFER 0 +ad_ip_parameter axi_ad9680_dma CONFIG.CYCLIC 0 +ad_ip_parameter axi_ad9680_dma CONFIG.DMA_DATA_WIDTH_SRC 64 +ad_ip_parameter axi_ad9680_dma CONFIG.DMA_DATA_WIDTH_DEST 64 -set axi_ad9680_cpack [create_bd_cell -type ip -vlnv analog.com:user:util_cpack:1.0 axi_ad9680_cpack] -set_property -dict [list CONFIG.CHANNEL_DATA_WIDTH {64}] $axi_ad9680_cpack -set_property -dict [list CONFIG.NUM_OF_CHANNELS {4}] $axi_ad9680_cpack +ad_ip_instance util_cpack axi_ad9680_cpack +ad_ip_parameter axi_ad9680_cpack CONFIG.CHANNEL_DATA_WIDTH 64 +ad_ip_parameter axi_ad9680_cpack CONFIG.NUM_OF_CHANNELS 4 # adc common gt -set util_fmcadc4_xcvr [create_bd_cell -type ip -vlnv analog.com:user:util_adxcvr:1.0 util_fmcadc4_xcvr] -set_property -dict [list CONFIG.RX_NUM_OF_LANES {8}] $util_fmcadc4_xcvr -set_property -dict [list CONFIG.TX_NUM_OF_LANES {0}] $util_fmcadc4_xcvr +ad_ip_instance util_adxcvr util_fmcadc4_xcvr +ad_ip_parameter util_fmcadc4_xcvr CONFIG.RX_NUM_OF_LANES 8 +ad_ip_parameter util_fmcadc4_xcvr CONFIG.TX_NUM_OF_LANES 0 -create_bd_cell -type ip -vlnv analog.com:user:util_bsplit:1.0 util_bsplit_rx_data -set_property -dict [list CONFIG.CHANNEL_DATA_WIDTH {128}] [get_bd_cells util_bsplit_rx_data] -set_property -dict [list CONFIG.NUM_OF_CHANNELS {2}] [get_bd_cells util_bsplit_rx_data] +ad_ip_instance util_bsplit util_bsplit_rx_data +ad_ip_parameter util_bsplit_rx_data CONFIG.CHANNEL_DATA_WIDTH 128 +ad_ip_parameter util_bsplit_rx_data CONFIG.NUM_OF_CHANNELS 2 # reference clocks & resets