pluto_hdl_adi/projects/ad777x_ardz/de10nano/system_qsys.tcl

24 lines
805 B
Tcl

###############################################################################
## Copyright (C) 2022-2023 Analog Devices, Inc. All rights reserved.
### SPDX short identifier: ADIBSD
###############################################################################
source $ad_hdl_dir/projects/scripts/adi_pd.tcl
source $ad_hdl_dir/projects/common/de10nano/de10nano_system_qsys.tcl
if [info exists ad_project_dir] {
source ../../common/ad777x_ardz_qsys.tcl
} else {
source ../common/ad777x_ardz_qsys.tcl
}
set_instance_parameter_value sys_spi {clockPolarity} {0}
#system ID
set_instance_parameter_value axi_sysid_0 {ROM_ADDR_BITS} {9}
set_instance_parameter_value rom_sys_0 {ROM_ADDR_BITS} {9}
set_instance_parameter_value rom_sys_0 {PATH_TO_FILE} "[pwd]/mem_init_sys.txt"
sysid_gen_sys_init_file;