Flush log file to save all data to disk before close simulator.
This commit is contained in:
parent
c9bab2ae27
commit
5f47a8a906
|
@ -914,7 +914,7 @@ bool BASE_ISA::Exec_FENCE() const {
|
||||||
|
|
||||||
bool BASE_ISA::Exec_ECALL() 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"
|
std::cout << "\n" << "ECALL Instruction called, stopping simulation"
|
||||||
<< "\n";
|
<< "\n";
|
||||||
regs->dump();
|
regs->dump();
|
||||||
|
|
Loading…
Reference in New Issue