remove unneeded ports functions
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 28 Mar 2019 14:16:11 +0000 (14:16 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 28 Mar 2019 14:16:11 +0000 (14:16 +0000)
src/add/nmigen_add_experiment.py
src/add/test_inout_mux_pipe.py

index 62880a41a34997e437155e52e54e617d0c7d4fa9..495a0b4c3a539b95c306100b4b6da3d9ce0658ac 100644 (file)
@@ -1880,15 +1880,6 @@ class FPADDInMuxPipe(PriorityCombMuxInPipe):
         stage = PassThroughStage(iospec)
         PriorityCombMuxInPipe.__init__(self, stage, p_len=self.num_rows)
 
-    def ports(self):
-        res = []
-        for i in range(len(self.p)):
-            res += [self.p[i].i_valid, self.p[i].o_ready] + \
-                    self.p[i].i_data.ports()
-        res += [self.n.i_ready, self.n.o_valid] + \
-                self.n.o_data.ports()
-        return res
-
 
 class FPADDMuxOutPipe(CombMuxOutPipe):
     def __init__(self, width, id_wid, num_rows):
index 1bfc8dfe6a1caa5ef47f9370d197be6a8534eed0..d0ff6489212935c2a3c2bab2fcb93cc19ff894cc 100644 (file)
@@ -144,16 +144,6 @@ class TestPriorityMuxPipe(PriorityCombMuxInPipe):
         stage = PassThroughStage()
         PriorityCombMuxInPipe.__init__(self, stage, p_len=self.num_rows)
 
-    def ports(self):
-        res = []
-        for i in range(len(self.p)):
-            res += [self.p[i].i_valid, self.p[i].o_ready] + \
-                    self.p[i].i_data.ports()
-        res += [self.n.i_ready, self.n.o_valid] + \
-                self.n.o_data.ports()
-        return res
-
-
 
 class OutputTest:
     def __init__(self, dut):