mirror of
https://github.com/verilator/verilator.git
synced 2026-09-07 01:52:17 +02:00
DPI svSetScope is speced to return last scope, not new one
This commit is contained in:
+1
-1
@@ -671,7 +671,7 @@ private:
|
||||
AstCFunc* cfuncp = new AstCFunc(nodep->fileline(),
|
||||
prefix + nodep->name() + suffix,
|
||||
m_scopep,
|
||||
((nodep->taskPublic() && rtnvarp)?rtnvarp->cpubArgType(true,true):""));
|
||||
((nodep->taskPublic() && rtnvarp)?rtnvarp->cPubArgType(true,true):""));
|
||||
// It's ok to combine imports because this is just a wrapper; duplicate wrappers can get merged.
|
||||
cfuncp->dontCombine(!nodep->dpiImport());
|
||||
cfuncp->entryPoint (!nodep->dpiImport());
|
||||
|
||||
Reference in New Issue
Block a user