mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Defer interface typedefs, and add more tests (#3441 tests)
This commit is contained in:
@@ -4961,6 +4961,9 @@ class LinkDotResolveVisitor final : public VNVisitor {
|
||||
const VSymEnt* foundp;
|
||||
if (nodep->classOrPackagep()) {
|
||||
foundp = m_statep->getNodeSym(nodep->classOrPackagep())->findIdFlat(nodep->name());
|
||||
} else if (!nodep->ifacePortName().empty()) { // Interface typedef
|
||||
nodep->v3error("Unsupported: SystemVerilog 2005 interface typedef");
|
||||
return;
|
||||
} else if (m_ds.m_dotPos == DP_FIRST || m_ds.m_dotPos == DP_NONE) {
|
||||
foundp = m_curSymp->findIdFallback(nodep->name());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user