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; reg IOACTr = 0; always @(posedge CLK) IOACTr <= IOACT;
/* IODTACK input synchronization */ /* IODTACK input synchronization */
reg IODONEr; always @(posedge CLK) IODONEr <= IODONEin; reg [1:0] IODONEr;
wire IODONE = IODONEr; always @(posedge CLK) IODONEr[1:0] <= {IODONEr[0], IODONEin};
wire IODONE = !IODONEr[1] && IODONEr[0];
/* Read data OE control */ /* Read data OE control */
assign nDinOE = !(!nAS && BACTr && IORealCS && nWE); assign nDinOE = !(!nAS && BACTr && IORealCS && nWE);