missing test.mem arg for ISA in test_core
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 6 Jun 2020 17:31:02 +0000 (18:31 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 6 Jun 2020 17:31:02 +0000 (18:31 +0100)
src/soc/simple/test/test_core.py

index ace4b256c6a046a9a45852de2992cfffc9bffe12..17742940b842e89e2b02c2fc1b6b9f1432784d85 100644 (file)
@@ -77,7 +77,7 @@ class TestRunner(FHDLTestCase):
                 print(test.name)
                 program = test.program
                 self.subTest(test.name)
-                sim = ISA(pdecode2, test.regs, test.sprs, test.cr)
+                sim = ISA(pdecode2, test.regs, test.sprs, test.cr, test.mem)
                 gen = program.generate_instructions()
                 instructions = list(zip(gen, program.assembly.splitlines()))