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

phoCompose

phoCompose(
l_dbInstID
l_libCellView
)
=> t_dbInstId / nil

Description

(Virtuoso Photonics Option) Composes the specified list of waveguides into a composite of the specified master.

Arguments

l_dbInstID

t_insts | l_insts

A single database instance or a list of database instances that are turned into a composite waveguide. These instances must be valid waveguide building blocks that can be placed inside a composite waveguide.

l_libCellView

A list representing the library cellview master of the composite waveguide to be created.

Value Returned

t_dbInstId

Database instance ID of the composite waveguide created.

nil

The composite waveguide was not created because an error occurred or the specified master is not a composite waveguide.

Example

Create a composite waveguide using the specified waveguide master.

when(window = hiGetCurrentWindow()
  when(cellView = geGetEditCellView() ; This should be a layout cellview
    wg1 = dbFindAnyInstByName(cellView "Opt0") 
    wg2 = dbFindAnyInstByName(cellView "Opt1")
    ; wg1 and wg2 are valid waveguide building blocks
    composite = phoCompose(list(wg1 wg2) list("gopdk" "waveguideComposite" "layout"))
  ))

Related Topics

Photonics Flow Functions


Return to top
 ⠀
X