Skip to content

Commit

Permalink
Merge pull request #1181 from slaclab/pgp2fc-version-check
Browse files Browse the repository at this point in the history
pgp2fc/gtyUltraScale+/ruckus.tcl:  bug fix for Vivado version checking
  • Loading branch information
ruck314 authored Jul 24, 2024
2 parents 0a84a21 + 2a25161 commit 0c38215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocols/pgp/pgp2fc/gtyUltraScale+/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
source $::env(RUCKUS_QUIET_FLAG) $::env(RUCKUS_PROC_TCL)

# Load local source Code and constraints
if { $::env(VIVADO_VERSION) >= 2020.1 } {
if { $::env(VIVADO_VERSION) >= 2023.1 } {

loadSource -lib surf -dir "$::DIR_PATH/rtl"

loadSource -lib surf -path "$::DIR_PATH/ip/Pgp2fcGtyCore.dcp"
#loadIpCore -path "$::DIR_PATH/ip/Pgp2fcGtyCore.xci"

} else {
puts "\n\nWARNING: $::DIR_PATH requires Vivado 2020.1 (or later)\n\n"
puts "\n\nWARNING: $::DIR_PATH requires Vivado 2023.1 (or later)\n\n"
}

0 comments on commit 0c38215

Please sign in to comment.