blob: 2a00b16fc4afbf88c6ef7bde0e9774cf9cec1e10 (
plain)
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
29
30
31
32
33
34
35
36
37
38
|
* c:\users\shanthipriya\desktop\madeeasy\fossee\esim\library\subcircuitlibrary\f_origin\f_origin.cir
.include 4_OR.sub
* u1 /w /x /y /z net-_u1-pad5_ port
* u2 /y net-_u2-pad2_ d_inverter
* u3 /z net-_u3-pad2_ d_inverter
x1 net-_u4-pad3_ net-_u5-pad3_ net-_u6-pad3_ net-_u7-pad3_ net-_u1-pad5_ 4_OR
* u4 net-_u2-pad2_ net-_u3-pad2_ net-_u4-pad3_ d_and
* u5 /x net-_u2-pad2_ net-_u5-pad3_ d_and
* u6 /x net-_u3-pad2_ net-_u6-pad3_ d_and
* u7 /w net-_u2-pad2_ net-_u7-pad3_ d_and
a1 /y net-_u2-pad2_ u2
a2 /z net-_u3-pad2_ u3
a3 [net-_u2-pad2_ net-_u3-pad2_ ] net-_u4-pad3_ u4
a4 [/x net-_u2-pad2_ ] net-_u5-pad3_ u5
a5 [/x net-_u3-pad2_ ] net-_u6-pad3_ u6
a6 [/w net-_u2-pad2_ ] net-_u7-pad3_ u7
* Schematic Name: d_inverter, NgSpice Name: d_inverter
.model u2 d_inverter(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
* Schematic Name: d_inverter, NgSpice Name: d_inverter
.model u3 d_inverter(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
* Schematic Name: d_and, NgSpice Name: d_and
.model u4 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
* Schematic Name: d_and, NgSpice Name: d_and
.model u5 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
* Schematic Name: d_and, NgSpice Name: d_and
.model u6 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
* Schematic Name: d_and, NgSpice Name: d_and
.model u7 d_and(rise_delay=1.0e-9 fall_delay=1.0e-9 input_load=1.0e-12 )
.tran 0e-00 0e-00 0e-00
* Control Statements
.control
run
print allv > plot_data_v.txt
print alli > plot_data_i.txt
.endc
.end
|