repo.or.cz
/
gnucap-felix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
check prequeueing in sock
[gnucap-felix.git]
/
tests
/
c_delete.4.ckt.ref
blob
86330a8a3ceec6beca0602e8ae0d9f7caff7bf52
1
' test delete in subckts
2
.subckt aa ( a b c )
3
r1 ( a b ) 1.
4
r2 ( b 0 ) 1.
5
r3 ( b c ) 1.
6
x1 ( a b ) bb
7
.subckt bb ( 1 2 )
8
r1 ( 1 2 ) 1.K
9
.ends bb
10
.ends aa
11
x1 ( 1 2 3 ) aa
12
v1 ( 1 0 ) DC 1.
13
# v(1) v(2) v(3)
14
27. 0.99999 0.50025 0.50025
15
.delete r2.bb
16
^ ? no match
17
.subckt aa ( a b c )
18
r1 ( a b ) 1.
19
r2 ( b 0 ) 1.
20
r3 ( b c ) 1.
21
x1 ( a b ) bb
22
.subckt bb ( 1 2 )
23
r1 ( 1 2 ) 1.K
24
.ends bb
25
.ends aa
26
x1 ( 1 2 3 ) aa
27
v1 ( 1 0 ) DC 1.
28
.subckt aa ( a b c )
29
r1 ( a b ) 1.
30
r3 ( b c ) 1.
31
x1 ( a b ) bb
32
.subckt bb ( 1 2 )
33
r1 ( 1 2 ) 1.K
34
.ends bb
35
.ends aa
36
x1 ( 1 2 3 ) aa
37
v1 ( 1 0 ) DC 1.
38
.delete r1.bb
39
^ ? no match
40
.subckt aa ( a b c )
41
r1 ( a b ) 1.
42
r3 ( b c ) 1.
43
x1 ( a b ) bb
44
.subckt bb ( 1 2 )
45
r1 ( 1 2 ) 1.K
46
.ends bb
47
.ends aa
48
x1 ( 1 2 3 ) aa
49
v1 ( 1 0 ) DC 1.
50
.subckt aa ( a b c )
51
x1 ( a b ) bb
52
.subckt bb ( 1 2 )
53
r1 ( 1 2 ) 1.K
54
.ends bb
55
.ends aa
56
x1 ( 1 2 3 ) aa
57
v1 ( 1 0 ) DC 1.