From 5a2c61f38fb4716513895c98b86925ad6bda8e90 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 3 Apr 2020 22:36:27 +0100 Subject: [PATCH] remove quotes because we are passing the function through --- src/soc/decoder/pseudo/pywriter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/decoder/pseudo/pywriter.py b/src/soc/decoder/pseudo/pywriter.py index 610ca14f..2934ab44 100644 --- a/src/soc/decoder/pseudo/pywriter.py +++ b/src/soc/decoder/pseudo/pywriter.py @@ -52,7 +52,7 @@ class PyISAWriter(ISA): else: f.write("\n") # cumulate the instruction info - iinfo = "('%s', %s, %s, %s)" % \ + iinfo = "(%s, %s, %s, %s)" % \ (pagename, rused['read_regs'], rused['uninit_regs'], rused['write_regs']) iinf += " instrs['%s'] = %s\n" % (pagename, iinfo) -- 2.30.2