2023-07-06 12:08:22 +00:00
|
|
|
###############################################################################
|
|
|
|
## Copyright (C) 2014-2023 Analog Devices, Inc. All rights reserved.
|
|
|
|
### SPDX short identifier: ADIBSD
|
|
|
|
###############################################################################
|
|
|
|
|
2018-08-10 07:34:45 +00:00
|
|
|
## FIFO depth is 16Mb - 1M Samples
|
2017-02-27 21:05:21 +00:00
|
|
|
set adc_fifo_address_width 18
|
|
|
|
|
2018-08-10 07:34:45 +00:00
|
|
|
## NOTE: With this configuration the #36Kb BRAM utilization is at ~70%
|
|
|
|
|
2014-12-08 15:44:15 +00:00
|
|
|
source $ad_hdl_dir/projects/common/vc707/vc707_system_bd.tcl
|
2017-02-22 20:56:37 +00:00
|
|
|
source $ad_hdl_dir/projects/common/xilinx/adcfifo_bd.tcl
|
2014-12-08 15:44:15 +00:00
|
|
|
source ../common/fmcadc5_bd.tcl
|
2020-10-09 14:28:10 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_pd.tcl
|
2014-12-08 15:44:15 +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-08-10 07:34:45 +00:00
|
|
|
# ila
|
2014-12-08 15:44:15 +00:00
|
|
|
|
2017-04-12 16:00:33 +00:00
|
|
|
ad_ip_instance util_mfifo mfifo_adc
|
|
|
|
ad_ip_parameter mfifo_adc CONFIG.NUM_OF_CHANNELS 1
|
|
|
|
ad_ip_parameter mfifo_adc CONFIG.DIN_DATA_WIDTH 512
|
|
|
|
ad_ip_parameter mfifo_adc CONFIG.ADDRESS_WIDTH 6
|
2015-10-29 20:48:21 +00:00
|
|
|
|
2017-04-12 16:00:33 +00:00
|
|
|
ad_ip_instance ila ila_adc
|
|
|
|
ad_ip_parameter ila_adc CONFIG.C_MONITOR_TYPE Native
|
|
|
|
ad_ip_parameter ila_adc CONFIG.C_TRIGIN_EN false
|
|
|
|
ad_ip_parameter ila_adc CONFIG.C_EN_STRG_QUAL 1
|
|
|
|
ad_ip_parameter ila_adc CONFIG.C_NUM_OF_PROBES 2
|
|
|
|
ad_ip_parameter ila_adc CONFIG.C_PROBE0_WIDTH 1
|
|
|
|
ad_ip_parameter ila_adc CONFIG.C_PROBE1_WIDTH 16
|
2015-10-29 20:48:21 +00:00
|
|
|
|
2016-11-23 21:21:57 +00:00
|
|
|
ad_connect util_fmcadc5_0_xcvr/rx_out_clk_0 mfifo_adc/din_clk
|
|
|
|
ad_connect axi_ad9625_0_jesd_rstgen/peripheral_reset mfifo_adc/din_rst
|
2017-05-10 20:30:15 +00:00
|
|
|
ad_connect axi_fmcadc5_sync/rx_enable mfifo_adc/din_valid
|
|
|
|
ad_connect axi_fmcadc5_sync/rx_data mfifo_adc/din_data_0
|
2016-11-23 21:21:57 +00:00
|
|
|
ad_connect axi_ad9625_0_jesd_rstgen/peripheral_reset mfifo_adc/dout_rst
|
|
|
|
ad_connect util_fmcadc5_0_xcvr/rx_out_clk_0 mfifo_adc/dout_clk
|
|
|
|
ad_connect util_fmcadc5_0_xcvr/rx_out_clk_0 ila_adc/clk
|
2015-10-29 20:48:21 +00:00
|
|
|
ad_connect mfifo_adc/dout_valid ila_adc/probe0
|
|
|
|
ad_connect mfifo_adc/dout_data_0 ila_adc/probe1
|
2015-11-02 17:10:08 +00:00
|
|
|
|