45 lines
1.7 KiB
Tcl
45 lines
1.7 KiB
Tcl
|
|
set dac_fifo_name axi_adrv9009_dacfifo
|
|
set dac_fifo_address_width 14
|
|
set dac_data_width 128
|
|
set dac_dma_data_width 128
|
|
|
|
source $ad_hdl_dir/projects/common/zcu102/zcu102_system_bd.tcl
|
|
source $ad_hdl_dir/projects/common/xilinx/dacfifo_bd.tcl
|
|
|
|
ad_mem_hp0_interconnect sys_cpu_clk sys_ps8/S_AXI_HP0
|
|
|
|
source ../common/adrv9009_bd.tcl
|
|
|
|
ad_ip_parameter axi_adrv9009_tx_dma CONFIG.DMA_DATA_WIDTH_SRC 128
|
|
ad_ip_parameter axi_adrv9009_rx_dma CONFIG.DMA_DATA_WIDTH_DEST 128
|
|
ad_ip_parameter axi_adrv9009_rx_os_dma CONFIG.DMA_DATA_WIDTH_DEST 128
|
|
ad_ip_parameter axi_adrv9009_rx_dma CONFIG.FIFO_SIZE 32
|
|
ad_ip_parameter axi_adrv9009_rx_os_dma CONFIG.FIFO_SIZE 32
|
|
ad_ip_parameter axi_adrv9009_tx_dma CONFIG.FIFO_SIZE 32
|
|
|
|
ad_ip_instance clk_wiz dma_clk_wiz
|
|
ad_ip_parameter dma_clk_wiz CONFIG.PRIMITIVE MMCM
|
|
ad_ip_parameter dma_clk_wiz CONFIG.RESET_TYPE ACTIVE_LOW
|
|
ad_ip_parameter dma_clk_wiz CONFIG.USE_LOCKED false
|
|
ad_ip_parameter dma_clk_wiz CONFIG.CLKOUT1_REQUESTED_OUT_FREQ 332.9
|
|
ad_ip_parameter dma_clk_wiz CONFIG.PRIM_SOURCE No_buffer
|
|
|
|
ad_connect sys_cpu_clk dma_clk_wiz/clk_in1
|
|
ad_connect sys_cpu_resetn dma_clk_wiz/resetn
|
|
|
|
ad_connect sys_dma_clk dma_clk_wiz/clk_out1
|
|
ad_connect sys_dma_rstgen/ext_reset_in sys_rstgen/peripheral_reset
|
|
|
|
ad_ip_parameter axi_adrv9009_tx_xcvr CONFIG.XCVR_TYPE 2
|
|
ad_ip_parameter axi_adrv9009_rx_xcvr CONFIG.XCVR_TYPE 2
|
|
ad_ip_parameter axi_adrv9009_rx_os_xcvr CONFIG.XCVR_TYPE 2
|
|
|
|
ad_ip_parameter util_adrv9009_xcvr CONFIG.XCVR_TYPE 2
|
|
ad_ip_parameter util_adrv9009_xcvr CONFIG.QPLL_FBDIV 80
|
|
ad_ip_parameter util_adrv9009_xcvr CONFIG.QPLL_REFCLK_DIV 1
|
|
|
|
ad_ip_parameter axi_adrv9009_rx_clkgen CONFIG.DEVICE_TYPE 2
|
|
ad_ip_parameter axi_adrv9009_tx_clkgen CONFIG.DEVICE_TYPE 2
|
|
|