Glade Reference
The Via class represents a via master, which is a kind of special cellView. Instances of vias are called viaInsts, and are simplified forms on insts. Normally a via is created with a given name; its shapes are added with addViaLayer(), and then the via is added to the library using library::addVia().
Creates a via object. The second type of constructor creates a via with name name.
Sets the via's name.
Gets the via's name.
Adds a via layer. Note that vias can currently only contain rectangular shapes.
Gets the number of layers in the via. Typically this is 3 (two conductor layers and one via layer).
Gets the first layer of the via.
Gets the last layer of the via.
Returns a viaLayer list which is a structure of the form:
struct viaLayer { int16_t layer; Rect geom; viaLayer *next; } viaLayer;
Sets the via's viaLayer list. Normally the viaLayer list is created using addViaLayer().
Sets the via as a default via if flag is true.
Returns true if the via is a default via.
Given one of the via's conducting layers, returns the 'other' conducting layer.
Sets the library for this via. Normally this should not be used, as a via, after creation, should be added to a library using library::addVia().
Gets the library that contains this via.
Updates the via's bounding box. Note this creates a new bounding box which is the union of the existing bounding box and the new box.
Gets the via's bounding box.
Sets the via's resistance in ohms.
Gets the via's resistance in ohms.
Sets the via's pattern name.
Gets the via's pattern name>
Copyright © Peardrop Design 2024.