Files
diodeinc__pcb/crates/pcb-zen/tests/snapshots/test__nested_components.snap
Lenny Khazan d3bef1b0a5 Update net naming strategy (#62)
* Consistent net naming

* cargo fmt

* fix clippy

* uniquify net names
2025-08-08 15:52:15 -04:00

41 lines
1017 B
Plaintext

---
source: crates/pcb-zen/tests/test.rs
expression: netlist
---
(export (version "E")
(design
(source "unknown")
(date "")
(tool "pcb"))
(components
(comp (ref "U1")
(value "?")
(footprint "SMD:0805")
(libsource (lib "lib") (part "?") (description "unknown"))
(sheetpath (names "MyModule.MyComponent.Component") (tstamps "88868ff1-5bd1-55c8-8857-a9182b7af4bf"))
(tstamps "88868ff1-5bd1-55c8-8857-a9182b7af4bf")
(property (name "Reference") (value "U1"))
)
)
(libparts
(libpart (lib "lib") (part "?")
(description "")
(docs "~")
(footprints
(fp "*"))
(pins
(pin (num "1") (name "P1") (type "stereo"))
(pin (num "2") (name "P2") (type "stereo"))
)
)
)
(nets
(net (code "1") (name "MyModule.MyComponent.P1")
(node (ref "U1") (pin "1") (pintype "stereo"))
)
(net (code "2") (name "MyModule.MyComponent.P2")
(node (ref "U1") (pin "2") (pintype "stereo"))
)
)
)