Revert to old FSB DTACK/VPA control

This commit is contained in:
Zane Kaminski 2024-10-06 23:07:25 -04:00
parent 8e40091786
commit 2912399c2e

View File

@ -22,13 +22,10 @@ module FSB(
(RAMCS && !QoSEN && RAMReady && IOPWCS && IOPWReady) || (RAMCS && !QoSEN && RAMReady && IOPWCS && IOPWReady) ||
(ROMCS && !QoSEN) || (ROMCS && !QoSEN) ||
(IONPReady && SndQoSReady); (IONPReady && SndQoSReady);
always @(posedge FCLK, posedge nAS) begin always @(posedge FCLK) nDTACK <= !(Ready && BACT && !IACS);
if (nAS) nDTACK <= 1;
else nDTACK <= !(Ready && !IACS);
end
always @(posedge FCLK, posedge nAS) begin always @(posedge FCLK, posedge nAS) begin
if (nAS) nVPA <= 1; if (nAS) nVPA <= 1;
else nVPA <= !(Ready && IACS); else nVPA <= !(Ready && BACT && IACS);
end end
endmodule endmodule