diff --git a/src/sysc/core_complex.cpp b/src/sysc/core_complex.cpp index fbe30e2..171eaaa 100644 --- a/src/sysc/core_complex.cpp +++ b/src/sysc/core_complex.cpp @@ -397,7 +397,7 @@ void core_complex::before_end_of_elaboration() { 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); - if (GET_PROP_VALUE(core_type).length()) { + if (GET_PROP_VALUE(plugins).length()) { auto p = util::split(GET_PROP_VALUE(plugins), ';'); for (std::string const& opt_val : p) { std::string plugin_name=opt_val;