]> jspc29.x-matter.uni-frankfurt.de Git - cri.git/commitdiff
hub_test: Add compile scripts
authorThomas Gessler <Thomas.Gessler@exp2.physik.uni-giessen.de>
Mon, 27 Jul 2020 07:25:47 +0000 (09:25 +0200)
committerThomas Gessler <Thomas.Gessler@exp2.physik.uni-giessen.de>
Mon, 27 Jul 2020 07:25:47 +0000 (09:25 +0200)
hub_test/scripts/compile.sh [new file with mode: 0755]
hub_test/scripts/generate_bitstream.tcl [new file with mode: 0644]

diff --git a/hub_test/scripts/compile.sh b/hub_test/scripts/compile.sh
new file mode 100755 (executable)
index 0000000..b7b7097
--- /dev/null
@@ -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 (file)
index 0000000..faf40b2
--- /dev/null
@@ -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