small fix

This commit is contained in:
Eyck Jentzsch 2021-05-13 16:01:04 +02:00
parent cf7b62a3f9
commit c57884caee

View File

@ -393,7 +393,7 @@ bool core_complex::read_mem(uint64_t addr, unsigned length, uint8_t *const data,
gp.set_data_ptr(data);
gp.set_data_length(length);
gp.set_streaming_width(length);
sc_time delay{quantum_keeper.get_local_time()};
sc_time delay=quantum_keeper.get_local_time();
#ifdef WITH_SCV
if (m_db != nullptr && tr_handle.is_valid()) {
if (is_fetch && tr_handle.is_active()) {
@ -442,7 +442,7 @@ bool core_complex::write_mem(uint64_t addr, unsigned length, const uint8_t *cons
gp.set_data_ptr(write_buf.data());
gp.set_data_length(length);
gp.set_streaming_width(length);
sc_time delay{quantum_keeper.get_local_time()};
sc_time delay=quantum_keeper.get_local_time();
#ifdef WITH_SCV
if (m_db != nullptr && tr_handle.is_valid()) {
auto preExt = new tlm::scc::scv::tlm_recording_extension(tr_handle, this);