Assert for vars needing creset but nowhere to place it
Signed-off-by: Igor Zaworski <izaworski@internships.antmicro.com>
This commit is contained in:
parent
5f3a0725fc
commit
c08d4554af
|
|
@ -203,6 +203,8 @@ class CCtorsVisitor final : public VNVisitor {
|
|||
m_varResetp->add(crstp);
|
||||
} else if (m_cfuncp) {
|
||||
nodep->addNextHere(crstp);
|
||||
} else {
|
||||
nodep->v3fatalSrc("Var needs CReset but nowhere to place it");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue