From 9c00a629a2e0a6c564b785e35a54067525846bff Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Thu, 22 Sep 2022 08:43:46 +0000 Subject: [PATCH] dump memory --- src/openpower/decoder/isa/pypowersim.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/openpower/decoder/isa/pypowersim.py b/src/openpower/decoder/isa/pypowersim.py index 57e5b9d4..a9655736 100644 --- a/src/openpower/decoder/isa/pypowersim.py +++ b/src/openpower/decoder/isa/pypowersim.py @@ -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(): -- 2.30.2