Samba-r
Newbie level 4
Hi
Is it possible in any way to make model parameters voltage- or current dependent.
e.g. I'd write something like:
--------------------------------
.func nn(x) {x*2}
.model ddd d n=nn( v(1) )
d 1 0 ddd
--------------------------------
This example works right:
--------------------------------
.func nn(x) {x*2}
.param a=2
.model ddd d n=nn(aa)
d 1 0 ddd
--------------------------------
But the first example doesn't.
Has anyone got a clue?
Is it possible in any way to make model parameters voltage- or current dependent.
e.g. I'd write something like:
--------------------------------
.func nn(x) {x*2}
.model ddd d n=nn( v(1) )
d 1 0 ddd
--------------------------------
This example works right:
--------------------------------
.func nn(x) {x*2}
.param a=2
.model ddd d n=nn(aa)
d 1 0 ddd
--------------------------------
But the first example doesn't.
Has anyone got a clue?