Skip to content

Commit

Permalink
Add ruckus flag to optionally load XCI instead of DCP for PGP2FC
Browse files Browse the repository at this point in the history
  • Loading branch information
bengineerd committed Oct 2, 2024
1 parent 9d56ad0 commit a8cf8a5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion protocols/pgp/pgp2fc/gtyUltraScale+/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ if { $::env(VIVADO_VERSION) >= 2023.1 } {

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

loadSource -lib surf -path "$::DIR_PATH/ip/Pgp2fcGtyCore.dcp"
if { [info exists ::env(PGP2FC_XCI)] != 0 && $::env(PGP2FC_XCI) == 1 } {
loadIpCore -path "$::DIR_PATH/ip/Pgp2fcGtyCore.xci"
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 {
Expand Down

0 comments on commit a8cf8a5

Please sign in to comment.