summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-06-15 23:54:28 +0800
committerGitHub <[email protected]>2024-06-15 23:54:28 +0800
commit417313e29e1d85c8a3157a58f023df307ae28492 (patch)
tree238b70a592a73acb42f801191868ea67400a44d8
parent95a78af703f2709285b5a51c151bbf0d23817e52 (diff)
parentd7837a562c021bd5aeeb78f08107301deed44148 (diff)
Merge pull request #5218 from MrAMS/patch-1
fix: test/.../verialtor/hello_vcd no wave file output
-rw-r--r--tests/projects/embed/verilator/hello_vcd/src/sim_main.cpp1
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;