diff options
| author | Kika <[email protected]> | 2024-06-15 21:44:10 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-15 21:44:10 +0800 |
| commit | d7837a562c021bd5aeeb78f08107301deed44148 (patch) | |
| tree | 3a1e68f3c008cfaedca6ff1874507ac3bd69c319 /tests/projects | |
| parent | 3a6a8eb2ec47e48793cb0eeb6ad6a39add834ae0 (diff) | |
fix: test/.../verialtor/hello_vcd no wave file output due to forgetting closing file
Diffstat (limited to 'tests/projects')
| -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; |
