From: Luke Kenneth Casson Leighton Date: Sat, 17 Aug 2019 12:56:19 +0000 (+0100) Subject: add name to Term output X-Git-Tag: ls180-24jan2020~501 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=180eea7a056fd778e4f4acfda3c9ad5600af7a67;p=ieee754fpu.git add name to Term output --- diff --git a/src/ieee754/part_mul_add/multiply.py b/src/ieee754/part_mul_add/multiply.py index 8ffd3ae7..d048065f 100644 --- a/src/ieee754/part_mul_add/multiply.py +++ b/src/ieee754/part_mul_add/multiply.py @@ -415,6 +415,7 @@ class ProductTerm(Elaboratable): term_enabled = None Term.__init__(self, width*2, twidth, shift, term_enabled) + self.term.name = "term_%d_%d" % (a_index, b_index) # rename def elaborate(self, platform): @@ -432,6 +433,7 @@ class ProductTerm(Elaboratable): return m + class Part(Elaboratable): def __init__(self, width, n_parts, n_levels, pbwid):