gpeSetMergeLayer
gpeSetMergeLayer(
u_sandbox
g_mergeLayer { default | well | none | t_layerName | l_layerNames }
[ ?verbose { t | nil } ]
)
=> t / nil
Description
Sets the MergeLayer parameter for the specified Modgen sandbox object.
Arguments
|
u_sandbox
|
Specifies the Modgen sandbox object.
|
|
g_mergeLayer
|
|
|
Specifies the layers to be included in the MergeLayer parameter. Valid values are:
-
default: Layer and well merging is done as per the setting of the modgenMergeWells and modgenMergeLayers environment variables. -
well: All well layers in the specified Modgen are merged. -
none: No layers and wells are merged. -
t_layerName: The shapes on the specified layer are merged. Any DRC violations between the specified layer and other layers of the devices are ignored.
-
l_layerNames: Merges the specified layers. Before merging, only the top-level net connectivity between the layers is checked. Layers across devices that have different master Pcells can also be merged.
|
|
?verbose { t | nil }
|
|
|
Controls the display of warning messages.
|
Value Returned
|
t
|
The MergeLayer parameter for the specified Modgen sandbox object has been set.
|
|
nil
|
The command was unsuccessful.
|
Examples
The following examples show the various settings of the g_mergeLayer argument.
sb = gpeEditSandbox()
; Merges layers and wells as per the modgenMergeWells and modgenMergeLayers environment variables.
gpeSetMergeLayer(sb "default")
; All shapes in the nwell layer are merged.
gpeSetMergeLayer(sb "Nwell")
; Merges the specified layers.
gpeSetMergeLayer(sb list("Nwell" "Oxide"))
=> t
Return to top