Files
Davide Asnaghi 8e6a63deb4 [FEATURE] sync zones and graphics (#79)
* sync zones and text

* add initial test for zone sync

* add zones to groups

* simpler zone test

* fix zone sync

* fix net determinism

* add more interesting test

* hack: amend tests with (0,0) positioning for now

* wip: fix nets for zones

* hack: keep old tests to make sure we don't mess up

* add zone sync

* fix sync graphics

* add complex test

* deterministic snapshot

* fix snapshots with no files

* add graphics test

* add timout

* bump timout

* reduce complexity

* move methods to virtual item

* add graphics groups

* use Duplicate

* add hatching to complex test
2025-08-24 01:29:00 -04:00

25 lines
379 B
Python

load("@stdlib/properties.zen", "Layout")
Resistor = Module("@stdlib/generics/Resistor.zen")
P1 = io("P1", Net)
P2 = io("P2", Net)
Resistor(
name = "R1",
value = "1kohm",
package = "0603",
P1 = P1,
P2 = P2,
)
Resistor(
name = "R2",
value = "1kohm",
package = "0603",
P1 = P1,
P2 = P2,
)
Layout(name = "Submodule", path = "submodule/")