summaryrefslogtreecommitdiff
path: root/library/SubcircuitLibrary/2bitmul/2bitmul.cir.out
blob: 71766bd82ef3ad81a6d1fdea03a26d9b36245a26 (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
* c:\esim\esim\src\subcircuitlibrary\2bitmul\2bitmul.cir

.include half_adder.sub
* u5  net-_u1-pad1_ net-_u1-pad3_ net-_u1-pad5_ d_and
* u4  net-_u1-pad2_ net-_u1-pad3_ net-_u4-pad3_ d_and
* u3  net-_u1-pad1_ net-_u1-pad4_ net-_u3-pad3_ d_and
* u2  net-_u1-pad2_ net-_u1-pad4_ net-_u2-pad3_ d_and
x2 net-_u4-pad3_ net-_u3-pad3_ net-_u1-pad6_ net-_x1-pad1_ half_adder
x1 net-_x1-pad1_ net-_u2-pad3_ net-_u1-pad7_ net-_u1-pad8_ half_adder
* u1  net-_u1-pad1_ net-_u1-pad2_ net-_u1-pad3_ net-_u1-pad4_ net-_u1-pad5_ net-_u1-pad6_ net-_u1-pad7_ net-_u1-pad8_ port
a1 [net-_u1-pad1_ net-_u1-pad3_ ] net-_u1-pad5_ u5
a2 [net-_u1-pad2_ net-_u1-pad3_ ] net-_u4-pad3_ u4
a3 [net-_u1-pad1_ net-_u1-pad4_ ] net-_u3-pad3_ u3
a4 [net-_u1-pad2_ net-_u1-pad4_ ] net-_u2-pad3_ u2
* Schematic Name: d_and, NgSpice Name: d_and
.model u5 d_and(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 ) 
* Schematic Name: d_and, NgSpice Name: d_and
.model u4 d_and(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 ) 
* Schematic Name: d_and, NgSpice Name: d_and
.model u3 d_and(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 ) 
* Schematic Name: d_and, NgSpice Name: d_and
.model u2 d_and(fall_delay=1.0e-9 input_load=1.0e-12 rise_delay=1.0e-9 ) 
.tran 10e-03 100e-03 0e-03

* Control Statements 
.control
run
print allv > plot_data_v.txt
print alli > plot_data_i.txt
.endc
.end