aoivd crash on cell without Liberty
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
This commit is contained in:
parent
71c4289ab8
commit
68deda8054
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue