Experiment 1 Aim:-Layout of Resistor for given value. Circuit Diagram:- Theory: - Software Used is L-edit L-edit: L-Edit, meets needs by combining the fastest rendering available with powerful features that exceed the needs of the most demanding user. Whether you are creating analog or mixed signal ICs, MEMS, or sensors, this leading design tool enables you to get started with minimal training. We have designed 1kΩ and 10kΩ resistances using L-edit. Calculation:-R=PL/A Where A=W.t , P/t=23.6Ω thus while making 1k resistance L=85 um Making 10k resistance L=850um Observation and Result:- L-edit Fig for 1k resistance R1 1 2 R=1.003k 1 | Page VLSI Design & Simulation Lab 2
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Experiment 1
Aim:-Layout of Resistor for given value.
Circuit Diagram:-
Theory: - Software Used is L-edit
L-edit: L-Edit, meets needs by combining the fastest rendering available with powerful features that exceed the needs of the most demanding user. Whether you are creating analog or mixed signal ICs, MEMS, or sensors, this leading design tool enables you to get started with minimal training.
We have designed 1kΩ and 10kΩ resistances using L-edit.
Calculation:-R=PL/A
Where A=W.t , P/t=23.6Ω thus while making 1k resistance L=85 um
Making 10k resistance L=850um
Observation and Result:-
L-edit Fig for 1k resistance
R1 1 2 R=1.003k
* R1 PLUS MINUS (1 23 41 29)
* Total Nodes: 2
* Total Elements: 1
1 | P a g eVLSI Design & Simulation Lab 2
* Total Number of Shorted Elements not written to the SPICE file: 0
L-edit Fig for 10k Resistance
Result:-R1 1 2 R=10.005k
Learning Outcome:-
Thus we learned to make two different resistance of 1k and 10k using W=2u=2 lambda and P/t=23.6 i.e. for poly metal. Further e can design different valued resistance.
2 | P a g eVLSI Design & Simulation Lab 2
Experiment 2
Aim:- Plot the static voltage transfer characteristics of a symmetric CMOS inverter utilizing the data points of drain current vs drain to source voltage (Vds) for NMOS and PMOS.
Circuit Diagram:-
Theory:- CMOS is short for Complementary Metal-Oxide Semiconductor. CMOS is an on-board, battery powered semiconductor chip inside computers that stores information.
So far, we have treated transistors as ideal switches
An ON transistor passes a finite amount of current
Depends on terminal voltages
Derive current-voltage (I-V) relationships
Transistor gate, source, drain all have capacitance
I = C (DV/Dt) -> Dt = (C/I) DV
Calculation:- To Plot Id vs. Vds characteristic in first quadrant calculation required is:- Level 1 Parameters
Vgsn=Vin Vgsn=Vin
Vgsp=Vin-Vdd Vgsp+Vdd=Vin
Vdsn=Vout Vdsn=Vout
Vdsp=Vout-Vdd Vdsp+vdd=Vout
Observation & Results
Tspice Code for Nmos and Pmos
For Nmos
3 | P a g eVLSI Design & Simulation Lab 2
.model nmos nmos Level=1
+ Vto=1.0 Kp=3.0E-5 Gamma=0.35
+ Phi=0.65 Lambda=0.02 Tox=0.1u
+ Nsub=1.0E+15 Nss=1.0E+10 Ld=0.8u
+ Tpg=1.00 Uo=700.0 Af=1.2
+ Kf=1.0E-26 Is=1.0E-15 Js=1.0E-8
+ Pb=0.75 Cj=2.0E-4 Mj=0.5
+ Cjsw=1.00E-9 Mjsw=0.33 Fc=0.5
+ Cgbo=2.0E-10 Cgdo=4.00E-11 Cgso=4.00E-11
+ Rd=10.0 Rs=10.0 Rsh=30.0
.model pmos pmos Level=1
+ Vto=-1.0 Kp=3.0E-5 Gamma=0.35
+ Phi=0.65 Lambda=0.02 Tox=0.1u
+ Nsub=1.0E+15 Nss=1.0E+10 Ld=0.8u
+ Tpg=1.00 Uo=700.0 Af=1.2
+ Kf=1.0E-26 Is=1.0E-15 Js=1.0E-8
+ Pb=0.75 Cj=2.0E-4 Mj=0.5
+ Cjsw=1.00E-9 Mjsw=0.33 Fc=0.5
+ Cgbo=2.0E-10 Cgdo=4.00E-11 Cgso=4.00E-11
+ Rd=10.0 Rs=10.0 Rsh=30.0
m1 d1 g1 0 0 nmos w=10u l=10u
vgs g1 0
vds d1 0
.dc vds 0 5 0.1 vgs 0 5 1
.print I(m1,d1)
.end
4 | P a g eVLSI Design & Simulation Lab 2
T spice Fig For Nmos at different Vgs
Similarly For Pmos
m1 d1 g1 vdd vdd pmos w=10 l=10
vdd vdd 0 5
vgs g1 vdd
vds d1 vdd
.dc vds 0 -5 0.1 vgs 0 -5 1
.print I(m1,d1)
.end
T spice Fig of Pmos for different Vgs
5 | P a g eVLSI Design & Simulation Lab 2
Matlab Code
Nmos=[V I];
Pmos=[V I];
idn=nmos(:,2);
idp=pmos(:,2);
vdsn=nmos(:,1);
vdsp=pmos(:,1);
idp1=idp(1:51);
idp2=idp(52:102);
idp3=idp(103:153);
idp4=idp(154:204);
idp5=idp(205:255);
idp6=idp(256:306);
idn1=idn(1:51);
idn2=idn(52:102);
idn3=idn(103:153);
idn4=idn(154:204);
idn5=idn(205:255);
idn6=idn(256:306);
vdsp1=vdsp(1:51);
vdsp2=vdsp(52:102);
vdsp3=vdsp(103:153);
vdsp4=vdsp(154:204);
vdsp5=vdsp(205:255);
6 | P a g eVLSI Design & Simulation Lab 2
vdsp6=vdsp(256:306);
vdsn1=vdsn(1:51);
vdsn2=vdsn(52:102);
vdsn3=vdsn(103:153);
vdsn4=vdsn(154:204);
vdsn5=vdsn(205:255);
vdsn6=vdsn(256:306);
plot(vdsn1,id1n)
hold on
plot(vdsn2,id2n)
hold on
plot(vdsn3,id3n)
hold on
plot(vdsn4,id4n)
hold on
plot(vdsn5,id5n)
hold on
plot(vdsn6,id6n)
hold on
plot(5+vdsp1,-id1p,'r')
hold on
plot(5+vdsp2,-id2p,'r')
hold on
plot(5+vdsp3,-id3p,'r')
hold on
plot(5+vdsp4,-id4p,'r')
7 | P a g eVLSI Design & Simulation Lab 2
hold on
plot(5+vdsp5,-id5p,'r')
hold on
plot(5+vdsp6,-id6p,'r')
hold on
figure
vin=[0 1 2 3 4 5]
vout=[5 5 4.7 0.2 0 0];
plot(vin,vout)
Matlab Figures
Vin Vs. Vout charecteristics for Cmos
8 | P a g eVLSI Design & Simulation Lab 2
Vds Vs.Id Charecteristics For Cmos
Learning Outcome:-
We learn to plot nmos,pmos charestristics in Tspice and then using Tspice .out files in Matlab to Check Id vs Vds and Vin vs Vout.Further Some modification done to hold the waveform and plot both nmos and pmos Charesteristics in First Quadrant.
9 | P a g eVLSI Design & Simulation Lab 2
Experiment 3Aim:- Analysis of switching point(switching threshold) of a cmos inverter and study its variations with reference to transconductance parameter K r and supply voltage V DD.
Circuit Diagram:-
Cmos Inverter
Vm is defined as the intersection of the line Vin = Vout and the inverter VTC. In this region, both the NMOS and PMOS transistors are in saturation since VDS = VGS. The voltage dropped across the NMOS device equals the voltage dropped across the PMOS device when the input voltage is VM. For a very short time, both devices see enough forward bias voltage to drive them to saturation.
In first graph, we plot drain voltage vs gate voltage at different nmos width in T-spice. Since all other terms remains contant except width of nmos, so value of K r changes. As we know that Kn=wn .un.Cox/l
K p=w p .up.Cox/l
K r=Kn/Kp
The graph has two plots, and the intersection point gives value of input voltage at particular width of nmos or at particular K r. We repeat this experiment at different values of K r and note the intersection point i.e vin.
Similarly,in second graph if we vary supply voltage i.e vdd we examine graph’s the center point or intersection point which is known as V m .
Calulation
FOR KR
10 | P a g eVLSI Design & Simulation Lab 2
As we know that Kn=wn .un.Cox/l and K p=w p .up.Cox/l
K r=kn/kp. So, we find vin at different value of k.Here,w p remains constant
wn 10 20 30 40 50K r 1 2 3 4 5
Vin 2.5 2.25 2.11 2.01 1.94
For Vdd
Here at different Vdd we plot values of switching point i.e Vm.
Learning outcomes: In this experiment I have learnt
Plot kr vs vin
Plot vdd vs vin
13 | P a g eVLSI Design & Simulation Lab 2
Experiment 5Aim: Measure the propagation delay of symmetric CMOS inverter and analyze its variation with supply voltage.
Circuit Diagram:-
Theory:-Switching speed - limited by time taken to charge and discharge, CL.
Rise time, tr: waveform to rise from 10% to 90% of its steady state value.
Fall time tf: 90% to 10% of steady state value .
Delay time, td: time difference between input transition (50%) and 50% output level.
Fig : Propagation delay graph
The propagation delay tp of a gate defines how quickly it responds to a change at its inputs, it expresses the delay experienced by a signal when passing through a gate. It is measured between the 50% transition points of the input and output waveforms as shown in the figure 16.1 for an inverting gate. The defines the response time of the gate for a low to high output transition, while refers to a high to low transition. The propagation delay as the average of the two.
14 | P a g eVLSI Design & Simulation Lab 2
Calculation:- No need to calculate any value Tspice itself shows the calculated result
As we vary the different value of input voltage, we get the following values:
Learning Outcome:We learn to check values of Tphl,TpLh,Trise,Tfall of an square pulse input using the Ac Transient analysis.Further we ploted vdd vs delays using matlab.
Experiment 4Aim:-Noise Margin of Inverter Based Circuits
a)Calculate Noise Margin for CMOS inverter when Vm=2.5
b)Calculate same noise margin Values for Nmos inverter with Resistance and Nmos Load
Circuit Diagram:-
a)Cmos Inverter b)Resistance as Load c)Nmos as Load
Theory:-
The transfer function of a digital inverter will typically look something like this:
18 | P a g eVLSI Design & Simulation Lab 2
Note that there are essentially three regions to this curve:
I. The region where vI is relatively low, so that the output voltage vo is
high.
II. The region where vI is relatively high, so that the output voltage vO is
low.
III. The transition region, where the input/output voltage is in an indeterminate state (i.e, an ambiguous region between high and low.
Calculation:-
Noise Margin for Resistance as load in Nmos Inverter
We learn the variation occurred due to change in Cmos inverter as resistance as a load & Nmos as a Load.Thus we conclude Noise Margin of resistance is better than Cmos inverter and Nmos as load