-
Notifications
You must be signed in to change notification settings - Fork 5
/
nand_02.sue.BAK
35 lines (34 loc) · 1.08 KB
/
nand_02.sue.BAK
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
proc SCHEMATIC_nand_02 {} {
make pmos -name M0 -origin {40 -120}
make pmos -name M1 -origin {180 -120}
make global -orient RXY -name vdd -origin {110 -200}
make nmos -name M2 -origin {110 60}
make nmos -name M3 -origin {110 180}
make output -name v_out -origin {140 0}
make name_net -name vin_a -origin {-20 -150}
make name_net -name vin_b -origin {120 -150}
make name_net -name vin_a -origin {50 40}
make name_net -name vin_b -origin {50 150}
make input -name vin_a -origin {-160 -40}
make input -name vin_b -origin {-160 0}
make global -name gnd -origin {110 220}
make name_net -name v_out -origin {130 -10}
make_wire 40 -160 40 -200
make_wire 40 -200 110 -200
make_wire 180 -160 180 -200
make_wire 180 -200 110 -200
make_wire 40 -80 40 -40
make_wire 180 -40 180 -80
make_wire 110 -40 40 -40
make_wire 110 -40 180 -40
make_wire 110 140 110 100
make_wire 110 0 110 20
make_wire 110 0 110 -40
make_wire -20 -150 -20 -120
make_wire 120 -150 120 -120
make_wire 50 40 50 60
make_wire 50 150 50 180
make_wire 130 0 140 0
make_wire 130 0 110 0
make_wire 130 -10 130 0
}