add comment about simulation bugs
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 18 Aug 2019 05:29:21 +0000 (06:29 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 18 Aug 2019 05:29:21 +0000 (06:29 +0100)
src/ieee754/part_mul_add/multiply.py

index f24724bf3d68900ef2f941be84528dad7d859135..2997dc0dd8ffd60418f72a83b38bb1e4b4731204 100644 (file)
@@ -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)