diff options
Diffstat (limited to 'riscv')
-rw-r--r-- | riscv/sim.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/sim.cc b/riscv/sim.cc index 0000537..0ef13b8 100644 --- a/riscv/sim.cc +++ b/riscv/sim.cc @@ -202,6 +202,7 @@ int sim_t::run() { host = context_t::current(); target.init(sim_thread_main, this); + htif_t::set_expected_xlen(isa.get_max_xlen()); return htif_t::run(); } |