add extra missing args to ISA setup in alu test_pipe_caller
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 7 Jun 2020 12:16:23 +0000 (13:16 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 7 Jun 2020 12:16:23 +0000 (13:16 +0100)
src/soc/fu/alu/test/test_pipe_caller.py

index f3e021f4380bf6b9138ed7e01683fd82ee78c303..13f059ebadc6e621bac3206e1aa7352d48b5b7fd 100644 (file)
@@ -203,7 +203,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()))