uninitialized member variable
This commit is contained in:
parent
2f1fe58201
commit
0d41fa7d10
|
@ -33,6 +33,7 @@ namespace riscv_tlm {
|
|||
socket.register_get_direct_mem_ptr(this, &Memory::get_direct_mem_ptr);
|
||||
socket.register_transport_dbg(this, &Memory::transport_dbg);
|
||||
|
||||
dmi_allowed = false;
|
||||
program_counter = 0;
|
||||
|
||||
logger = spdlog::get("my_logger");
|
||||
|
@ -203,4 +204,4 @@ namespace riscv_tlm {
|
|||
SC_REPORT_ERROR("Memory", "Open file error");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue