From c271360709b1abbbceff5fe16ca7fb531dfc0519 Mon Sep 17 00:00:00 2001 From: "Andreas.Olofsson" Date: Sat, 28 Mar 2020 15:38:29 -0400 Subject: [PATCH] Changing order of RAM array --- common/hdl/oh_memory_ram.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hdl/oh_memory_ram.v b/common/hdl/oh_memory_ram.v index 10a387f..a64d641 100644 --- a/common/hdl/oh_memory_ram.v +++ b/common/hdl/oh_memory_ram.v @@ -22,7 +22,7 @@ module oh_memory_ram # (parameter DW = 104, //memory width input [DW-1:0] wr_din // data input ); - reg [DW-1:0] ram [DEPTH-1:0]; + reg [DW-1:0] ram [0:DEPTH-1]; integer i; //registered read port