Skip to content

Commit

Permalink
build/sim/core/veril.cpp: Flush trace file on finish, fix issue with …
Browse files Browse the repository at this point in the history
…empty .fst dumps with short simulations.
  • Loading branch information
enjoy-digital committed Sep 25, 2024
1 parent c95a6e0 commit b86d76b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- soc/cores/clock/colognechip : Fixed and reworked locked signal handling.
- litesdcard : Fixed data_i sampling (https://github.com/enjoy-digital/litesdcard/pull/34).
- litespi/mmap : Fixed dummy bits (https://github.com/litex-hub/litespi/pull/71).
- sim/verilator : Fixed .fst empty dump with short simulation.

[> Added
--------
Expand Down
1 change: 1 addition & 0 deletions litex/build/sim/core/veril.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ extern "C" void litex_sim_tracer_dump()

extern "C" int litex_sim_got_finish()
{
tfp->flush();
return Verilated::gotFinish();
}

Expand Down

0 comments on commit b86d76b

Please sign in to comment.