From ea3ff3c0cd58a31d3dc4a69619d7b6d2776a9b9e Mon Sep 17 00:00:00 2001 From: Stanislaw Kaushanski Date: Tue, 23 Mar 2021 11:57:47 +0100 Subject: [PATCH] build with SCV lib --- 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 }