add comments for MultiCompUnit parallel test
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 31 May 2020 17:03:31 +0000 (18:03 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 31 May 2020 17:03:31 +0000 (18:03 +0100)
src/soc/experiment/test/test_compalu_multi.py

index f794ad98aa8259fbcc4b8c7fb9329b5857a6b40d..71b592a4db7b5a59d205cc67e8eb52b9d4d6bd34 100644 (file)
@@ -224,6 +224,11 @@ class CompUnitParallelTest:
               "it's because the above test unexpectedly passed.")
 
     def rd(self, rd_idx):
+        # TODO: rdmaskn (inverted-rdmask) now needs to be included, here.
+        # any bit in rdmaskn, if set, indicates that the corresponding bit
+        # in rd.rel must *not* be activated (never go HI).  likewise, the
+        # corresponding rd.go bit should never be raised
+
         # wait for issue_i to rise
         while True:
             issue_i = yield self.dut.issue_i