phy/s7ddrphy: avoid cdly CSRs when no odelay capability.
This commit is contained in:
parent
6fc6174c38
commit
0279b770ee
|
@ -64,8 +64,9 @@ class S7DDRPHY(Module, AutoCSR):
|
||||||
self._wlevel_en = CSRStorage()
|
self._wlevel_en = CSRStorage()
|
||||||
self._wlevel_strobe = CSR()
|
self._wlevel_strobe = CSR()
|
||||||
|
|
||||||
self._cdly_rst = CSR()
|
if with_odelay:
|
||||||
self._cdly_inc = CSR()
|
self._cdly_rst = CSR()
|
||||||
|
self._cdly_inc = CSR()
|
||||||
|
|
||||||
self._dly_sel = CSRStorage(databits//8)
|
self._dly_sel = CSRStorage(databits//8)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue