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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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
|
|
|
|
|