diff --git a/include/verilated.cpp b/include/verilated.cpp index a2fa425e0..cb33f1af2 100644 --- a/include/verilated.cpp +++ b/include/verilated.cpp @@ -1018,7 +1018,7 @@ void VerilatedScope::configure(VerilatedSyms* symsp, const char* prefixp, const VerilatedImp::scopeInsert(this); } -void VerilatedScope::exportInsert(bool finalize, const char* namep, void* cb) { +void VerilatedScope::exportInsert(int finalize, const char* namep, void* cb) { // Slowpath - called once/scope*export at construction // Insert a exported function into scope table int funcnum = VerilatedImp::exportInsert(namep); diff --git a/include/verilated.h b/include/verilated.h index de9c06a2f..3db874f8b 100644 --- a/include/verilated.h +++ b/include/verilated.h @@ -158,7 +158,7 @@ public: // But internals only - called from VerilatedModule's VerilatedScope(); ~VerilatedScope(); void configure(VerilatedSyms* symsp, const char* prefixp, const char* suffixp); - void exportInsert(bool finalize, const char* namep, void* cb); + void exportInsert(int finalize, const char* namep, void* cb); // ACCESSORS const char* name() const { return m_namep; } inline VerilatedSyms* symsp() const { return m_symsp; }