From b21da9baee0380d37e88644d7e812b2c0ddaad07 Mon Sep 17 00:00:00 2001 From: Zane Kaminski Date: Tue, 8 Oct 2024 21:13:18 -0400 Subject: [PATCH] RAM /OE asynchronously reset by /AS rising --- cpld/RAM.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpld/RAM.v b/cpld/RAM.v index 972a6af..795b117 100644 --- a/cpld/RAM.v +++ b/cpld/RAM.v @@ -45,9 +45,9 @@ module RAM( assign nUWE = !(!nUDS && RASEL && !nWE); /* RAM /OE control */ - always @(posedge CLK) begin + always @(posedge CLK, posedge nAS) begin if (nAS) nOE <= 1; - else nOE <= !(BACT && RAMCS && nWE); + else nOE <= !(RAMCS && nWE); end /* ROM /OE and /WE control */