add empty default_mem for running without MMU
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 27 Dec 2021 12:49:50 +0000 (12:49 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 27 Dec 2021 12:49:50 +0000 (12:49 +0000)
src/openpower/test/runner.py

index 55f2f3727a86eab14a6f4d407fee7c054d3a071d..9721af0a29a3c8724fb2a3b27c0261a8886eaca4 100644 (file)
@@ -496,6 +496,7 @@ class TestRunnerBase(FHDLTestCase):
 
         # optionally, if a wishbone-based ROM is passed in, run that as an
         # extra emulated process
+        self.default_mem = {}
         if self.rom is not None:
             print ("TestRunner with MMU ROM")
             pprint (self.rom)