mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Fix DPI under param class (#6733 partial)
This commit is contained in:
+2
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user