mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Fix backward external constraint error, from recent new support.
(Thanks sv-tests!)
This commit is contained in:
+1
-1
@@ -3330,7 +3330,7 @@ class LinkDotResolveVisitor final : public VNVisitor {
|
||||
}
|
||||
}
|
||||
if (nodep->isExternProto()) {
|
||||
if (!m_curSymp->findIdFallback(nodep->name()) && !nodep->isExternExplicit()) {
|
||||
if (!m_curSymp->findIdFallback(nodep->name()) && nodep->isExternExplicit()) {
|
||||
nodep->v3error("Definition not found for extern " + nodep->prettyNameQ());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user