Tanner Manual
Tanner Manual
1
Enter the design name and give the path where it should be saved.
2
Add component libraries. The path for component libraries is given below.
Click add in S-Edit window for adding the libraries and follow the path of process folder.
3
Double click all the component libraries under Generic_250nm and add all tanner database files
(.tdb).
To add Spice commands and Spice Elements for setting spic e simulation follow the path.
4
Give a new name for cell
5
Scroll mouse for Zoom In and Zoom Out. And to view entire design press home button on
keyboard.
To add any component either drag the component on to the design area (black region
with grids) or click Instance , then Instance Cell pops up where a user can change the
properties . Keeping the icon on the design area , components icon can be placed N
number of times. Either press ESC button on keyboard or Done on Instance Cell window
to stop placing of cells.
6
In the same way place PMOS component on the design area.
To Zoom the design area scroll the mouse or press home button on keyboard.
7
Now place Vdd and Gnd Instances from the Misc folder under Library.
Now place a DC Voltage and Pulse Voltage source from the Spice Elements folder under Library.
8
To place a Voltage Source, Click Spice Elements, Under Spice Elements Click Voltage Source and
then Instance.
To place a DC voltage source, change the interface to DC and edit the voltage value . Click done
only after placing the voltage source on design area.
9
To place a Pulse voltage source, change the interface to DC and edit the voltage value . Click
done only after placing the voltage source on design area.
Place Vdd and Gnd even for the voltage sources as shown.
10
When an input port is placed, In port window pops up where we can edit the port name , font size
and orientation. Even the port orientation can be changed by pressing r button on key board.
Now we have placed all the components on the design window. And connections are made using
the wire as shown below
11
Now we need to set up simulation.
12
Now , give the path of library file.
TT is the corner model used . There are different types of Corner models in .lib file
13
Run Simulation.
14
To view waveforms , place PrintVoltage from Spice Commands library.
15
Waveforms can be viewed on W-Edit tool once Simulation is Run again.
To extract the spice netlist from schematic, go to S-Edit and click the T-Spice option.
16
The following spice netlist is extracted from the schematic which contains the information of the
circuit connections across its nodes, analysis setup , voltages applied and type of library used for
simulation.
17
MNMOS_2_5v_1 Out In Gnd 0 NMOS25 W=1.5u L=250n AS=975f PS=4.3u AD=975f PD=4.3u $
$x=4793 $y=3700 $w=414 $h=600
MPMOS_2_5v_1 Out In Vdd Vdd PMOS25 W=3u L=250n AS=1.95p PS=7.3u AD=1.95p PD=7.3u $
$x=4793 $y=4700 $w=414 $h=600
*-------- Devices With SPICE.ORDER > 0.0 --------
VVoltageSource_2 Vdd Gnd DC 5 $ $x=1800 $y=3800 $w=400 $h=600
VVoltageSource_1 In Gnd PULSE(0 5 0 5n 5n 95n 200n) $ $x=3400 $y=3600 $w=400 $h=600
.PRINT TRAN V(In) $ $x=2850 $y=4350 $w=1500 $h=300 $r=180
.PRINT TRAN V(Out) $ $x=6250 $y=4050 $w=1500 $h=300
********* Simulation Settings - Analysis Section *********
.tran 50n 1u start=0
********* Simulation Settings - Additional SPICE Commands *********
.end
L-EDIT
18
The following is the path for opening L-Edit tool :
19
Go to File New
20
Go to Cell New
21
Select Lambda or microns accordingly and click ok
From layer palette, we can select layer then for drawing layer we need to switch at Drawing boxes
as follows
22
Now we can start layout designing. We are Taking Example of CMOS Layout design
Now draw P Implant over Active with keeping in mind Lambda based design rules
23
Now draw poly over it accordingly
24
Now draw metal1 around Contact
25
Now we need to put this in N-Well
If we are violating any Design rule then it will be shown in Error verification navigator
26
By clicking on the error, the tool points to the error that occur on layout.
27
By increasing the poly density area in the layout we can minimize that error. And again run DRC
check.
28
To define port, go to (A)
29
Similarly we do NMOS layout.
30
After connecting NMOS and PMOS , CMOS layout looks like as follows.
31
32
Click options in Setup Extract above, and uncheck all Hiper Verify Options.
Final netlist
33
M1 Vout Vin GND GND_ NMOS25 l=1.95e-006 w=2.55e-006 ad=5.1e-012 as=4.08e-012 pd=9.1e-006
ps=8.3e-006 $(24.65 -272199 26.6 -272197)
M2 Vout Vin VDD VDD PMOS25 l=1.95e-006 w=2.55e-006 ad=5.2275e-012 as=3.9525e-012 pd=9.2e-
006 ps=8.2e-006 $(24.65 -272194 26.6 -272192)
After saving spice file, we can simulate it, W-Edit will invoked and we can check the response:
34
LVS
(Layout Vs Schematic)
We got two output files (one from S-Edit and second from L-Edit), Now we can compare results
by using LVS
35
Double click on LVS, and file -> new &
We need to browse spice netlist files for layout netlist and Schematic netlist
36
After including these files, we need to run verification as follows &
37
Experiment No. 5:
Theory :
Many electronic devices use differential amplifiers internally. The output of an ideal differential
amplifier is given by:
Where and are the input voltages and Ad is the differential gain.
In practice, however, the gain is not quite equal for the two inputs. This means, for instance, that
if and are equal, the output will not be zero, as it would be in the ideal case. A more
realistic expression for the output of a differential amplifier thus includes a second term.
The common-mode rejection ratio, usually defined as the ratio between differential-mode gain
and common-mode gain, indicates the ability of the amplifier to accurately cancel voltages that
are common to both inputs. Common-mode rejection ratio (CMRR):
In a perfectly symmetrical differential amplifier, Ac is zero and the CMRR is infinite. Note that a
differential amplifier is a more general form of amplifier than one with a single input; by
grounding one input of a differential amplifier, a single-ended amplifier results. An operational
amplifier, or op-amp, is a differential amplifier with very high differential-mode gain, very high
input impedances, and a low output impedance. Some kinds of differential amplifier usually
include several simpler differential amplifiers. For example, an instrumentation amplifier, a fully
differential amplifier, an instrument amplifier, or an isolation amplifier are often built from
several op-amps.
38
Differential amplifiers are found in many systems that utilise negative feedback, where one input
is used for the input signal, the other for the feedback signal. A common application is for the
control ofmotors or servos, as well as for signal amplification applications. In discrete electronics,
a common arrangement for implementing a differential amplifier is the long-tailed pair, which is
also usually found as the differential element in most op-amp integrated circuits. A differential
amplifier is used as the input stage emitter coupled logic gates.
Design :
39
40
Using the lines for drawing, create a symbol for op-amp as below.
41
Again create a symbol for the above circuit and make the connections accordingly.
Vpwr and Vpwr/2 are the instance name of the voltage souces.
Now place the spice commands for finding out the gain, bandwidth.
42
Simulation setup
43
Gain , Frequency and Bandwidth can be viewed from simulation window above.
The following schematic shows 10 bit VCO. By changing the values of D0 – D9 the input pulse
applied varies accordingly.
44