Feature VLSIR Netlisting #4
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds VLSIR circuit netlisting support to gsim, enabling conversion of GDSFactory components to VLSIR protobuf circuit representations for SPICE simulation.
Key additions:
gsim.vlsirsubpackage withto_vlsir_circuit()functionChanges
New Features
src/gsim/vlsir/netlist.py) - Converts GDSFactory components to VLSIR circuit packagesvlsirmetadata), routing instances, and subcircuit referencesDocumentation
src/gsim/vlsir/CONNECTIONs.md- Connection logic specificationsrc/gsim/vlsir/METADATA_SPEC.md- VLSIR metadata format for device componentssrc/gsim/vlsir/SIMULATION.md- Simulation workflow overviewREADME.mdwithjustinstallation commandsConfiguration
vlsir>=7.0.0andvlsirtools>=7.0.0dependencies>=3.12vlsirmodule (lacks type stubs)Test plan
just test- all 38 vlsir tests should passto_vlsir_circuit()with a sample GDSFactory componentpre-commit run -a🤖 Generated with Claude Code