From: Luke Kenneth Casson Leighton Date: Mon, 23 Jul 2018 06:49:21 +0000 (+0100) Subject: fix single name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aeee448d79b42da3df217f19fa514ab0aec90fda;p=pinmux.git fix single name --- diff --git a/src/bsv/interface_decl.py b/src/bsv/interface_decl.py index 0ae52ab..6edaa5a 100644 --- a/src/bsv/interface_decl.py +++ b/src/bsv/interface_decl.py @@ -177,7 +177,10 @@ class Interface(PeripheralIface): #{'name': 'twi_sda_in', 'action': False} # NOTice - outen key is removed else: - _p['name_'] = p['name'] + name = p['name'] + if self.single: + name = self.pname(name) + _p['name_'] = name _p['name'] = self.pname(p['name']) self.pins.append(Pin(**_p))