Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Submitted by:
DHINKAR B. 12EC107
UJJWAL DHUSIA 12EC109
Contents
1
0.1
0.1.1
Objective: Study the input and output characteristic of NMOS transistor. Effect of length,width,VTO,
VSB,lambda, and temperature on the behavior of transistor.
============= CODE FOR VARYING LAMBDA ==============
m1 d g 0 0 my_nmos l = .5u w = 0.5u
*sources
v_dd d 0 dc 5 v_gg g
0 dc 3
.dc v_dd 0 5 0.1 v_gg 0 3 1
*response for varying lambda
.control foreach lmda .03 .06
.09 altermod m1
LAMBDA=$lmda run end .endc
Reason : The id vs Vdd curve is at first linear then becomes varies slowly in saturation region
due to channel length modulation which should be otherwise constant.
0.1.2
Objective : Study the transfer function ,noise margin,effect on risetime ,falltime, propogation
delay ,power and energy consumed of a MOS inverter for various L,W of the transistor,load
capacitance and rise or fall time of input .
Figure 8: Id vs Vdd (curve for power consumption with varying load) ========
CODE FOR OUT vs IN FOR VARYING LENGTH =========
*nmos char
.include /home/ACADEMICS/Projects/VLSI/t14y_tsmc_025_level3.txt
*netlist
m1 out in 0 0 cmosn l=1u w=0.5u
* analysis request
.dc v_in 0 3.3 0.4 .tran .01u
80u
*compute response for various widths
10
11
Figure 10: Id vs Vdd (curve for out vs in of inveter for varying resistance
0.1.3 LAB 3: Study of MOS inverter with active load - NMOS and PMOS (pseudo)
Objective : For a MOS inverter with active load ,study the transfr functions ,noise margins
,effect on risetime and falltime, propogation delay ,power and energy consumed with length
and width variations od pull up and pull down transistors.
12
.endc
.end
13
Figure 14: Id vs Vdd (transient response and out vs in for pseudo NMOS
14
15
Figure 17: transfer characteristics pseudo MOS with varying load width
Figure 18: transfer characteristics for pseudo MOS with varing driver width
0.1.4
Objective : Study the transfer function, noise margin, effect on risetime ,falltime,propogation delay,
power of CMOS inverter with variation in L and W of pullup and pulldown transistors.
16
17
*sources
v_dd vdd 0 dc 3.3 v_in in 0
dc 3.3
.control foreach wd .1u
1u 5u alter m2 w= $wd
dc v_in 0 3.3 .01
run end plot dc1.out dc2.out
dc3.out
.endc
.end
18
0.1.5
19
.include /home/ACADEMICS/Projects/VLSI/t14y_tsmc_025_level3.txt
20
0.1.6
Objective : study the behaviour transfer function,noise margin, rise time ,fall time,
propogation delay,paower of a CMOS gates like NAND ,NOR functions (2 input AND gate ,2
input OR gate) with variations in L and W of pullup and pulldown transistors.
21
22
Figure 25: transient response for NAND gate for input a=0,b=0
Figure 26: transient response for NAND gate for input a=0,b=1
23
Figure 27: transient response for NAND gate for input a=1,b=0
=============== CODE FOR AND GATE =================
top1 A v_connect v_connect cmosp L=1U W=10U *NAND Gate Implementation
.include /home/ACADEMICS/Projects/VLSI/t14y_tsmc_025_level3.txt
M1 vdd1 A top1 0 cmosn L=1U W=10U
M2 top1 B 0 0 cmosn L=1U W=10U
M5 stage2 vdd1 0 cmosn L=1U W=10U
M3 vdd1 A v_connect v_connect cmosp L=1U W=10U
M4 vdd1 B v_connect v_connect cmosp L=1U W=10U M6 stage2
vdd1 v_connect v_connect cmosp L=1U W=10U
v_dd v_connect 0 3.3 v_gs1 A 0 PULSE(0 3.3 0 0
0 8NS 16NS) v_gs2 B 0 PULSE(0 3.3 0 0 0 16NS
32NS)
.control tran 0.1NS 32NS run end plot tran1.A tran1.B
tran1.vdd1 tran1.stage2
.endc
.end
24
Figure 28: transient response for AND gate for input a=0,b=0
Figure 29: transient response for AND gate for input a=0,b=1
25
Figure 30: transient response for AND gate for input a=1,b=0
============== CODE FOR NOR GATE ================
*NOR Gate Implementation
.include /home/ACADEMICS/Projects/VLSI/t14y_tsmc_025_level3.txt
M1 vdd1 A 0 0 cmosn L=1U W=10U
M2 vdd1 B 0 0 cmosn L=1U W=10U
M3 top1 A v_connect v_connect cmosp L=1U W=10U M4
vdd1 B top1 top1 cmosp L=1U W=10U
v_dd v_connect 0 3.3 v_gs1 A 0 PULSE(0 3.3 0 0
0 8NS 16NS) v_gs2 B 0 PULSE(0 3.3 0 0 0 16NS
32NS)
.control tran 0.1NS 32NS run end plot
tran1.A tran1.B tran1.vdd1
.endc
.end
26
Figure 32: transient response for NOR gate for input a=1,b=0
27
Figure 33: transient response for NOR gate for input a=1,b=1
28
29
Figure 36: transient response for OR gate for all input combinations
0.2
30
0.2.1
C0 vss 0 2.8fF
C1 out 0 2.3fF
C2 vdd 0 2.8fF
C3 input 0 6.3fF
31
0.2.2
32
0.2.3
33
34
0.2.4
C0 vss 0 8.8fF
C1 b 0 6.3fF
C2 a 0 6.3fF
C3 out1 0 11.2fF
C4 out 0 3.2fF
35
0.2.5
Layout designs for function ab+c using CMOS ans Pseudo NMOS
36
37
0.2.6
38
0.2.7
39
40