From: Luke Kenneth Casson Leighton Date: Fri, 22 Mar 2019 10:42:02 +0000 (+0000) Subject: remove unneeded self.a1modo, make local X-Git-Tag: ls180-24jan2020~1529 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=646a1db9b20996c44125275a05cd1e5533b3e8d9;p=ieee754fpu.git remove unneeded self.a1modo, make local --- 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"