mirror of
https://github.com/garrettsworkshop/Warp-SE.git
synced 2024-11-22 08:32:09 +00:00
New IODONE edge detect in IOBS -- no need to limit IODONE pulse width in IOBM
This commit is contained in:
parent
1193a54d34
commit
1f9bd820ac
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user