From 180eea7a056fd778e4f4acfda3c9ad5600af7a67 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 17 Aug 2019 13:56:19 +0100 Subject: [PATCH] add name to Term output --- src/ieee754/part_mul_add/multiply.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- 2.30.2