hex dump debug
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 27 May 2021 17:08:37 +0000 (18:08 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 27 May 2021 17:08:37 +0000 (18:08 +0100)
src/openpower/decoder/isa/pypowersim.py

index 5cd9353a80629ea7fe546966b1c44efac210fdf5..b32815dd8bd58bfd0647c38f2a67860e6ac62519 100644 (file)
@@ -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