From d841c807b392de70192584b3aeebf36aa92f9d94 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 21 Mar 2019 20:00:23 +0000 Subject: [PATCH] reduce args to FPRound --- src/add/nmigen_add_experiment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.30.2