s6ddrphy: drive ODT (if it exists)
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 22 Aug 2013 20:55:36 +0000 (22:55 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 22 Aug 2013 20:56:05 +0000 (22:56 +0200)
milkymist/s6ddrphy/__init__.py

index 02599a9dc81a219a2ec039213bd5e49189522a5f..e079987d2180e836da679c0621aef5c35456f719 100644 (file)
@@ -346,6 +346,13 @@ class S6DDRPHY(Module):
                                Instance.Output("SHIFTOUT4"),
                        )
 
+               #
+               # ODT
+               #
+               # ODT not yet supported
+               if hasattr(pads, "odt"):
+                       self.comb += pads.odt.eq(0)
+
                # 
                # DQ/DQS/DM control
                #