Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sysc/core_complex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ void core_complex<BUSWIDTH, QK>::create_cpu(std::string const& type, std::string
SCCFATAL() << "Could not create vm for isa " << type << " and backend " << backend;
} else {
core->set_hartid(hart_id);
core->set_clk_if(clk_i.get_interface(0));
core->set_clint_irq_count(clint_irq_i.size());
auto* srv = debugger::server<debugger::gdb_session>::get();
if(srv)
Expand Down Expand Up @@ -313,6 +312,7 @@ template <unsigned int BUSWIDTH, typename QK> void core_complex<BUSWIDTH, QK>::s
sc_core::sc_stop();
return;
}
core->set_clk_if(clk_i.get_interface(0));
if(GET_PROP_VALUE(elf_file).size() > 0) {
auto file_names = util::split(GET_PROP_VALUE(elf_file), ',');
for(auto& s : file_names) {
Expand Down
Loading