2021-01-21 10:05:11 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_pd.tcl
|
|
|
|
source $ad_hdl_dir/projects/common/zed/zed_system_bd.tcl
|
|
|
|
|
|
|
|
# add RTL source that will be instantiated in system_bd directly
|
2022-09-23 10:45:35 +00:00
|
|
|
adi_project_files ad4630_fmc_zed [list \
|
2021-01-21 10:05:11 +00:00
|
|
|
"$ad_hdl_dir/library/common/ad_edge_detect.v" \
|
2022-09-23 10:45:35 +00:00
|
|
|
"$ad_hdl_dir/library/util_cdc/sync_bits.v" ]
|
2021-01-21 10:05:11 +00:00
|
|
|
|
|
|
|
# block design
|
|
|
|
source ../common/ad463x_bd.tcl
|
|
|
|
|
2022-09-23 09:28:22 +00:00
|
|
|
set mem_init_sys_path [get_env_param ADI_PROJECT_DIR ""]mem_init_sys.txt;
|
|
|
|
|
2021-01-21 10:05:11 +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"
|
2021-01-21 10:05:11 +00:00
|
|
|
ad_ip_parameter rom_sys_0 CONFIG.ROM_ADDR_BITS 9
|
|
|
|
set sys_cstring "sys rom custom string placeholder"
|
|
|
|
sysid_gen_sys_init_file $sys_cstring
|