From: Cole Poirier Date: Fri, 7 Aug 2020 01:05:10 +0000 (-0700) Subject: Update test case_mulli, I think it now works correctly X-Git-Tag: semi_working_ecp5~424 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f432bc543459407fbd090ae6d77e802e374b35c;p=soc.git Update test case_mulli, I think it now works correctly --- 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)