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

mgSetRowRoutingChannelWidth

mgSetRowRoutingChannelWidth(
d_constraintId
x_channelIndex
f_channelWidth
)
=> f_channelWidth / nil

Description

Sets the routing channel width for the specified Modgen row.

Arguments

d_constraintId

Modgen constraint ID.

x_channelIndex

Channel index, which indicates the Modgen row for which the specified channel width needs to be set. Row number 0 refers to channel below the Modgen, row number 1 indicates the first channel, row number 2 indicates the second channel, and so on.

f_channelWidth

Channel width to be set for the specified Modgen row.

Value Returned

f_channelWidth

The channel width that was set for the specified Modgen row.

nil

The channel width could not be set.

Example

The following example sets the first two routing channel rows:

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