laygo2.object.physical module#
laygo2.object.physical module provides classes for physical objects used in IC layout design. The supported physical objects include:
PhysicalObject
- Base class for all physical layout objects.
IterablePhysicalObject
- Base class for physical objects that can be iterated (eg. arrayed instances).
PhysicalObjectGroup
- Defines a group of physical objects (currently not implemented).
Rect
- Represents a rectangular shape.
Path
- Defines a path.
Pin
- Defines a pin.
Text
- Defines a text label.
Instance
- Represents an instance of a design element.
VirtualInstance
- Represents a virtual instance composed of multiple physical objects, acting as a single instance.
Examples of the physical objects supported by this module are shown in the followng figure.
Check the following links for further details.
- PhysicalObject class
PhysicalObject
PhysicalObject.__init__()
PhysicalObject._get_xy()
PhysicalObject._set_xy()
PhysicalObject._update_pointers()
PhysicalObject.summarize()
PhysicalObject._xy
PhysicalObject.bbox
PhysicalObject.bottom
PhysicalObject.bottom_left
PhysicalObject.bottom_right
PhysicalObject.center
PhysicalObject.left
PhysicalObject.master
PhysicalObject.name
PhysicalObject.params
PhysicalObject.pointers
PhysicalObject.right
PhysicalObject.top
PhysicalObject.top_left
PhysicalObject.top_right
PhysicalObject.xy
- IterablePhysicalObject class
IterablePhysicalObject
IterablePhysicalObject.__init__()
IterablePhysicalObject._get_xy()
IterablePhysicalObject._set_xy()
IterablePhysicalObject._update_elements()
IterablePhysicalObject._update_pointers()
IterablePhysicalObject.ndenumerate()
IterablePhysicalObject.summarize()
IterablePhysicalObject._xy
IterablePhysicalObject.bbox
IterablePhysicalObject.bottom
IterablePhysicalObject.bottom_left
IterablePhysicalObject.bottom_right
IterablePhysicalObject.center
IterablePhysicalObject.elements
IterablePhysicalObject.left
IterablePhysicalObject.master
IterablePhysicalObject.name
IterablePhysicalObject.params
IterablePhysicalObject.pointers
IterablePhysicalObject.right
IterablePhysicalObject.shape
IterablePhysicalObject.top
IterablePhysicalObject.top_left
IterablePhysicalObject.top_right
IterablePhysicalObject.xy
- PhysicalObjectGroup class
PhysicalObjectGroup
PhysicalObjectGroup.__init__()
PhysicalObjectGroup._get_xy()
PhysicalObjectGroup._set_xy()
PhysicalObjectGroup._update_elements()
PhysicalObjectGroup._update_pointers()
PhysicalObjectGroup.ndenumerate()
PhysicalObjectGroup.summarize()
PhysicalObjectGroup._xy
PhysicalObjectGroup.bbox
PhysicalObjectGroup.bottom
PhysicalObjectGroup.bottom_left
PhysicalObjectGroup.bottom_right
PhysicalObjectGroup.center
PhysicalObjectGroup.elements
PhysicalObjectGroup.left
PhysicalObjectGroup.master
PhysicalObjectGroup.name
PhysicalObjectGroup.params
PhysicalObjectGroup.pointers
PhysicalObjectGroup.right
PhysicalObjectGroup.shape
PhysicalObjectGroup.top
PhysicalObjectGroup.top_left
PhysicalObjectGroup.top_right
PhysicalObjectGroup.xy
- Rect class
Rect
Rect.__init__()
Rect._get_xy()
Rect._set_xy()
Rect._update_pointers()
Rect.align()
Rect.summarize()
Rect._xy
Rect.bbox
Rect.bottom
Rect.bottom_left
Rect.bottom_right
Rect.center
Rect.color
Rect.height
Rect.height_vec
Rect.hextension
Rect.layer
Rect.left
Rect.master
Rect.name
Rect.netname
Rect.params
Rect.pointers
Rect.right
Rect.size
Rect.top
Rect.top_left
Rect.top_right
Rect.vextension
Rect.width
Rect.width_vec
Rect.xy
- Path class
Path
Path.__init__()
Path._get_xy()
Path._set_xy()
Path._update_pointers()
Path.summarize()
Path._xy
Path.bbox
Path.bottom
Path.bottom_left
Path.bottom_right
Path.center
Path.extension
Path.layer
Path.left
Path.master
Path.name
Path.netname
Path.params
Path.pointers
Path.right
Path.top
Path.top_left
Path.top_right
Path.width
Path.xy
- Pin class
Pin
Pin.__init__()
Pin._get_xy()
Pin._set_xy()
Pin._update_elements()
Pin._update_pointers()
Pin.export_to_dict()
Pin.ndenumerate()
Pin.summarize()
Pin._xy
Pin.bbox
Pin.bottom
Pin.bottom_left
Pin.bottom_right
Pin.center
Pin.elements
Pin.height
Pin.height_vec
Pin.layer
Pin.left
Pin.master
Pin.name
Pin.netname
Pin.params
Pin.pointers
Pin.right
Pin.shape
Pin.size
Pin.top
Pin.top_left
Pin.top_right
Pin.width
Pin.width_vec
Pin.xy
- Text class
Text
Text.__init__()
Text._get_xy()
Text._set_xy()
Text._update_pointers()
Text.summarize()
Text._xy
Text.bbox
Text.bottom
Text.bottom_left
Text.bottom_right
Text.center
Text.layer
Text.left
Text.master
Text.name
Text.params
Text.pointers
Text.right
Text.text
Text.top
Text.top_left
Text.top_right
Text.xy
- Instance class
Instance
Instance.__init__()
Instance._get_xy()
Instance._set_xy()
Instance._update_elements()
Instance._update_pins()
Instance._update_pointers()
Instance.get_p()
Instance.get_pitch()
Instance.get_spacing()
Instance.ndenumerate()
Instance.set_p()
Instance.set_pitch()
Instance.set_spacing()
Instance.summarize()
Instance.update_netname()
Instance._pitch
Instance._xy
Instance.bbox
Instance.bottom
Instance.bottom_left
Instance.bottom_right
Instance.cellname
Instance.center
Instance.elements
Instance.height
Instance.height_vec
Instance.left
Instance.libname
Instance.master
Instance.name
Instance.p
Instance.params
Instance.pins
Instance.pitch
Instance.pointers
Instance.right
Instance.shape
Instance.size
Instance.spacing
Instance.top
Instance.top_left
Instance.top_right
Instance.transform
Instance.unit_size
Instance.viewname
Instance.width
Instance.width_vec
Instance.xy
Instance.xy0
Instance.xy1
- VirtualInstance class
VirtualInstance
VirtualInstance.__init__()
VirtualInstance._get_xy()
VirtualInstance._set_xy()
VirtualInstance._update_elements()
VirtualInstance._update_pins()
VirtualInstance._update_pointers()
VirtualInstance.get_element_position()
VirtualInstance.get_p()
VirtualInstance.get_pitch()
VirtualInstance.get_spacing()
VirtualInstance.ndenumerate()
VirtualInstance.set_p()
VirtualInstance.set_pitch()
VirtualInstance.set_spacing()
VirtualInstance.summarize()
VirtualInstance.update_netname()
VirtualInstance._pitch
VirtualInstance._xy
VirtualInstance.bbox
VirtualInstance.bottom
VirtualInstance.bottom_left
VirtualInstance.bottom_right
VirtualInstance.cellname
VirtualInstance.center
VirtualInstance.elements
VirtualInstance.height
VirtualInstance.height_vec
VirtualInstance.left
VirtualInstance.libname
VirtualInstance.master
VirtualInstance.name
VirtualInstance.native_elements
VirtualInstance.p
VirtualInstance.params
VirtualInstance.pins
VirtualInstance.pitch
VirtualInstance.pointers
VirtualInstance.right
VirtualInstance.shape
VirtualInstance.size
VirtualInstance.spacing
VirtualInstance.top
VirtualInstance.top_left
VirtualInstance.top_right
VirtualInstance.transform
VirtualInstance.unit_size
VirtualInstance.viewname
VirtualInstance.width
VirtualInstance.width_vec
VirtualInstance.xy
VirtualInstance.xy0
VirtualInstance.xy1