liberty reader func parsing issue with missing pin

This commit is contained in:
James Cherry 2020-05-22 16:35:57 -07:00
parent d343f09723
commit b49b957ad0
1 changed files with 1 additions and 1 deletions

View File

@ -2026,7 +2026,7 @@ LibertyReader::parseCellFuncs()
while (func_iter.hasNext()) {
LibertyFunc *func = func_iter.next();
FuncExpr *expr = parseFunc(func->expr(), func->attrName(), func->line());
if (func->invert()) {
if (func->invert() && expr) {
if (expr->op() == FuncExpr::op_not) {
FuncExpr *inv = expr;
expr = expr->left();