2023-07-06 12:08:22 +00:00
|
|
|
###############################################################################
|
|
|
|
## Copyright (C) 2019-2023 Analog Devices, Inc. All rights reserved.
|
|
|
|
### SPDX short identifier: ADIBSD
|
|
|
|
###############################################################################
|
2019-09-09 14:06:06 +00:00
|
|
|
|
2021-07-02 12:10:09 +00:00
|
|
|
set adc_fifo_address_width 15
|
2019-09-09 14:06:06 +00:00
|
|
|
|
2023-11-03 07:52:13 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_pd.tcl
|
2019-09-09 14:06:06 +00:00
|
|
|
source $ad_hdl_dir/projects/common/s10soc/s10soc_system_qsys.tcl
|
|
|
|
source $ad_hdl_dir/projects/common/intel/adcfifo_qsys.tcl
|
2022-09-23 09:28:22 +00:00
|
|
|
|
|
|
|
if [info exists ad_project_dir] {
|
|
|
|
source ../../common/ad9213_dual_qsys.tcl
|
|
|
|
} else {
|
|
|
|
source ../common/ad9213_dual_qsys.tcl
|
|
|
|
}
|
2023-11-03 07:52:13 +00:00
|
|
|
|
|
|
|
#system ID
|
2024-02-19 12:02:07 +00:00
|
|
|
|
|
|
|
if {[info exists ::env(ADI_PROJECT_DIR)]} {
|
|
|
|
set mem_init_sys_file_path "$::env(ADI_PROJECT_DIR)mem_init_sys.txt";
|
|
|
|
} else {
|
|
|
|
set mem_init_sys_file_path mem_init_sys.txt;
|
|
|
|
}
|
|
|
|
|
2023-11-03 07:52:13 +00:00
|
|
|
set_instance_parameter_value axi_sysid_0 {ROM_ADDR_BITS} {9}
|
|
|
|
set_instance_parameter_value rom_sys_0 {ROM_ADDR_BITS} {9}
|
|
|
|
|
2024-02-19 12:02:07 +00:00
|
|
|
set_instance_parameter_value rom_sys_0 {PATH_TO_FILE} $mem_init_sys_file_path
|
2023-11-03 07:52:13 +00:00
|
|
|
|
|
|
|
sysid_gen_sys_init_file
|