Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

lxRegPrePosition

lxRegPrePosition(
t_lib
t_cell
t_view
s_skillFunction 
)
=> t / nil

Description

Registers a SKILL function for a schematic Pcell to be called for newly generated layout instances corresponding to each instance of the schematic Pcell when Generate All From Source, Generate Selected from Source, or Update Components and Nets commands are run. Registration is done once before generation. The registered SKILL function is called after instance generation but before positioning.
Only one SKILL function can be registered per schematic Pcell.

Arguments

t_lib

Name of a library.

t_cell

Name of a cell.

t_view

Name of a view.

s_skillFunction

Name of the SKILL function that takes the argument of the instances generated.

Value Returned

t

The function is registered successfully.

nil

The function is not registered.

Examples

procedure(invPrePosition(instances))

Chain all the instances.

lxChain(instances list(leftEdge(car(instances)) bottomEdge(car(instances)) ?useDeviceOrder t)
   => t
)

Registers the SKILL function InvPrePosition for a schematic Pcell with library schLib, cell name inv, and view name schematic.

lxRegPrePosition("schLib" "inv" "schematic" 'InvPrePosition)
=> t

The following example, calls a registered function with the cellview.

lxRegPrePosition("" "" "" 'preFunc) 

Related Topic

lxChain

lxUnregPrePosition


Return to top
 ⠀
X