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

phoHiCompose

phoHiCompose(
l_dbInstID
[ ?compositeMaster l_compositeMaster ]
)
=> d_InstID / nil

Description

(Virtuoso Photonics Option) Uses a list of waveguide building blocks that are abutted into a single chain and creates a composite waveguide using these building blocks. The instances used for building the composite waveguide could be bound or unbound at the time of waveguide creation, but all the source waveguide instances must originally be bound to the same schematic instance. The composite waveguide is created at the same location as the source waveguide instances and is bound to the same schematic instance as the source instances.

Arguments

l_dbInstID

List of database instance IDs abutted together to be used as source for creating the composite waveguide.

If a single instance is selected as the source, the SKILL function creates a waveguide using only the selected instance.

?compositeMaster l_compositeMaster

The library cell view that specifies the master of the composite waveguide to be created.

Value Returned

d_InstID

Database instance ID of the composite waveguide created.

nil

The composite waveguide was not created.

Example

Composes three abutted instances into a composite waveguide instance.

when(win = hiGetCurrentWindow()
  when(lcv = geGetEditCellView(win)
    i0 = dbFindAnyInstByName(lcv "I0")
    i1 = dbFindAnyInstByName(lcv "I1")
    i2 = dbFindAnyInstByName(lcv "I2")
    composite = phoHiCompose(list(i0 i1 i2))
  )
)

Related Topics

Photonics Flow Functions

Composite Waveguide Editor Form

Composite Waveguides


Return to top
 ⠀
X