From 0dc1b6c1a5ca3bcd0e04005fd1b01cdb4fc572f8 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 20 Apr 2019 22:53:34 +0100 Subject: [PATCH] add ports function to RecordObject --- src/add/singlepipe.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/add/singlepipe.py b/src/add/singlepipe.py index 52decdbb..231b9ab3 100644 --- a/src/add/singlepipe.py +++ b/src/add/singlepipe.py @@ -197,6 +197,9 @@ class RecordObject(Record): for x in self.fields.values(): yield x + def ports(self): + return list(self) + class PrevControl: """ contains signals that come *from* the previous stage (both in and out) -- 2.30.2