Skip to content

Contribution statements #14

Open
Open
@ducky64

Description

@ducky64

Like how currents are written in Verilog-A(MS) / VHDL-AMS - you can just do a += on the node.

But perhaps with a bit more safety, where parameters that can be added to need to be forward-declared as open (mutability is explicit). This needs to pass through arguments, eg self.pwr=VoltageSink(..., current_draw=ContributionRange([optional_initializer]), then later we could self.pwr.current_draw += (0, 0.5)*Amp.

Primary use case is for current draws, which in chips are often a sum of the current draw of their ports. The current (hah) solution is kind of nasty with dummy nodes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready to implementOnly thing left is writing code, the theory has been thought out (to some degree)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions