Browse Source

get a techlib by name

devel
stefan 1 week ago
parent
commit
bd23dfb016
  1. 5
      src/kyupy/techlib.py

5
src/kyupy/techlib.py

@ -10,7 +10,6 @@ from itertools import product
from . import bench from . import bench
class TechLib: class TechLib:
"""Class for standard cell library definitions. """Class for standard cell library definitions.
@ -640,4 +639,6 @@ $lpflow_isobufsrckapwr_16 input(A,SLEEP) output(X) AI=INV1(A) X=OR2(AI,SL
$lpflow_inputisolatch_1 input(D,SLEEP_B) output(Q) Q=LATCH(D,SLEEP_B) ; $lpflow_inputisolatch_1 input(D,SLEEP_B) output(Q) Q=LATCH(D,SLEEP_B) ;
""".replace('$','sky130_fd_sc_hd__')) """.replace('$','sky130_fd_sc_hd__'))
"""SkyWater 130nm High Density Digital Standard Cells (skywater-pdk-libs-sky130_fd_sc_hd). """SkyWater 130nm High Density Digital Standard Cells (skywater-pdk-libs-sky130_fd_sc_hd).
""" """
techlib_by_name = {k: v for k, v in globals().items() if isinstance(v, TechLib)}
Loading…
Cancel
Save