From 67f364049c292b6895766d91cf1b62b5d83d8bf2 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Fri, 23 May 2025 20:28:01 +0200 Subject: [PATCH] adds some message if disass will be in the trace file --- src/sysc/core_complex.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/sysc/core_complex.cpp b/src/sysc/core_complex.cpp index 4d589bc..7327e79 100644 --- a/src/sysc/core_complex.cpp +++ b/src/sysc/core_complex.cpp @@ -267,7 +267,10 @@ template void core_complex::before_end_of_elab cpu = new core_wrapper(this); cpu->create_cpu(GET_PROP_VALUE(core_type), GET_PROP_VALUE(backend), GET_PROP_VALUE(gdb_server_port), GET_PROP_VALUE(mhartid)); sc_assert(cpu->vm != nullptr); - cpu->vm->setDisassEnabled(GET_PROP_VALUE(enable_disass) || trc->m_db != nullptr); + auto disass = GET_PROP_VALUE(enable_disass); + if(disass && trc->m_db) + SCCINFO(SCMOD)<<"Disasssembly will only be in transaction trace database!"; + cpu->vm->setDisassEnabled(disass || trc->m_db != nullptr); if(GET_PROP_VALUE(plugins).length()) { auto p = util::split(GET_PROP_VALUE(plugins), ';'); for(std::string const& opt_val : p) {