Allow at least one operand to be fetched
authorCesar Strauss <cestrauss@gmail.com>
Tue, 2 Jun 2020 09:37:57 +0000 (06:37 -0300)
committerCesar Strauss <cestrauss@gmail.com>
Tue, 2 Jun 2020 09:37:57 +0000 (06:37 -0300)
We successfully disabled all rel signals. One was immediate, the other was
masked. Let's enable at least one of them, for now.
When the test code is complete, we will be able to issue several
transactions in sequence, with different combinations. We are not there
yet.

src/soc/experiment/test/test_compalu_multi.py

index 95e8f3c546f81f33c9231c5621d3adea0e953d92..e80f231724ec44261f8cf380d6f6855d76f7b14a 100644 (file)
@@ -144,7 +144,7 @@ class CompUnitParallelTest:
     def driver(self):
         print("Begin parallel test.")
         yield from self.operation(5, 2, InternalOp.OP_ADD, inv_a=0,
-                                  imm=8, imm_ok=1, rdmaskn=(1, 0))
+                                  imm=8, imm_ok=0, rdmaskn=(1, 0))
 
     def operation(self, a, b, op, inv_a=0, imm=0, imm_ok=0, zero_a=0,
                   rdmaskn=(0, 0)):