From: Luke Kenneth Casson Leighton Date: Sun, 18 Aug 2019 05:29:21 +0000 (+0100) Subject: add comment about simulation bugs X-Git-Tag: ls180-24jan2020~485 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67d91fa75667a464498d87111018ad48397acfde;p=ieee754fpu.git add comment about simulation bugs --- 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)