add not-connected pads to ls180
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 11 Nov 2020 13:52:32 +0000 (13:52 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 11 Nov 2020 13:52:32 +0000 (13:52 +0000)
src/spec/ls180.py

index 6bc939514ac67970efb3b89efdb441dcf368d09f..80dd2930044f1fc4d83b926eed8106fe449208b6 100644 (file)
@@ -364,7 +364,11 @@ def pinparse(psp, pinspec):
     for pl in [pe, pw, pn, ps]:
         for i in range(len(pl)):
             if pl[i] == '':
     for pl in [pe, pw, pn, ps]:
         for i in range(len(pl)):
             if pl[i] == '':
-                pl[i] = 'nc_%d' % nc_idx
+                name = 'nc_%d' % nc_idx
+                name2 = 'nc(%d)' % nc_idx
+                pl[i] = name
+                pinmap[name] = name
+                iopads.append([name, name2, name2, "-"])
                 nc_idx += 1
 
     print p.bankstart
                 nc_idx += 1
 
     print p.bankstart