build/sim/core/veril.cpp: Flush trace file on finish, fix issue with empty .fst dumps with short simulations.
This commit is contained in:
parent
c95a6e041c
commit
b86d76baed
|
@ -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
|
||||
--------
|
||||
|
|
|
@ -78,6 +78,7 @@ extern "C" void litex_sim_tracer_dump()
|
|||
|
||||
extern "C" int litex_sim_got_finish()
|
||||
{
|
||||
tfp->flush();
|
||||
return Verilated::gotFinish();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue