From 75793a70f9efe155b8553a1a82e478a4ba17cec6 Mon Sep 17 00:00:00 2001 From: Michael Nolan Date: Mon, 6 Apr 2020 09:14:39 -0400 Subject: [PATCH] Fix broken tests from parser update --- 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 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) -- 2.30.2