tcl: Change Vivado version to 2020.1

handoff is now exported as .xsa
main
Arpadi 2019-12-02 16:46:53 +02:00 committed by sarpadi
parent fbb2a0e1a0
commit 51b5e4f58b
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ source $ad_hdl_dir/library/scripts/adi_xilinx_device_info_enc.tcl
# check tool version # check tool version
if {![info exists REQUIRED_VIVADO_VERSION]} { if {![info exists REQUIRED_VIVADO_VERSION]} {
set REQUIRED_VIVADO_VERSION "2019.1" set REQUIRED_VIVADO_VERSION "2020.1"
} }
if {[info exists ::env(ADI_IGNORE_VERSION_CHECK)]} { if {[info exists ::env(ADI_IGNORE_VERSION_CHECK)]} {

View File

@ -1,7 +1,7 @@
## Define the supported tool version ## Define the supported tool version
if {![info exists REQUIRED_VIVADO_VERSION]} { if {![info exists REQUIRED_VIVADO_VERSION]} {
set REQUIRED_VIVADO_VERSION "2019.1" set REQUIRED_VIVADO_VERSION "2020.1"
} }
## Define the ADI_IGNORE_VERSION_CHECK environment variable to skip version check ## Define the ADI_IGNORE_VERSION_CHECK environment variable to skip version check
@ -400,10 +400,10 @@ proc adi_project_run {project_name} {
set timing_string $[report_timing_summary -return_string] set timing_string $[report_timing_summary -return_string]
if { [string match "*VIOLATED*" $timing_string] == 1 || if { [string match "*VIOLATED*" $timing_string] == 1 ||
[string match "*Timing constraints are not met*" $timing_string] == 1} { [string match "*Timing constraints are not met*" $timing_string] == 1} {
file copy -force $project_name.runs/impl_1/system_top.sysdef $project_name.sdk/system_top_bad_timing.hdf write_hw_platform -fixed -force -include_bit -file $project_name.sdk/system_top_bad_timing.xsa
return -code error [format "ERROR: Timing Constraints NOT met!"] return -code error [format "ERROR: Timing Constraints NOT met!"]
} else { } else {
file copy -force $project_name.runs/impl_1/system_top.sysdef $project_name.sdk/system_top.hdf write_hw_platform -fixed -force -include_bit -file $project_name.sdk/system_top.xsa
} }
} }