From 361930ebd76f01e9b90a456eb56d890ddbb23cef Mon Sep 17 00:00:00 2001 From: Clo91eaf Date: Mon, 9 Sep 2024 00:23:14 +0800 Subject: [PATCH] [difftest] fix online difftest bug because of new spike_rs --- difftest/offline_t1/src/json_events.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/difftest/offline_t1/src/json_events.rs b/difftest/offline_t1/src/json_events.rs index 1244cfd74..60bf8a388 100644 --- a/difftest/offline_t1/src/json_events.rs +++ b/difftest/offline_t1/src/json_events.rs @@ -329,7 +329,7 @@ impl JsonEventRunner for SpikeRunner { ); // if instruction writes rd, it will retire in check_rd() - if count == se.vrf_access_record.retired_writes && !se.is_rd_written { + if count == se.vrf_access_record.retired_writes && !se.is_rd_written && !se.is_fd_written { should_retire = Some(issue_idx); } // if all writes are committed, retire the se