diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2013-09-11 03:12:11 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2013-09-11 03:12:11 -0700 |
commit | e07148ac533c318780387b1a27d39e060753cd45 (patch) | |
tree | 065f9330d3722dc8e5c7acfc44ca56a6f5934363 /riscv/sim.cc | |
parent | 01dab8dbd6dbad38da740d963975b71bf524c39f (diff) | |
download | riscv-isa-sim-e07148ac533c318780387b1a27d39e060753cd45.zip riscv-isa-sim-e07148ac533c318780387b1a27d39e060753cd45.tar.gz riscv-isa-sim-e07148ac533c318780387b1a27d39e060753cd45.tar.bz2 |
Implement zany immediates
Diffstat (limited to 'riscv/sim.cc')
-rw-r--r-- | riscv/sim.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/riscv/sim.cc b/riscv/sim.cc index f01e931..864ec09 100644 --- a/riscv/sim.cc +++ b/riscv/sim.cc @@ -76,6 +76,7 @@ void sim_t::run() { while (!htif->done()) { + htif->tick(); if (debug || ctrlc_pressed) interactive(); else @@ -99,8 +100,6 @@ void sim_t::step(size_t n, bool noisy) current_proc = 0; htif->tick(); - if (!running()) - break; } } } |