Add verbose flag, WireViz dev dep, and rendered diagram examples
- Gate model/value heuristic output behind --verbose/-v flag (quiet by default) - Add wireviz>=0.4 as dev dependency for roundtrip render tests - Generate SVG/PNG diagram renders for inter_module, single_module, hierarchical - Embed rendered diagrams in README with layout optimization callout
This commit is contained in:
parent
fd822e07ce
commit
95ed08866c
9 changed files with 425 additions and 14 deletions
93
docs/examples/inter_module.yml
Normal file
93
docs/examples/inter_module.yml
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
metadata:
|
||||
title: 'Wiring diagram: multi_board'
|
||||
source: tests/fixtures/multi_board.net
|
||||
generator: spice2wireviz 2026.2.14
|
||||
connectors:
|
||||
J_CHASSIS:
|
||||
type: chassis_gnd
|
||||
pinlabels:
|
||||
- EARTH
|
||||
- GND
|
||||
notes: 'SPICE ref: J_CHASSIS'
|
||||
TP_VCC:
|
||||
type: TP
|
||||
style: simple
|
||||
pinlabels:
|
||||
- VCC
|
||||
notes: 'SPICE ref: TP_VCC'
|
||||
X1:
|
||||
type: power_supply
|
||||
pinlabels:
|
||||
- VCC
|
||||
- GND
|
||||
notes: 'SPICE instance: X1 (power_supply)'
|
||||
X2:
|
||||
type: amplifier
|
||||
pinlabels:
|
||||
- VIN
|
||||
- GND
|
||||
- VOUT
|
||||
notes: 'SPICE instance: X2 (amplifier)'
|
||||
X3:
|
||||
type: io_board
|
||||
pinlabels:
|
||||
- GND
|
||||
- SIG_IN
|
||||
- SIG_OUT
|
||||
- CTRL
|
||||
notes: 'SPICE instance: X3 (io_board)'
|
||||
cables:
|
||||
W1:
|
||||
colors:
|
||||
- BK
|
||||
wirelabels:
|
||||
- GND
|
||||
notes: 'Net: GND'
|
||||
W3:
|
||||
colors:
|
||||
- RD
|
||||
wirelabels:
|
||||
- VCC
|
||||
notes: 'Net: VCC'
|
||||
W5:
|
||||
category: bundle
|
||||
colors:
|
||||
- BK
|
||||
- RD
|
||||
wirelabels:
|
||||
- GND
|
||||
- VCC
|
||||
notes: 'Nets: GND, VCC'
|
||||
W6:
|
||||
colors:
|
||||
- BK
|
||||
wirelabels:
|
||||
- GND
|
||||
notes: 'Net: GND'
|
||||
W8:
|
||||
wirecount: 1
|
||||
wirelabels:
|
||||
- AUDIO_OUT
|
||||
notes: 'Net: AUDIO_OUT'
|
||||
connections:
|
||||
- - TP_VCC: 1
|
||||
- W3: 1
|
||||
- X1: 1
|
||||
- - X1:
|
||||
- 2
|
||||
- 1
|
||||
- W5:
|
||||
- 1
|
||||
- 2
|
||||
- X2:
|
||||
- 2
|
||||
- 1
|
||||
- - X2: 3
|
||||
- W8: 1
|
||||
- X3: 2
|
||||
- - J_CHASSIS: 2
|
||||
- W1: 1
|
||||
- X1: 2
|
||||
- - X1: 2
|
||||
- W6: 1
|
||||
- X3: 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue