From: Michael Nolan Date: Wed, 20 May 2020 19:47:08 +0000 (-0400) Subject: Make test for bpermd exercise the module a bit more X-Git-Tag: div_pipeline~1005 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4cd45353ad588fc251fa89cdae94513b3df22753;p=soc.git Make test for bpermd exercise the module a bit more --- diff --git a/src/soc/fu/logical/test/test_pipe_caller.py b/src/soc/fu/logical/test/test_pipe_caller.py index b3b46408..4a2c09f0 100644 --- a/src/soc/fu/logical/test/test_pipe_caller.py +++ b/src/soc/fu/logical/test/test_pipe_caller.py @@ -174,10 +174,11 @@ class LogicalTestCase(FHDLTestCase): def test_bpermd(self): lst = ["bpermd 3, 1, 2"] - initial_regs = [0] * 32 - initial_regs[1] = 0xdeadbeefcafec0de - initial_regs[2] = 0xd0adb0000afec1de - self.run_tst_program(Program(lst), initial_regs) + for i in range(20): + initial_regs = [0] * 32 + initial_regs[1] = 1<