Merge branch 'testing-uf' into master-uf
[gnucap-felix.git] / tests / c_wave.2.gc
blobf499dd6be7f50340f92fa92164af08aaf36c6490
1 spice
2 .load c_wave.so
4 .param p=0
5 v1 1 0 pwl 0 -1 .01 1 9.99 1 10 -1
6 v2 0 2 pwl 0 -1 .01 1 9.99 1 10 -1
8 .store tran v(nodes)
9 .tran 0 10 10 trace=a > /dev/null
11 .wstash 'v(1)' w1
12 .wstash 'v(2)' w2
14 .wave select stash
15 .wave list
17 .echo w1
18 .wave dump w1
19 .echo w2
20 .wave dump w2
22 *.echo hdd w1 w2 discrete (.01)
23 *.wcmp w1 w2 directed method=dis
24 .echo hdd w1 w2 (2)
25 .wave cmp w1 w2 directed
27 .echo hdd w1 w2 (2)
28 .wave cmp w1 w2 directed v
30 .end