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

leMakeCell

leMakeCell(
l_figs 
t_libName 
t_cellName 
t_viewName 
g_replace 
[ ?preserveConn g_preserveConn ]
[ ?createPins g_createPins ]
[ ?transInst g_transInst ]
[ ?pinsBelowBoundary g_pinsBelowBoundary ]
[ l_point ] 
[ t_cellType ] 
)
=> d_cellViewId / nil

Description

Creates the cellview specified by t_libName, t_cellName, and t_viewName. If the cellview already exists, it is overwritten. The arguments ?preserveConn, ?createPins, ?transInst, and ?pinsBelowBoundary are only supported only in Layout XL and higher tiers.

Arguments

l_figs

List of objects contained in the original cellview.

t_libName

Specifies the name of the new cellview’s library.

Valid Values: any valid library name

t_cellName

Specifies the name of the new cellview’s cell. Valid Values: any valid cellview name

t_viewName

Specifies the name of the new cellview’s view. Valid Values: any valid view name

g_replace

Specifies whether the objects selected should be replaced by an instance of the new cellview. If this option is not selected, the original objects are not modified. Valid Values: t or nil

?preserveConn g_preserveConn

Controls whether the made cell has its connectivity preserved.

?createPins g_createPins

Controls whether the made cell has its pins created.

?transInst g_transInst

Controls whether the made cell occurrence is transparent.

?pinsBelowBoundary g_pinsBelowBoundary

Specifies whether the pins of the made cell are placed outside the design boundary. Valid values: t or nil.

This argument is only available if ?preserveConn and ?createPins are set.

l_point

Specifies the new origin for the cellview. Valid Values: list of two, an X and a Y coordinate

t_cellType

Specifies the cell type for the cellview. Valid Values: none, block, blockRing, cover, coverBump, pad, padSpacer, core, coreSpacer, coreAntenna, corner, softMacro, via, blockBlackBox, padArea

Value Returned

d_cellViewId

The new cellview ID if a new cellview is created.

nil

The new cellview is not created.

Example

Copies of the objects fig1 and fig2 are created in a new cellview mycell. The objects in the original cellview are not replaced by an instance of the cellview. Returns the database ID of the new cellview.

leMakeCell( list(fig1 fig2) "mylib" "mycell" "layout" nil )

Interactive Function

Enter this function with only the window ID argument; the system prompts you to point to the objects contained in the new cellview; specify the library, cell, and view names; specify whether to replace the selected objects; and indicate an origin for the new cellview. If you do not specify w_windowId, the current window is used.

leHiMakeCell( [ w_windowId ] ) => t / nil
leMakeCell( list(figId1 figId2) "design" "top" "layout" t list(0 0) "softMacro" ?preserveConn t ?createPins t ?transInst t )

Copies of the objects figId1 and figId2 are created in a new cellview top in the design library. The made cellview has a transparent instance created that has its connectivity preserved and pins created.

leMakeCell( list(figId3 figId4) "design" "mycell2" "layout" t list(0 0) "softMacro" ?preserveConn t ?createPins t ?transInst t ?pinsBelowBoundary t)

Copies of the objects figId3 and figId4 are created in a new cellview mycell2 in the design library. The made cellview has a transparent instance created that has its connectivity preserved across hierarchies and its pins are placed outside the design boundary.


Return to top
 ⠀
X