Components

Classes

Component([name, technology])

Polygonal geometric object.

FiberPort(center, input_vector, size, ...[, ...])

Fiber beam port.

GaussianPort(center, input_vector, waist_radius)

Gaussian beam port.

Label([text, origin, anchor, rotation, ...])

Text label.

PhfStream(filename[, mode, set_config])

Create a PhfStream object for writing or loading phf files.

Port(center, input_direction, spec[, ...])

2D port.

Reference(component[, origin, rotation, ...])

Reference to a 2D component.

Terminal(routing_layer, structure)

Electrical terminal.

Functions

component_from_netlist(netlist)

Create a component from a netlist description.

find_top_level(*components)

Filter a set of components to return only top-level ones.

load_layout(filename[, technology, layers, ...])

Load a layout file as components.

load_phf(filename[, only_explicit, set_config])

Load the contents of a phf file.

parametric_component([decorated_function, ...])

Decorator to create parametric components from functions.

set_unique_names(*components)

Ensure the set of components and their dependencies have unique names.

write_layout(filename, *components[, ...])

Export this component as a GDSII or OASIS file.

write_phf(filename, *args)

Save a phf file with components and technologies.