Flush log file to save all data to disk before close simulator.

This commit is contained in:
Màrius Montón 2021-06-30 17:28:10 +02:00
parent c9bab2ae27
commit 5f47a8a906
1 changed files with 1 additions and 1 deletions

View File

@ -914,7 +914,7 @@ bool BASE_ISA::Exec_FENCE() const {
bool BASE_ISA::Exec_ECALL() const {
log->SC_log(Log::INFO) << "ECALL" << "\n";
log->SC_log(Log::INFO) << "ECALL" << "\n" << std::flush ;
std::cout << "\n" << "ECALL Instruction called, stopping simulation"
<< "\n";
regs->dump();