diff options
author | Yunsup Lee <yunsup@cs.berkeley.edu> | 2011-10-18 17:03:26 -0700 |
---|---|---|
committer | Yunsup Lee <yunsup@cs.berkeley.edu> | 2011-10-18 17:03:26 -0700 |
commit | ed8a77d328a85affe0d5d7a5cf631f64236fe895 (patch) | |
tree | c517612a86701329794e0f853c6f29e54a01bcd0 /riscv/sim.cc | |
parent | 4ddd7773f8fb40ea1c9b48c8f3a61a40c3f168fb (diff) | |
download | riscv-isa-sim-ed8a77d328a85affe0d5d7a5cf631f64236fe895.zip riscv-isa-sim-ed8a77d328a85affe0d5d7a5cf631f64236fe895.tar.gz riscv-isa-sim-ed8a77d328a85affe0d5d7a5cf631f64236fe895.tar.bz2 |
yunsup made this fix..ask him
Diffstat (limited to 'riscv/sim.cc')
-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 65125e4..9020da4 100644 --- a/riscv/sim.cc +++ b/riscv/sim.cc @@ -58,6 +58,7 @@ void sim_t::set_tohost(reg_t val) { fromhost = 0; tohost = val; + htif->wait_for_tohost_write(); } reg_t sim_t::get_fromhost() |