Hello,
I would like to use the same subcicuite within one schematic with slight different values several times. Imagine a subcircuit where I would like to vary the value of a resistor.
According to the ngspice manual sec. 2.8.3 it should be possible to call a subcircuit and to hand over parameters like in a function/methode in c/c++.
Hence, I defined my subcircuit in a lib-file as follows and made a new component out of it:
.subckt mysubckt 1 2 3 4 p1=1k p2=1g
…
.ends
But how to call the subcircuit from Eeschema and to hand over the parameters? I tried to use the “value”-field and the “Spice Model”-field but did not succseed. Is there somewhere a description/manual for my problem?
Patrick