Revert "remove dummy trap pipeline"
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 10 Feb 2022 18:06:20 +0000 (18:06 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 13 Feb 2022 14:25:07 +0000 (14:25 +0000)
This reverts commit de3765400532be229ed4dd8a1d9fdcf1b4bca0ef.

src/soc/fu/trap/pipeline.py

index a5b84176797b61b01d79598bed4279808844ffe4..e31598bfe5c74ba33241995bdda9b805aca9afc2 100644 (file)
@@ -33,15 +33,13 @@ 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)
-        #pipes = [self.pipe1, self.pipe2]
-        pipes = [self.pipe1]
-        self._eqs = self.connect(pipes)
+        self._eqs = self.connect([self.pipe1, self.pipe2])
 
     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