Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

pkxFindFuncDefPin

pkxFindFuncDefPin(
pkx_funcDefId | pkx_compDefPinId
t_name
t_use
s_swapCode
) 
=> pkx_funcDefPinId | nil

Description

(Virtuoso MultiTech Framework) Searches for a funcDefPin object with the specified attributes, either in a funcDef or in a compDefPin, and returns its ID if it exists.

Arguments

pkx_funcDefId | pkx_compDefPinId

ID of a funcDef or compDefPin.

t_name

Name of the funcDefPin object.

t_use

Value indicating the logical use of the funcDefPin object.

Valid values: IN, OUT, BI, TRI, OCA, OCL, POWER, GROUND, NC, and UNSPEC.

s_swapCode

Code indicating whether the funcDefPin object can be swapped with another pin.

Value Returned

pkx_funcDefPinId

ID of the funcDefPin pin object that was found in the funcDef or compDefPin object.

nil

The funcDefPin pin object was not found or the operation failed.

Example

Searches for the funcDefPin object pin3 with name A, use IN, and swapcode 1 in the funcDef object.

pin3= pkxFindFuncDefPin(funcDef "A" "IN" 1)

Searches for the compDefPin object pin3 with  name A, use IN, and swapcode 1 in the funcDef object.

pin3 = pkxFindFuncDefPin(compDefPin "A" "IN" 1)

Related Topics

Views in the Unified Library


Return to top
 ⠀
X