efabless / cace

Circuit Automatic Characterization Engine
https://cace.readthedocs.io/
Apache License 2.0
44 stars 6 forks source link

Added support for local dependencies #40

Closed RTimothyEdwards closed 6 months ago

RTimothyEdwards commented 6 months ago

Corrected "cace_read.py" to treat dependencies as a list of dictionaries, which it was supposed to (any example having more than one dependency would have shown this to be broken). Modified "cace_regenerate.py" to check for local dependencies in the dependency list, which is dependencies inside the project. This allows schematics to be spread across multiple directories. Also, each dependency path is checked for an "xschem" subdirectory, but if that does not exist, then the dependency path itself is used. Any project can potentially set up xschem to find all of its files from one of these path choices.