diff options
Diffstat (limited to 'tests/projects/embed/verilator/hello_vcd/src/sim_main.cpp')
| -rw-r--r-- | tests/projects/embed/verilator/hello_vcd/src/sim_main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/projects/embed/verilator/hello_vcd/src/sim_main.cpp b/tests/projects/embed/verilator/hello_vcd/src/sim_main.cpp index decc1fff0..f1ee04ddd 100644 --- a/tests/projects/embed/verilator/hello_vcd/src/sim_main.cpp +++ b/tests/projects/embed/verilator/hello_vcd/src/sim_main.cpp @@ -22,6 +22,7 @@ int main(int argc, char** argv) { Verilated::traceEverOn(true); tfp->open(vcdfile); while (!contextp->gotFinish()) { top->eval(); } + tfp->close(); delete top; delete contextp; return 0; |
