Batch file

Making a batch file

Make a batch file by creating a new document (.txt) and rename it to Generate.bat
Right click it and click on edit, copy the text below into the .bat

C:\Xilinx\Vivado\2023.2\bin\vivado -source vivado_generate_project.tcl -notrace -nolog -nojournal

The batch (Generate.bat) should be moved to your projects main folder.

When you're done with all the changes in the /src/and /ip/ folders in the previous step, run the batch file to launch Vivado and generate the project.


Note

If the batch isn't working, look inside your Vivado folder and change the version 2023.2 to the same as you have in the Vivado folder

The batch launches Vivado and generates the project

Don't run the batch file before all changes are done, the project has to be generated after that part is completed

Don't close the cmd window, it will close Vivado!


Next step