1. First make sure you have the Vivado executable in your $PATH. This can be easily done by sourcing the settings64.sh file in your Vivado installation directory.
/opt/Xilinx/Vivado/2019.2/settings64.sh
2. After that make sure your submodules are up to date
2. After that make sure your submodules are up to date (and that you are in the repo's top directory called "spec7")
git submodule init;git submodule update
git submodule update --init --recursive --remote
3. After that navigate to the "syn" directory of the project you wish to build, currently the repo supports three designs:
cd spec7/hdl/syn/spec7_ref_design/
cd hdl/syn/spec7_ref_design/
or
cd spec7/hdl/syn/spec7_tandem_boot/
cd hdl/syn/spec7_tandem_boot/
or
cd spec7/hdl/syn/spec7_blink/
cd hdl/syn/spec7_blink/
4. Now source the build script by running:
...
...
@@ -51,7 +51,7 @@ After checking that we can start:
2. Now navigate to the sw/boot directory
cd spec7/sw/boot
cd sw/boot
3. Now run the Build_boot script. It will automaticly detects .bit and .xsa files in the /syn directory.
...
...
@@ -59,4 +59,4 @@ After checking that we can start:
4. In the newly created output dir there now is a BOOT.bin. This file can now be flashed in QSPI memory (mt25ql256-qspi-x8-dual_parallel)