fix plugins parameter utilization
This commit is contained in:
parent
ff04ee7807
commit
a89f00da19
|
@ -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));
|
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);
|
sc_assert(cpu->vm!=nullptr);
|
||||||
cpu->vm->setDisassEnabled(GET_PROP_VALUE(enable_disass) || trc->m_db != 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), ';');
|
auto p = util::split(GET_PROP_VALUE(plugins), ';');
|
||||||
for (std::string const& opt_val : p) {
|
for (std::string const& opt_val : p) {
|
||||||
std::string plugin_name=opt_val;
|
std::string plugin_name=opt_val;
|
||||||
|
|
Loading…
Reference in New Issue