mirror of
https://github.com/diodeinc/pcb.git
synced 2026-09-14 20:17:19 +08:00
aebd53ce61
* port changes from main repo * persist sch position * Update tests * remove unused
24 lines
344 B
Plaintext
24 lines
344 B
Plaintext
load("@stdlib/properties.zen", "Layout")
|
|
|
|
Resistor = Module("@stdlib/generics/Resistor.zen")
|
|
|
|
P1 = Net("P1")
|
|
P2 = Net("P2")
|
|
|
|
Resistor(
|
|
name = "R1",
|
|
value = "1kohm",
|
|
package = "0603",
|
|
P1 = P1,
|
|
P2 = P2,
|
|
)
|
|
|
|
Resistor(
|
|
name = "R2",
|
|
value = "1kohm",
|
|
package = "0603",
|
|
P1 = P1,
|
|
P2 = P2,
|
|
)
|
|
|
|
Layout(name = "Module", path = "module/") |