mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
fix(tt_tool): clock issue warnings break with custom openlane configs
they break when some of the steps are disabled, e.g. https://github.com/iic-jku/jku-tt06-tdc-v2/
This commit is contained in:
+6
-7
@@ -705,16 +705,15 @@ class Project:
|
|||||||
if "WIDTHLABEL" not in line:
|
if "WIDTHLABEL" not in line:
|
||||||
warnings.append(line.strip())
|
warnings.append(line.strip())
|
||||||
|
|
||||||
sta_report = (
|
sta_report_glob = (
|
||||||
"runs/wokwi/reports/signoff/30-sta-rcx_nom/multi_corner_sta.checks.rpt"
|
"runs/wokwi/reports/signoff/*-sta-rcx_nom/multi_corner_sta.checks.rpt"
|
||||||
)
|
)
|
||||||
|
|
||||||
if self.args.openlane2:
|
if self.args.openlane2:
|
||||||
sta_report = glob.glob(
|
sta_report_glob = (
|
||||||
os.path.join(
|
"runs/wokwi/*-openroad-stapostpnr/nom_tt_025C_1v80/checks.rpt"
|
||||||
self.local_dir,
|
|
||||||
"runs/wokwi/*-openroad-stapostpnr/nom_tt_025C_1v80/checks.rpt",
|
|
||||||
)
|
)
|
||||||
)[0]
|
sta_report = glob.glob(os.path.join(self.local_dir, sta_report_glob))[0]
|
||||||
with open(os.path.join(self.local_dir, sta_report)) as f:
|
with open(os.path.join(self.local_dir, sta_report)) as f:
|
||||||
for line in f.readlines():
|
for line in f.readlines():
|
||||||
if line.startswith("Warning:") and "clock" in line:
|
if line.startswith("Warning:") and "clock" in line:
|
||||||
|
|||||||
Reference in New Issue
Block a user