From e529e403656ae3dba2b3b43b9a431d3bc813f21b Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 5 Apr 2020 19:59:25 +0100 Subject: [PATCH] add printout of instruction Form --- src/soc/decoder/pseudo/pywriter.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/soc/decoder/pseudo/pywriter.py b/src/soc/decoder/pseudo/pywriter.py index ca213514..9d9af8c6 100644 --- a/src/soc/decoder/pseudo/pywriter.py +++ b/src/soc/decoder/pseudo/pywriter.py @@ -62,9 +62,10 @@ class PyISAWriter(ISA): else: f.write("\n") # accumulate the instruction info - iinfo = "(%s, %s,\n %s, %s)" % \ + iinfo = "(%s, %s,\n %s, %s, '%s')" % \ (op_fname, rused['read_regs'], - rused['uninit_regs'], rused['write_regs']) + rused['uninit_regs'], rused['write_regs'], + d.form) iinf += " %s_instrs['%s'] = %s\n" % (pagename, page, iinfo) # write out initialisation of info, for ISACaller to use f.write(" %s_instrs = {}\n" % pagename) -- 2.30.2