From 1d77155b6002f4cb7a19f898b28617cfc3c88065 Mon Sep 17 00:00:00 2001 From: Zane Kaminski Date: Mon, 7 Oct 2024 01:04:37 -0400 Subject: [PATCH] Revert "Revert to old FSB DTACK/VPA control" This reverts commit 2912399c2ed93298911e9752427213e736df90e4. --- cpld/FSB.v | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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