From dc14faa1cf9021432601ab5f1f20b658dea1bbdf Mon Sep 17 00:00:00 2001 From: Fabian Montero Date: Wed, 4 Oct 2023 18:21:17 -0600 Subject: improve comments --- rtl/cache/sram.sv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rtl/cache/sram.sv b/rtl/cache/sram.sv index bd9140d..fc68185 100644 --- a/rtl/cache/sram.sv +++ b/rtl/cache/sram.sv @@ -22,7 +22,8 @@ module cache_sram // https://www.intel.com/content/www/us/en/docs/programmable/683082/21-3/ram-with-byte-enable-signals.html // Define la cantidad de lĂ­neas de cache - // $bits(addr_index) = 9 --> 1 << 9 = 512 + // Cantidad de bits en addr_index = 9, entonces se le hace left shift 9 + // espacios 1. Osea, 512. localparam DEPTH = 1 << $bits(addr_index); line data_file[DEPTH] /*verilator public*/; -- cgit v1.2.3