From fde5e5a592f56f34d7fe8994ebc64f841bf6b897 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 23 Jul 2018 13:32:15 +0100 Subject: [PATCH] sort out mkConnection for gpio vectorised --- src/bsv/peripheral_gen/gpio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']: -- 2.30.2