2018-09-05 08:32:28 +00:00
|
|
|
## FIFO depth is 18Mb - 1M samples
|
|
|
|
set dac_fifo_address_width 17
|
2018-04-25 13:02:59 +00:00
|
|
|
|
2018-09-05 08:32:28 +00:00
|
|
|
## NOTE: With this configuration the #36Kb BRAM utilization is at ~57%
|
|
|
|
|
2018-04-25 13:02:59 +00:00
|
|
|
source $ad_hdl_dir/projects/common/zcu102/zcu102_system_bd.tcl
|
|
|
|
source $ad_hdl_dir/projects/common/xilinx/dacfifo_bd.tcl
|
2020-10-09 14:28:10 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_pd.tcl
|
2018-04-25 13:02:59 +00:00
|
|
|
|
2022-09-23 09:28:22 +00:00
|
|
|
set mem_init_sys_path [get_env_param ADI_PROJECT_DIR ""]mem_init_sys.txt;
|
|
|
|
|
2019-06-28 08:41:21 +00:00
|
|
|
#system ID
|
|
|
|
ad_ip_parameter axi_sysid_0 CONFIG.ROM_ADDR_BITS 9
|
2022-09-23 09:28:22 +00:00
|
|
|
ad_ip_parameter rom_sys_0 CONFIG.PATH_TO_FILE "[pwd]/$mem_init_sys_path"
|
2019-06-28 08:41:21 +00:00
|
|
|
ad_ip_parameter rom_sys_0 CONFIG.ROM_ADDR_BITS 9
|
2020-09-28 21:10:35 +00:00
|
|
|
|
|
|
|
sysid_gen_sys_init_file
|
2019-06-28 08:41:21 +00:00
|
|
|
|
2018-05-11 12:01:05 +00:00
|
|
|
ad_mem_hp0_interconnect sys_cpu_clk sys_ps8/S_AXI_HP0
|
2018-04-25 13:02:59 +00:00
|
|
|
|
|
|
|
source ../common/adrv9009_bd.tcl
|
|
|
|
|
2018-05-11 12:01:05 +00:00
|
|
|
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
|
2018-05-24 06:38:59 +00:00
|
|
|
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
|
2018-05-11 12:01:05 +00:00
|
|
|
|
2018-04-25 13:02:59 +00:00
|
|
|
ad_ip_parameter util_adrv9009_xcvr CONFIG.QPLL_FBDIV 80
|
|
|
|
ad_ip_parameter util_adrv9009_xcvr CONFIG.QPLL_REFCLK_DIV 1
|
|
|
|
|