mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 10:48:27 +02:00
Implement DPI import/export as loose functions
This commit is contained in:
+1
-1
@@ -414,7 +414,7 @@ private:
|
||||
// UINFO(4, " CFUNC " << nodep << endl);
|
||||
if (!m_tracingCall && !nodep->entryPoint()) return;
|
||||
m_tracingCall = false;
|
||||
if (nodep->dpiImport() && !nodep->pure()) {
|
||||
if (nodep->dpiImportPrototype() && !nodep->pure()) {
|
||||
m_sideEffect = true; // If appears on assign RHS, don't ever delete the assignment
|
||||
}
|
||||
iterateChildren(nodep);
|
||||
|
||||
Reference in New Issue
Block a user