Gate RAM /OE with RAMCS instead of RAMCS0X

This commit is contained in:
Zane Kaminski 2024-10-08 07:19:35 -04:00
parent 41dc054172
commit 705b15cf47

View File

@ -47,7 +47,7 @@ module RAM(
/* RAM /OE control */ /* RAM /OE control */
always @(posedge CLK) begin always @(posedge CLK) begin
if (nAS) nOE <= 1; if (nAS) nOE <= 1;
else nOE <= !(BACT && RAMCS0X && nWE); else nOE <= !(BACT && RAMCS && nWE);
end end
/* ROM control signals */ /* ROM control signals */