OpenCores
URL https://opencores.org/ocsvn/nextz80/nextz80/trunk

Subversion Repositories nextz80

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /nextz80
    from Rev 12 to Rev 13
    Reverse comparison

Rev 12 → Rev 13

/trunk/NextZ80CPU.v
171,7 → 171,7
else
if(FETCH[9:6] == 4'b1110) {FETCH[9:7]} <= 3'b000; // exit RESET state
else begin
if(M1)
if(M1 || (fetch98 == 2'b10)) // [DD/FD CB disp op] - M1 is inactive during <op> byte read, but FETCH is performed
case({MREQ, CPUStatus[9:8]})
3'b000, 3'b001, 3'b100, 3'b101, 3'b110, 3'b111: FETCH <= {fetch98, DI};
3'b010: FETCH <= {fetch98, 8'hff}; // IM1 - RST38
906,6 → 906,7
ALU160_SEL = 1; // PC
WE = 6'b010000; // PC
fetch98 = 2'b10;
M1 = !CPUStatus[4]; // [DD/FD CB disp op] - M1 is inactive during <op> byte read
end
2'b01: begin
ALU160_SEL = 1; // PC

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.