From fa814a911f955a73c6a8b4f2e8563e09bd7d8f98 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 11 Nov 2020 14:21:59 +0000 Subject: [PATCH] power and ground have to be named power and ground --- src/spec/ls180.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/spec/ls180.py b/src/spec/ls180.py index c08bea3..b17b219 100644 --- a/src/spec/ls180.py +++ b/src/spec/ls180.py @@ -166,19 +166,22 @@ def pinparse(psp, pinspec): if name.startswith('vss'): name = 'p_%s_' % name[:-2] + name[-1] if 'i' in name: + name = 'power_' + name[-1] name2 = 'vss' else: + name = 'iopower_' + name[-1] name2 = 'iovss' pad = [name, name2] # VDD elif name.startswith('vdd'): if 'i' in name: n_intpower += 1 + name = 'ground_' + name[-1] name2 = 'vdd' else: n_extpower += 1 + name = 'ioground_' + name[-1] name2 = 'iovdd' - name = 'p_%s_' % name[:-2] + name[-1] pad = [name, name2] # SYS elif name.startswith('sys'): @@ -325,7 +328,8 @@ def pinparse(psp, pinspec): domain = 'JTAG' if name and not name.startswith('p_'): - name = 'p_' + name + if 'power' not in name and 'ground' not in name: + name = 'p_' + name if name is not None: padbank[banknum] = name # create domains -- 2.30.2