v0.2.60
版本发布时间: 2024-07-23 09:03:28
atopile/atopile最新发布版本:v0.2.64(2024-09-11 04:35:53)
I think you can see where this is going:
interface Power:
voltage: voltage
current_budget: current
assert current_budget >= 0mA
module SomeDevice:
power_in = new Power
power_in.voltage &= 3.3V +/- 15%
power_in.current_budget -= 10uA to 100mA
module SomeSupply:
power_out = new Power
power_out.voltage |= 3V to 20V
power_out.current_budget += 1A
module SomeModule:
supply = new SomeSupply
device_a = new SomeDevice
supply.power_out ~ device_a.power_in
device_b = new SomeDevice
supply.power_out ~ device_b.power_in
What's Changed
- Add set-cumulative operators by @mawildoer in https://github.com/atopile/atopile/pull/438
- Documentation and bug fixes for cumulative operations by @mawildoer in https://github.com/atopile/atopile/pull/439
- Convenient manual KiCAD plugin install by @mawildoer in https://github.com/atopile/atopile/pull/440
Full Changelog: https://github.com/atopile/atopile/compare/v0.2.59...v0.2.60