From 198dfb595b41762b147114e03aa13a31a6c2836b Mon Sep 17 00:00:00 2001 From: Paul Scheffler Date: Tue, 13 Feb 2024 19:53:14 +0100 Subject: [PATCH] hw: Fix repeated load-stores in FPSS on WAW stall --- hw/snitch_cluster/src/snitch_fp_ss.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/snitch_cluster/src/snitch_fp_ss.sv b/hw/snitch_cluster/src/snitch_fp_ss.sv index 6420be9f5e..f6fa083fed 100644 --- a/hw/snitch_cluster/src/snitch_fp_ss.sv +++ b/hw/snitch_cluster/src/snitch_fp_ss.sv @@ -2584,7 +2584,7 @@ module snitch_fp_ss import snitch_pkg::*; #( // ---------------------- // Load/Store Unit // ---------------------- - assign lsu_qvalid = acc_req_valid_q & (&op_ready) & (is_load | is_store); + assign lsu_qvalid = acc_req_valid_q & (&op_ready) & (is_load | is_store) & dst_ready; // TODO: verify this does not create timing loops! assign caq_pvalid_o = data_rsp_i.p_valid & data_req_o.p_ready;