MakeTimingModel::findArea() check for liberty

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2024-03-07 10:36:19 -07:00
parent 4363175149
commit 8acd1f3f35
1 changed files with 2 additions and 1 deletions

View File

@ -168,7 +168,8 @@ MakeTimingModel::findArea()
while (leaf_iter->hasNext()) {
const Instance *inst = leaf_iter->next();
const LibertyCell *cell = network_->libertyCell(inst);
area += cell->area();
if (cell)
area += cell->area();
}
delete leaf_iter;
return area;