Add more parameters to the example

This commit is contained in:
Holger Vogt 2022-02-22 20:49:23 +01:00
parent a7123e2f4c
commit ad03463c9b
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
* Param-example
.param amplitude= 1V
.param amplitude= 1 phase=0 dcvoltage=0
.subckt myfilter in out rval=100k cval=100nF
Ra in p1 {2*rval}
@ -11,6 +11,6 @@ R1 p2 0 {rval}
.ends myfilter
X1 input output myfilter rval=1k cval=1n
V1 input 0 AC {amplitude}
V1 input 0 DC 'dcvoltage' AC 'amplitude' 'phase'
.end