sky130.pcells.via_generator

Contents

sky130.pcells.via_generator#

sky130.pcells.via_generator(width: float = 1, length: float = 1, via_size: tuple[float, float] = (0.17, 0.17), via_layer: LayerEnum | str | tuple[int, int] = (66, 44), via_enclosure: tuple[float, float] = (0.06, 0.06), via_spacing: tuple[float, float] = (0.17, 0.17)) Component[source]#

Return vias within the area of width x length and set number of rows and number of columns as a global variable to be used outside the function.

import sky130

c = sky130.pcells.via_generator()
c.plot()

(Source code, png, hires.png, pdf)

../_images/sky130-pcells-via_generator-1.png