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 */
|
/* MC68HC000 interface */
|
||||||
input FCLK, input nAS, output reg nDTACK, output reg nVPA,
|
input FCLK, input nAS, output reg nDTACK, output reg nVPA,
|
||||||
/* AS cycle detection */
|
/* AS cycle detection */
|
||||||
output BACT, output reg BACTr,
|
output reg ASrf, output BACT, output reg BACTr,
|
||||||
/* Ready inputs */
|
/* Ready inputs */
|
||||||
input ROMCS,
|
input ROMCS,
|
||||||
input RAMCS, input RAMReady,
|
input RAMCS, input RAMReady,
|
||||||
@ -12,7 +12,6 @@ module FSB(
|
|||||||
input IACS);
|
input IACS);
|
||||||
|
|
||||||
/* AS cycle detection */
|
/* AS cycle detection */
|
||||||
reg ASrf = 0;
|
|
||||||
always @(negedge FCLK) begin ASrf <= !nAS; end
|
always @(negedge FCLK) begin ASrf <= !nAS; end
|
||||||
assign BACT = !nAS || ASrf; // BACT - bus active
|
assign BACT = !nAS || ASrf; // BACT - bus active
|
||||||
always @(posedge FCLK) BACTr <= BACT;
|
always @(posedge FCLK) BACTr <= BACT;
|
||||||
|
@ -60,8 +60,7 @@ module WarpSE(
|
|||||||
assign nRES = !nRESout ? 1'b0 : 1'bZ;
|
assign nRES = !nRESout ? 1'b0 : 1'bZ;
|
||||||
|
|
||||||
/* AS cycle detection */
|
/* AS cycle detection */
|
||||||
wire BACT;
|
wire ASrf, BACT, BACTr;
|
||||||
wire BACTr;
|
|
||||||
|
|
||||||
/* Refresh request/ack signals */
|
/* Refresh request/ack signals */
|
||||||
wire RefReq, RefUrg;
|
wire RefReq, RefUrg;
|
||||||
@ -233,6 +232,7 @@ module WarpSE(
|
|||||||
.nDTACK(nDTACK_FSB),
|
.nDTACK(nDTACK_FSB),
|
||||||
.nVPA(nVPA_FSB),
|
.nVPA(nVPA_FSB),
|
||||||
/* FSB cycle detection */
|
/* FSB cycle detection */
|
||||||
|
.ASrf(ASrf),
|
||||||
.BACT(BACT),
|
.BACT(BACT),
|
||||||
.BACTr(BACTr),
|
.BACTr(BACTr),
|
||||||
/* Ready inputs */
|
/* Ready inputs */
|
||||||
|
Loading…
Reference in New Issue
Block a user