From 302cf0617a1efdb3fd7cd7c67abfa6ea2a88a425 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 10 Feb 2022 18:06:20 +0000 Subject: [PATCH] Revert "remove dummy trap pipeline" This reverts commit de3765400532be229ed4dd8a1d9fdcf1b4bca0ef. --- src/soc/fu/trap/pipeline.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/soc/fu/trap/pipeline.py b/src/soc/fu/trap/pipeline.py index a5b84176..e31598bf 100644 --- a/src/soc/fu/trap/pipeline.py +++ b/src/soc/fu/trap/pipeline.py @@ -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 -- 2.30.2