mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Fixes #7626.
This commit is contained in:
@@ -1060,6 +1060,7 @@ class TaskVisitor final : public VNVisitor {
|
||||
|
||||
// Add DPI Import to top, since it's a global function
|
||||
m_topScopep->scopep()->addBlocksp(funcp);
|
||||
funcp->dpiCDecl(nodep->dpiCDecl());
|
||||
if (!makePortList(nodep, funcp)) return nullptr;
|
||||
return funcp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user