From bc75f67fb259bcc8098ffe87ec384fde6a585642 Mon Sep 17 00:00:00 2001 From: Zane Kaminski Date: Wed, 9 Oct 2024 07:59:55 -0400 Subject: [PATCH] Output ASrf from FSB unit --- cpld/FSB.v | 3 +-- cpld/WarpSE.v | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cpld/FSB.v b/cpld/FSB.v index 7c9c26d..fd24052 100644 --- a/cpld/FSB.v +++ b/cpld/FSB.v @@ -2,7 +2,7 @@ module FSB( /* MC68HC000 interface */ input FCLK, input nAS, output reg nDTACK, output reg nVPA, /* AS cycle detection */ - output BACT, output reg BACTr, + output reg ASrf, output BACT, output reg BACTr, /* Ready inputs */ input ROMCS, input RAMCS, input RAMReady, @@ -12,7 +12,6 @@ module FSB( input IACS); /* AS cycle detection */ - reg ASrf = 0; always @(negedge FCLK) begin ASrf <= !nAS; end assign BACT = !nAS || ASrf; // BACT - bus active always @(posedge FCLK) BACTr <= BACT; diff --git a/cpld/WarpSE.v b/cpld/WarpSE.v index 2422720..498023f 100644 --- a/cpld/WarpSE.v +++ b/cpld/WarpSE.v @@ -60,8 +60,7 @@ module WarpSE( assign nRES = !nRESout ? 1'b0 : 1'bZ; /* AS cycle detection */ - wire BACT; - wire BACTr; + wire ASrf, BACT, BACTr; /* Refresh request/ack signals */ wire RefReq, RefUrg; @@ -233,6 +232,7 @@ module WarpSE( .nDTACK(nDTACK_FSB), .nVPA(nVPA_FSB), /* FSB cycle detection */ + .ASrf(ASrf), .BACT(BACT), .BACTr(BACTr), /* Ready inputs */