mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
This commit is contained in:
@@ -3130,6 +3130,10 @@ class LinkDotIfaceVisitor final : public VNVisitor {
|
||||
nodep->v3error("Modport item is not a clocking block: " << nodep->prettyNameQ());
|
||||
}
|
||||
}
|
||||
void visit(AstScope* nodep) override { // IfaceVisitor::
|
||||
if (nodep->user3SetOnce()) return;
|
||||
iterateChildren(nodep);
|
||||
}
|
||||
void visit(AstNode* nodep) override { iterateChildren(nodep); } // IfaceVisitor::
|
||||
|
||||
public:
|
||||
@@ -3144,6 +3148,8 @@ public:
|
||||
};
|
||||
|
||||
void LinkDotState::computeIfaceModSyms() {
|
||||
// AstScope::user3() // bool. Already iterated by a LinkDotIfaceVisitor
|
||||
const VNUser3InUse user3InUse;
|
||||
for (const auto& itr : m_ifaceModSyms) {
|
||||
AstIface* const nodep = itr.first;
|
||||
VSymEnt* const symp = itr.second;
|
||||
|
||||
Reference in New Issue
Block a user