Place pins on the boundary of the die on the track grid to minimize net wirelengths. Pin placement also creates a metal shape for each pin using min-area rules.
For designs with unplaced cells, the net wirelength is computed considering the center of the die area as the unplaced cells' position.
Use the following command to perform pin placement:
place_pins [-hor_layers <h_layers>]
[-ver_layers <v_layers>]
[-random_seed <seed>]
[-exclude <interval>]
[-random]
[-group_pins <pins>]
[-corner_avoidance <length>]
[-min_distance <distance>]
[-min_distance_in_tracks]
-hor_layers(mandatory). Specify the layers to create the metal shapes of pins placed in horizontal tracks. Can be a single layer or a list of layer names.-ver_layers(mandatory). Specify the layers to create the metal shapes of pins placed in vertical tracks. Can be a single layer or a list of layer names.-random_seed. Specify the seed for random operations.-exclude. Specify an interval in one of the four edges of the die boundary where pins cannot be placed. Can be used multiple times. The interval is defined in microns.-random. When this flag is enabled, the pin placement is random.-group_pins. Specify a list of pins to be placed together on the die boundary.-corner_avoidance distance. Specify the distance (in microns) from each corner within which pin placement should be avoided.-min_distance distance. Specify the minimum distance between pins on the die boundary. This distance can be in microns (default) or in number of tracks between each pin.-min_distance_in_tracks. Flag that allows setting the min distance in number of tracks instead of microns.
The exclude option syntax is -exclude edge:interval. The edge values are
(top|bottom|left|right). The interval can be the whole edge, with the *
value, or a range of values. For example, in place_pins -hor_layers metal2 -ver_layers metal3 -exclude top:* -exclude right:15-60.5 -exclude left:*-50
three intervals are excluded: the whole top edge, the right edge from 15
microns to 60.5 microns, and the left edge from its beginning to 50 microns.
place_pin [-pin_name <pin_name>]
[-layer <layer>]
[-location <{x y}>]
[-pin_size <{width height}>]
The place_pin command places a specific pin in the specified location, with the specified size.
-pin_nameoption is the name of a pin of the design.-layerdefines the routing layer where the pin is placed.-locationdefines the center of the pin (in microns).-pin_sizeoption defines the width and height of the pin (in microns).-force_to_die_boundary. When this flag is enabled, the pin will be snapped to the nearest routing track, next to the die boundary.
It is recommended that the placement of individual pins be done before the place_pins command,
as the routing tracks occupied by these individual pins will be blocked, preventing overlaps.
The set_io_pin_constraint command sets region constraints for pins according
to the pin direction or the pin name. This command can be called multiple
times with different constraints. Only one condition should be used for
each command call.
The -direction argument is the pin direction (input, output, inout, or
feedthrough). The -pin_names argument is a list of names. The -region
syntax is the same as that of the -exclude syntax.
Note that if you call define_pin_shape_pattern before
set_io_pin_constraint, the edge values are (up, top,
bottom, left, right). Where up relates to the layer created by
define_pin_shape_pattern. To restrict pins to the pin placement grid
defined with define_pin_shape_pattern use:
-region up:{llx lly urx ury}to restrict the pins into a specific region in the grid. The region is defined in microns.-region up:*to restrict the pins into the entire region of the grid.
set_io_pin_constraint -direction <direction>
-pin_names <names>
-region <edge:interval>
The define_pin_shape_pattern command defines a pin placement grid on the
specified layer. This grid has positions inside the die area, not only at
the edges of the die boundary.
define_pin_shape_pattern [-layer <layer>]
[-x_step <x_step>]
[-y_step <y_step>]
[-region <{llx lly urx ury}>]
[-size <{width height}>]
[-pin_keepout <dist>]
- The
-layeroption defines a single top-most routing layer of the placement grid. - The
-regionoption defines the{llx, lly, urx, ury}region of the placement grid in microns. - The
-x_stepand-y_stepoptions define the distance (in microns) between each valid position on the grid, in the x- and y-directions, respectively. - The
-sizeoption defines the width and height (in microns) of the pins assigned to this grid. The centers of the pins are placed on the grid positions. Pins may have half of their shapes outside the defined region. - The
-pin_keepoutoption defines the boundary (in microns) around existing routing obstructions that the pins should avoid; this defaults to thelayerminimum spacing.
The define_pin_shape_pattern command can be used to place pins in any metal
layer with the minimum allowed spacing to facilitate 3DIC integration of
chips using face-to-face packaging technologies. These technologies include
micro bumps
and
hybrid bonding
for high density face-to-face interconnect.
The clear_io_pin_constraints command clears all the previously-defined
constraints and pin shape patterns created with set_io_pin_constraint or
define_pin_shape_pattern.
clear_io_pin_constraints
The set_pin_length command defines the length of all vertical and horizontal
pins.
set_pin_length [-hor_length h_length]
[-ver_length v_length]
- The
-hor_lengthoption defines the length (in microns) of the horizontal pins. - The
-ver_lengthoption defines the length (in microns) of the vertical pins.
The set_pin_length_extension command defines the an extension of the length
of all vertical and horizontal pins. Note that this command may generate pins
partially outside the die area.
set_pin_length_extension [-hor_extension h_extension]
[-ver_extension v_extension]
- The
-hor_extensionoption defines the extension length (in microns) for the horizontal pins. - The
-ver_extensionoption defines the extension length (in microns) for the vertical pins.
The set_pin_thick_multiplier command defines a multiplier for the thickness of all
vertical and horizontal pins.
set_pin_thick_multiplier [-hor_multiplier h_mult]
[-ver_multiplier v_mult]
- The
-hor_multiplieroption defines the thickness multiplier for the horizontal pins. - The
-ver_multiplieroption defines the thickness multiplier for the vertical pins.
- This code depends on Munkres.
Check out GitHub discussion about this tool.
BSD 3-Clause License. See LICENSE file.