a10soc: Switched to tcl flow

main
Adrian Costina 2016-09-08 11:31:06 +03:00
parent 0d095f5da9
commit 40c9fc92c1
3 changed files with 1302 additions and 1648 deletions

View File

@ -266,8 +266,25 @@ set_global_assignment -name ON_CHIP_BITSTREAM_DECOMPRESSION OFF
# set libraries
set ad_lib_folders "../common/;../../common/a10soc/;../../../library/**/*"
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
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff