jitxlib.via_structures package#
- class ViaGroundCage(via_def)[source]#
Base class for defining the ground cage for a Via Structure
- class PolarViaGroundCage(via_def, count, radius, theta=0.0, skips=<factory>, pose=<factory>)[source]#
Bases:
ViaGroundCagePolar Via Ground Cage This type implements a polar-coordinate system for defining the vias of the ground cage.
- Parameters:
-
theta:
float= 0.0# Starting angle for the pattern. Value in degrees. Default value is 0.0 degrees which points to the right along the X axis.
-
skips:
list[int]# Skipped indices in the via pattern. Each value in this collection must be in the range [0, count-1]
- class SimpleAntiPad(shape, layers, pose=<factory>)[source]#
Bases:
AntiPadTrivial Anti-Pad Generator This Anti-Pad type generates KeepOut shapes on the passed layers and then positions them according the the pose argument.
- class InsertionPoint[source]#
Bases:
ContainerBase class for insertion point in the layout. NOTE: The current tool doesn’t support placing actual insertion points from code. Eventually we would like to support this.
- class InsertionPointDecorator(scale=1.0, layerName='insertpt', pose=<factory>)[source]#
Bases:
InsertionPointConstruct a custom layer decoration that indicates where an insertion point should be place manually by the user. Typically, the user would drag out from the via so that it will follow as the via structure moves.
- class TopoSymbol[source]#
Bases:
SymbolDummy Symbol for the via structure TopoPin component.
- p = Pin(at=(0, 0), length=3)#
- class TopoPad[source]#
Bases:
PadDummy Pad for the TopoLP. This pad is an empty shape and only serves to be a location for identifying the TopoPin’s port in the physical design.
- class TopoLP[source]#
Bases:
LandpatternDummy Landpattern for the TopoPin construct for creating via structures.
- class TopoPin[source]#
Bases:
ComponentDefine a component for holding the via structrure’s pin definition. For a single-ended via, one of these instances is created. For a diff-pair via, two are created.
- p = Port()#
- class ViaStructure(ground_cages: Sequence[ViaGroundCage], antipads: Sequence[AntiPad], insertion_points: Sequence[InsertionPoint])[source]#
Bases:
CircuitBase class for ViaStructure definitions
- Parameters:
ground_cages (Sequence[ViaGroundCage])
insertion_points (Sequence[InsertionPoint])
- class SingleViaStructure(via_def: type[Via], *, ground_cages: Sequence[ViaGroundCage], antipads: Sequence[AntiPad], insertion_points: Sequence[InsertionPoint])[source]#
Bases:
ViaStructureSingle-Ended Signal Via structure This object constructs a Circuit definition that can generate via structure instances for single-ended signals (ie single Port nets). User must instantiate an via structure instance and net/topo it in the circuit like a normal component.
- Parameters:
ground_cages (Sequence[ViaGroundCage])
insertion_points (Sequence[InsertionPoint])
- sig_in = Port()#
- sig_out = Port()#
- COMMON = Port()#
- class DifferentialViaStructure(via_defs: type[Via] | tuple[type[Via], type[Via]], pitch: float, *, ground_cages: Sequence[ViaGroundCage], antipads: Sequence[AntiPad], insertion_points: Sequence[InsertionPoint])[source]#
Bases:
ViaStructureDifferential Pair Via Structure This object constructs a Circuit definition that can generate a via structure instance for support a DiffPair port net. User must instantiate an instance of this via structure type and net/topo it into the circuit like a normal component instance.
- Parameters:
- sig_in = DiffPair()#
- sig_out = DiffPair()#
- COMMON = Port()#