Reimplement gdsMill pin functions so they are run once when a GDS is loaded. Get pins is now a table lookup.

This commit is contained in:
Matt Guthaus
2018-11-07 11:31:44 -08:00
parent 485590052a
commit 1fe767343e
12 changed files with 116 additions and 165 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ class dff(design.design):
pin_names = ["D", "Q", "clk", "vdd", "gnd"]
(width,height) = utils.get_libcell_size("dff", GDS["unit"], layer["boundary"])
pin_map = utils.get_libcell_pins(pin_names, "dff", GDS["unit"], layer["boundary"])
pin_map = utils.get_libcell_pins(pin_names, "dff", GDS["unit"])
def __init__(self, name="dff"):
design.design.__init__(self, name)