Closed xobs closed 1 year ago
This appears to be caused by the following line:
ABC: WireLoad = "none" Gates = 6377 ( 3.4 %) Cap = 19.2 ff ( 0.0 %) Area = 81852.42 (100.0 %) Delay =113197.96 ps ( 23.2 %)
This patch appears to solve the issue:
diff --git a/scripts/synth_exp/analyze.py b/scripts/synth_exp/analyze.py
index daf4124..c26928c 100644
--- a/scripts/synth_exp/analyze.py
+++ b/scripts/synth_exp/analyze.py
@@ -49,9 +49,9 @@ def cli(output, input_file):
best_gates = ""
strat_rx = re.compile(r"USING STRATEGY ([A-Z]+\s+\d+)")
- delay_rx = re.compile(r"Delay\s+\=\s+(\S+)")
- area_rx = re.compile(r"Area\s+\=\s+(\S+)")
- gates_rx = re.compile(r"Gates\s+\=\s+(\S+)")
+ delay_rx = re.compile(r"Delay\s+\=\s*(\S+)")
+ area_rx = re.compile(r"Area\s+\=\s*(\S+)")
+ gates_rx = re.compile(r"Gates\s+\=\s*(\S+)")
data = []
Description
Running
-synth_explore
using the docker image (2023.01.03) can result in aTypeError: 'NoneType' object is not subscriptable
error. Theanalyze.py
file fails when trying to analyze: 0-synthesis.log.gzExpected Behavior
-synth_explore
should succeed without throwing an exceptionEnvironment report
Reproduction material
I've run this from inside
caravel-minimax/openlane/
:Relevant log output