From: Luke Kenneth Casson Leighton Date: Thu, 21 Mar 2019 20:00:23 +0000 (+0000) Subject: reduce args to FPRound X-Git-Tag: ls180-24jan2020~1551 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d841c807b392de70192584b3aeebf36aa92f9d94;p=ieee754fpu.git reduce args to FPRound --- diff --git a/src/add/nmigen_add_experiment.py b/src/add/nmigen_add_experiment.py index 06943719..529fd94c 100644 --- a/src/add/nmigen_add_experiment.py +++ b/src/add/nmigen_add_experiment.py @@ -1338,10 +1338,10 @@ class FPRound(FPState, FPID): self.mod = FPRoundMod(width) self.out_z = self.mod.ospec() - def setup(self, m, in_z, roundz, in_mid): + def setup(self, m, i, in_mid): """ links module to inputs and outputs """ - self.mod.setup(m, in_z, roundz) + self.mod.setup(m, i) if self.in_mid is not None: m.d.comb += self.in_mid.eq(in_mid)