From 98e82d8add3e458515c0722d73e2e2a0a4b41eb3 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 18 Mar 2022 12:51:25 +0000 Subject: [PATCH] add ports function to HyperRAMPHY --- lambdasoc/periph/hyperram.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lambdasoc/periph/hyperram.py b/lambdasoc/periph/hyperram.py index 36c72e9..8284ef3 100644 --- a/lambdasoc/periph/hyperram.py +++ b/lambdasoc/periph/hyperram.py @@ -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 -------------------------------------------------------------------- -- 2.30.2