altera- source defaults for qsys-script
parent
8192e755e1
commit
917da79da1
|
@ -227,39 +227,7 @@ set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[8]
|
|||
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[9]
|
||||
set_instance_assignment -name IO_STANDARD "1.8 V" -to gpio_bd_i[10]
|
||||
|
||||
# globals
|
||||
|
||||
set_global_assignment -name SYNCHRONIZER_IDENTIFICATION AUTO
|
||||
set_global_assignment -name ENABLE_ADVANCED_IO_TIMING ON
|
||||
set_global_assignment -name USE_TIMEQUEST_TIMING_ANALYZER ON
|
||||
set_global_assignment -name TIMEQUEST_DO_REPORT_TIMING ON
|
||||
set_global_assignment -name TIMEQUEST_DO_CCPP_REMOVAL ON
|
||||
set_global_assignment -name TIMEQUEST_REPORT_SCRIPT $ad_hdl_dir/projects/scripts/adi_tquest.tcl
|
||||
set_global_assignment -name ON_CHIP_BITSTREAM_DECOMPRESSION OFF
|
||||
|
||||
# library paths
|
||||
|
||||
set ad_lib_folders "$ad_hdl_dir/library/**/*;$ad_phdl_dir/library/**/*"
|
||||
|
||||
set_user_option -name USER_IP_SEARCH_PATHS $ad_lib_folders
|
||||
set_global_assignment -name IP_SEARCH_PATHS $ad_lib_folders
|
||||
|
||||
# generate qsys
|
||||
# move this to a project script
|
||||
|
||||
set mmu_enabled 1
|
||||
if [info exists ::env(ALT_NIOS_MMU_ENABLED)] {
|
||||
set mmu_enabled $::env(ALT_NIOS_MMU_ENABLED)
|
||||
}
|
||||
|
||||
if {$mmu_enabled == 0} {
|
||||
set cmd_str "set mmu_enabled 0"
|
||||
exec -ignorestderr $quartus(quartus_rootpath)/sopc_builder/bin/qsys-script \
|
||||
--cmd=$cmd_str --script=system_qsys.tcl
|
||||
} else {
|
||||
set cmd_str "set mmu_enabled 1"
|
||||
exec -ignorestderr $quartus(quartus_rootpath)/sopc_builder/bin/qsys-script \
|
||||
--cmd=$cmd_str --script=system_qsys.tcl
|
||||
}
|
||||
# source defaults
|
||||
|
||||
source $ad_hdl_dir/projects/common/altera/sys_gen.tcl
|
||||
|
||||
|
|
Loading…
Reference in New Issue