Hold rdmaskn active during the busy_o cycle
authorCesar Strauss <cestrauss@gmail.com>
Tue, 2 Jun 2020 09:21:50 +0000 (06:21 -0300)
committerCesar Strauss <cestrauss@gmail.com>
Tue, 2 Jun 2020 09:21:50 +0000 (06:21 -0300)
src/soc/experiment/test/test_compalu_multi.py

index ad70a1ecd0869990b3a0ea8d8a3fb9f6e3378d65..95e8f3c546f81f33c9231c5621d3adea0e953d92 100644 (file)
@@ -198,12 +198,13 @@ class CompUnitParallelTest:
 
         # deactivate inputs along with issue_i, so we can be sure the data
         # was latched at the correct cycle
+        # note: rdmaskn must be held, while busy_o is active
+        # TODO: deactivate rdmaskn when the busy_o cycle ends
         yield self.dut.oper_i.insn_type.eq(0)
         yield self.dut.oper_i.invert_a.eq(0)
         yield self.dut.oper_i.imm_data.imm.eq(0)
         yield self.dut.oper_i.imm_data.imm_ok.eq(0)
         yield self.dut.oper_i.zero_a.eq(0)
-        yield self.dut.rdmaskn.eq(0)
         yield
 
         # wait for busy_o to lower