remove quotes because we are passing the function through
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 3 Apr 2020 21:36:27 +0000 (22:36 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 3 Apr 2020 21:36:27 +0000 (22:36 +0100)
src/soc/decoder/pseudo/pywriter.py

index 610ca14f016a23407547cc379bcacdd219c323ef..2934ab44082d0273758b77f0d5ae10a37ded4af5 100644 (file)
@@ -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)