From f7cec99fa62eb3f66af76989d7a30b53328098ca Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Mon, 1 Mar 2021 06:49:22 +0000 Subject: [PATCH] adapt to changes in SCC --- src/sysc/core_complex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sysc/core_complex.cpp b/src/sysc/core_complex.cpp index 505e1d0..2a93efc 100644 --- a/src/sysc/core_complex.cpp +++ b/src/sysc/core_complex.cpp @@ -331,7 +331,7 @@ void core_complex::disass_output(uint64_t pc, const std::string instr_str) { tr_handle.record_attribute("PC", pc); tr_handle.record_attribute("INSTR", instr_str); tr_handle.record_attribute("MODE", lvl[cpu->get_mode()]); - tr_handle.record_attribute("MSTATUS", cpu->get_state().mstatus.st.value); + tr_handle.record_attribute("MSTATUS", cpu->get_state().mstatus.backing.val); tr_handle.record_attribute("LTIME_START", quantum_keeper.get_current_time().value() / 1000); #endif }