blob: 0017627e4d87833b1c2a98a7772233befc0973d6 (
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
|
* c:\users\shanthipriya\desktop\madeeasy\fossee\esim\library\subcircuitlibrary\a_origin\a_origin.cir
.include 3_and.sub
.include 4_OR.sub
* u1 /w /x /y /z net-_u1-pad5_ port
* u2 /w net-_u2-pad2_ d_inverter
* u3 /x net-_u3-pad2_ d_inverter
* u4 /y net-_u4-pad2_ d_inverter
* u5 /z net-_u5-pad2_ d_inverter
x3 /x net-_u4-pad2_ /z net-_x3-pad4_ 3_and
x1 /w net-_u3-pad2_ net-_u4-pad2_ net-_x1-pad4_ 3_and
x2 net-_u2-pad2_ /y /z net-_x2-pad4_ 3_and
x4 net-_u2-pad2_ net-_u3-pad2_ net-_u5-pad2_ net-_x4-pad4_ 3_and
x5 net-_x3-pad4_ net-_x1-pad4_ net-_x2-pad4_ net-_x4-pad4_ net-_u1-pad5_ 4_OR
a1 /w net-_u2-pad2_ u2
a2 /x net-_u3-pad2_ u3
a3 /y net-_u4-pad2_ u4
a4 /z net-_u5-pad2_ u5
* 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_inverter, NgSpice Name: d_inverter
.model u4 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 u5 d_inverter(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
|