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

leConvertTrimmedShapesToPRStyle

leConvertTrimmedShapesToPRStyle(
d_cvId
[ ?layerName t_layerName ]
[ ?depth x_depth ]
[ ?library l_library ]
) 
=> x_count / nil

Description

Converts pathSegs that are trimmed by trim shapes in custom style to PR style so that they are readable in Innovus. Only pathSegs trimmed by trim shapes in the same cellview are converted. PathSegs that are trimmed by trim shapes in a different clone or in a different cellview are not converted. The function searches all trimmed pathSegs on the specified layer in the hierarchy up to the specified depth and converts them to PR style only in the cellviews of the libraries specified. The function also adds the relevant patch type to pathSegs abutted to trim shapes.

The function needs edit permissions for the top-level cellview and libraries specified in the hierarchy.

Arguments

d_cvId

Database ID of the cellview in which pathSegs are to be converted.

?layerName t_layerName

Layer name on which pathSegs are to be converted.

?depth x_depth

Depth up to which the design hierarchy is to be traversed to find pathSegs and trim shapes.

?library l_library

Names of libraries from which cellviews in the design hierarchy are to be converted.

Value Returned

x_count

The number of pathSegs converted.

nil

The conversion failed.

Examples

Converts 12 custom style pathSegs to PR style pathSegs on Metal1 layer in the design hierarchy up to level 5 in the cellviews belonging to lib1 or lib2 libraries.

leConvertTrimmedShapesToPRStyle(geGetEditCellView() ?depth 5 ?layerName "Metal1" ?library "lib1 lib2")
12


Return to top
 ⠀
X