File: ex2.lib

package info (click to toggle)
ngspice 30.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 50,684 kB
  • sloc: ansic: 497,340; xml: 6,914; makefile: 3,620; sh: 2,322; perl: 1,909; yacc: 1,514; tcl: 1,033; lex: 318
file content (28 lines) | stat: -rw-r--r-- 322 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
* -*- spice -*-

.LIB MOS

.subckt  sub1_in_lib  n1 n2
.LIB 'ex2.lib' RES
Xsub1  n1 n2  sub3_in_lib
R1a    n1 n2  4k
R1b    n1 n2  2k
.ends

.subckt  sub2_in_lib  n1 n2
.LIB 'ex2.lib' RES
Xsub2  n1 n2  sub3_in_lib
R2     n1 n2  4k
.ends

.ENDL MOS



.LIB RES

.subckt  sub3_in_lib  n1 n2
R3   n1 n2   4k
.ends

.ENDL RES