elvis-lvs
A simple LVS (Layout vs. Schematic) tool for GDSFactory
What it is and what it does
Elvis is a Layout vs. Schematic (LVS) verification tool designed for GDSFactory photonic and integrated circuit designs. It extracts connectivity information from GDS layout files by parsing cell hierarchies, port metadata stored in GDS properties, and instance transformations, then compares the extracted netlist against a schematic netlist to detect mismatches.
The key innovation is its handling of routed designs: rather than failing when intermediate routing components (bends, waveguides) appear in the layout but not the schematic, Elvis traces through 2-port "wire-like" components to verify that reference instances (real circuit elements) remain correctly connected. It uses graph-based connectivity analysis to distinguish true circuit topology from routing artifacts, making it practical for designs where auto-routing adds intermediate cells between schematic components.
Use it for:
- Verify photonic integrated circuit layouts against their schematic designs before fabrication
- Detect unintended shorts or open connections introduced during layout routing or manual editing
- Validate hierarchical designs where component instances are transformed (rotated, mirrored) in the layout
- Check that port connectivity matches expected circuit topology in multi-instance cell hierarchies
- Automate design verification in GDSFactory-based design flows to catch errors early
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Elvis extracts connectivity from GDS layout files and compares them against schematics to verify design correctness, handling routed designs by tracing through intermediate routing components.
Yes, if you are designing with GDSFactory and need to verify layout correctness before fabrication. The tool is actively maintained, has no known vulnerabilities, and solves a real problem (routing-aware LVS) that generic tools don't handle well. Caveat: license status is unclear—confirm the license terms in the repository before use in proprietary or copyleft-sensitive work. Requires Python ≥3.12.
Install
elvis-lvs on PyPI
pip
pip install elvis-lvsuv
uv add elvis-lvspoetry
poetry add elvis-lvsInstalling elvis-lvs
Before you install
Medium friction: compiled Rust bindings via maturin with wheels for Python 3.12–3.14 on macOS (arm64), Linux (aarch64, x86_64), and Windows. No runtime dependencies. Active maintenance as of May 2026.
License in practice
License status is unclear—no SPDX or raw license declaration in metadata. Verify the project's repository or documentation before adopting in proprietary or copyleft-sensitive contexts.
Quickstart
pip install elvis-lvs
import elvis_lvs
# Extract netlist from GDS and compare against schematic
# (exact API details available in package documentation)
Requires Python ≥3.12. Compiled extension; installation pulls pre-built wheels for your platform.
Verify before relying
- Exact Python API surface and primary entry points (description covers algorithm and architecture, not public function signatures)
- Whether schematic input format is limited to GDSFactory .pic.yml or supports other netlist formats
- Performance characteristics and maximum design size/complexity the tool can handle
- Tolerance parameters (default 1nm mentioned for position, 1° for orientation) and whether they are user-configurable
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.12) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 87 days since the last release |
| First released | |
| Downloads | 115,223/month — #12,263 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: elvis_lvs-0.2.1-cp312-cp312-macosx_11_0_arm64.whl; elvis_lvs-0.2.1-cp312-cp312-manylinux_2_28_aarch64.whl; elvis_lvs-0.2.1-cp312-cp312-manylinux_2_28_x86_64.whl; elvis_lvs-0.2.1-cp312-cp312-win_amd64.whl; elvis_lvs-0.2.1-cp313-cp313-macosx_11_0_arm64.whl; elvis_lvs-0.2.1-cp313-cp313-manylinux_2_28_aarch64.whl; elvis_lvs-0.2.1-cp313-cp313-manylinux_2_28_x86_64.whl; elvis_lvs-0.2.1-cp313-cp313-win_amd64.whl; elvis_lvs-0.2.1-cp314-cp314-macosx_11_0_arm64.whl; elvis_lvs-0.2.1-cp314-cp314-manylinux_2_28_aarch64.whl; elvis_lvs-0.2.1-cp314-cp314-manylinux_2_28_x86_64.whl; elvis_lvs-0.2.1-cp314-cp314-win_amd64.whl
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
kfactoryKFactory is a Python framework for designing…
unclear · top 15,000 on PyPI
gdsfactoryplusGDSFactory+ extends the GDSFactory library with…
unclear · top 15,000 on PyPI
gdsfactoryGDSFactory generates CAD files (GDS, OASIS,…
unclear · top 15,000 on PyPI
kwasmkwasm bundles KLayout's WebAssembly-compiled…
copyleft · top 15,000 on PyPI
gpluginsGplugins provides a plugin system for…
unclear · top 15,000 on PyPI
salamandraSalamandra is a Python framework for loading,…
permissive · top 15,000 on PyPI
klayoutKLayout is a Python package for layout viewing,…
copyleft · top 15,000 on PyPI
saxSAX is a JAX-based simulator and optimizer for…
permissive · top 15,000 on PyPI
schemdrawSchemdraw generates high-quality electrical…
permissive · top 15,000 on PyPI
sglang-routerA high-performance Rust-based load balancer and…
permissive · top 15,000 on PyPI