Skip to content

Commit

Permalink
AW should be derived from SRAM depth
Browse files Browse the repository at this point in the history
  • Loading branch information
calebofearth committed Jul 25, 2024
1 parent 67adfed commit 85c3caf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/axi/rtl/caliptra_axi_sram.sv
Original file line number Diff line number Diff line change
Expand Up @@ -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 ),

Expand Down

0 comments on commit 85c3caf

Please sign in to comment.