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
|
Name of the SKILL function that takes the argument of the instances generated. |
Value Returned
Examples
procedure(invPrePosition(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
Return to top