mirror of
https://github.com/garrettsworkshop/Warp-SE.git
synced 2024-11-21 17:31:47 +00:00
RAM /OE asynchronously reset by /AS rising
This commit is contained in:
parent
07da9cd645
commit
b21da9baee
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user