Follow these steps to revision control a project using a script-based method:
- Keep your source files external to the project. Ideally, store them outside the Vivado build directory.
- Use revision control to manage the source repository. Ensure all sources are
tracked by the revision control system. Important: When Vivado uses these files, keep them writable.
- Generate a script that recreates your design.
- Place the script under revision control. Update it whenever the design changes to include new sources or capture updated configurations. Manage it like any other design source.
- Test your methodology regularly. Rebuild the design from source files using the script to ensure completeness. Frequent rebuilds help you detect and fix revision control issues quickly.