report_power classify interface logic as macro

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2023-10-16 18:46:08 -07:00
parent 29b94cc31d
commit b00ac00485
1 changed files with 2 additions and 1 deletions

View File

@ -219,7 +219,8 @@ Power::power(const Corner *corner,
if (cell) {
PowerResult inst_power = power(inst, cell, corner);
if (cell->isMacro()
|| cell->isMemory())
|| cell->isMemory()
|| cell->interfaceTiming())
macro.incr(inst_power);
else if (cell->isPad())
pad.incr(inst_power);