Skip to content

Commit

Permalink
hot fix for ruckus.tcl
Browse files Browse the repository at this point in the history
  • Loading branch information
ruck314 committed Dec 5, 2024
1 parent 37e4922 commit e3fbc5f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions protocols/pgp/pgp2fc/gthUltraScale+/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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) >= 2024.1 } {

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

Expand All @@ -11,11 +11,11 @@ if { $::env(VIVADO_VERSION) >= 2020.1 } {
puts "Loading XCI file for PGP2FC"
} else {
loadSource -lib surf -path "$::DIR_PATH/ip/Pgp2fcGthCore.dcp"
}
}

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

} else {
puts "\n\nWARNING: $::DIR_PATH requires Vivado 2020.1 (or later)\n\n"
puts "\n\nWARNING: $::DIR_PATH requires Vivado 2024.1 (or later)\n\n"
}
6 changes: 3 additions & 3 deletions protocols/pgp/pgp2fc/gtyUltraScale+/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
source $::env(RUCKUS_QUIET_FLAG) $::env(RUCKUS_PROC_TCL)

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

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

Expand All @@ -11,10 +11,10 @@ if { $::env(VIVADO_VERSION) >= 2023.1 } {
puts "Loading XCI file for PGP2FC"
} else {
loadSource -lib surf -path "$::DIR_PATH/ip/Pgp2fcGtyCore.dcp"
}
}
#loadSource -lib surf -path "$::DIR_PATH/ip/Pgp2fcGtyCore.dcp"
#loadIpCore -path "$::DIR_PATH/ip/Pgp2fcGtyCore.xci"

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

0 comments on commit e3fbc5f

Please sign in to comment.