Internals: Add UASSERT to avoid error fault on sv-tests regress-sv_sv_import_hier_fail1_iv
This commit is contained in:
parent
67ced4715d
commit
68d6dd7eee
|
|
@ -1961,6 +1961,7 @@ class TristateVisitor final : public TristateBaseVisitor {
|
|||
|
||||
void handleNodeVarRef(AstNodeVarRef* nodep) {
|
||||
UINFO(9, dbgState() << nodep);
|
||||
UASSERT_OBJ(nodep->varp(), nodep, "Unlinked");
|
||||
if (m_graphing) {
|
||||
if (nodep->access().isWriteOrRW()) associateLogic(nodep, nodep->varp());
|
||||
if (nodep->access().isReadOrRW()) associateLogic(nodep->varp(), nodep);
|
||||
|
|
|
|||
Loading…
Reference in New Issue