Don't use OP_NOP for zero-delay subtraction
[soc.git] / src / soc / experiment / test / test_compalu_multi.py
index 3e29593522de184591b1b115c11c50b097bc6f9c..ed97189d55cd9667fd712d054f2aaf0042e686b5 100644 (file)
@@ -451,7 +451,7 @@ def scoreboard_sim(op):
     # In the test ALU, any operation other than ADD, MUL, EXTS or SHR
     # is zero-delay, and do a subtraction.
     # 5 - 2 = 3
-    yield from op.issue([5, 2], MicrOp.OP_NOP, [3],
+    yield from op.issue([5, 2], MicrOp.OP_CMP, [3],
                         src_delays=[0, 1], dest_delays=[2])
     # test all combinations of masked input ports
     # sign_extend(0x80) = 0xFF80