I added two options, -no_layout and -exclude_external_ips #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello sir, thanks for your great repo, these are my changes and since im using vivado 2019.2 i had to add a new branch named v2019.2
-no_layout: This provides users with the option to include or exclude BD layout changes in their final TCL script. Since these changes don't affect the overall design behavior, I decided to use this feature in git_wrapper.tcl.
-exclude_external_ips: This is meant to filter out IP repositories outside of the project directory optionally in git_wrapper.tcl file, since each IP in my vivado project has its own example design project, and this example design which is located in vivado_project folder of the ip directory, has its own dependencies and may need other custom IPs to work properly, so they cant be located next to vivado_project because if located it seems that there are several IPs in the same directory, so i added this feature and now IP repositories outside of the project directory can be used too. this is how my project looks like:
PROJECT_NAME
├── .git
├── .gitignore
├── project_name.tcl # Project generator script
├── src/ # Tracked source files
│ ├── design/
│ │ ├── *.v
│ │ └── *.vhd
│ ├── testbench/
│ │ ├── *.v
│ │ └── *.vhd
│ └── ...
├── ips/ # Tracked project-specific IP repository
│ ├── my_first_ip/
│ │ ├── src/
│ │ ├── xgui/
| | ├── vivado_project # This is the example design project and it may need other IPs to work like "my_second_ip"
| | ├── example_design.tcl
│ │ └── component.xml
│ ├── my_second_ip/
│ └── ...
└── vivado_project/ # Untracked generated files