From: Luke Kenneth Casson Leighton Date: Wed, 27 Mar 2019 23:18:04 +0000 (+0000) Subject: add comments X-Git-Tag: ls180-24jan2020~1457 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2656ba60457fb14bf07680668504fd3f2f6979f8;p=ieee754fpu.git add comments --- diff --git a/src/add/test_inout_mux_pipe.py b/src/add/test_inout_mux_pipe.py index 9e2b1026..95a2d0a2 100644 --- a/src/add/test_inout_mux_pipe.py +++ b/src/add/test_inout_mux_pipe.py @@ -232,13 +232,13 @@ class TestMuxOutPipe(MuxUnbufferedPipeline): class TestInOutPipe: def __init__(self, num_rows=4): self.num_rows = num_rows - self.inpipe = TestPriorityMuxPipe(num_rows) - self.pipe1 = PassThroughPipe() - self.pipe2 = PassThroughPipe() - self.outpipe = TestMuxOutPipe(num_rows) + self.inpipe = TestPriorityMuxPipe(num_rows) # fan-in (combinatorial) + self.pipe1 = PassThroughPipe() # stage 1 (clock-sync) + self.pipe2 = PassThroughPipe() # stage 2 (clock-sync) + self.outpipe = TestMuxOutPipe(num_rows) # fan-out (combinatorial) - self.p = self.inpipe.p - self.n = self.outpipe.n + self.p = self.inpipe.p # kinda annoying, + self.n = self.outpipe.n # use pipe in/out as this class in/out self._ports = self.inpipe.ports() + self.outpipe.ports() def elaborate(self, platform):