by jimmyswimmy · 9y ago · 0 comments
As I went through the doc I started to think how cool it would be to put some parametric design features straight into my circuit code. So you could set gain and filter frequencies to be inputs and calculate component values automatically, creating self documenting circuits. But then I saw what they did to the multiplication operator. Yuck, that's super unintuitive:
> r2, r3 = 2*r1
That's how you make two copies of whatever r1 is. But intuitively that statement says, at least to an EE it a circuits guy, that r2 and r3 are resistors with twice the resistance value of whatever r1 is. That is a real problem.
Might be nice for fpga layout design. Tying 400 pins to net names by clicking on each one is tedious and error prone. For everything else I'd really miss the graphical representation of a schematic.