From 6dd3cf7e591c51973843661066e7ca39576222b3 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 6 Apr 2020 13:56:33 +0100 Subject: [PATCH] whoops swap regs and form --- src/soc/decoder/pseudo/pywriter.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/soc/decoder/pseudo/pywriter.py b/src/soc/decoder/pseudo/pywriter.py index a8f9bdab..c33f944c 100644 --- a/src/soc/decoder/pseudo/pywriter.py +++ b/src/soc/decoder/pseudo/pywriter.py @@ -73,7 +73,7 @@ class PyISAWriter(ISA): ops = repr(rused['op_fields']) iinfo = iinfo_template % (op_fname, rused['read_regs'], rused['uninit_regs'], rused['write_regs'], - ops, d.form, d.regs) + ops, d.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) @@ -99,9 +99,6 @@ class PyISAWriter(ISA): f.write(' }\n') - - - if __name__ == '__main__': isa = PyISAWriter() if len(sys.argv) == 1: # quick way to do it -- 2.30.2