Fix DPI under param class (#6733 partial)

This commit is contained in:
Wilson Snyder
2025-12-07 13:30:54 -05:00
parent 7946e9d197
commit 4b02e32314
6 changed files with 85 additions and 5 deletions
+2 -1
View File
@@ -711,8 +711,9 @@ class TaskVisitor final : public VNVisitor {
if (needSyms) ccallp->argTypes("vlSymsp");
if (refp->taskp()->dpiContext()) {
AstScopeName* const snp = refp->scopeNamep()->unlinkFrBack();
AstScopeName* const snp = refp->scopeNamep();
UASSERT_OBJ(snp, refp, "Missing scoping context");
snp->unlinkFrBack();
FileLine* const flp = refp->fileline();
// __Vscopep
ccallp->addArgsp(snp);