Beruflich Dokumente
Kultur Dokumente
_______________________________________________________________________
Exp No: 1
CMOS INVERTER
Aim:
a) To construct the CMOS Inverter in Tanner EDA v13.1 and to do the Transient
Analysis.
b) To analyze the response with appropriate wave forms. And to verify the Spice.
Tools used:
1. Tanner Tools v13.1
2. Schematic-Edit
3. Layout -Edit
4. Wave- Edit
5. Tanner Spice
Procedure:
1. Open S-Edit window.
2. Go to File New New design
3. Go to Cell New View
4. Add libraries file to the New Cell.
5. Instance the devices by using appropriate library files.
6. Save the design and setup the simulation.
7. Run design and observe waveforms.
8. Observe DC inputs and outputs by giving appropriate inputs.
SVCET
2
_______________________________________________________________________
Schematic Diagram:
SVCET
3
_______________________________________________________________________
SVCET
4
_______________________________________________________________________
Output responses:
SVCET
5
_______________________________________________________________________
DC Analysis:
Result:
The CMOS Inverter is constructed in Tanner EDA v13.1, the spice code is
generated and waveforms are verified.
SVCET
6
_______________________________________________________________________
Exp No: 2
LOGIC GATES
Aim:
a) To construct the following Logic Gates in Tanner EDA v13.1 and to do the
Transient Analysis.
b) To analyze the response with appropriate wave forms. And to verify the Spice.
(i) NAND (ii) NOR (iii) OR (iv) AND (v) Ex-OR (vi) Ex-NOR
Tools used:
1. Tanner Tools v13.1
2. Schematic-Edit
3. Layout -Edit
4. Wave- Edit
5. Tanner Spice
Procedure:
1. Open S-Edit window.
2. Go to File New New design
3. Go to Cell New View
4. Add libraries file to the New Cell.
5. Instance the devices by using appropriate library files.
6. Save the design and setup the simulation.
7. Run design and observe waveforms.
8. Observe DC inputs and outputs by giving appropriate inputs.
SVCET
7
_______________________________________________________________________
Schematic Diagram:
(i)
NAND Gate:
SVCET
8
_______________________________________________________________________
SVCET
9
_______________________________________________________________________
********* Simulation Settings - Additional SPICE commands *********
.end
Output responses:
INPUT A
INPUT B
OUTPUT
SVCET
10
_______________________________________________________________________
SVCET
11
_______________________________________________________________________
SVCET
12
_______________________________________________________________________
.end
Output responses:
SVCET
13
_______________________________________________________________________
SVCET
14
_______________________________________________________________________
SVCET
15
_______________________________________________________________________
.end
Output responses:
SVCET
16
_______________________________________________________________________
Layout Diagram of AND gate:
SVCET
17
_______________________________________________________________________
SVCET
18
_______________________________________________________________________
M8 10 U1/NAND2C_1/Out1 Out Gnd NMOS L=2u W=28u AD=28p PD=30u AS=148p
PS=68u
M9 U1/NAND2C_2/Out2 Out Gnd Gnd NMOS L=2u W=28u AD=148p PD=68u
AS=122p PS=47u
M10 Gnd b 9 Gnd NMOS L=2u W=28u AD=122p PD=47u AS=28p PS=30u
M11 9 a U1/NAND2C_1/Out1 Gnd NMOS L=2u W=28u AD=28p PD=30u AS=148p
PS=68u
M12 U1/NAND2C_1/Out2 U1/NAND2C_1/Out1 Gnd Gnd NMOS L=2u W=28u
AD=148p PD=68u AS=122p PS=47u
* Total Nodes: 10
* Total Elements: 12
* Total Number of Shorted Elements not written to the SPICE file: 4
* Output Generation Elapsed Time: 0.016 sec
* Total Extract Elapsed Time: 2.328 sec
.END
SVCET
19
_______________________________________________________________________
(iv) OR Gate:
SVCET
20
_______________________________________________________________________
SVCET
21
_______________________________________________________________________
Output responses:
SVCET
22
_______________________________________________________________________
SVCET
23
_______________________________________________________________________
SVCET
24
_______________________________________________________________________
M5 Vdd b U1/NAND2C_2/Out1 Vdd PMOS L=2u W=28u AD=84p PD=34u AS=84p
PS=34u
M6 U1/NAND2C_2/Out1 b Vdd Vdd PMOS L=2u W=28u AD=84p PD=34u AS=144p
PS=68u
M7 U1/NAND2C_2/Out2 U1/NAND2C_2/Out1 Vdd Vdd PMOS L=2u W=28u
AD=148p PD=68u AS=84p PS=34u
M8 Vdd a U1/NAND2C_1/Out1 Vdd PMOS L=2u W=28u AD=84p PD=34u AS=84p
PS=34u
M9 U1/NAND2C_1/Out1 a Vdd Vdd PMOS L=2u W=28u AD=84p PD=34u AS=144p
PS=68u
M10 U1/NAND2C_1/Out2 U1/NAND2C_1/Out1 Vdd Vdd PMOS L=2u W=28u
AD=148p PD=68u AS=84p PS=34u
M11 Gnd U1/NAND2C_2/Out1 13 Gnd NMOS L=2u W=28u AD=122p PD=47u
AS=28p PS=30u
M12 13 U1/NAND2C_1/Out1 Out Gnd NMOS L=2u W=28u AD=28p PD=30u
AS=148p PS=68u
M13 Gnd b 10 Gnd NMOS L=2u W=28u AD=122p PD=47u AS=28p PS=30u
M14 10 b U1/NAND2C_2/Out1 Gnd NMOS L=2u W=28u AD=28p PD=30u AS=148p
PS=68u
M15 U1/NAND2C_2/Out2 U1/NAND2C_2/Out1 Gnd Gnd NMOS L=2u W=28u
AD=148p PD=68u AS=122p PS=47u
M16 Gnd a 9 Gnd NMOS L=2u W=28u AD=122p PD=47u AS=28p PS=30u
M17 9 a U1/NAND2C_1/Out1 Gnd NMOS L=2u W=28u AD=28p PD=30u AS=148p
PS=68u
M18 U1/NAND2C_1/Out2 U1/NAND2C_1/Out1 Gnd Gnd NMOS L=2u W=28u
AD=148p PD=68u AS=122p PS=47u
* Total Nodes: 13
* Total Elements: 18
* Total Number of Shorted Elements not written to the SPICE file: 6
* Output Generation Elapsed Time: 0.000 sec
* Total Extract Elapsed Time: 2.468 sec
.END
SVCET
25
_______________________________________________________________________
SVCET
26
_______________________________________________________________________
SVCET
27
_______________________________________________________________________
Output responses:
INPUT A
INPUT B
OUTPUT
SVCET
28
_______________________________________________________________________
SVCET
29
_______________________________________________________________________
SVCET
30
_______________________________________________________________________
Output responses:
INPUT A
INPUT B
OUTPUT
Result:
The Logic Gates are constructed in Tanner EDA v13.1, the spice code is
generated and wave forms are verified.
SVCET
31
_______________________________________________________________________
Exp No: 3
HALF ADDER
Aim:
a) To construct the Half Adder in Tanner EDA v13.1 and to do the Transient
Analysis.
b) To analyze the response with appropriate wave forms. And to verify the Spice.
Tools used:
1. Tanner Tools v13.1
2. Schematic-Edit
3. Layout -Edit
4. Wave- Edit
5. Tanner Spice
Procedure:
1. Open S-Edit window.
2. Go to File New New design
3. Go to Cell New View
4. Add libraries file to the New Cell.
5. Instance the devices by using appropriate library files.
6. Save the design and setup the simulation.
7. Run design and observe waveforms.
8. Observe DC inputs and outputs by giving appropriate inputs.
SVCET
32
_______________________________________________________________________
Schematic Diagram:
SVCET
33
_______________________________________________________________________
SVCET
34
_______________________________________________________________________
* Revision: 2
*-------- Devices: SPICE.ORDER > 0 -------MN1 Out1 A 1 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MN2 1 B Gnd 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MN3 Out2 Out1 Gnd 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MP1 Out1 A Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MP2 Out1 B Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MP3 Out2 Out1 Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u
AD=2.25p PD=6.8u
.ends
.subckt XNOR2 A B Out Gnd Vdd
*-------- Devices: SPICE.ORDER < 0 -------* Design: LogicGates / Cell: XNOR2 / View: Main / Page:
* Designed by: Tanner EDA Library Development Team
* Organization: Tanner EDA - Tanner Research, Inc.
* Info: 2 Input NOR
* Date: 7/18/2008 3:58:48 AM
* Revision: 4
*-------- Devices: SPICE.ORDER > 0 -------MM3n 1 A 2 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MM10n Out 1 5 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MM9n 5 A Gnd 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MM8n Out 1 4 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MM7n 4 B Gnd 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MM4n 2 B Gnd 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MM5p 3 B Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MM11p Out 1 Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MM2p 1 B Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MM1p 1 A Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MM6p Out A 3 Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
.ends
.subckt XOR2 A B Out Gnd Vdd
*-------- Devices: SPICE.ORDER < 0 -------* Design: LogicGates / Cell: XOR2 / View: Main / Page:
* Designed by: Tanner EDA Library Development Team
* Organization: Tanner EDA - Tanner Research, Inc.
SVCET
35
_______________________________________________________________________
* Info: 2 Input NOR
* Date: 7/18/2008 1:30:51 AM
* Revision: 3
*-------- Devices: SPICE.ORDER == 0 -------XXinv N_1 Out Gnd Vdd INV
XXxnor A B N_1 Gnd Vdd XNOR2
.ends
********* Simulation Settings - Parameters and SPICE Options *********
*-------- Devices: SPICE.ORDER == 0 -------XINV_1 N_1 carry Gnd Vdd INV
XNAND2C_1 In1 In2 N_1 N_2 Gnd Vdd NAND2C
XXOR2_1 In1 In2 sum Gnd Vdd XOR2
*-------- Devices: SPICE.ORDER > 0 -------VVoltageSource_3 Vdd Gnd DC 5
VVoltageSource_1 In1 Gnd PULSE(0 5 0 5n 5n 50n 100n)
VVoltageSource_2 In2 Gnd PULSE(0 5 0 5n 5n 25n 50n)
.PRINT TRAN V(In1)
.PRINT TRAN V(In2)
.PRINT TRAN V(carry)
.PRINT TRAN V(sum)
********* Simulation Settings - Analysis section *********
.tran 350ns 500ns
.dc lin source VVoltageSource_1 0 5 0.5 sweep lin source VVoltageSource_2 0 5 0.5
.print dc v(XINV_1,GND)
.print dc v(XXOR2_1,GND)
********* Simulation Settings - Additional SPICE commands *********
.end
SVCET
36
_______________________________________________________________________
Output responses:
Result:
The Half Adder is constructed in Tanner EDA v13.1, the spice code is generated
and wave forms are verified.
SVCET
37
_______________________________________________________________________
Exp No: 4
FULL ADDER
Aim:
a) To construct the Full Adder in Tanner EDA v13.1 and to do the Transient
Analysis.
b) To analyze the response with appropriate wave forms. And to verify the Spice.
Tools used:
1. Tanner Tools v13.1
2. Schematic-Edit
3. Layout -Edit
4. Wave- Edit
5. Tanner Spice
Procedure:
1. Open S-Edit window.
2. Go to File New New design
3. Go to Cell New View
4. Add libraries file to the New Cell.
5. Instance the devices by using appropriate library files.
6. Save the design and setup the simulation.
7. Run design and observe waveforms.
8. Observe DC inputs and outputs by giving appropriate inputs.
Schematic Diagram:
I- M.Tech II SEM-(VLSI System Design)
SVCET
38
_______________________________________________________________________
SVCET
39
_______________________________________________________________________
********* Simulation Settings - General section *********
.lib "C:\Documents and Settings\Administrator\My Documents\Tanner EDA\Tanner
Tools v13.1\Libraries\Models\Generic_025.lib" TT
*************** Subcircuits *****************
.subckt INV A Out Gnd Vdd
*-------- Devices: SPICE.ORDER < 0 -------* Design: LogicGates / Cell: INV / View: Main / Page:
* Designed by: Tanner EDA Library Development Team
* Organization: Tanner EDA - Tanner Research, Inc.
* Info: Inverter
* Date: 6/14/2007 1:47:11 AM
* Revision: 3
*-------- Devices: SPICE.ORDER > 0 -------MN1 Out A Gnd 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MP1 Out A Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
.ends
.subckt NAND2C A B Out1 Out2 Gnd Vdd
*-------- Devices: SPICE.ORDER < 0 -------* Design: LogicGates / Cell: NAND2C / View: Main / Page:
* Designed by: Tanner EDA Library Development Team
* Organization: Tanner EDA - Tanner Research, Inc.
* Info: 2 Input NAND with complementary output.
* Date: 6/14/2007 1:47:11 AM
* Revision: 2
*-------- Devices: SPICE.ORDER > 0 -------MN1 Out1 A 1 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MN2 1 B Gnd 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MN3 Out2 Out1 Gnd 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MP1 Out1 A Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MP2 Out1 B Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MP3 Out2 Out1 Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u
AD=2.25p PD=6.8u
.ends
.subckt NAND3C A B C Out1 Out2 Gnd Vdd
*-------- Devices: SPICE.ORDER < 0 -------* Design: LogicGates / Cell: NAND3C / View: Main / Page:
* Designed by: Author
* Organization: Organization
* Info: Info
SVCET
40
_______________________________________________________________________
* Date: 6/14/2007 1:47:11 AM
* Revision: 3
*-------- Devices: SPICE.ORDER > 0 -------MN1 Out1 C 1 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MN2 1 B 2 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MN3 2 A Gnd 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MN4 Out2 Out1 Gnd 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MP1 Out1 A Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MP2 Out1 B Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MP3 Out1 C Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MP4 Out2 Out1 Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u
AD=2.25p PD=6.8u
.ends
.subckt XNOR2 A B Out Gnd Vdd
*-------- Devices: SPICE.ORDER < 0 -------* Design: LogicGates / Cell: XNOR2 / View: Main / Page:
* Designed by: Tanner EDA Library Development Team
* Organization: Tanner EDA - Tanner Research, Inc.
* Info: 2 Input NOR
* Date: 7/18/2008 3:58:48 AM
* Revision: 4
*-------- Devices: SPICE.ORDER > 0 -------MM3n 1 A 2 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MM10n Out 1 5 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MM9n 5 A Gnd 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MM8n Out 1 4 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MM7n 4 B Gnd 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MM4n 2 B Gnd 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MM5p 3 B Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MM11p Out 1 Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MM2p 1 B Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MM1p 1 A Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MM6p Out A 3 Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
.ends
.subckt XOR2 A B Out Gnd Vdd
SVCET
41
_______________________________________________________________________
*-------- Devices: SPICE.ORDER < 0 -------* Design: LogicGates / Cell: XOR2 / View: Main / Page:
* Designed by: Tanner EDA Library Development Team
* Organization: Tanner EDA - Tanner Research, Inc.
* Info: 2 Input NOR
* Date: 7/18/2008 1:30:51 AM
* Revision: 3
*-------- Devices: SPICE.ORDER == 0 -------XXinv N_1 Out Gnd Vdd INV
XXxnor A B N_1 Gnd Vdd XNOR2
.ends
********* Simulation Settings - Parameters and SPICE Options *********
*-------- Devices: SPICE.ORDER == 0 -------XXOR2_2 N_8 In3 sum Gnd Vdd XOR2
XNAND3C_1 N_1 N_2 N_3 carry N_4 Gnd Vdd NAND3C
XNAND2C_1 In1 In2 N_1 N_7 Gnd Vdd NAND2C
XNAND2C_2 In2 In3 N_2 N_6 Gnd Vdd NAND2C
XNAND2C_3 In1 In3 N_3 N_5 Gnd Vdd NAND2C
XXOR2_1 In1 In2 N_8 Gnd Vdd XOR2
*-------- Devices: SPICE.ORDER > 0 -------VVoltageSource_4 Vdd Gnd DC 5
VVoltageSource_1 In1 Gnd PULSE(0 5 0 5n 5n 100n 200n)
VVoltageSource_2 In2 Gnd PULSE(0 5 0 5n 5n 50n 100n)
VVoltageSource_3 In3 Gnd PULSE(0 5 0 5n 5n 25n 50n)
.PRINT TRAN V(In1)
.PRINT TRAN V(In2)
.PRINT TRAN V(In3)
.PRINT TRAN V(sum)
.PRINT TRAN V(carry)
********* Simulation Settings - Analysis section *********
.tran 350ns 500ns
.dc lin source VVOLTAGESOURCE_1 0 5 0.5 sweep lin source
VVOLTAGESOURCE_2 0 5 0.5 sweep lin source VVOLTAGESOURCE_3 0 5 0.5
.print dc v(XXOR2_2,GND)
.print dc v(XXOR2_2,GND) v(XNAND3C_1,GND)
********* Simulation Settings - Additional SPICE commands *********
.end
SVCET
42
_______________________________________________________________________
Output responses:
INPUT V(A)
INPUT V(B)
INPUT V(C)
OUTPUT V(SUM)
OUTPUT V(CARRY)
SVCET
43
_______________________________________________________________________
SVCET
44
_______________________________________________________________________
*
1 = CARRY (125 , 142.5)
*
1 = U2/NAND2C_9/Out1 (87 , 96)
*
2 = SUM (125 , 56.5)
*
2 = U2/NAND2C_8/Out1 (53 , 96)
*
3 = U2/NAND2C_7/Out1 (19 , 96)
*
3 = U2/NAND2C_8/B (45 , 107)
*
4 = U2/NAND2C_9/Out2 (95 , 98)
*
5 = U2/NAND2C_8/Out2 (61 , 98)
*
6 = U2/NAND2C_7/Out2 (27 , 98)
*
10 = U2/NAND2C_6/Out1 (-15 , 96)
*
10 = U2/NAND2C_8/A (37 , 114)
*
11 = U2/NAND2C_5/Out1 (-49 , 96)
*
11 = U2/NAND2C_6/B (-23 , 107)
*
11 = U2/NAND2C_7/A (3 , 114)
*
11 = U2/NAND2C_9/B (79 , 107)
*
12 = U2/NAND2C_5/A (-65 , 114)
*
12 = U2/NAND2C_6/A (-31 , 114)
*
12 = U3/NAND2C_4/Out1 (53 , -22)
*
13 = U2/NAND2C_6/Out2 (-7 , 98)
*
14 = U2/NAND2C_5/Out2 (-41 , 98)
*
17 = U3/NAND2C_3/Out1 (19 , -22)
*
17 = U3/NAND2C_4/B (45 , -11)
*
18 = U3/NAND2C_4/Out2 (61 , -20)
*
19 = U3/NAND2C_3/Out2 (27 , -20)
*
22 = Vdd (-100 , -62)
*
22 = U2/A/Vdd (-68 , 130)
*
22 = U2/NAND2C_5/Vdd (-34 , 130)
*
22 = U2/NAND2C_6/Vdd (-34 , 130)
*
22 = U2/NAND2C_7/Vdd (34 , 130)
*
22 = U2/NAND2C_8/Vdd (68 , 130)
*
22 = U2/NAND2C_9/Vdd (68 , 130)
*
22 = U3/Cin/Vdd (-34 , 12)
*
22 = U3/NAND2C_1/Vdd (-42 , 12)
*
22 = U3/NAND2C_2/Vdd (-34 , 12)
*
22 = U3/NAND2C_3/Vdd (34 , 12)
*
22 = U3/NAND2C_4/Vdd (68 , 12)
*
23 = Gnd (109 , -62)
*
23 = U2/A/Gnd (-68 , 72)
*
23 = U2/NAND2C_5/Gnd (-34 , 72)
*
23 = U2/NAND2C_6/Gnd (-34 , 72)
*
23 = U2/NAND2C_7/Gnd (34 , 72)
*
23 = U2/NAND2C_8/Gnd (68 , 72)
*
23 = U2/NAND2C_9/Gnd (68 , 72)
*
23 = U3/Cin/Gnd (-34 , -46)
*
23 = U3/NAND2C_1/Gnd (-42 , -46)
*
23 = U3/NAND2C_2/Gnd (-34 , -46)
*
23 = U3/NAND2C_3/Gnd (34 , -46)
SVCET
45
_______________________________________________________________________
*
23 = U3/NAND2C_4/Gnd (68 , -46)
*
24 = U2/NAND2C_9/A (71 , 114)
*
24 = U3/NAND2C_1/Out1 (-57 , -22)
*
24 = U3/NAND2C_2/B (-23 , -11)
*
24 = U3/NAND2C_3/A (3 , -4)
*
25 = A (-100 , 142.5)
*
25 = U3/NAND2C_1/A (-73 , -4)
*
25 = U3/NAND2C_2/A (-31 , -4)
*
26 = Cin (-100 , -61.5)
*
26 = U2/NAND2C_5/B (-57 , 107)
*
26 = U2/NAND2C_7/B (11 , 107)
*
27 = B (-100 , 32.5)
*
27 = U3/NAND2C_1/B (-65 , -11)
*
27 = U3/NAND2C_3/B (11 , -11)
*
28 = U3/NAND2C_2/Out1 (-15 , -22)
*
28 = U3/NAND2C_4/A (37 , -4)
*
29 = U3/NAND2C_2/Out2 (-7 , -20)
*
30 = U3/NAND2C_1/Out2 (-49 , -20)
M1 Vdd U2/NAND2C_5/Out1 CARRY Vdd PMOS L=2u W=28u AD=84p PD=34u
AS=84p PS=34u
M2 CARRY U2/NAND2C_9/A Vdd Vdd PMOS L=2u W=28u AD=84p PD=34u
AS=144p PS=68u
M3 U2/NAND2C_9/Out2 CARRY Vdd Vdd PMOS L=2u W=28u AD=148p PD=68u
AS=84p PS=34u
M4 Vdd U2/NAND2C_7/Out1 SUM Vdd PMOS L=2u W=28u AD=84p PD=34u
AS=84p PS=34u
M5 SUM U2/NAND2C_6/Out1 Vdd Vdd PMOS L=2u W=28u AD=84p PD=34u
AS=144p PS=68u
M6 U2/NAND2C_8/Out2 SUM Vdd Vdd PMOS L=2u W=28u AD=148p PD=68u
AS=84p PS=34u
M7 Vdd Cin U2/NAND2C_7/Out1 Vdd PMOS L=2u W=28u AD=84p PD=34u AS=84p
PS=34u
M8 U2/NAND2C_7/Out1 U2/NAND2C_5/Out1 Vdd Vdd PMOS L=2u W=28u AD=84p
PD=34u AS=144p PS=68u
M9 U2/NAND2C_7/Out2 U2/NAND2C_7/Out1 Vdd Vdd PMOS L=2u W=28u
AD=148p PD=68u AS=84p PS=34u
M10 Gnd U2/NAND2C_5/Out1 9 Gnd NMOS L=2u W=28u AD=122p PD=47u AS=28p
PS=30u
M11 9 U2/NAND2C_9/A CARRY Gnd NMOS L=2u W=28u AD=28p PD=30u
AS=148p PS=68u
M12 U2/NAND2C_9/Out2 CARRY Gnd Gnd NMOS L=2u W=28u AD=148p PD=68u
AS=122p PS=47u
M13 Gnd U2/NAND2C_7/Out1 8 Gnd NMOS L=2u W=28u AD=122p PD=47u AS=28p
PS=30u
M14 8 U2/NAND2C_6/Out1 SUM Gnd NMOS L=2u W=28u AD=28p PD=30u
AS=148p PS=68u
SVCET
46
_______________________________________________________________________
M15 U2/NAND2C_8/Out2 SUM Gnd Gnd NMOS L=2u W=28u AD=148p PD=68u
AS=122p PS=47u
M16 Gnd Cin 7 Gnd NMOS L=2u W=28u AD=122p PD=47u AS=28p PS=30u
M17 7 U2/NAND2C_5/Out1 U2/NAND2C_7/Out1 Gnd NMOS L=2u W=28u AD=28p
PD=30u AS=148p PS=68u
M18 U2/NAND2C_7/Out2 U2/NAND2C_7/Out1 Gnd Gnd NMOS L=2u W=28u
AD=148p PD=68u AS=122p PS=47u
M19 Vdd U2/NAND2C_5/Out1 U2/NAND2C_6/Out1 Vdd PMOS L=2u W=28u
AD=84p PD=34u AS=84p PS=34u
M20 U2/NAND2C_6/Out1 U2/NAND2C_5/A Vdd Vdd PMOS L=2u W=28u AD=84p
PD=34u AS=144p PS=68u
M21 U2/NAND2C_6/Out2 U2/NAND2C_6/Out1 Vdd Vdd PMOS L=2u W=28u
AD=148p PD=68u AS=84p PS=34u
M22 Vdd Cin U2/NAND2C_5/Out1 Vdd PMOS L=2u W=28u AD=84p PD=34u
AS=84p PS=34u
M23 U2/NAND2C_5/Out1 U2/NAND2C_5/A Vdd Vdd PMOS L=2u W=28u AD=84p
PD=34u AS=144p PS=68u
M24 U2/NAND2C_5/Out2 U2/NAND2C_5/Out1 Vdd Vdd PMOS L=2u W=28u
AD=148p PD=68u AS=84p PS=34u
M25 Gnd U2/NAND2C_5/Out1 16 Gnd NMOS L=2u W=28u AD=122p PD=47u
AS=28p PS=30u
M26 16 U2/NAND2C_5/A U2/NAND2C_6/Out1 Gnd NMOS L=2u W=28u AD=28p
PD=30u AS=148p PS=68u
M27 U2/NAND2C_6/Out2 U2/NAND2C_6/Out1 Gnd Gnd NMOS L=2u W=28u
AD=148p PD=68u AS=122p PS=47u
M28 Gnd Cin 15 Gnd NMOS L=2u W=28u AD=122p PD=47u AS=28p PS=30u
M29 15 U2/NAND2C_5/A U2/NAND2C_5/Out1 Gnd NMOS L=2u W=28u AD=28p
PD=30u AS=148p PS=68u
M30 U2/NAND2C_5/Out2 U2/NAND2C_5/Out1 Gnd Gnd NMOS L=2u W=28u
AD=148p PD=68u AS=122p PS=47u
M31 Vdd U3/NAND2C_3/Out1 U2/NAND2C_5/A Vdd PMOS L=2u W=28u AD=84p
PD=34u AS=84p PS=34u
M32 U2/NAND2C_5/A U3/NAND2C_2/Out1 Vdd Vdd PMOS L=2u W=28u AD=84p
PD=34u AS=144p PS=68u
M33 U3/NAND2C_4/Out2 U2/NAND2C_5/A Vdd Vdd PMOS L=2u W=28u AD=148p
PD=68u AS=84p PS=34u
M34 Vdd B U3/NAND2C_3/Out1 Vdd PMOS L=2u W=28u AD=84p PD=34u AS=84p
M35 U3/NAND2C_3/Out1 U2/NAND2C_9/A Vdd Vdd PMOS L=2u W=28u AD=84p
M36 U3/NAND2C_3/Out2 U3/NAND2C_3/Out1 Vdd Vdd PMOS L=2u W=28u M37
Gnd U3/NAND2C_3/Out1 21 Gnd NMOS L=2u W=28u AD=122p PD=47u AS=28p
M38 21 U3/NAND2C_2/Out1 U2/NAND2C_5/A Gnd NMOS L=2u W=28u AD=28p
PD=30u AS=148p PS=68u
M39 U3/NAND2C_4/Out2 U2/NAND2C_5/A Gnd Gnd NMOS L=2u W=28u AD=148p
PD=68u AS=122p PS=47u
M40 Gnd B 20 Gnd NMOS L=2u W=28u AD=122p PD=47u AS=28p PS=30u
M41 20 U2/NAND2C_9/A U3/NAND2C_3/Out1 Gnd NMOS L=2u W=28u AD=28p
PD=30u AS=148p PS=68u
SVCET
47
_______________________________________________________________________
M42 U3/NAND2C_3/Out2 U3/NAND2C_3/Out1 Gnd Gnd NMOS L=2u W=28u
AD=148p PD=68u AS=122p PS=47u
M43 Vdd U2/NAND2C_9/A U3/NAND2C_2/Out1 Vdd PMOS L=2u W=28u AD=84p
PD=34u AS=84p PS=34u
M44 U3/NAND2C_2/Out1 A Vdd Vdd PMOS L=2u W=28u AD=84p PD=34u AS=144p
PS=68u
M45 U3/NAND2C_2/Out2 U3/NAND2C_2/Out1 Vdd Vdd PMOS L=2u W=28u
AD=148p PD=68u AS=84p PS=34u
M46 Vdd B U2/NAND2C_9/A Vdd PMOS L=2u W=28u AD=84p PD=34u AS=84p
PS=34u
M47 U2/NAND2C_9/A A Vdd Vdd PMOS L=2u W=28u AD=84p PD=34u AS=144p
PS=68u
M48 U3/NAND2C_1/Out2 U2/NAND2C_9/A Vdd Vdd PMOS L=2u W=28u AD=148p
PD=68u AS=84p PS=34u
M49 Gnd U2/NAND2C_9/A 32 Gnd NMOS L=2u W=28u AD=122p PD=47u AS=28p
PS=30u
M50 32 A U3/NAND2C_2/Out1 Gnd NMOS L=2u W=28u AD=28p PD=30u AS=148p
PS=68u
M51 U3/NAND2C_2/Out2 U3/NAND2C_2/Out1 Gnd Gnd NMOS L=2u W=28u
AD=148p PD=68u AS=122p PS=47u
M52 Gnd B 31 Gnd NMOS L=2u W=28u AD=122p PD=47u AS=28p PS=30u
M53 31 A U2/NAND2C_9/A Gnd NMOS L=2u W=28u AD=28p PD=30u AS=148p M54
U3/NAND2C_1/Out2 U2/NAND2C_9/A Gnd Gnd NMOS L=2u W=28u AD=148p
PD=68u AS=122p PS=47u
* Total Nodes: 32
* Total Elements: 54
* Total Number of Shorted Elements not written to the SPICE file: 18
* Output Generation Elapsed Time: 0.000 sec
* Total Extract Elapsed Time: 2.422 sec
.END
Result:
The Full Adder is constructed in Tanner EDA v13.1, the spice code is generated
and wave forms are verified
Exp No: 5
D - FLIP FLOP
Aim:
a) To construct the D-Flip flop in Tanner EDA v13.1 and to do the Transient
Analysis.
b) To analyze the response with appropriate wave forms. And to verify the Spice.
SVCET
48
_______________________________________________________________________
Tools used:
1. Tanner Tools v13.1
2. Schematic-Edit
3. Layout -Edit
4. Wave- Edit
5. Tanner Spice
Procedure:
1. Open S-Edit window.
2. Go to File New New design
3. Go to Cell New View
4. Add libraries file to the New Cell.
5. Instance the devices by using appropriate library files.
6. Save the design and setup the simulation.
7. Run design and observe waveforms.
8. Observe DC inputs and outputs by giving appropriate inputs.
Schematic Diagram:
SVCET
49
_______________________________________________________________________
SVCET
50
_______________________________________________________________________
* Exclude .model: no
* Exclude .end: no
* Expand paths: yes
* Wrap lines:
no
* Root path:
C:\Documents and Settings\Administrator\Desktop\Prasad1
* Exclude global pins: no
* Control property name: SPICE
********* Simulation Settings - General section *********
.lib "C:\Documents and Settings\Administrator\My Documents\Tanner EDA\Tanner
Tools v13.1\Libraries\Models\Generic_025.lib" TT
*************** Subcircuits *****************
.subckt NAND2C A B Out1 Out2 Gnd Vdd
*-------- Devices: SPICE.ORDER < 0 -------* Design: LogicGates / Cell: NAND2C / View: Main / Page:
* Designed by: Tanner EDA Library Development Team
* Organization: Tanner EDA - Tanner Research, Inc.
* Info: 2 Input NAND with complementary output.
* Date: 6/14/2007 1:47:11 AM
* Revision: 2
*-------- Devices: SPICE.ORDER > 0 -------MN1 Out1 A 1 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MN2 1 B Gnd 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MN3 Out2 Out1 Gnd 0 NMOS W=2.5u L=250n AS=2.25p PS=6.8u AD=2.25p PD=6.8u
MP1 Out1 A Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MP2 Out1 B Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u AD=2.25p
PD=6.8u
MP3 Out2 Out1 Vdd Vdd PMOS W=2.5u L=250n M=2 AS=1.5625p PS=3.75u
AD=2.25p PD=6.8u
.ends
SVCET
51
_______________________________________________________________________
XNAND2C_5 D D N_1 N_2 Gnd Vdd NAND2C
*-------- Devices: SPICE.ORDER > 0 -------VVoltageSource_3 Vdd Gnd DC 5
VVoltageSource_2 Clk Gnd PULSE(0 5 0 5n 5n 95n 200n)
VVoltageSource_1 D Gnd BIT({0100101111} )
.PRINT TRAN V(D)
.PRINT TRAN V(Clk)
.PRINT TRAN V(Q)
.PRINT TRAN V(QBar)
********* Simulation Settings - Analysis section *********
.tran 350ns 500ns
.dc lin source VVoltageSource_2 0 5 0.5
.print dc v(Q,Gnd)
********* Simulation Settings - Additional SPICE commands *********
.end
Output responses:
SVCET
52
_______________________________________________________________________
Layout Diagram:
SVCET
53
_______________________________________________________________________
SVCET
54
_______________________________________________________________________
* Circuit Extracted by Tanner Research's L-Edit Version 13.00 / Extract Version 13.00 ;
* TDB File: Layout1
* Cell: Core Version 1.01
* Extract Definition File: lights.ext
* Extract Date and Time: 07/29/2010 - 09:47
.include lights.md
* NODE NAME ALIASES
*
1 = U1/NAND2C_5/Out2 (78 , 54)
*
2 = U1/NAND2C_4/Out2 (44 , 54)
*
3 = U1/NAND2C_3/Out2 (10 , 54)
*
6 = q (100 , 12.5)
*
6 = U1/NAND2C_3/Out1 (2 , 52)
*
6 = U1/NAND2C_4/A (20 , 70)
*
7 = Vdd (-101 , 4)
*
7 = U1/NAND2C_1/Vdd (-51 , 86)
*
7 = U1/NAND2C_2/Vdd (-17 , 86)
*
7 = U1/NAND2C_3/Vdd (-17 , 86)
*
7 = U1/NAND2C_4/Vdd (51 , 86)
*
7 = U1/NAND2C_5/Vdd (85 , 86)
*
8 = d (-101 , 106.5)
*
8 = U1/NAND2C_1/A (-82 , 70)
*
8 = U1/NAND2C_5/A (54 , 70)
*
8 = U1/NAND2C_5/B (62 , 63)
*
9 = U1/NAND2C_1/Out1 (-66 , 52)
*
9 = U1/NAND2C_3/A (-14 , 70)
*
10 = U1/NAND2C_2/Out1 (-32 , 52)
*
10 = U1/NAND2C_4/B (28 , 63)
*
11 = U1/NAND2C_2/B (-40 , 63)
*
11 = U1/NAND2C_5/Out1 (70 , 52)
*
12 = clk (-101 , 4.5)
*
12 = U1/NAND2C_1/B (-74 , 63)
*
12 = U1/NAND2C_2/A (-48 , 70)
*
13 = U1/NAND2C_2/Out2 (-24 , 54)
*
14 = U1/NAND2C_1/Out2 (-58 , 54)
*
17 = Gnd (92 , 4)
*
17 = U1/NAND2C_1/Gnd (-51 , 28)
*
17 = U1/NAND2C_2/Gnd (-17 , 28)
*
17 = U1/NAND2C_3/Gnd (-17 , 28)
*
17 = U1/NAND2C_4/Gnd (51 , 28)
*
17 = U1/NAND2C_5/Gnd (85 , 28)
*
18 = qbar (100 , 98.5)
*
18 = U1/NAND2C_3/B (-6 , 63)
*
18 = U1/NAND2C_4/Out1 (36 , 52)
SVCET
55
_______________________________________________________________________
SVCET
56
_______________________________________________________________________
M26 16 clk U1/NAND2C_2/Out1 Gnd NMOS L=2u W=28u AD=28p PD=30u AS=148p
PS=68u
M27 U1/NAND2C_2/Out2 U1/NAND2C_2/Out1 Gnd Gnd NMOS L=2u W=28u
AD=148p PD=68u AS=122p PS=47u
M28 Gnd clk 15 Gnd NMOS L=2u W=28u AD=122p PD=47u AS=28p PS=30u
M29 15 d U1/NAND2C_1/Out1 Gnd NMOS L=2u W=28u AD=28p PD=30u AS=148p
PS=68u
M30 U1/NAND2C_1/Out2 U1/NAND2C_1/Out1 Gnd Gnd NMOS L=2u W=28u
AD=148p PD=68u AS=122p PS=47u
* Total Nodes: 19
* Total Elements: 30
* Total Number of Shorted Elements not written to the SPICE file: 10
* Output Generation Elapsed Time: 0.000 sec
* Total Extract Elapsed Time: 1.875 sec
.END
Result:
The D-Flip flop is constructed in Tanner EDA v13.1, the spice code is generated
and waveforms are verified.
SVCET
57
_______________________________________________________________________
Exp No: 6
CURRENT MIRROR
Aim:
a) To construct the Current Mirror in Tanner EDA v13.1 and to do the
Voltage Analysis.
b) To analyze the response with appropriate wave forms. And to verify the Spice
code of the designed circuit.
Tools used:
1. Tanner Tools v13.1
2. Schematic-Edit
3. Layout -Edit
4. Wave- Edit
5. Tanner Spice
Procedure:
1. Open S-Edit window.
2. Go to File New New design
3. Go to Cell New View
4. Add libraries file to the New Cell.
5. Instance the devices by using appropriate library files.
6. Save the design and setup the simulation.
7. Run design and observe waveforms.
8. Observe DC inputs and outputs by giving appropriate inputs.
SVCET
58
_______________________________________________________________________
Schematic Diagram:
SVCET
59
_______________________________________________________________________
SVCET
60
_______________________________________________________________________
Output responses:
NMOS_3_S
NMOS_1_S
Result:
The Current Mirror is constructed in Tanner EDA v13.1, the spice code is
generated and wave forms are verified
SVCET
61
_______________________________________________________________________
Exp No: 7
DIFFERENTIAL AMPLIFIER
Aim:
a) To construct the differential amplifier in Tanner EDA v13.1 and to do the
voltage analysis.
b) To analyze the response with appropriate wave forms. And to verify the Spice
code of the designed circuit.
Tools used:
1. Tanner Tools v13.1
2. Schematic-Edit
3. Layout -Edit
4. Wave- Edit
5. Tanner Spice
Procedure:
1. Open S-Edit window.
2. Go to File New New design
3. Go to Cell New View
4. Add libraries file to the New Cell.
5. Instance the devices by using appropriate library files.
6. Save the design and setup the simulation.
7. Run design and observe waveforms.
8. Observe DC inputs and outputs by giving appropriate inputs.
SVCET
62
_______________________________________________________________________
Schematic Diagram:
SVCET
63
_______________________________________________________________________
SVCET
64
_______________________________________________________________________
Output responses:
Result:
The differential amplifier is constructed in Tanner EDA v13.1, the spice
code is generated and wave forms are verified.
SVCET
65
_______________________________________________________________________
Exp No: 8
OPERATIONAL AMPLIFIER
Aim:
a) To construct the Operational Amplifier in Tanner EDA v13.1 and to do the
AC analysis.
b) To analyze the response with appropriate wave forms. And to verify the Spice.
Tools used:
1. Tanner Tools v13.1
2. Schematic-Edit
3. Layout -Edit
4. Wave- Edit
5. Tanner Spice
Procedure:
1. Open S-Edit window.
2. Go to File New New design
3. Go to Cell New View
4. Add libraries file to the New Cell.
5. Instance the devices by using appropriate library files.
6. Save the design and setup the simulation.
7. Run design and observe waveforms.
8. Observe DC inputs and outputs by giving appropriate inputs.
SVCET
66
_______________________________________________________________________
Schematic Diagram:
SVCET
67
_______________________________________________________________________
SVCET
68
_______________________________________________________________________
Output responses:
VP(OUT)
Vdb(OUT)
V(OUT)
Result:
The Operational Amplifier is constructed in Tanner EDA v13.1, the spice
code is generated and wave forms are verified.
Exp No: 09
SVCET
69
_______________________________________________________________________
Tools used:
1. Tanner Tools v13.1
2. Schematic-Edit
3. Layout -Edit
4. Wave- Edit
5. Tanner Spice
Procedure:
1. Open S-Edit window.
2. Go to File New New design
3. Go to Cell New View
4. Add libraries file to the New Cell.
5. Instance the devices by using appropriate library files.
6. Save the design and setup the simulation.
7. Run design and observe waveforms.
8. Observe DC inputs and outputs by giving appropriate inputs.
Schematic Diagram:
SVCET
70
_______________________________________________________________________
SVCET
71
_______________________________________________________________________
Output responses:
I- M.Tech II SEM-(VLSI System Design)
SVCET
72
_______________________________________________________________________
i(VPMOS_1)
i1(VNMOS_3)
i1(VNMOS_2)
Result:
The Trans Conductance Amplifier is constructed in Tanner EDA v13.1, the
spice code is generated and wave forms are verified.
SVCET