remove dummy trap pipeline
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 31 Jan 2022 15:02:37 +0000 (15:02 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 31 Jan 2022 15:02:37 +0000 (15:02 +0000)
src/soc/fu/trap/pipeline.py

index e31598bfe5c74ba33241995bdda9b805aca9afc2..a5b84176797b61b01d79598bed4279808844ffe4 100644 (file)
@@ -33,13 +33,15 @@ class TrapBasePipe(ControlBase):
     def __init__(self, pspec):
         ControlBase.__init__(self)
         self.pspec = pspec
-        self.pipe1 = TrapDummyStages(pspec)
+        #self.pipe1 = TrapDummyStages(pspec)
         self.pipe2 = TrapStages(pspec)
-        self._eqs = self.connect([self.pipe1, self.pipe2])
+        #pipes = [self.pipe1, self.pipe2]
+        pipes = [self.pipe1]
+        self._eqs = self.connect(pipes)
 
     def elaborate(self, platform):
         m = ControlBase.elaborate(self, platform)
         m.submodules.pipe1 = self.pipe1
-        m.submodules.pipe2 = self.pipe2
+        #m.submodules.pipe2 = self.pipe2
         m.d.comb += self._eqs
         return m