Skip to content

Commit

Permalink
fix: handle PDK_ROOT being unset for volare
Browse files Browse the repository at this point in the history
  • Loading branch information
htfab committed Sep 23, 2024
1 parent 310f0f9 commit 1eb7a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ def harden(self):
)
open("runs/wokwi/PDK_SOURCES", "w").write(pdk_sources)
volare.enable(
os.environ["PDK_ROOT"],
volare.get_volare_home(), # uses PDK_ROOT if set, ~/.volare otherwise
{"sky130A": "sky130"}[config["PDK"]],
pdk_sources.split()[1],
)
Expand Down

0 comments on commit 1eb7a72

Please sign in to comment.