From 85c3cafe1f72510be406be0f8cbbce7104a5a761 Mon Sep 17 00:00:00 2001 From: Caleb Whitehead Date: Fri, 19 Jul 2024 11:29:47 -0700 Subject: [PATCH] AW should be derived from SRAM depth --- src/axi/rtl/caliptra_axi_sram.sv | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/axi/rtl/caliptra_axi_sram.sv b/src/axi/rtl/caliptra_axi_sram.sv index 81f007a4c..3d573d950 100644 --- a/src/axi/rtl/caliptra_axi_sram.sv +++ b/src/axi/rtl/caliptra_axi_sram.sv @@ -80,8 +80,7 @@ assign wr_error = 1'b0; caliptra_sram #( .DEPTH (1 << (AW - BW)), // Depth in WORDS - .DATA_WIDTH(DW), - .ADDR_WIDTH(AW) + .DATA_WIDTH(DW) ) i_sram ( .clk_i (clk ),