diff --git a/t1rocketemu/offline/src/json_events.rs b/t1rocketemu/offline/src/json_events.rs index b9cb3181d..6a324a37c 100644 --- a/t1rocketemu/offline/src/json_events.rs +++ b/t1rocketemu/offline/src/json_events.rs @@ -267,8 +267,6 @@ impl JsonEventRunner for SpikeRunner { let idx = reg_write.idx; let data = reg_write.data; - let se = self.find_freg_se(); - if let Some(board_data) = self.frf_board[idx as usize] { info!( "[{cycle}] FregWrite: Hit board! idx={idx}, rtl data={data:#x}, board data={board_data:#x}", @@ -284,6 +282,8 @@ impl JsonEventRunner for SpikeRunner { return Ok(()); } + let se = self.find_freg_se(); + info!( "[{cycle}] FregWrite: rtl idx={idx}, data={data:#x}; se idx={}, data={:#x} ({})", se.rd_idx,