add missing arg to ISA in test_compunit
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 7 Jun 2020 12:26:58 +0000 (13:26 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 7 Jun 2020 12:26:58 +0000 (13:26 +0100)
src/soc/fu/compunits/test/test_compunit.py

index 67e7025f876716d9468a10c0bad24f6df3fc387a..42bfad751ecce2c68119ab85e3bb2802631acfbc 100644 (file)
@@ -142,7 +142,8 @@ class TestRunner(FHDLTestCase):
                 program = test.program
                 self.subTest(test.name)
                 print ("test", test.name, test.mem)
-                sim = ISA(pdecode2, test.regs, test.sprs, test.cr, test.mem)
+                sim = ISA(pdecode2, test.regs, test.sprs, test.cr, test.mem,
+                          test.msr)
                 gen = program.generate_instructions()
                 instructions = list(zip(gen, program.assembly.splitlines()))