Merge branch 'testing-uf' into master-uf
[gnucap-felix.git] / tests / Xprobes.gc
blob7fc59dd4d1b6d72e6ebf16ff81e63a1f42fd8deb
1 load c_debug.so
2 spice
3 * test subckt node probes
5 .subckt half a1 a2
6 R2 a1  ni 1
7 R4 nii ni 1
8 R3 nii niii 1
9 R1 a2 niii 1
10 .ends
12 V1 ne1 0 1
13 X1 ne1 0 half
15 X2 ne3 ne4 half
16 R1 ne4 0   1
17 V2 ne3 0 2
19 .model cmosn nmos (level=8 ld=0.265073u tox=418.0e-10 rd=1)
20 m1 3 6 5 8 cmosn w=5u l=5u ad=45p as=45p pd=28u ps=28u nrd=1.8 nrs=1.8
23 .print tran v(nodes)
24 .tran 1 5
26 * doesnt work.
27 *.print tran v(.m1.id)
29 .print tran v(X1.ni) v(X1.nii)
30 .tran 1 5
32 .print tran v(X2.*ii)
33 .tran 1 5
35 .print tran v(X1.nodes)
36 .tran 1 5
38 .print tran v(X*.nodes)
39 .tran 1 5
42 .echo NODELIST
43 .nodelist
45 .end