Skip to content

Commit 3ed6285

Browse files
authored
updating board files to 2024.1 tools (#1475)
1 parent e8ef28c commit 3ed6285

File tree

20 files changed

+8255
-10726
lines changed

20 files changed

+8255
-10726
lines changed

boards/Pynq-Z1/base/base.tcl

Lines changed: 1326 additions & 1653 deletions
Large diffs are not rendered by default.

boards/Pynq-Z1/base/build_ip.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ foreach item $ip {
1111
if {[catch { glob -directory ${item}/solution1/impl/ip/ *.zip} zip_file]} {
1212
# Build IP only if a packaged IP does not exist
1313
puts "Building $item IP"
14-
exec vitis_hls -f $item/script.tcl
14+
exec vitis-run --mode hls --tcl $item/script.tcl
1515
} else {
1616
# Skip IP when a packaged IP exists in ip directory
1717
puts "Skipping building $item"

boards/Pynq-Z1/base/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ all: hls_ip block_design bitstream check_timing
1212
hls_ip:
1313
vivado -mode batch -source build_ip.tcl -notrace
1414

15-
block_design:
15+
block_design: hls_ip
1616
vivado -mode batch -source $(overlay_name).tcl -notrace
1717

1818
bitstream:

boards/Pynq-Z1/logictools/build_ip.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ foreach item $ip {
1111
if {[catch { glob -directory ${item}/solution1/impl/ip/ *.zip} zip_file]} {
1212
# Build IP only if a packaged IP does not exist
1313
puts "Building $item IP"
14-
exec vitis_hls -f $item/script.tcl
14+
exec vitis-run --mode hls --tcl $item/script.tcl
1515
} else {
1616
# Skip IP when a packaged IP exists in ip directory
1717
puts "Skipping building $item"

boards/Pynq-Z1/logictools/logictools.tcl

Lines changed: 1147 additions & 1502 deletions
Large diffs are not rendered by default.

boards/Pynq-Z1/logictools/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ all: hls_ip block_design bitstream check_timing
1212
hls_ip:
1313
vivado -mode batch -source build_ip.tcl -notrace
1414

15-
block_design:
15+
block_design: hls_ip
1616
vivado -mode batch -source $(overlay_name).tcl -notrace
1717

1818
bitstream:

boards/Pynq-Z1/petalinux_bsp/hardware_project/pynqz1.tcl

100755100644
Lines changed: 569 additions & 893 deletions
Large diffs are not rendered by default.

boards/Pynq-Z2/base/base.tcl

Lines changed: 1627 additions & 1929 deletions
Large diffs are not rendered by default.

boards/Pynq-Z2/base/build_bitstream.tcl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ set_property platform.design_intent.external_host "false" [current_project]
2323
set_property platform.design_intent.datacenter "false" [current_project]
2424

2525
# call implement
26+
set_property strategy Performance_Auto_1 [get_runs impl_1]
2627
launch_runs impl_1 -to_step write_bitstream -jobs 4
2728
wait_on_run impl_1
2829

@@ -34,4 +35,4 @@ validate_hw_platform ./${overlay_name}.xsa
3435
file copy -force ./${overlay_name}/${overlay_name}.runs/impl_1/${design_name}_wrapper.bit ${overlay_name}.bit
3536

3637
# copy hwh files
37-
file copy -force ./${overlay_name}/${overlay_name}.gen/sources_1/bd/${design_name}/hw_handoff/${design_name}.hwh ${overlay_name}.hwh
38+
file copy -force ./${overlay_name}/${overlay_name}.gen/sources_1/bd/${design_name}/hw_handoff/${design_name}.hwh ${overlay_name}.hwh

boards/Pynq-Z2/base/build_ip.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ foreach item $ip {
1111
if {[catch { glob -directory ${item}/solution1/impl/ip/ *.zip} zip_file]} {
1212
# Build IP only if a packaged IP does not exist
1313
puts "Building $item IP"
14-
exec vitis_hls -f $item/script.tcl
14+
exec vitis-run --mode hls --tcl $item/script.tcl
1515
} else {
1616
# Skip IP when a packaged IP exists in ip directory
1717
puts "Skipping building $item"

0 commit comments

Comments
 (0)