Temp change to make RAM word-aligned

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