mirror of
https://github.com/garrettsworkshop/Warp-SE.git
synced 2024-11-22 08:32:09 +00:00
Output ASrf from FSB unit
This commit is contained in:
parent
6419beb4cf
commit
bc75f67fb2
@ -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;
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user