s7ddrphy: fix typo (reset_n --> cs_n)

This commit is contained in:
Florent Kermarrec 2018-09-10 04:44:35 +02:00
parent 37f1decfb2
commit f3d403f1e0
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ class S7DDRPHY(Module, AutoCSR):
if hasattr(pads, "reset_n"):
controls.append("reset_n")
if hasattr(pads, "cs_n"):
controls.append("reset_n")
controls.append("cs_n")
for name in controls:
for i in range(len(getattr(pads, name))):
self.specials += \