Files
Akhil Velagapudi a31b48b499 Use API-only generic BOM matching (#1100)
* Preserve BOM match provenance in output

* Remove local generic BOM matching

* Fix grouped BOM status rendering

* Cache BOM sourcing groups atomically

* Shorten BOM changelog entry
2026-08-27 14:42:06 -04:00

24 lines
627 B
Python

"""Smoke test all Rectifier variants."""
load("../../interfaces.zen", "Net")
Rectifier = Module("../Rectifier.zen")
def _sanitize(value):
return str(value).replace("-", "_").replace(".", "p")
for technology in Rectifier.Technology.values():
for package in Rectifier.Package.values():
name = "D_RECT_" + _sanitize(technology) + "_" + _sanitize(package)
Rectifier(
name=name,
package=package,
technology=technology,
reverse_voltage="100V",
forward_current="100mA",
A=Net(name + "_A"),
K=Net(name + "_K"),
)