2019-03-06 07:34:05 +00:00
|
|
|
## FIFO depth is 4Mb - 250k samples
|
|
|
|
set adc_fifo_address_width 16
|
|
|
|
|
|
|
|
## FIFO depth is 4Mb - 250k samples
|
|
|
|
set dac_fifo_address_width 15
|
|
|
|
|
|
|
|
|
|
|
|
source $ad_hdl_dir/projects/common/vcu118/vcu118_system_bd.tcl
|
|
|
|
source $ad_hdl_dir/projects/common/xilinx/adcfifo_bd.tcl
|
|
|
|
source $ad_hdl_dir/projects/common/xilinx/dacfifo_bd.tcl
|
|
|
|
source ../common/daq3_bd.tcl
|
2020-10-09 14:28:10 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_pd.tcl
|
2019-03-06 07:34:05 +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
|
|
|
|
2019-03-06 07:34:05 +00:00
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.QPLL_FBDIV 20
|
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.QPLL_REFCLK_DIV 1
|
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.QPLL_CFG0 0x331C
|
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.QPLL_CFG1 0xD038
|
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.QPLL_CFG2 0xFC1
|
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.QPLL_CFG3 0x120
|
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.QPLL_CFG4 0x2
|
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.QPLL_CFG1_G3 0xD038
|
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.QPLL_CFG2_G3 0xFC1
|
|
|
|
|
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.CPLL_CFG0 0x3fe
|
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.CPLL_CFG1 0x29
|
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.CPLL_CFG2 0x203
|
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.RX_CLK25_DIV 25
|
|
|
|
ad_ip_parameter util_daq3_xcvr CONFIG.TX_CLK25_DIV 25
|
|
|
|
|
|
|
|
ad_ip_parameter axi_ad9680_dma CONFIG.AXI_SLICE_DEST true
|
|
|
|
ad_ip_parameter axi_ad9680_dma CONFIG.AXI_SLICE_SRC true
|
|
|
|
ad_ip_parameter axi_ad9152_dma CONFIG.AXI_SLICE_DEST true
|
|
|
|
ad_ip_parameter axi_ad9152_dma CONFIG.AXI_SLICE_SRC true
|