Skip to content

Commit

Permalink
[difftest] remove mem read check
Browse files Browse the repository at this point in the history
  • Loading branch information
Clo91eaf committed Jun 15, 2024
1 parent ad11281 commit 047fc9e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions difftest/t1-simulator/src/difftest/spike/spike_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,15 +380,15 @@ impl SpikeEvent {
// self.disasm
// );
// }
for (addr, record) in &self.mem_access_record.all_reads {
assert_eq!(
record.num_completed_reads,
record.reads.len(),
"[{cycle}] expect to read mem {addr:#x}, not executed when commit (pc={:#x}, inst={})",
self.pc,
self.disasm
);
}
// for (addr, record) in &self.mem_access_record.all_reads {
// assert_eq!(
// record.num_completed_reads,
// record.reads.len(),
// "[{cycle}] expect to read mem {addr:#x}, not executed when commit (pc={:#x}, inst={})",
// self.pc,
// self.disasm
// );
// }
for (idx, record) in &self.vrf_access_record.all_writes {
assert!(
record.executed,
Expand Down

0 comments on commit 047fc9e

Please sign in to comment.