get_reference_pins#
- EDBPadstackInstance.get_reference_pins(reference_net='GND', search_radius=0.005, max_limit=0, component_only=True)[source]#
Search for reference pins using given criteria.
- Parameters:
- reference_net
str
,optional
Reference net. The default is
"GND"
.- search_radius
float
,optional
Search radius for finding padstack instances. The default is
5e-3
.- max_limit
int
,optional
Maximum limit for the padstack instances found. The default is
0
, in which case no limit is applied. The maximum limit value occurs on the nearest reference pins from the positive one that is found.- component_onlybool,
optional
Whether to limit the search to component padstack instances only. The default is
True
. WhenFalse
, the search is extended to the entire layout.
- reference_net
- Returns:
list
List of
dotnet.edb_core.edb_data.padstacks_data.EDBPadstackInstance
.
Examples
>>> edbapp = Edb("target_path") >>> pin = edbapp.components.instances["J5"].pins["19"] >>> reference_pins = pin.get_reference_pins(reference_net="GND", search_radius=5e-3, max_limit=0, >>> component_only=True)