phy/s7ddrphy: avoid cdly CSRs when no odelay capability.

This commit is contained in:
Florent Kermarrec 2020-09-22 10:58:14 +02:00
parent 6fc6174c38
commit 0279b770ee
1 changed files with 3 additions and 2 deletions

View File

@ -64,6 +64,7 @@ class S7DDRPHY(Module, AutoCSR):
self._wlevel_en = CSRStorage() self._wlevel_en = CSRStorage()
self._wlevel_strobe = CSR() self._wlevel_strobe = CSR()
if with_odelay:
self._cdly_rst = CSR() self._cdly_rst = CSR()
self._cdly_inc = CSR() self._cdly_inc = CSR()