add msr to ISA in test_core.py
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 7 Jun 2020 15:03:12 +0000 (16:03 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 7 Jun 2020 15:03:12 +0000 (16:03 +0100)
src/soc/simple/test/test_core.py

index 17742940b842e89e2b02c2fc1b6b9f1432784d85..cd8ca928e74de72f30ef57a0b2586993ee532892 100644 (file)
@@ -77,7 +77,8 @@ class TestRunner(FHDLTestCase):
                 print(test.name)
                 program = test.program
                 self.subTest(test.name)
-                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()))