Fix including __Syms header in generated C++ files (#4123)
This commit is contained in:
parent
d1b80ffa29
commit
7d3b3761b2
|
|
@ -196,6 +196,7 @@ class EmitCImp final : EmitCFunc {
|
|||
puts("\n#include \"verilated.h\"\n");
|
||||
if (v3Global.dpi()) puts("#include \"verilated_dpi.h\"\n");
|
||||
puts("\n");
|
||||
puts("#include \"" + symClassName() + ".h\"\n");
|
||||
for (const string& name : headers) puts("#include \"" + name + ".h\"\n");
|
||||
|
||||
emitTextSection(m_modp, VNType::atScImpHdr);
|
||||
|
|
|
|||
Loading…
Reference in New Issue