From 67d91fa75667a464498d87111018ad48397acfde Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 18 Aug 2019 06:29:21 +0100 Subject: [PATCH] add comment about simulation bugs --- src/ieee754/part_mul_add/multiply.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ieee754/part_mul_add/multiply.py b/src/ieee754/part_mul_add/multiply.py index f24724bf..2997dc0d 100644 --- a/src/ieee754/part_mul_add/multiply.py +++ b/src/ieee754/part_mul_add/multiply.py @@ -164,6 +164,10 @@ class PartitionedAdder(Elaboratable): expanded_width += 1 expanded_width += 1 self._expanded_width = expanded_width + # XXX these have to remain here due to some horrible nmigen + # simulation bugs involving sync. it is *not* necessary to + # have them here, they should (under normal circumstances) + # be moved into elaborate, as they are entirely local self._expanded_a = Signal(expanded_width) self._expanded_b = Signal(expanded_width) self._expanded_output = Signal(expanded_width) -- 2.30.2