Skip to content

Commit cc6cdad

Browse files
committed
🐛 close vcd file in simmem
1 parent 5edc413 commit cc6cdad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

simmem.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ void simmem_t::main() {
9898
main_time++;
9999

100100
}
101+
102+
if (this->vcd_file != NULL) {
103+
tfp->close ();
104+
}
101105
}
102106

103107
addr_t simmem_t::get_tohost_address() {

0 commit comments

Comments
 (0)