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

mgGetRowRoutingChannelWidth

mgGetRowRoutingChannelWidth(
d_constraintId
x_channelIndex
)
=> f_channelWidth / nil

Description

Returns the routing channel width of the specified Modgen row.

Arguments

d_constraintId

Modgen constraint ID.

x_channelIndex

Channel index, which indicates the Modgen row for which the channel width needs to be displayed.

Value Returned

f_channelWidth

The channel width of the specified Modgen row.

nil

The channel width could not be retrieved.

Example

The following example returns the routing channel width of the second channel row:

c = car(ciCacheGet(geGetEditCellView())->constraints)
when(c 
    mgSetRowRoutingChannelWidth(c 1 0.5)
    mgSetRowRoutingChannelWidth(c 2 0.6)
    channelWidth = mgGetRowRoutingChannelWidth(c 2)
    )

Return to top
 ⠀
X