schSetSplitPrimaryInst
schSetSplitPrimaryInst(
d_splitInstId
g_primInstId
)
=> t / nil
Description
Associates the given split instance with the given split-primary.
The given instance is a valid split-primary for the split. For example, a regular instance cannot be declared a split-primary for a given split.
Arguments
Value Returned
|
Makes the specified instance a split-primary of the given split. |
|
Examples
The following example creates a split instance with name I0_s1. This automatically sets up a split-primary, named I0, on the newly created instance. It then creates a copy of I0_s1. The copied instance does not have a split-primary. Therefore, a split-primary is set up for it.
s1 = dbOpenCellViewByType("lib" "bga" "s1" "schematicSymbol" "r")
i0_s1 = schCreateInst(cvId s1 "I0" 0:1 "R0")
i0 = schGetSplitPrimaryInst(i0_s1)
i1_s1 = schCopy(i0_s1 cvId list(2:0 "R0")
schGetSplitPrimaryInst(i1_s1)
=> nil
i1 = schCopy(i0 cvId list(0:0 "R0")
schSetSplitPrimaryInst(i1_s1 i1)
=> t
schGetSplitPrimaryInst(i1_s1)
=> [ Returns i1 ]
Return to top