From 03a20610aa5dcf49bbaba260e492e9ea0eb0e5dd Mon Sep 17 00:00:00 2001 From: David Harris Date: Sun, 10 Jul 2022 12:48:51 +0000 Subject: [PATCH] added comment about checking SRAM size --- pipelined/src/cache/sram1p1rw.sv | 1 + 1 file changed, 1 insertion(+) diff --git a/pipelined/src/cache/sram1p1rw.sv b/pipelined/src/cache/sram1p1rw.sv index 1b853702b..49bf5d852 100644 --- a/pipelined/src/cache/sram1p1rw.sv +++ b/pipelined/src/cache/sram1p1rw.sv @@ -53,6 +53,7 @@ module sram1p1rw #(parameter DEPTH=128, WIDTH=256) ( if (`USE_SRAM == 1) begin // 64 x 128-bit SRAM + // check if the size is ok, complain if not*** logic [WIDTH-1:0] BitWriteMask; for (index=0; index < WIDTH; index++) assign BitWriteMask[index] = ByteMask[index/8];