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

mgAddTopologyToModgen

mgAddTopologyToModgen(
d_tpObjectId
d_modgenId
)
=> t / nil

Description

Adds the specified topology object to the specified Modgen.

Arguments

d_tpObjectId

A topology object ID

d_modgenId

A Modgen figGroup, storage group, or constraint ID

Value Returned

t

The topology object was added to the specified Modgen.

nil

The command was unsuccessful.

Example

Adds topology objects to Modgen with mgId and cid as the Modgen constraint ID:

cv = mgId->cellView 
netA = dbFindNetByName(cv "net5") 
netB = dbFindNetByName(cv "net7") 
when(and(netA netB)
    topoA = dbCreateTopology("TopologyA" netA)
    topoB = dbCreateTopology("TopologyB" netB)
    when(and(topoA topoB)
    mgAddTopologyToModgen(topoA cid)
    mgAddTopologyToModgen(topoB cid)
    ) ; end-when
) ; end-when

Return to top
 ⠀
X