add MMUTestCaseROM
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 1 May 2021 15:24:49 +0000 (16:24 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 1 May 2021 15:24:49 +0000 (16:24 +0100)
src/soc/simple/test/test_issuer_mmu.py

index 13b278b2ae1750143b47bb1589e7662923575d46..5b995afcdf3b6aacb616bdb07263ee2e26a924de 100644 (file)
@@ -20,6 +20,7 @@ from soc.simple.test.test_runner import TestRunner
 
 # test with MMU
 from openpower.test.mmu.mmu_cases import MMUTestCase
+from openpower.test.mmu.mmu_rom_cases import MMUTestCaseROM, default_mem
 #from openpower.test.ldst.ldst_cases import LDSTTestCase
 #from openpower.simulator.test_sim import (GeneralTestCases, AttnTestCase)
 
@@ -40,6 +41,9 @@ if __name__ == "__main__":
     #                          microwatt_mmu=True))
     suite.addTest(TestRunner(MMUTestCase().test_data, svp64=svp64,
                               microwatt_mmu=True))
+    suite.addTest(TestRunner(MMUTestCaseROM().test_data, svp64=svp64,
+                              microwatt_mmu=True,
+                              rom=default_mem))
 
     runner = unittest.TextTestRunner()
     runner.run(suite)