connect up dummy "NC" pins
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 28 Sep 2020 11:06:47 +0000 (11:06 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 28 Sep 2020 11:06:47 +0000 (11:06 +0000)
experiments9/coriolis2/ioring.py

index 6d2849837642420edb1d6725fdd7aa0cb82230e7..c0dfafccf911722a50d6e14d382fbd354f56e9e0 100644 (file)
@@ -116,15 +116,22 @@ for (padnum, name, _), bank in zip(p.muxed_cells, p.muxed_cells_bank):
 
 # couple of unknown signals
 #pw[25] = 'p_sys_rst_1'
-pn[0] = 'p_vddeck_0'
-pn[1] = 'p_vsseck_0'
-ps[11] = 'p_vddick_0'
-ps[12] = 'p_vssick_0'
+pe[13] = 'p_vddeck_0'
+pe[23] = 'p_vsseck_0'
+pw[10] = 'p_vddick_0'
+pw[17] = 'p_vssick_0'
 
-pw = filter(lambda x:x, pw)
-ps = filter(lambda x:x, ps)
-pn = filter(lambda x:x, pn)
-pe = filter(lambda x:x, pe)
+nc_idx = 0
+for pl in [pe, pw, pn, ps]:
+    for i in range(len(pl)):
+        if pl[i] == '':
+            pl[i] = 'nc_%d' % nc_idx
+            nc_idx += 1
+
+#pw = filter(lambda x:x, pw)
+#ps = filter(lambda x:x, ps)
+#pn = filter(lambda x:x, pn)
+#pe = filter(lambda x:x, pe)
 
 print p.bankstart
 print pn