set fake PLL Master Cell directions explicitly
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 27 May 2021 13:50:12 +0000 (13:50 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 27 May 2021 13:50:12 +0000 (13:50 +0000)
experiments9/pll.py

index ec317551ac0b1b0442f6ab95940edab4233b2136..68a3bf6b4bfea1cede790269b26f5dfd5bb49570 100644 (file)
@@ -226,6 +226,14 @@ def _load():
             'out_v': Net.create(cell, 'out_v'),
         }
 
+        # set net directions
+        nets['ref'].setDirection( Net.Direction.IN )
+        nets['a0'].setDirection( Net.Direction.IN )
+        nets['a1'].setDirection( Net.Direction.IN )
+        nets['div_out_test'].setDirection( Net.Direction.OUT )
+        nets['vco_test_ana'].setDirection( Net.Direction.OUT )
+        nets['out_v'].setDirection( Net.Direction.OUT )
+
         # create series of stepped pins
         x = space*20
         wid = space