add extra args to ISA in test_pipe_caller.py
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 7 Jun 2020 13:42:26 +0000 (14:42 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 7 Jun 2020 13:42:26 +0000 (14:42 +0100)
src/soc/fu/shift_rot/test/test_pipe_caller.py

index c8e3153e5a64e29a77fe5071d21f9be0a545ce8e..1e09224d3ef72bf5d2dc06266358251aadb3341b 100644 (file)
@@ -229,7 +229,8 @@ class TestRunner(FHDLTestCase):
                 print(test.name)
                 program = test.program
                 self.subTest(test.name)
-                simulator = ISA(pdecode2, test.regs, test.sprs, 0)
+                simulator = ISA(pdecode2, test.regs, test.sprs, test.cr,
+                                test.mem, test.msr)
                 gen = program.generate_instructions()
                 instructions = list(zip(gen, program.assembly.splitlines()))