Lab (GPDK)
Lab (GPDK)
Lab (GPDK)
Experiment No:
Aim: Design and analysis of Simple current mirror with the given specifications of Iin=100uA,
Iout=Iin & Vmin=0.46v in 180nm technology.
Description: A current mirror is a circuit designed to copy a current through one active device
by controlling the current in another active device of a circuit, keeping the output current
constant regardless of loading. The current being 'copied' can be, and sometimes is, a varying
signal current. Conceptually, an ideal current mirror is simply an ideal current amplifier. The
current mirror is used to provide bias currents and active loads to circuits.
=> W= 1μm.
Schematic:
Date: Page No:
Experiment No:
Layout:
Test Bench:
Results:
LVS Report:
GENERIC PDK LVS Rules
Simulation Waveforms:
Schematic:
Extracted:
Date: Page No:
Experiment No:
Observations:
By Replacing all nmos’s with pmos’s then the CM action will not be affected.
By increasing the value of W1 to 2W2, the o/p will not follow the input it will become
half of the input current.
The o/p voltage swing is Vmin to (Vdd-Vmin) , i.e., 0.46v to 1.34v,where Vmin=Vgs-Vt.
The current Mirror is not acting like a true current mirror we can make it a true current
copier by cascoding one more stage.
The current mirror/current copying is mainly dependent on Widths of the two transistors.
The nmos’s are replaced with pmos’s for high output impedances.
The gain is effected when nmos transistors are replaced with pmos transistors because
μp<μn.
The o/p resistance/Impedance is affected when nmos are replaced with pmos because
mobility of holes/electrons is inversely proportional to Rds.
Conclusion: Designed and analyzed the Simple current mirror with the given specifications of
Iin=100uA, Iout=Iin & Vmin=0.46v in 180nm technology.
Date: Page No:
Experiment No:
Aim: Design and analysis of Cascode Current mirror with the given specifications of Iin=40uA,
& Iout=Iin in 180nm technology.
Description: In previous sections we considered the subject of current sources and sinks where
the objective was to implement the ideal I-V characteristics at that place we prefer dc voltage
source was used to bias the implementation of sources and sinks. Mirror also similar to sink it
uses the matched principle this is looking like a mirror that is called current mirror.
One of the advantage over mos mirror compare to BJT mirror is here there is no early
effects. Here the output resistance is increased compared to simple current mirror. Cascode is
cascade of common source and common gate stage. Here transistors M3 and M4 keep the values
of Vds1 and Vds2 nearly equal, effectively removing the influence of the channel modulation
effect. The mismatch effects are neglected the current gain of the mos cascade mirror is given as
= 2Vdsat + vt
(W/L)2=(W/L)4=2*Id/(Kn*(vgs2-vth2)2)
W/L= (2*40)/(170*0.46*0.46)
W=L*(80/35.97)
W=400nm.
Date: Page No:
Experiment No:
Schematic:
Layout:
Date: Page No:
Experiment No:
Test Bench:
Date: Page No:
Experiment No:
Results:
LVS Report:
GENERIC PDK LVS Rules
Simulation Waveforms:
Schematic:
Date: Page No:
Experiment No:
Extracted:
Observations:
If the overdrive voltage of the two base transistors is increased the output voltage swing
will decrease.
The voltage swing of the circuit is Vmin to (Vdd-Vmin) i.e., 0.76v to 1.04v, where
Vmin=Vt+2Vdsat.
A method to improve the voltage swing is by using separate Iref (Iin) for both MN2 &
MN3 in the above diagram or using a self biased cascode, so that Vmin will become 2Vdsat.
This current mirror truly acts as a current copier.
The output resistance of the current mirror is172.37Kohms. A method to improve the
output resistance is choosing a Wilson current mirror.
The effect of channel length modulation on the current copier is by considering
Iout/Iin= (1+ λvds2)/ (1+ λvds1)
In that we assumes λ value same for both transistors, but the differences in drain to
source voltages in the transistor can cause a deviation from the ideal unity current gain.
Conclusion: Designed and analyzed the Cascode current mirror with the given specifications
of Iin=40uA & Iout=Iin in 180nm technology.
Date: Page No:
Experiment No:
Aim: Design and analysis of Wilson Current mirror with the given specifications of Iin=40uA,
Iout=30uA & Vmin=0.76v in 180nm technology.
Description:
Design:
The minimum output voltage Vout = 0.76V is assumed to be distributed for transistors M2 and
M3 as Vds2=0.62v and Vds3=0.14v
(W/L)i=2*Id/(Kn*(vgs-vth)2)
(W/L)=4.32µm/0.18µm
Date: Page No:
Experiment No:
Schematic:
Layout:
Date: Page No:
Experiment No:
Test Bench:
Date: Page No:
Experiment No:
Results:
LVS Report:
GENERIC PDK LVS Rules
Extracted:
Observations:
The voltage swing of the circuit is Vmin to (Vdd-Vmin) i.e., 0.76v to 1.04v, where
Vmin= Vgs+Vdsat.
The problem associated with the circuit is having different Vds values for the transistors
that cause short channel effect on Ids. To make the linearity in Ids & Vds curve include
one more transistor in series with M1, between drain of M1 and gate of M3.
The performance comparison of Wilson current mirror and cascode current mirror with
respective to
Voltage swing is less for Wilson Current mirror,
Output resistance is more for Wilson current mirror,
Current mirroring is good in Cascode current mirror.
Conclusion: Designed and analyzed the Wilson current mirror with the given specifications of
Iin=40uA, Iout=30uA & Vmin =0.76v in 180nm technology.
Date: Page No:
Experiment No:
Aim: Design and analysis of Widlar Current mirror with the given specifications of Iin=50uA,
Iout=Iin & Vmin=0.76v in 180nm technology.
Description:
In Many cases the mirrored currents are not unity ,the circuit will become less accurate
due to decrease in relative accuracy of large ratios caused by unequal mirror currents can be
avoided by using a resistor in series with the source of lower current transistor .
This mirror is called wilder current mirror and can have large current differences with
identical transistor areas.
We have Vgs1-Vgs2=Id*R
Schematic:
Date: Page No:
Experiment No:
Layout:
Test Bench:
Results:
LVS Report:
GENERIC PDK LVS Rules
Simulation Waveforms:
Schematic:
Extracted:
Conclusion: Designed and analyzed the Widlar current mirror with the given specifications of
Iin=50uA, Iout=Iin & Vmin =0.76v in 180nm technology.
Date: Page No:
Experiment No:
Aim: Design and analysis of Basic Current Sink with the given specifications of I=100uA,
Vmin=0.5v in 180nm technology.
Description:
An ideal current source is a two terminal element whose current is constant for any
voltage across the source. Most current source application require one of their terminals to be
common with the most positive or the most negative d.c voltage in the circuit. In current sink one
of the terminals (negative terminal) is connected to most negative d.c voltage. The two major
aspects by which a current source /sink is characterized are Vmin and Ro.
Id =1/(lambda * Id)
Vmin=Vgs- VTH
Design:
Vgs = Vgg
Id =100 µA
W/L = 2*Id/Kn(Vgs-Vth) 2
W/L = 4.705
L = 0.18um, W=0.847um
Ro=1/(lambda * Id)=1/(.06*100u)=166Kohms.
Date: Page No:
Experiment No:
Schematic:
Layout:
Date: Page No:
Experiment No:
Test Bench:
Date: Page No:
Experiment No:
Results:
LVS Report:
GENERIC PDK LVS Rules
Schematic:
Date: Page No:
Experiment No:
Extracted:
Observation:
Theoretical values:
Vmin=0.5v
Ro=166Kohms
Id=100uA.
Practical values:
Ro=65.8Kohms
Vmin=0.542v
Id=168.4uA.
The exact current at Vmin is less than the saturation value. To increase this value to saturation
designed for, we have to increase the (W/L) ratio of the transistor or increase the offset gate to
source voltage.
Conclusion: Designed and analyzed the Basic current sink with the given specifications of
Iin=100uA & Vmin =0.5v in 180nm technology.
Date: Page No:
Experiment No:
Aim: Design and analysis of Cascode Current Sink with the given specifications of Io=50uA,
Vmin=1.5v in 180nm technology.
Description: In most current source/sink realizations, the I-V characteristics of ideal current
source are only approximated over a limited range of the voltage V. Also the current is rarely
bidirectional. The resulting I-V characteristics of a practical current source/sink there is a
minimum voltage Vmin, below which the current source/sink will not be good approximation to
Io. Further even in the region where the current source/sink is a reasonably good approximation
to Io, the actual source/sink deviates by a resistance Ro, which represents the parallel resistance
of the current source/sink and ideally is infinite.
Thus, the two major aspects by which a current source/sink is characterized are Vmin and
Ro. In case of basic current sink the Ro is small. By cascoding current sink the output resistance
Ro is increased but at the same time minimum voltage Vmin is also increases
Design:
Vmin = 0.7v, Id = 100uA, Vt1 = 0.48v, Let us assume Vmin1 = 0.3v, Vmin2 = 0.4v
W1=2.35um, L1=0.18um
W2=1.323um, L2=0.18um
Date: Page No:
Experiment No:
Schematic:
Layout:
Date: Page No:
Experiment No:
Test Bench:
Date: Page No:
Experiment No:
Results:
LVS Report:
GENERIC PDK LVS Rules
Extracted:
Observation:
From Practical
Vmin=0.702V
Rout=154.12Kohms
Io=87.76µA.
When compared to basic current sink output resistance Rout is increased but at the same
time VMIN value also increases. From theoretical and practical values are deviations occur due
to channel length modulation
Conclusion: Designed and analyzed the Cascode current sink with the given specifications of
Iin=50uA & Vmin =1.5v in 180nm technology.
Date: Page No:
Experiment No:
Aim: Design and analysis of Active Load CMOS Inverter Amplifier with the given
specifications, maximizing the gain in 180nm technology.
Description: A low-gain inverting stage is desired that has highly predictable small and large
signal characteristics. One configuration that meets this need is the active PMOS load inverter
(simply uses the term”active load inverter”).This type of inverting amplifier has limited output
voltage range and low gain.
Schematic:
Test Bench:
Results:
LVS Report:
GENERIC PDK LVS Rules
Waveforms:
Schematic:
Extracted:
Date: Page No:
Experiment No:
Observations:
Conclusion: Designed and analyzed the Active Load CMOS Inverter Amplifier with the given
specifications, maximized the gain in 180nm technology.
Date: Page No:
Experiment No:
Aim: Design and analysis of Current - source CMOS Inverter Amplifier with the given
specifications, maximizing the gain in 180nm technology.
Description: Often an inverting amplifier is required that has gain higher than that achievable
by active load inverting amplifier. A second inverting amplifier configuration, which has higher
gain, is the current-source inverter. Instead of a PMOS diode as the load, a current source load is
used. The current source is a common-gate configuration using a p-channel transistor with the
gate connected to a dc bias voltage.
Schematic:
Date: Page No:
Experiment No:
Layout:
Test Bench:
Results:
LVS Report:
GENERIC PDK LVS Rules
Simulation Waveforms:
Schematic:
Extracted:
Date: Page No:
Experiment No:
Observations:
Conclusion: Designed and analyzed the Current Source CMOS Inverter Amplifier with the
given specifications, maximized the gain in 180nm technology.
Date: Page No:
Experiment No:
Aim: Design and analysis of Current - source Amplifier with the given specifications,
maximizing gain in 180nm technology.
Description:
A common use of simple current mirrors is in a single – stage amplifier with an active
load, as shown in schematic. This common-source topology is the most popular gain stage,
especially when high-input impedance is desired.
Depending on the device sizes, currents, and the technology used, a typical gain for this
circuit is in the range of -10 to -100.
To achieve similar gains with resistive loads, much larger power-supply voltages more than 5v
must be used. This resistive load approach also greatly increases the power dissipation.
It should be mentioned here that for low-gain, high-frequency stages, it may be desirable
to use resistors loads, because they often have less parasitic capacitances associated with them.
They are also typically less noisy than active loads.
Schematic:
Layout:
Date: Page No:
Experiment No:
Test Bench:
Date: Page No:
Experiment No:
Results:
LVS Report:
GENERIC PDK LVS Rules
Extracted:
Observations:
Conclusion: Designed and analyzed the Current Source Amplifier with the given
specifications, maximized the gain in 180nm technology.
Date: Page No:
Experiment No:
Aim: Design of Sample and hold Circuit with Verilog- A Program and simulating program for
Functional Verification.
Verilog – A Program:
1. `include "constants.vams"
2. `include "disciplines.vams"
3. module sh(in,out,smpl);
4. output out;
5. input in,smpl;
6. electrical in,out,smpl;
7. real state;
8. analog
9. begin
10. @(cross(V(smpl)-2.5,+1))
11. state=V(in);
12. V(out) <+ transition (state,0,0,0);
13. end
14. endmodule
Description:
Test Bench:
Simulation Waveform:
Conclusion: Designed Sample and hold Circuit with Verilog- A Program and Functionally
verified the program by simulating.
Date: Page No:
Experiment No:
Aim: Design of Low Pass Filter with Verilog- A Program and Functional Verification with
Simulation.
Verilog – A Program:
`include "constants.vams"
`include "disciplines.vams"
module lpf(vin,vout);
input vin;
output vout;
electrical vin,vout;
parameter real bw = 100M;
real r, c, wc;
analog begin
@(initial_step("tran","ac","dc"))
begin
r = 1k;
wc = 2 * 3.14 * bw;
c = 1 / (r * wc);
end
V(vout,vin) <+ I(vout, vin) * r;
I(vout) <+ ddt(V(vout) * c);
end
endmodule
Date: Page No:
Experiment No:
Test Bench:
Simulation Waveform:
Conclusion: Designed Low Pass Filter with Verilog- A Program and Functionally verified the
program by simulating.