From: Luke Kenneth Casson Leighton Date: Mon, 23 Jul 2018 12:32:15 +0000 (+0100) Subject: sort out mkConnection for gpio vectorised X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fde5e5a592f56f34d7fe8994ebc64f841bf6b897;p=pinmux.git sort out mkConnection for gpio vectorised --- diff --git a/src/bsv/peripheral_gen/gpio.py b/src/bsv/peripheral_gen/gpio.py index 222f144..8678b48 100644 --- a/src/bsv/peripheral_gen/gpio.py +++ b/src/bsv/peripheral_gen/gpio.py @@ -72,7 +72,7 @@ class gpio(PBase): # special-case for gpio in, store in a temporary vector ret = [] plen = len(self.peripheral.pinspecs) - template = " mkConnection({0}_{1},\n\t\t\t{2}_{1});" + template = " mkConnection({0}.{1},\n\t\t\t{2}_{1});" ps = "pinmux.peripheral_side.%s" % name n = "{0}.func.gpio".format(name) for ptype in ['out', 'out_en', 'in']: