pluto_hdl_adi/projects/adrv9371x/zcu102/system_bd.tcl

34 lines
1.2 KiB
Tcl
Raw Normal View History

###############################################################################
## Copyright (C) 2017-2023 Analog Devices, Inc. All rights reserved.
### SPDX short identifier: ADIBSD
###############################################################################
## FIFO depth is 16Mb - 1M samples
set dac_fifo_address_width 17
2017-08-22 12:48:03 +00:00
## NOTE: With this configuration the #36Kb BRAM utilization is at ~51%
2017-08-22 12:48:03 +00:00
source $ad_hdl_dir/projects/common/zcu102/zcu102_system_bd.tcl
source $ad_hdl_dir/projects/common/xilinx/dacfifo_bd.tcl
source $ad_hdl_dir/projects/scripts/adi_pd.tcl
2017-08-22 12:48:03 +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
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
ad_ip_parameter sys_ps8 CONFIG.PSU__FPGA_PL2_ENABLE 1
ad_ip_parameter sys_ps8 CONFIG.PSU__CRL_APB__PL2_REF_CTRL__SRCSEL {IOPLL}
ad_ip_parameter sys_ps8 CONFIG.PSU__CRL_APB__PL2_REF_CTRL__FREQMHZ 200
2017-08-22 12:48:03 +00:00
source ../common/adrv9371x_bd.tcl
ad_ip_parameter axi_ad9371_tx_xcvr CONFIG.TX_DIFFCTRL 6
ad_ip_parameter util_ad9371_xcvr CONFIG.QPLL_FBDIV 80
2017-08-22 12:48:03 +00:00
ad_ip_parameter util_ad9371_xcvr CONFIG.QPLL_REFCLK_DIV 1