Closed AcKoucher closed 1 week ago
clang-tidy review says "All clean, LGTM! :+1:"
Running CI
How did the checks cause a crash?
Sky130hd/chameleon has macros, and so mpl2 is not skipped, because unfixed_macros != 0
However, on master, we only create the HardMacro objects and incorporate the metrics data if the LibertyCell*
is not nullptr
:
https://github.com/The-OpenROAD-Project/OpenROAD/blob/73ad7caa801b7f6d27100d38df2668031856bfef/src/mpl2/src/hier_rtlmp.cpp#L674-L693
So mpl2 flow would go on with no macros to place which shouldn't happen. On #1850 log:
Traversed logical hierarchy
[...]
Number of macros: 0
Area of macros: 0.00
[...]
Design Utilization: 0.00
Core Utilization: 0.00
[...]
Resolve #1850
This solves the crash, but mpl2 stage only completes with the changes in #5255.
My suspicions are that these checks were there, because mpl2 used to get the instances area in micron from their LibertyCell. This was fixed in #5036.