From: Luke Kenneth Casson Leighton Date: Thu, 21 Mar 2019 19:59:25 +0000 (+0000) Subject: reduce args to FPNormaliseModSingle X-Git-Tag: ls180-24jan2020~1553 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=007d71edcb35044394b2e5f50a18f5c97c87a6ea;p=ieee754fpu.git reduce args to FPNormaliseModSingle --- diff --git a/src/add/nmigen_add_experiment.py b/src/add/nmigen_add_experiment.py index 94060c4c..3b786699 100644 --- a/src/add/nmigen_add_experiment.py +++ b/src/add/nmigen_add_experiment.py @@ -946,12 +946,11 @@ class FPNormaliseModSingle: def ospec(self): return FPNumBase(self.width, False) - def setup(self, m, in_z, out_z): + def setup(self, m, i): """ links module to inputs and outputs """ m.submodules.normalise = self - m.d.comb += self.in_z.eq(in_z) - m.d.comb += out_z.eq(self.out_z) + m.d.comb += self.i.eq(i) def elaborate(self, platform): m = Module()