Merge pull request #42 from enjoy-digital/HalfRateSequentialFix
We wait an extra cycle for no reason
This commit is contained in:
commit
1777720a0c
|
@ -136,10 +136,10 @@ class tXXDController(Module):
|
|||
# # #
|
||||
|
||||
if txxd is not None:
|
||||
count = Signal(max=max(txxd+1, 2))
|
||||
count = Signal(max=max(txxd, 2))
|
||||
self.sync += \
|
||||
If(valid,
|
||||
count.eq(txxd),
|
||||
count.eq(txxd-1),
|
||||
If((txxd - 1) == 0,
|
||||
ready.eq(1)
|
||||
).Else(
|
||||
|
|
Loading…
Reference in New Issue