Product Documentation
Virtuoso Layout Suite XL: Connectivity Driven Editing User Guide
Product Version IC23.1, November 2023

lxCanSwapSDFunction

layoutXL lxCanSwapSDFunction string "user_Defined_SKILL_Function"

Description

Sets the name of a user-defined SKILL function that determines whether the source and drain pins can be swapped.

The user-defined SKILL function must return t if the Pcell master of the instance has a Pcell parameter that swaps the locations of the S and D pins, and if for this instance you want swapping to be enabled. Otherwise, it should return nil.

If the user-defined SKILL function set by this environment variable returns t, and Layout XL needs to swap the S and D pins, then the function defined in lxSwapSDFunction is called with an instance to update the Pcell parameter that swaps the locations of the S and D pins.

The default is "".

The S and D pins can be swapped using the Pcell parameter only when both lxCanSwapSDFunction and lxSwapSDFunction are defined.

GUI Equivalent

None

Example

envGetVal("layoutXL" "lxCanSwapSDFunction")
envSetVal("layoutXL" "lxCanSwapSDFunction" 'string "canSwapSD")

Related Topics

lxSwapSDFunction

Permuting Pins Automatically

List of Layout XL Environment Variables


Return to top
 ⠀
X