mirror of
https://github.com/garrettsworkshop/Warp-SE.git
synced 2024-11-21 17:31:47 +00:00
New RAM /OE control so it doesn't bus fight
This commit is contained in:
parent
a7632a3057
commit
53bc4c08bd
@ -37,9 +37,14 @@ module RAM(
|
||||
|
||||
/* RAM control signals */
|
||||
assign nRAS = !((!nAS && RAMCS && RASEN) || RASrf);
|
||||
assign nOE = 0;//!( !nAS && RAMCS && BACTr);
|
||||
assign nLWE = !(!nLDS && RASEL && !nWE);
|
||||
assign nUWE = !(!nUDS && RASEL && !nWE);
|
||||
|
||||
/* RAM /OE control */
|
||||
always @(posedge CLK) begin
|
||||
if (nAS) nOE <= 1;
|
||||
else nOE <= !(BACT && RAMCS0X && nWE);
|
||||
end
|
||||
|
||||
/* ROM control signals */
|
||||
assign nROMOE = !(!nAS && ROMCS && nWE);
|
||||
|
Loading…
Reference in New Issue
Block a user