Updated ram.sv to resolve compilation error

This commit is contained in:
TroubleElectrical committed 2026-10-15 15:42:26 +11:00
1 parent cd7fecd1c4
commit cdde70e6c2
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ module ram #(addrwidth=9, datawidth=5)(
);
// TODO: Make this byte-sized, NOT word-sized!
logic [2**width-1:0] mem[(2**(addrwidth+$clog2(datawidth)-3))-1:0];
logic [2**datawidth-1:0] mem[(2**(addrwidth+$clog2(datawidth)-3))-1:0];
// NOTE: Possible issue with assignments still pending by end of initial block
initial begin