From: Luke Kenneth Casson Leighton Date: Wed, 13 Jun 2018 10:54:02 +0000 (+0100) Subject: cell[0] is a string not an int X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34c7c241f835331d88299696255ba4f82e5cf7b1;p=pinmux.git cell[0] is a string not an int --- diff --git a/src/bsv/actual_pinmux.py b/src/bsv/actual_pinmux.py index 3412be1..356adb6 100644 --- a/src/bsv/actual_pinmux.py +++ b/src/bsv/actual_pinmux.py @@ -45,7 +45,7 @@ def init(p, ifaces): p.pinmux = ' ' global dedicated_wire for cell in p.muxed_cells: - p.pinmux += " // output muxer for cell idx %d\n" % cell[0] + p.pinmux += " // output muxer for cell idx %s\n" % cell[0] p.pinmux += " %s_out=" % cn(cell[0]) for i in range(0, len(cell) - 2): p.pinmux += "wr%s" % cn(cell[0]) + \