From: Luke Kenneth Casson Leighton Date: Mon, 22 Jul 2019 13:28:21 +0000 (+0100) Subject: continuing experimentation X-Git-Tag: ls180-24jan2020~768 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e2a1421cac90b8e911d914098e8ad74ae08edf31;p=ieee754fpu.git continuing experimentation --- diff --git a/src/ieee754/div_rem_sqrt_rsqrt/div_pipe.py b/src/ieee754/div_rem_sqrt_rsqrt/div_pipe.py index a885ae04..899f4f5e 100644 --- a/src/ieee754/div_rem_sqrt_rsqrt/div_pipe.py +++ b/src/ieee754/div_rem_sqrt_rsqrt/div_pipe.py @@ -117,10 +117,10 @@ class DivPipeBaseStage: """ Base Mix-in for DivPipe*Stage. """ def _elaborate(self, m, platform): + m.d.comb += self.o.ctx.eq(self.i.ctx) m.d.comb += self.o.z.eq(self.i.z) m.d.comb += self.o.oz.eq(self.i.oz) m.d.comb += self.o.out_do_z.eq(self.i.out_do_z) - m.d.comb += self.o.ctx.eq(self.i.ctx) class DivPipeSetupStage(DivPipeBaseStage, DivPipeCoreSetupStage): diff --git a/src/ieee754/fpcommon/test/fpmux.py b/src/ieee754/fpcommon/test/fpmux.py index 631f2fc2..92d18e97 100644 --- a/src/ieee754/fpcommon/test/fpmux.py +++ b/src/ieee754/fpcommon/test/fpmux.py @@ -168,8 +168,9 @@ def create_random(num_rows, width, single_op=False, n_vals=10): op1 = randint(0, (1<