mirror of
https://github.com/verilator/verilator.git
synced 2026-09-07 10:01:11 +02:00
@@ -875,6 +875,18 @@ class ParamProcessor final {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
} else if (!entry.cloneCellPath.empty()) {
|
||||
// Clone entry has no paramTypep stored; look up the type by name.
|
||||
if (AstParamTypeDType* const ptp
|
||||
= V3LinkDotIfaceCapture::findParamTypeInModule(targetModp, entry.refp->name())) {
|
||||
entry.refp->refDTypep(ptp);
|
||||
entry.refp->dtypep(ptp);
|
||||
for (AstRefDType* const xrefp : entry.extraRefps) {
|
||||
xrefp->refDTypep(ptp);
|
||||
xrefp->dtypep(ptp);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user