From 646a1db9b20996c44125275a05cd1e5533b3e8d9 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 22 Mar 2019 10:42:02 +0000 Subject: [PATCH] remove unneeded self.a1modo, make local --- src/add/nmigen_add_experiment.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/add/nmigen_add_experiment.py b/src/add/nmigen_add_experiment.py index 349b2784..40de066e 100644 --- a/src/add/nmigen_add_experiment.py +++ b/src/add/nmigen_add_experiment.py @@ -727,12 +727,11 @@ class FPAddAlignSingleAdd(FPState): mod = FPAddAlignSingleMod(self.width, self.id_wid) a0mod = FPAddStage0Mod(self.width, self.id_wid) a1mod = FPAddStage1Mod(self.width, self.id_wid) - self.a1modo = a1mod.o chain = StageChain([mod, a0mod, a1mod]) chain.setup(m, i) - m.d.sync += self.a1o.eq(self.a1modo) + m.d.sync += self.a1o.eq(a1mod.o) def action(self, m): m.next = "normalise_1" -- 2.30.2