Fix broken tests from parser update
authorMichael Nolan <mtnolan2640@gmail.com>
Mon, 6 Apr 2020 13:14:39 +0000 (09:14 -0400)
committerMichael Nolan <mtnolan2640@gmail.com>
Mon, 6 Apr 2020 13:14:39 +0000 (09:14 -0400)
src/soc/decoder/pseudo/pywriter.py

index c33f944cad45348a16307a3ce863aa5b6fffa513..e43cc41ff8300bc406271f00d24f0dc682691eaa 100644 (file)
@@ -72,8 +72,9 @@ class PyISAWriter(ISA):
                 # accumulate the instruction info
                 ops = repr(rused['op_fields'])
                 iinfo = iinfo_template % (op_fname, rused['read_regs'],
-                                rused['uninit_regs'], rused['write_regs'],
-                                ops, d.regs, d.form)
+                                          rused['uninit_regs'],
+                                          rused['write_regs'],
+                                          ops, d.form, d.regs)
                 iinf += "    %s_instrs['%s'] = %s\n" % (pagename, page, iinfo)
             # write out initialisation of info, for ISACaller to use
             f.write("    %s_instrs = {}\n" % pagename)