From 705b15cf47ee13957871db9c263003632c8ef899 Mon Sep 17 00:00:00 2001 From: Zane Kaminski Date: Tue, 8 Oct 2024 07:19:35 -0400 Subject: [PATCH] Gate RAM /OE with RAMCS instead of RAMCS0X --- cpld/RAM.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpld/RAM.v b/cpld/RAM.v index 052fba6..ba0a4f2 100644 --- a/cpld/RAM.v +++ b/cpld/RAM.v @@ -47,7 +47,7 @@ module RAM( /* RAM /OE control */ always @(posedge CLK) begin if (nAS) nOE <= 1; - else nOE <= !(BACT && RAMCS0X && nWE); + else nOE <= !(BACT && RAMCS && nWE); end /* ROM control signals */