mirror of
https://github.com/diodeinc/pcb.git
synced 2026-09-14 20:17:19 +08:00
d3bef1b0a5
* Consistent net naming * cargo fmt * fix clippy * uniquify net names
41 lines
1017 B
Plaintext
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"))
|
|
)
|
|
)
|
|
)
|