Initial project structure for spice2wireviz

SPICE netlist to WireViz YAML converter with:
- Custom lightweight netlist parser (.net/.cir/.sp)
- Single-module mapper (subcircuit external interface)
- Inter-module mapper (multi-board wiring)
- Filter engine with glob patterns
- Click CLI with auto-detection, inspection commands
- Optional .asc parser via spicelib
- Comprehensive test suite with fixtures
This commit is contained in:
Ryan Malloy 2026-02-13 01:24:41 -07:00
commit e20a956f51
24 changed files with 2630 additions and 0 deletions

14
tests/fixtures/simple_board.net vendored Normal file
View file

@ -0,0 +1,14 @@
* Simple board netlist with one subcircuit
* Has connectors J1 (power), J2 (signal I/O), and test point TP1
.subckt amplifier_board VIN GND VOUT SIGNAL_IN
* Internal components (passives, ICs — not relevant to wiring)
R1 VIN N001 10k
R2 N001 GND 10k
U1 N001 VOUT GND VCC opamp
* Boundary components (connectors/test points visible at board edge)
J1 VIN GND PWR_CONN
J2 SIGNAL_IN VOUT SIG_CONN
TP1 N001
.ends amplifier_board