libs.ref: Python tool to generate export.yml #175
Merged
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.
ORFS has an update script with a static list of files to update [1]. Everytime new files will be created, this script has to be updated.
Instead, let the PDK communicate to external tools which files exist, where they are located in the PDK and where they should be stored in the 3rd-party tool. This allows to automate updates in external tools automatically by just updating the PDK.
So, to push updated files to external tools, simply run
generate.py
and commit the newexport.yml
files. In case new files were created, update the list of source files ingenerate.py
and trigger an update ofexport.yml
.1: https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/blob/master/flow/platforms/ihp-sg13g2/sg13g2_update.py