forked from Apple-2-HW/GR8RAM
Comments, no actual changes to CPLD verilog
This commit is contained in:
parent
b29662bcab
commit
d9e9038a4d
@ -140,13 +140,14 @@ module GR8RAM(C7M, C7M_2, Q3, PHI0in, PHI1in, nRES, nMode,
|
||||
end
|
||||
end
|
||||
|
||||
/* DEVSEL register and IOSTRB ROM enable */
|
||||
always @(posedge C7M, negedge nRES) begin
|
||||
if (~nRES) begin
|
||||
REGEN <= 0;
|
||||
IOROMEN <= 0;
|
||||
end else begin
|
||||
// Enable registers at end of S4 when IOSEL accessed (Cn00-CnFF).
|
||||
if (S==4 & ~nIOSEL) REGEN <= 1;
|
||||
if (S==4 & ~nIOSEL) REGEN <= 1'b1;
|
||||
|
||||
// Enable IOSTRB ROM when accessing CnXX in IOSEL ROM.
|
||||
if (S==4 & ~nIOSEL) IOROMEN <= 1'b1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user