From: Luke Kenneth Casson Leighton Date: Fri, 22 Mar 2019 07:41:24 +0000 (+0000) Subject: copy over mid in pack module X-Git-Tag: ls180-24jan2020~1538 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5fd6c288ccaa388c4d6449008f5876bdf046e47;p=ieee754fpu.git copy over mid in pack module --- diff --git a/src/add/nmigen_add_experiment.py b/src/add/nmigen_add_experiment.py index 73306c57..46e9223f 100644 --- a/src/add/nmigen_add_experiment.py +++ b/src/add/nmigen_add_experiment.py @@ -1419,6 +1419,7 @@ class FPPackMod: def elaborate(self, platform): m = Module() m.submodules.pack_in_z = self.i.z + m.d.comb += self.o.mid.eq(self.i.mid) with m.If(self.i.z.is_overflowed): m.d.comb += self.o.z.inf(self.i.z.s) with m.Else():