dump memory
authorKonstantinos Margaritis <konstantinos.margaritis@vectorcamp.gr>
Thu, 22 Sep 2022 08:43:46 +0000 (08:43 +0000)
committerKonstantinos Margaritis <konstantinos.margaritis@vectorcamp.gr>
Thu, 22 Sep 2022 08:43:46 +0000 (08:43 +0000)
src/openpower/decoder/isa/pypowersim.py

index 57e5b9d453806acc0fd6732a9609532789301ea6..a9655736b8d0af31d60b0a881bdfed9ebfdf7bc9 100644 (file)
@@ -310,6 +310,9 @@ def run_a_simulation(binary, bigendian, prog,
                             initial_pc=initial_pc)
         print("GPRs")
         simulator.gpr.dump()
+        print("memory")
+        simulator.mem.dump()
+
         return simulator
 
 def run_simulation():