From 34c7c241f835331d88299696255ba4f82e5cf7b1 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 13 Jun 2018 11:54:02 +0100 Subject: [PATCH] cell[0] is a string not an int --- src/bsv/actual_pinmux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) + \ -- 2.30.2