2023-07-06 12:08:22 +00:00
|
|
|
###############################################################################
|
|
|
|
## Copyright (C) 2016-2023 Analog Devices, Inc. All rights reserved.
|
|
|
|
### SPDX short identifier: ADIBSD
|
|
|
|
###############################################################################
|
2020-03-31 09:18:59 +00:00
|
|
|
|
|
|
|
set dac_fifo_address_width 10
|
|
|
|
set xcvr_reconfig_addr_width 11
|
|
|
|
|
2023-11-03 07:52:13 +00:00
|
|
|
source $ad_hdl_dir/projects/scripts/adi_pd.tcl
|
2020-03-31 09:18:59 +00:00
|
|
|
source $ad_hdl_dir/projects/common/s10soc/s10soc_system_qsys.tcl
|
|
|
|
source $ad_hdl_dir/projects/common/intel/dacfifo_qsys.tcl
|
2022-09-23 09:28:22 +00:00
|
|
|
|
|
|
|
if [info exists ad_project_dir] {
|
|
|
|
source ../../common/adrv9009_qsys.tcl
|
|
|
|
} else {
|
|
|
|
source ../common/adrv9009_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
|
|
|
|
|