Via¶
The via
statement instantiates a multi-layer via.
This statement can be used in geom statements within a pcb-module
Signature¶
via(<VIA-DEF>) at <Point>
- Required Parameters
<VIA-DEF
- pcb-via definition for constructing the via.<Point>
- This is aPoint
value that defines the location of the constructed via in the current context's coordinate frame.- Optional Parameters
Geom/Module Context¶
In the pcb-module
context, the via
statement can be used from within a geom statement. The geom
statement provides the net to which this via will be assigned.
; A pcb-via statement
pcb-via default-th:
name = "Std TH"
start = Top
stop = Bottom
diameter = 0.6 ; mm
hole-diameter = 0.3 ; mm
type = MechanicalDrill
pcb-module test-mod:
inst connector : three-pin-header
inst mcu : microcontroller
net GND (connector.p[1] mcu.gnd)
; Instnatiate vias for the GND net
geom(GND):
; Any number of vias at specific positions
; The vias are characterized by the pcb-via definition
via(default-th) at Point(1.0, 2.0)
via(default-th) at Point(0.0, 0.0)