efabless / cace

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

Add portability checks for paths #76

Closed mole99 closed 1 month ago

mole99 commented 1 month ago

For example, the following line: .lib /home/leo/.volare/sky130A/libs.tech/combined/sky130.lib.spice {corner}

Throws the following warnings:

Warning: This path may not be portable: /home/leo/.volare/sky130A/libs.tech/combined/sky130.lib.spice
Reason: Contains "libs.tech" or "libs.ref" but {PDK_ROOT} is missing
Warning: This path may not be portable: /home/leo/.volare/sky130A/libs.tech/combined/sky130.lib.spice
Reason: Starts with the user's home directory

At the moment the warnings get a little lost in all the output. That's why I want to work on reworking the messaging system next.

Fixes #71