add eqv to logical unit test
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 22 Aug 2020 15:10:03 +0000 (16:10 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 22 Aug 2020 15:10:03 +0000 (16:10 +0100)
src/soc/fu/logical/test/test_pipe_caller.py

index 3002a4ee13ef0f048d154eb3929688a1479148ee..298f359c9b61fad4789a0f6c1a388971b9642ab9 100644 (file)
@@ -72,7 +72,7 @@ class LogicalTestCase(TestAccumulatorBase):
             self.add_case(Program(lst, bigendian), initial_regs)
 
     def case_rand(self):
-        insns = ["and", "or", "xor"]
+        insns = ["and", "or", "xor", "eqv"]
         for i in range(40):
             choice = random.choice(insns)
             lst = [f"{choice} 3, 1, 2"]