From 5fc24f7859a84c7b9aecdd39fc01cf63a159bdfc Mon Sep 17 00:00:00 2001 From: Riley King-Saunders Date: Thu, 15 Oct 2026 15:28:27 +1100 Subject: [PATCH] Temp change to make RAM word-aligned --- modules/ram.sv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ram.sv b/modules/ram.sv index 135161a..9266519 100644 --- a/modules/ram.sv +++ b/modules/ram.sv @@ -9,7 +9,8 @@ module ram #(addrwidth=9, datawidth=5)( 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 initial begin