spice2wireviz/tests/fixtures/standalone.asc
Ryan Malloy 08c92bfefb Add tiered .asc parser with companion netlist resolution
Implement three-tier resolution for LTspice .asc schematic files:

1. Companion netlist - finds .net/.cir/.sp beside the .asc (automatic)
2. LTspice generation - invokes LTspice binary (opt-in via --generate-netlist)
3. Metadata-only fallback - extracts component refs/values without connectivity

Safety: DataCompleteness enum forces callers to check completeness.
CLI blocks diagram generation on METADATA_ONLY with clear remediation.
Metadata enrichment is additive-only with protected field guards.

Also: update project URLs to Gitea, add .asc usage docs to README,
fix pre-existing ruff warning in test_single_module.py.
2026-02-13 04:59:03 -07:00

24 lines
475 B
Plaintext

Version 4
SHEET 1 880 680
SYMBOL res 192 160 R0
SYMATTR InstName R1
SYMATTR Value 4.7k
SYMBOL cap 320 160 R0
SYMATTR InstName C1
SYMATTR Value 100n
SYMBOL conn 48 144 R0
SYMATTR InstName J1
SYMATTR Value DB9_CONN
SYMBOL conn 48 288 R0
SYMATTR InstName J2
SYMATTR Value BARREL_JACK
SYMBOL TestPoint 480 128 R0
SYMATTR InstName TP1
SYMBOL voltage 576 240 R0
SYMATTR InstName V1
SYMATTR Value 12
WIRE 96 176 192 176
WIRE 96 320 192 320
WIRE 320 160 320 128
WIRE 480 128 320 128