From: Thomas Gessler Date: Mon, 27 Jul 2020 07:25:47 +0000 (+0200) Subject: hub_test: Add compile scripts X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=69913a847572020607513bdb74233f19f41a7ea9;p=cri.git hub_test: Add compile scripts --- diff --git a/hub_test/scripts/compile.sh b/hub_test/scripts/compile.sh new file mode 100755 index 0000000..b7b7097 --- /dev/null +++ b/hub_test/scripts/compile.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# +# Run this from the project's root directory + +vivado -mode batch -source scripts/generate_bitstream.tcl diff --git a/hub_test/scripts/generate_bitstream.tcl b/hub_test/scripts/generate_bitstream.tcl new file mode 100644 index 0000000..faf40b2 --- /dev/null +++ b/hub_test/scripts/generate_bitstream.tcl @@ -0,0 +1,4 @@ +open_project hub_test.xpr +launch_runs impl_1 -to_step write_bitstream -jobs 8 +wait_on_run impl_1 +close_project