From: Michael Nolan Date: Mon, 6 Apr 2020 13:14:39 +0000 (-0400) Subject: Fix broken tests from parser update X-Git-Tag: div_pipeline~1444 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75793a70f9efe155b8553a1a82e478a4ba17cec6;p=soc.git Fix broken tests from parser update --- diff --git a/src/soc/decoder/pseudo/pywriter.py b/src/soc/decoder/pseudo/pywriter.py index c33f944c..e43cc41f 100644 --- a/src/soc/decoder/pseudo/pywriter.py +++ b/src/soc/decoder/pseudo/pywriter.py @@ -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)