ubcpdk.cells.pad_array

Contents

ubcpdk.cells.pad_array#

ubcpdk.cells.pad_array(pad='pad', columns=6, rows=1, column_pitch=125.0, row_pitch=125.0, port_orientation=270, size=None, layer=None, centered_ports=False, auto_rename_ports=False)[source]#

Returns 2D array of pads.

Parameters:
  • pad (str | Callable[[...], Component] | dict[str, Any] | DKCell) – pad element.

  • columns (int) – number of columns.

  • rows (int) – number of rows.

  • column_pitch (float) – x pitch.

  • row_pitch (float) – y pitch.

  • port_orientation (float) – port orientation in deg. None for low speed DC ports.

  • size (tuple[float, float] | None) – pad size.

  • layer (tuple[int, int] | str | int | LayerEnum | None) – pad layer.

  • centered_ports (bool) – True add ports to center. False add ports to the edge.

  • auto_rename_ports (bool) – True to auto rename ports.

Return type:

Component