diff --git a/cpld/FSB.v b/cpld/FSB.v index 510b1f5..7c9c26d 100644 --- a/cpld/FSB.v +++ b/cpld/FSB.v @@ -22,10 +22,13 @@ module FSB( (RAMCS && !QoSEN && RAMReady && IOPWCS && IOPWReady) || (ROMCS && !QoSEN) || (IONPReady && SndQoSReady); - always @(posedge FCLK) nDTACK <= !(Ready && BACT && !IACS); + always @(posedge FCLK, posedge nAS) begin + if (nAS) nDTACK <= 1; + else nDTACK <= !(Ready && !IACS); + end always @(posedge FCLK, posedge nAS) begin if (nAS) nVPA <= 1; - else nVPA <= !(Ready && BACT && IACS); + else nVPA <= !(Ready && IACS); end endmodule