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

Symbol Pcell Example

Description

This is an example of wrapping the basic generator to create a parameterized symbol. The only parameter supported here is magnification.

pcDefinePCell(
 list( ddGetObj("gopdk") 
"wgWaypointConnector" 
"symbol" 
"schematicSymbol" 
)
  ; define the PCcll parameters
(
      (mag float 1.0)
 )
    prog( ()
         unless( isCallable('phoDrawWayPointConnectorSymbol)
                 return()
               )
         ; Call the symbol generator
         phoDrawWayPointConnectorSymbol( pcCellView mag
                                               ?startPortName "optS"
                                               ?endPortName   "optE"
                                       )
         return(t)
       )
)

Related Topics

Launching Virtuoso in Photonics Mode

Photonics Symbol Generator Functions


Return to top
 ⠀
X