DesignPlanar.get_x_y_for_chip¶
- DesignPlanar.get_x_y_for_chip(chip_name: str) Tuple[tuple, int] [source]¶
If the chip_name is in self.chips, along with entry for size information then return a tuple=(minx, miny, maxx, maxy). Used for subtraction while exporting design.
- Parameters
chip_name (str) – Name of chip that you want the size of.
- Returns
tuple: The exact placement on rectangle coordinate (minx, miny, maxx, maxy). int: 0=all is good 1=chip_name not in self._chips 2=size information missing or no good
- Return type
Tuple[tuple, int]