mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Add UASSERT to avoid error fault on sv-tests regress-sv_sv_import_hier_fail1_iv
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user