mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-05-30 00:24:12 +08:00
PropActivityVisitor::visit null port check PR 301
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
@@ -494,7 +494,8 @@ PropActivityVisitor::visit(Vertex *vertex)
|
||||
LibertyCell *test_cell = port->libertyCell()->testCell();
|
||||
if (test_cell)
|
||||
port = test_cell->findLibertyPort(port->name());
|
||||
|
||||
}
|
||||
if (port) {
|
||||
FuncExpr *func = port->function();
|
||||
if (func) {
|
||||
PwrActivity activity = power_->evalActivity(func, inst);
|
||||
|
||||
Reference in New Issue
Block a user