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.

Parameters:
  • width – width of the area.

  • length – length of the area.

  • via_size – size of the via.

  • via_layer – layer of the via.

  • via_enclosure – enclosure of the via.

  • via_spacing – spacing between the vias.

import sky130

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

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

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