phy/kusddrphy: reset bitslip on wdly_dq_rst instead of rdly_dq_rst
This commit is contained in:
parent
f31f8a03ff
commit
38f1c268e9
|
@ -200,7 +200,7 @@ class KUSDDRPHY(Module, AutoCSR):
|
||||||
dq_bitslip = BitSlip(8)
|
dq_bitslip = BitSlip(8)
|
||||||
self.sync += \
|
self.sync += \
|
||||||
If(self._dly_sel.storage[i//8],
|
If(self._dly_sel.storage[i//8],
|
||||||
If(self._rdly_dq_rst.re,
|
If(self._wdly_dq_rst.re,
|
||||||
dq_bitslip.value.eq(0)
|
dq_bitslip.value.eq(0)
|
||||||
).Elif(self._rdly_dq_bitslip.re,
|
).Elif(self._rdly_dq_bitslip.re,
|
||||||
dq_bitslip.value.eq(dq_bitslip.value + 1)
|
dq_bitslip.value.eq(dq_bitslip.value + 1)
|
||||||
|
|
Loading…
Reference in New Issue