From 38c949970e5cfc8bedddbbb2f760abda24c562ac Mon Sep 17 00:00:00 2001 From: Fatima Saleem <63645133+fatimasaleem@users.noreply.github.com> Date: Sat, 7 Oct 2023 21:41:45 +0500 Subject: [PATCH] Increased utilization of the speculative queue of store buffer (#1349) --- core/store_buffer.sv | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/store_buffer.sv b/core/store_buffer.sv index 772b051a0e..ca9aec5d1b 100644 --- a/core/store_buffer.sv +++ b/core/store_buffer.sv @@ -77,8 +77,6 @@ module store_buffer import ariane_pkg::*; #( automatic logic [$clog2(DEPTH_SPEC):0] speculative_status_cnt; speculative_status_cnt = speculative_status_cnt_q; - // we are ready if the speculative and the commit queue have a space left - ready_o = (speculative_status_cnt_q < (DEPTH_SPEC - 1)) || commit_i; // default assignments speculative_status_cnt_n = speculative_status_cnt_q; speculative_read_pointer_n = speculative_read_pointer_q; @@ -119,6 +117,9 @@ module store_buffer import ariane_pkg::*; #( // also reset the status count speculative_status_cnt_n = 'b0; end + + // we are ready if the speculative and the commit queue have a space left + ready_o = (speculative_status_cnt_n < (DEPTH_SPEC)) || commit_i; end // ----------------------------------------