Open algofoogle opened 1 year ago
There is likely more to this that I'm not yet familiar with, which may support or invalidate my bug report above.
Certainly, summary.py --design xyz --antenna
can't find an antenna report, but also metrics.csv
is saying no antenna check was run, but there are at least some artefacts of the check happening in my run.
thanks for reporting this. I'll get the script updated.
tl;dr
summary.py
can't find the antenna report (*antenna.rpt
) because I think it's now in a different path:reports/signoff/*antenna.rpt
, but the only file I see generated in there is*antenna_violators.rpt
. I don't know what THAT file is meant to have in it, but it's empty for the test I did (see below for details).09f6d33
from Nov 2022no antenna file, did the run finish?
" because Line 254 is unreachable: the call tocheck_path
willexit()
first.(Maybe the OpenROAD team should implement an unchanging JSON format for consumption by toolchains, keeping it separate from these other human-readable files).
Details
Discovered via Zero to ASIC Course project 4.1, when I try to get the summary of the antenna report:
This in turn means
--summary
incorrectly yieldsantenna_violations: -1
, thinking there is no report, but I believe there is, now in another path, and with an updated file format too.Per this (and incidentally also outdated OpenROAD Antenna Rule Checker doco), the old file format that
summary.py
is expecting inreports/signoff/*antenna.rpt
resembles this:...but the closest equivalent I can find is
log/signoff/*-antenna.log
which is now quite different:NOTE: I see another file called
reports/signoff/*-antenna_violators.rpt
, but I don't know what that file is for, and though I have "(VIOLATED)
" shown above, my*-antenna_violators.rpt
file is empty.If my interpretation of all this is correct, then
summary.py
would need changes on both of these 2 lines: https://github.com/mattvenn/openlane_summary/blob/8f7386028e248080180994d042d561b24c7cd169/summary.py#L249-L250 (Note also thatcheck_path
does anexit()
in this case, so we never get to Line 254).More critically, this will also need to be reworked: https://github.com/mattvenn/openlane_summary/blob/c54c4d74f7e3c26a4432c62b797c8185c49d479d/summary.py#L70-L82