mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
fix(tt_tool): broken PNG render for openlane projects
This commit is contained in:
+2
-2
@@ -552,11 +552,11 @@ class Project:
|
|||||||
gds_path = os.environ["GDS_PATH"]
|
gds_path = os.environ["GDS_PATH"]
|
||||||
elif self.args.openlane2:
|
elif self.args.openlane2:
|
||||||
gds_path = glob.glob(
|
gds_path = glob.glob(
|
||||||
os.path.join(self.local_dir, "runs/wokwi/results/final/gds/*.gds")
|
os.path.join(self.local_dir, "runs/wokwi/final/gds/*.gds")
|
||||||
)[0]
|
)[0]
|
||||||
else:
|
else:
|
||||||
gds_path = glob.glob(
|
gds_path = glob.glob(
|
||||||
os.path.join(self.local_dir, "runs/wokwi/final/gds/*.gds")
|
os.path.join(self.local_dir, "runs/wokwi/results/final/gds/*.gds")
|
||||||
)[0]
|
)[0]
|
||||||
library = gdstk.read_gds(gds_path)
|
library = gdstk.read_gds(gds_path)
|
||||||
top_cells = library.top_level()
|
top_cells = library.top_level()
|
||||||
|
|||||||
Reference in New Issue
Block a user