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 */