25 lines
854 B
Tcl
25 lines
854 B
Tcl
source $ad_hdl_dir/projects/common/zc702/zc702_system_bd.tcl
|
|
source $ad_hdl_dir/projects/scripts/adi_pd.tcl
|
|
|
|
set mem_init_sys_path [get_env_param ADI_PROJECT_DIR ""]mem_init_sys.txt;
|
|
|
|
#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"
|
|
ad_ip_parameter rom_sys_0 CONFIG.ROM_ADDR_BITS 9
|
|
|
|
sysid_gen_sys_init_file
|
|
|
|
ad_ip_parameter sys_ps7 CONFIG.PCW_EN_CLK2_PORT 1
|
|
ad_ip_parameter sys_ps7 CONFIG.PCW_FPGA2_PERIPHERAL_FREQMHZ 150.0
|
|
|
|
ad_connect sys_dma_clk sys_ps7/FCLK_CLK2
|
|
set sys_dma_clk [get_bd_nets sys_dma_clk]
|
|
source ../common/fmcomms5_bd.tcl
|
|
|
|
ad_ip_parameter axi_ad9361_0 CONFIG.ADC_INIT_DELAY 24
|
|
ad_ip_parameter axi_ad9361_1 CONFIG.ADC_INIT_DELAY 24
|
|
ad_ip_parameter axi_ad9361_adc_dma CONFIG.AXI_SLICE_DEST 1
|
|
ad_ip_parameter axi_ad9361_dac_dma CONFIG.AXI_SLICE_SRC 1
|
|
|