Skip to content

gdsfactoryplus

GDSFactory+ Python SDK.

Modules:

Name Description
autodesign

Autodesign campaign client.

check

Verification helpers.

compile

Compile a .gsch file into GDS or .py schematic factory modules.

component_picker

Interactive active-PDK component selection for simulation notebooks.

convert

Convert .gsch schematics into a kfactory DSchematic.

core

Compatibility exports for GDSFactory+ core functionality.

diff

GDSFactory+ structural layout diff using kdb.LayoutDiff.

dschematic_to_gds

Stage 2: kf.DSchematic to GDS file.

emit

Emit kfactory-idiomatic .py source files from kf.DSchematic objects.

errors

Structured SDK errors carrying a machine-readable kind.

export

GDS export helpers.

factory_metadata

Factory-model registration and resolution helpers.

generate_svg

Generate SVG from cell.

kfactory_compat

Compatibility operations for kfactory 2.x and 3.x schematics.

logging

Structured logging that feeds into the gfp worker log pipeline.

model_authoring

Runtime inspection helpers for SAX model authoring.

nyancir_to_dschematic

Stage 1: .gsch file to in-memory kf.DSchematic.

placement

DoRoutes-powered component placement for the Livewire editor.

routing

PDK-agnostic routing APIs.

runtime

Runtime setup for compiled-schematic factory modules.

sim

Simulation helpers.

xs_layer_fallback

Cross-section resolution from attributed port layers.

Functions:

Name Description
circulax_model_for

Register the decorated callable as a Circulax model for target.

get_component

Instantiate the chosen cell, retaining settings only for the default.

sax_model_for

Register the decorated callable as a SAX model for target.

spice_model_for

Register declarative SPICE model metadata for a factory.

circulax_model_for

circulax_model_for(
    target: str,
    *,
    params: Mapping[str, str] | None = None,
    port_order: Sequence[str] | None = None,
    position: ModelPosition = "prepend",
) -> Callable[[ModelCallable], ModelCallable]

Register the decorated callable as a Circulax model for target.

@tags factory model authoring

get_component

get_component(picker: str | Any, default: str, **default_settings: Any) -> Component

Instantiate the chosen cell, retaining settings only for the default.

sax_model_for

sax_model_for(
    target: str,
    *,
    params: Mapping[str, str] | None = None,
    port_order: Sequence[str] | None = None,
    position: ModelPosition = "prepend",
) -> Callable[[ModelCallable], ModelCallable]

Register the decorated callable as a SAX model for target.

@tags factory model authoring

spice_model_for

spice_model_for(
    target: str,
    *,
    name: str,
    spice_type: str,
    port_order: Sequence[str],
    params: Mapping[str, str] | None = None,
    position: ModelPosition = "prepend",
    implementation: str | None = None,
    library: str | None = None,
    sections: Sequence[str] | None = None,
    code: str | None = None,
) -> None

Register declarative SPICE model metadata for a factory.

@tags factory model authoring