Closed hello-eternity closed 1 year ago
@hello-eternity This issue got fixed with latest release. 2022.07.06_01.50.05 Can you please update your repo and try once?
@vijayank88 can you point to the commits that fixed this issue? (I still get it on OpenLane master)
Since this script is triggered by DIODE_INSERTION_STRATEGY==3
:
https://github.com/The-OpenROAD-Project/OpenLane/blob/ebad315d1def25d9d253eb2ec1c56d7b4e59d7ca/scripts/tcl_commands/routing.tcl#L67
setting it to another value could be a temporary workaround to skip that step.
however setting DIODE_INSERTION_STRATEGY=0
ends up triggering the following error later in the flow:
[INFO]: Running OpenROAD Antenna Rule Checker...
[ERROR]: during executing: "openroad -python /OpenLane/scripts/extract_antenna_violators.py --output /OpenLane/designs/inverter/runs/RUN_2022.07.12_15.44.38/reports/signoff/34-antenna_violators.rpt /OpenLane/designs/inverter/runs/RUN_2022.07.12_15.44.38/reports/signoff/34-antenna.rpt"
[ERROR]: Exit code: 1
[ERROR]: Last 10 lines:
return self.main(*args, **kwargs)
File "/opt/conda/envs/silicon/lib/python3.7/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/opt/conda/envs/silicon/lib/python3.7/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/conda/envs/silicon/lib/python3.7/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/OpenLane/scripts/extract_antenna_violators.py", line 34, in extract_antenna_violators
with open(report, "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/OpenLane/designs/inverter/runs/RUN_2022.07.12_15.44.38/reports/signoff/34-antenna.rpt'
switching to USE_ARC_ANTENNA_CHECK=0
could be a temporary workaround to switch to the magic antenna checker:
https://github.com/The-OpenROAD-Project/OpenLane/blob/f9b5781f5ef0bbdf39ab1c2bbd78be8db11b27f2/scripts/tcl_commands/all.tcl#L1025
Thank you, I temporary do this, and this worked. @proppy I update to the latest version and find it did not sovle this. @vijayank88
@hello-eternity This issue got fixed with latest release. 2022.07.06_01.50.05 Can you please update your repo and try once?
@proppy Have you tried with the latest tag? @donn FYI
Staled out.
I meet some error when using conda-eda which uses the python script in this repo, could I issue here? The error is cause by scripts/extract_antenna_count.py, when Fastrouitng stage. The test case is spm and the config.tcl is
The syntax where the error occurs is this sentence. If you delete this sentence, no error will be reported.
print(re.findall(r"[Aa]ntenna violations:\s*(\d+)", in_data)[-1], end="")
Environment
Reproduction Material
If you see a message like
Reproducible packaged: Please tarball and upload <PATH> if you're going to submit an issue
in your logs, please also tarball and include that path. This will greatly speed up the fixing process.Expected behavior
A clear and concise description of what you expected to happen.
Logs
The run.sh script is