From b5fd6c288ccaa388c4d6449008f5876bdf046e47 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 22 Mar 2019 07:41:24 +0000 Subject: [PATCH] copy over mid in pack module --- src/add/nmigen_add_experiment.py | 1 + 1 file changed, 1 insertion(+) 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(): -- 2.30.2