Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

phoHiDecompose

phoHiDecompose(
l_dbCompWaveInstID
)
=> l_dbInstID / nil

Description

(Virtuoso Photonics Option) Uses a list of composite waveguides or a single composite waveguide and flattens the waveguide to bring the instances inside to the current level. The newly separated waveguide building blocks are bound to the original schematic composite in a complex binding. The instances of the waveguide building blocks are abutted together into a chain and the chain has the same input and output connectivity as the original composite waveguide.

Arguments

l_dbCompWaveInstID

List of database instance IDs of the composite waveguides abutted together to form the flattened composite waveguide.

If a single composite waveguide instance is selected as the source, the newly created waveguide instance uses only the selected waveguide instance.

Value Returned

l_dbInstID

List of database instance IDs created if a single composite waveguide instance was flattened.

List of lists of database instance IDs created if multiple composite waveguide instances are flattened.

nil

No composite waveguide instance was flattened.

Example

when(win = hiGetCurrentWindow()
  when(lcv = geGetEditCellView(win)
    i0 = dbFindAnyInstByName(lcv "I0")
    insts = phoHiDecompose(i0)

Edits the parameters of the first instance and composes back into a composite waveguide.

    car(insts)~>w = "2u"
    phoHiCompose(insts)
  )
)

Related Topics

Composite Waveguide Editor Form

Composite Waveguides

Photonics Flow Functions


Return to top
 ⠀
X