From: Luke Kenneth Casson Leighton Date: Thu, 27 May 2021 17:08:37 +0000 (+0100) Subject: hex dump debug X-Git-Tag: xlen-bcd~526 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1926e965b850674b506bd3f012ccd5da9c409784;p=openpower-isa.git hex dump debug --- diff --git a/src/openpower/decoder/isa/pypowersim.py b/src/openpower/decoder/isa/pypowersim.py index 5cd9353a..b32815dd 100644 --- a/src/openpower/decoder/isa/pypowersim.py +++ b/src/openpower/decoder/isa/pypowersim.py @@ -142,7 +142,7 @@ def run_tst(args, generator, qemu, for fpr, val in enumerate(initial_fprs): qemu.set_fpr(fpr, val) for reg, val in qemu._get_registers().items(): - print (reg, val) + print (reg, hex(val)) m = Module() comb = m.d.comb