When you perform tasks in the Model
Composer Hub block that generate code—such as Analyze, Validate on Hardware, or Export,
Model Composer creates Makefiles. These Makefiles allow you to re-run various design
steps outside of Vitis Model Composer. This can allow you
to run design iterations more quickly. It can also free up your MATLAB session for other work.
- Open a Linux terminal.
-
cdto the <code-generation-directory> directory specified in the Vitis Model Composer Hub block. - From the Linux terminal, run
source setup.sh. This opens a bash shell configured with the environment variables needed to run the tools involved in the hardware flow. - To re-run the entire hardware flow, run
make allfrom the bash shell. - You can also re-run individual steps (targets) in the build process. Each
directory in the code generation directory contains its own Makefile. To see
which targets are available in a Makefile, run
make help.Note: Some targets depend on other targets; this information is within each Makefile. - To leave the bash shell and return to the parent shell, run
exit.