Fix typos in IOBM

This commit is contained in:
Zane Kaminski 2024-10-07 01:35:42 -04:00
parent b26d510391
commit 1193a54d34

View File

@ -33,7 +33,7 @@ module IOBM(
wire ETACK = (ES==8) && !nVMA; wire ETACK = (ES==8) && !nVMA;
always @(posedge C8M) begin always @(posedge C8M) begin
if ((ES==4) && IOACT && VPAr) nVMA <= 0; if ((ES==4) && IOACT && VPAr) nVMA <= 0;
else if(ES==0) nVMA <= 1; else if (ES==0) nVMA <= 1;
end end
/* DTACK and BERR synchronization */ /* DTACK and BERR synchronization */
@ -50,6 +50,8 @@ module IOBM(
/* I/O bus state */ /* I/O bus state */
reg [2:0] IOS = 0; reg [2:0] IOS = 0;
reg IOS0; reg IOS0;
/* I/O bus control */
always @(posedge C16M) case (IOS[2:0]) always @(posedge C16M) case (IOS[2:0])
3'h0: begin 3'h0: begin
if (IOREQr && !C8Mr && AoutOE) begin // "IOS1" if (IOREQr && !C8Mr && AoutOE) begin // "IOS1"