fix: path to openlane2 yosys synth log

This commit is contained in:
Uri Shaked
2023-09-21 08:17:15 +03:00
parent 77fcb0c98f
commit 3f8a47659c
+1 -1
View File
@@ -613,7 +613,7 @@ class Project():
warnings: typing.List[str] = []
synth_log = 'runs/wokwi/logs/synthesis/1-synthesis.log'
if self.args.openlane2:
synth_log = 'runs/wokwi/02-yosys-synthesis/yosys-synthesis.log'
synth_log = 'runs/wokwi/05-yosys-synthesis/yosys-synthesis.log'
with open(os.path.join(self.local_dir, synth_log)) as f:
for line in f.readlines():
if line.startswith('Warning:'):