openlane2
openlane2 copied to clipboard
Upstream antenna patch
Description
Are there any plans to upstream this patch here: nix/patches/openroad/antenna.patch
Using a locally compiled OpenROAD without it leads to a failure in Odb.CheckDesignAntennaProperties:
Error Message
AttributeError: 'dbMTerm' object has no attribute 'hasDiffArea'. Did you mean: 'getDiffArea'?
[09:11:34] ERROR File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke step.py:1170
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/openlane/scripts/odbpy/reader.py", line 205, in wrapper
function(**kwargs)
File "/usr/local/lib/python3.10/dist-packages/openlane/scripts/odbpy/check_antenna_properties.py", line 109, in check_antenna_properties
report = check_cells(cells)
File "/usr/local/lib/python3.10/dist-packages/openlane/scripts/odbpy/check_antenna_properties.py", line 34, in check_cells
has_diff_area = mterm.hasDiffArea()
AttributeError: 'dbMTerm' object has no attribute 'hasDiffArea'. Did you mean: 'getDiffArea'?
Thanks!
Proposal
Upstream the patch to OpenROAD
@kareefardi I think we discussed upstreaming this but we stalled because we were busy with release…? What's the status on this?
https://github.com/The-OpenROAD-Project/OpenROAD/pull/4733
This will likely be address by https://github.com/efabless/openlane2/pull/436
Done in dev