From d2138084816a70276bc026738b139002be2fad9c Mon Sep 17 00:00:00 2001 From: Michael Rogenmoser Date: Thu, 18 Jul 2024 14:02:27 +0200 Subject: [PATCH] mem_to_banks_detailed: Remove unneeded strb reduction --- src/mem_to_banks_detailed.sv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mem_to_banks_detailed.sv b/src/mem_to_banks_detailed.sv index ff16fd69..24160031 100644 --- a/src/mem_to_banks_detailed.sv +++ b/src/mem_to_banks_detailed.sv @@ -153,12 +153,12 @@ module mem_to_banks_detailed #( assign bank_wuser_o[i] = bank_oup[i].wuser; assign bank_we_o[i] = bank_oup[i].we; - assign zero_strobe[i] = (|bank_req[i].strb == '0); + assign zero_strobe[i] = (bank_req[i].strb == '0); if (HideStrb) begin : gen_hide_strb - assign bank_req_o[i] = (bank_oup[i].we && (|bank_oup[i].strb == '0)) ? + assign bank_req_o[i] = (bank_oup[i].we && (bank_oup[i].strb == '0)) ? 1'b0 : bank_req_internal[i]; - assign bank_gnt_internal[i] = (bank_oup[i].we && (|bank_oup[i].strb == '0)) ? + assign bank_gnt_internal[i] = (bank_oup[i].we && (bank_oup[i].strb == '0)) ? 1'b1 : bank_gnt_i[i]; end else begin : gen_legacy_strb assign bank_req_o[i] = bank_req_internal[i];