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

cphSetInstRounding

cphSetInstRounding(
g_physConfigID
t_logLib
t_logCell
t_logView
t_inst
t_roundingRule
)
=> t / nil

Description

Specifies how the value of a specified parameter on an instance is rounded when it is evaluated by Layout XL. This property is typically used in conjunction with the lxDeviceWidth parameter to prevent folded devices from becoming off-grid.

Arguments

g_physConfigID

ID of the physical configuration cellview.

t_logLib

Name of the library where concerned instance is instantiated.

t_logCell

Name of the cell where concerned instance is instantiated.

t_logView

Name of the logical view where concerned instance is instantiated.

t_inst

Name of the instance.

t_roundingRule

String specifying a Rounding rule.

For example, the following setting rounds the value of w to the closest multiple of 0.05 microns.

(w 0.05 round)

Value Returned

t

Rounding rule was set.

nil

Rounding rule was not set.

Example

cphSetInstRounding(physConfigID "cph" "TopCell" "schematic" "(w 0.05 round)")

Related Topics

Rounding Parameter Values


Return to top
 ⠀
X