New IODONE edge detect in IOBS -- no need to limit IODONE pulse width in IOBM

This commit is contained in:
Zane Kaminski 2024-10-07 01:37:34 -04:00
parent 1193a54d34
commit 1f9bd820ac

View File

@ -21,8 +21,9 @@ module IOBS(
reg IOACTr = 0; always @(posedge CLK) IOACTr <= IOACT;
/* IODTACK input synchronization */
reg IODONEr; always @(posedge CLK) IODONEr <= IODONEin;
wire IODONE = IODONEr;
reg [1:0] IODONEr;
always @(posedge CLK) IODONEr[1:0] <= {IODONEr[0], IODONEin};
wire IODONE = !IODONEr[1] && IODONEr[0];
/* Read data OE control */
assign nDinOE = !(!nAS && BACTr && IORealCS && nWE);