add ports function to HyperRAMPHY
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 18 Mar 2022 12:51:25 +0000 (12:51 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 18 Mar 2022 12:51:25 +0000 (12:51 +0000)
lambdasoc/periph/hyperram.py

index 36c72e9fa824c24df367476aa6472dee4b039bd8..8284ef3efe3aa0c5aedf286dc81eca20ccae4aa3 100644 (file)
@@ -113,6 +113,9 @@ class HyperRAMPHY(Elaboratable):
         m.d.comb += self.pads.rwds.oe.eq(self.rwds_oe)
         return m
 
+    def ports(self):
+        return [self.clk, self.cs, self.dq_o, self.dq_i, self.dq_oe,
+                self.rwds_o, self.rwds_oe]
 
 # HyperRAM --------------------------------------------------------------------