Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
OF TECHNOLOGY
NAGPUR
VLSI DESIGN
MTECH 2017-19
CMOS Digital VLSI Design LAB
ASSIGNMENT 2
Submitted by:
I.C.S.Tejaswi
20605
Find the propogation dealy for the inverter circuit.
a. w=l
Code:
Finding tpd
Vin 1 0 pulse(0 5 0 20ns 20ns 50ns 140ns)
Vdd 3 0 dc 5
C1 2 0 1p
M1 2 1 0 0 m1
.model m1 NMOS level=49 version=3.3.0
M2 2 1 3 3 m2
.model m2 PMOS level=49 version=3.3.0
.tran 1ns 560ns
.control
run
meas tran tf1 WHEN v(2)=4.11 CROSS=3
meas tran tf2 WHEN v(2)=2.5 CROSS=5
meas tran tr1 WHEN v(2)=-0.01 CROSS=3
meas tran tr2 WHEN v(2)=2.5 CROSS=6
let tf=tf2-tf1
let tr=tr2-tr1
let tpd=0.5*(tf+tr)
print line tf tr tpd >d.txt
plot v(1) v(2)
.endc
.end
Here tf1 is the highest peak value obtained in ON state (> Vdd/2 )
tr1 is the lowest peak value obtained in OFF state (< Vdd/2 )
tf2 is the Vdd/2 point while output is falling form On state to Off state.
tr2 is the Vdd/2 point while output is raising from Off state to On state.
Data obtained:
tf = 1.533549e-07 tr = 1.902665e-07 tpd = 1.718107e-07
b. w=2l
Code:
Finding tpd
Vin 1 0 pulse(0 5 0 20ns 20ns 50ns 140ns)
Vdd 3 0 dc 5
C1 2 0 1p
M1 2 1 0 0 m1 w=10u
.model m1 NMOS level=49 version=3.3.0
M2 2 1 3 3 m2 w=10u
.model m2 PMOS level=49 version=3.3.0
.tran 1ns 560ns
.control
run
meas tran tf1 WHEN v(2)=5.05 CROSS=3
meas tran tf2 WHEN v(2)=2.5 CROSS=5
meas tran tr1 WHEN v(2)=-0.01 CROSS=3
meas tran tr2 WHEN v(2)=2.5 CROSS=6
let tf=tf2-tf1
let tr=tr2-tr1
let tpd=0.5*(tf+tr)
print line tf tr tpd >d1.txt
plot v(1) v(2)
.endc
.end
Plot of Vo vs Vin:
Data obtained:
tf = 1.565025e-07 tr = 1.725972e-07 tpd = 1.645499e-07
c. 2w=l
Code:
Finding tpd
Vin 1 0 pulse(0 5 0 20ns 20ns 50ns 140ns)
Vdd 3 0 dc 5
C1 2 0 1p
M1 2 1 0 0 m1 l=10u
.model m1 NMOS level=49 version=3.3.0
M2 2 1 3 3 m2 l=10u
.model m2 PMOS level=49 version=3.3.0
.tran 1ns 560ns
.control
run
meas tran tf1 WHEN v(2)=5.05 CROSS=3
meas tran tf2 WHEN v(2)=2.5 CROSS=5
meas tran tr1 WHEN v(2)=-0.01 CROSS=3
meas tran tr2 WHEN v(2)=2.5 CROSS=6
let tf=tf2-tf1
let tr=tr2-tr1
let tpd=0.5*(tf+tr)
print line tf tr tpd >d2.txt
plot v(1) v(2)
.endc
.end
Plot of Vo vs Vin:
Tpd cannot be found in this case for the same input which was given to previous examples.
Since Vdd/2 has never been reached so it is always in Off state.
The channel length been increased so the current would be less. Capacitor cannot charge fully.
Vout is not reaching Vdd/2.
If off time is more in input , n-Mos is off and p-Mos in saturation for long time. So capacitor
would charge more.
THE END