From a89f00da19a3eafbd0ba83bff0cbbf91b1c6d5f9 Mon Sep 17 00:00:00 2001 From: Stas Date: Tue, 2 Nov 2021 11:03:17 +0100 Subject: [PATCH] fix plugins parameter utilization --- 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 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;