Skip to content

Commit

Permalink
Merge pull request #1140 from slaclab/salt-ruckus
Browse files Browse the repository at this point in the history
adding support for Ultrascale Virtex Part Numbers in ruckus.tcl loading
  • Loading branch information
ruck314 authored Feb 26, 2024
2 parents fc2e5b8 + 2c342a0 commit 3475d47
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 9 deletions.
1 change: 1 addition & 0 deletions devices/AnalogDevices/ad9249/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ if { ${family} eq {artix7} ||
}

if { ${family} eq {kintexu} ||
${family} eq {virtexu} ||
${family} eq {kintexuplus} ||
${family} eq {virtexuplus} ||
${family} eq {virtexuplusHBM} ||
Expand Down
1 change: 1 addition & 0 deletions devices/AnalogDevices/ad9681/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ if { ${family} eq {artix7} ||
}

# if { ${family} eq {kintexu} ||
# ${family} eq {virtexu} ||
# ${family} eq {kintexuplus} ||
# ${family} eq {virtexuplus} ||
# ${family} eq {virtexuplusHBM} ||
Expand Down
1 change: 1 addition & 0 deletions devices/Marvell/Sgmii88E1111/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ loadSource -lib surf -dir "$::DIR_PATH/core"
set family [getFpgaArch]

if { ${family} eq {kintexu} ||
${family} eq {virtexu} ||
${family} eq {kintexuplus} ||
${family} eq {virtexuplus} ||
${family} eq {virtexuplusHBM} ||
Expand Down
1 change: 1 addition & 0 deletions devices/Ti/dp83867/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ loadSource -lib surf -dir "$::DIR_PATH/core"
set family [getFpgaArch]

if { ${family} eq {kintexu} ||
${family} eq {virtexu} ||
${family} eq {kintexuplus} ||
${family} eq {virtexuplus} ||
${family} eq {virtexuplusHBM} ||
Expand Down
3 changes: 2 additions & 1 deletion ethernet/GigEthCore/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ if { ${family} eq {virtex7} } {
loadRuckusTcl "$::DIR_PATH/gth7"
}

if { ${family} eq {kintexu} } {
if { ${family} eq {kintexu} ||
${family} eq {virtexu} } {
loadRuckusTcl "$::DIR_PATH/gthUltraScale"
loadRuckusTcl "$::DIR_PATH/lvdsUltraScale"
}
Expand Down
3 changes: 2 additions & 1 deletion ethernet/TenGigEthCore/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ if { ${family} eq {virtex7} } {
loadRuckusTcl "$::DIR_PATH/gth7"
}

if { ${family} eq {kintexu} } {
if { ${family} eq {kintexu} ||
${family} eq {virtexu} } {
loadRuckusTcl "$::DIR_PATH/gthUltraScale"
}

Expand Down
3 changes: 2 additions & 1 deletion ethernet/XauiCore/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ if { ${family} eq {virtex7} } {
loadRuckusTcl "$::DIR_PATH/gth7"
}

if { ${family} eq {kintexu} } {
if { ${family} eq {kintexu} ||
${family} eq {virtexu} } {
loadRuckusTcl "$::DIR_PATH/gthUltraScale"
}

Expand Down
3 changes: 2 additions & 1 deletion ethernet/XlauiCore/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ if { ${family} eq {virtex7} } {
loadRuckusTcl "$::DIR_PATH/gth7"
}

if { ${family} eq {kintexu} } {
if { ${family} eq {kintexu} ||
${family} eq {virtexu} } {
loadRuckusTcl "$::DIR_PATH/gthUltraScale"
}

Expand Down
1 change: 1 addition & 0 deletions protocols/clink/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if { ${family} == "artix7" ||
}

if { ${family} eq {kintexu} ||
${family} eq {virtexu} ||
${family} eq {kintexuplus} ||
${family} eq {virtexuplus} ||
${family} eq {virtexuplusHBM} ||
Expand Down
3 changes: 2 additions & 1 deletion protocols/coaxpress/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ loadRuckusTcl "$::DIR_PATH/core"
# Get the family type
set family [getFpgaArch]

if { ${family} eq {kintexu} } {
if { ${family} eq {kintexu} ||
${family} eq {virtexu} } {
loadRuckusTcl "$::DIR_PATH/gthUs"
}

Expand Down
3 changes: 2 additions & 1 deletion protocols/pgp/pgp2b/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ if { ${family} eq {virtex7} } {
loadRuckusTcl "$::DIR_PATH/gth7"
}

if { ${family} eq {kintexu} } {
if { ${family} eq {kintexu} ||
${family} eq {virtexu} } {
loadRuckusTcl "$::DIR_PATH/gthUltraScale"
}

Expand Down
3 changes: 2 additions & 1 deletion protocols/pgp/pgp3/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ if { $::env(VIVADO_VERSION) > 0.0} {
# loadRuckusTcl "$::DIR_PATH/gth7"
# }

if { ${family} eq {kintexu} } {
if { ${family} eq {kintexu} ||
${family} eq {virtexu} } {
loadRuckusTcl "$::DIR_PATH/gthUs"
}

Expand Down
3 changes: 2 additions & 1 deletion protocols/pgp/pgp4/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ if { $::env(VIVADO_VERSION) > 0.0} {
# loadRuckusTcl "$::DIR_PATH/gth7"
# }

if { ${family} eq {kintexu} } {
if { ${family} eq {kintexu} ||
${family} eq {virtexu} } {
loadRuckusTcl "$::DIR_PATH/gthUs"
}

Expand Down
1 change: 1 addition & 0 deletions protocols/salt/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ if { ${family} eq {artix7} ||
}

if { ${family} eq {kintexu} ||
${family} eq {virtexu} ||
${family} eq {kintexuplus} ||
${family} eq {virtexuplus} ||
${family} eq {virtexuplusHBM} ||
Expand Down
1 change: 1 addition & 0 deletions protocols/ssp/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ loadSource -lib surf -dir "$::DIR_PATH/rtl"
loadSource -lib surf -sim_only -dir "$::DIR_PATH/tb"

if { ${family} eq {kintexu} ||
${family} eq {virtexu} ||
${family} eq {kintexuplus} ||
${family} eq {virtexuplus} ||
${family} eq {virtexuplusHBM} ||
Expand Down
1 change: 1 addition & 0 deletions protocols/xvc-udp/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ if { [isVersal] == true } {
}

if { ${family} eq {kintexu} ||
${family} eq {virtexu} ||
${family} eq {kintexuplus} ||
${family} eq {virtexuplus} ||
${family} eq {virtexuplusHBM} ||
Expand Down
3 changes: 2 additions & 1 deletion xilinx/ruckus.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if { ${family} eq {artix7} ||
loadRuckusTcl "$::DIR_PATH/7Series"
}

if { ${family} eq {kintexu} } {
if { ${family} eq {kintexu} ||
${family} eq {virtexu} } {
loadRuckusTcl "$::DIR_PATH/UltraScale"
}

Expand Down

0 comments on commit 3475d47

Please sign in to comment.