Browse Source

Merge pull request #2149 from 5265325/fix/hartids

Fix collapse when setting hartids from command line.
pull/2156/head
Andrew Waterman 9 months ago
committed by GitHub
parent
commit
8697fddf77
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      riscv/sim.cc

2
riscv/sim.cc

@ -278,7 +278,7 @@ int sim_t::run()
if (!debug && log)
set_procs_debug(true);
htif_t::set_expected_xlen(harts[0]->get_isa().get_max_xlen());
htif_t::set_expected_xlen(harts.begin()->second->get_isa().get_max_xlen());
// htif_t::run() will repeatedly call back into sim_t::idle(), each
// invocation of which will advance target time

Loading…
Cancel
Save