From 0dabf8370f37c859ddeb49f9380d64139eb617bb Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 21 Mar 2019 19:59:49 +0000 Subject: [PATCH] reduce args to FPNorm1Single --- 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 3b786699..06943719 100644 --- a/src/add/nmigen_add_experiment.py +++ b/src/add/nmigen_add_experiment.py @@ -1187,10 +1187,10 @@ class FPNorm1Single(FPState, FPID): self.out_z = FPNumBase(width, False) self.out_roundz = Signal(reset_less=True) - def setup(self, m, in_z, in_of, in_mid): + def setup(self, m, i, in_mid): """ links module to inputs and outputs """ - self.mod.setup(m, in_z, in_of, self.out_z) + self.mod.setup(m, i, self.out_z) if self.in_mid is not None: m.d.comb += self.in_mid.eq(in_mid) -- 2.30.2