Compare commits
1 Commits
featture/i
...
67f364049c
Author | SHA1 | Date | |
---|---|---|---|
67f364049c |
@ -267,7 +267,10 @@ template <unsigned int BUSWIDTH> void core_complex<BUSWIDTH>::before_end_of_elab
|
|||||||
cpu = new core_wrapper(this);
|
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));
|
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);
|
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()) {
|
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) {
|
||||||
|
Reference in New Issue
Block a user