From 7f432bc543459407fbd090ae6d77e802e374b35c Mon Sep 17 00:00:00 2001 From: Cole Poirier Date: Thu, 6 Aug 2020 18:05:10 -0700 Subject: [PATCH] Update test case_mulli, I think it now works correctly --- src/soc/fu/mul/test/test_pipe_caller.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/soc/fu/mul/test/test_pipe_caller.py b/src/soc/fu/mul/test/test_pipe_caller.py index 82974d38..76889410 100644 --- a/src/soc/fu/mul/test/test_pipe_caller.py +++ b/src/soc/fu/mul/test/test_pipe_caller.py @@ -291,10 +291,9 @@ class MulTestCase(TestAccumulatorBase): for i in range(40): choice = random.choice(test_values) - l = [f"mulli 1, 0, {choice}"] + l = [f"mulli 0, 1, {choice}"] initial_regs = [0] * 32 initial_regs[1] = random.randint(-1 << 15, (1 << 15) - 1) - initial_regs[2] = random.randint(-1 << 15, (1 << 15) - 1) # use "with" so as to close the files used with Program(l, bigendian) as prog: self.add_case(prog, initial_regs) -- 2.30.2