From: Luke Kenneth Casson Leighton Date: Sat, 17 Aug 2019 07:17:24 +0000 (+0100) Subject: move variable to pyi file X-Git-Tag: ls180-24jan2020~520 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;ds=sidebyside;h=cee8e887fc8c196cbaf41316ae5c0f4b64645aa4;p=ieee754fpu.git move variable to pyi file --- diff --git a/src/ieee754/part_mul_add/multiply.py b/src/ieee754/part_mul_add/multiply.py index be736e8e..0fe18051 100644 --- a/src/ieee754/part_mul_add/multiply.py +++ b/src/ieee754/part_mul_add/multiply.py @@ -313,7 +313,6 @@ class AddReduce(Elaboratable): m.d.comb += self.output.eq(adder.output) return m # go on to handle recursive case - intermediate_terms: List[Signal] intermediate_terms = [] def add_intermediate_term(value): diff --git a/src/ieee754/part_mul_add/multiply.pyi b/src/ieee754/part_mul_add/multiply.pyi index e96c5974..deada238 100644 --- a/src/ieee754/part_mul_add/multiply.pyi +++ b/src/ieee754/part_mul_add/multiply.pyi @@ -64,8 +64,7 @@ class AddReduce(Elaboratable): ... def elaborate(self, platform: Any) -> Module: - ... - + intermediate_terms: List[Signal] def add_intermediate_term(value: Value) -> None: ...