Skip to content

Commit

Permalink
[t1rocket] use real mcycle in testbench
Browse files Browse the repository at this point in the history
  • Loading branch information
Clo91eaf committed Aug 24, 2024
1 parent ca74ae2 commit 747038a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t1rocketemu/test_common/src/spike_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl SpikeRunner {
let state = proc.get_state();

let mcycle = self.cycle as usize;
state.set_mcycle(0);
state.set_mcycle(mcycle);

let mut event = SpikeEvent::new(spike, self.do_log_vrf);
state.clear();
Expand Down

0 comments on commit 747038a

Please sign in to comment.