mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
fix: handle PDK_ROOT being unset for volare
This commit is contained in:
+1
-1
@@ -549,7 +549,7 @@ class Project:
|
|||||||
)
|
)
|
||||||
open("runs/wokwi/PDK_SOURCES", "w").write(pdk_sources)
|
open("runs/wokwi/PDK_SOURCES", "w").write(pdk_sources)
|
||||||
volare.enable(
|
volare.enable(
|
||||||
os.environ["PDK_ROOT"],
|
volare.get_volare_home(), # uses PDK_ROOT if set, ~/.volare otherwise
|
||||||
{"sky130A": "sky130"}[config["PDK"]],
|
{"sky130A": "sky130"}[config["PDK"]],
|
||||||
pdk_sources.split()[1],
|
pdk_sources.split()[1],
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user