ECE122 – Digital Electronics & Design

33
ECE122 – Digital Electronics & Design Tanner Tools Tutorial Ritu Bajpai September 4, 2008

description

Tanner Tools Tutorial Ritu Bajpai September 4, 2008. ECE122 – Digital Electronics & Design. Objective of the lab. To develop an understanding of design and simulation of digital logic circuits. To get a basic understanding of layout of electronic circuits. - PowerPoint PPT Presentation

Transcript of ECE122 – Digital Electronics & Design

Page 1: ECE122 – Digital Electronics & Design

ECE122 – Digital Electronics & Design

Tanner Tools Tutorial

Ritu Bajpai September 4, 2008

Page 2: ECE122 – Digital Electronics & Design

Objective of the lab

● To develop an understanding of design and simulation of digital logic circuits.

● To get a basic understanding of layout of electronic circuits.

● We will use Tanner tools for design and simulation.

● This lab introduces us to Tanner tools.

Page 3: ECE122 – Digital Electronics & Design

Introduction to Tanner tools

● Tanner tool- simulation tool for the class

● Upgraded from last year● Some slides may look different as you

will see on your computer● Slides will be updated to correspond

with the new version of Tanner as we advance into the semester

Page 4: ECE122 – Digital Electronics & Design

Tanner tools consists of the followingL-Edit: Layout editing

LVS: Layout vs. Schematic

S-Edit: Schematic Entry

T-Spice: Simulation

W-Edit: Waveform formatting

Page 5: ECE122 – Digital Electronics & Design

This is S-Edit

Page 6: ECE122 – Digital Electronics & Design

For creating new design go

File->New->New design

Page 7: ECE122 – Digital Electronics & Design

Enter design name and the folder name where you want to save your work.

Page 8: ECE122 – Digital Electronics & Design

Recommendations

● Make a new folder in your name and always save all your work there.

● Use same system each time so that you don’t have to transfer your old files to another system if needed.

● Create a backup of your work if needed as the lab computers are formatted from time to time.

Page 9: ECE122 – Digital Electronics & Design

Now go to Cell->New View

Page 10: ECE122 – Digital Electronics & Design

Hit OK to start with new cell schematic design

Page 11: ECE122 – Digital Electronics & Design

Levels of design in S-Edit● The highest level in the S-Edit design

hierarchy is the design file. Files contain modules, which can contain primitive objects or reference to other modules.

● A module can further have pages.● S-Edit has 2 viewing modes, Schematic

mode and Symbol mode. We can switch between 2 modes using the tabs in the tool bar or using a question mark (?).

Page 12: ECE122 – Digital Electronics & Design

Select tool Draw wire

Cap Node

Label Node

Page 13: ECE122 – Digital Electronics & Design

For more help with S-Edit go to

Help->Tutorial

Page 14: ECE122 – Digital Electronics & Design

Library file path

C:\Documents and Settings\Student\My Documents\Tanner EDA\Tanner Tools v13.0\Libraries\All\All.tanner

Click here to add libraries

Browse the library file from the path above and hit OK

Page 15: ECE122 – Digital Electronics & Design

Now we will instance first element NMOS from the library Devices and hit done.

Page 16: ECE122 – Digital Electronics & Design

Some useful tips

● To move an object: Use center wheel of the mouse.

● For zoom in and zoom out use + and – respectively from the key board.

● To view/edit object properties, select object and use CTRL+E.

Page 17: ECE122 – Digital Electronics & Design

Introduction to MOSFET● A MOSFET can be

• PMOS

• NMOS● A MOSFET is a four terminal device.

Four terminals are:• Gate

• Drain

• Source

• Bulk● A MOSFET is symmetrical device unlike

a BJT which means either terminal can be drain or source unless connected in a circuit.

Page 18: ECE122 – Digital Electronics & Design

Introduction to MOSFET

● For a PMOS source is always connected to highest voltage in the circuit.

● For an NMOS source is always connected to lowest voltage in a circuit.

● The bulk is always shorted to the source for both devices.

Page 19: ECE122 – Digital Electronics & Design

Introduction to MOSFET● The bulk terminal is identified by an

arrow.● We can distinguish PMOS symbol from

NMOS symbol as follows:• PMOS bulk has arrow coming out .

• NMOS bulk has arrow going in. (Tip: remember ‘in’ sounds like N.)

• PMOS gate has a bubble attached to it.● There can be different symbols for

PMOS and NMOS for example the bulk may not be shown but the above points hold good for the MOSFETS we will be using from SCMOS library in S-Edit.

Page 20: ECE122 – Digital Electronics & Design

Schematic design of an inverter

● Today we will design an inverter schematic in S-Edit.

● In this class we will design CMOS based logic circuits.

● Thus an inverter consists of a PMOS and an NMOS connected in series with PMOS source connected to Vdd and NMOS source connected to Gnd.

● Input is applied at the gates.● Output is collected from the drains

which are connected together.

Page 21: ECE122 – Digital Electronics & Design

Vdd from library Misc

Gnd from library Misc

PMOS from library Devices

Input portOutput port

Page 22: ECE122 – Digital Electronics & Design

Now we are ready to create a symbol for the schematic design

Page 23: ECE122 – Digital Electronics & Design

Draw the symbol of the module which clearly represents the function if possible.

Page 24: ECE122 – Digital Electronics & Design

Create a new design file just as you did for inverter now to make the schematic for the inverter test bench.

Page 25: ECE122 – Digital Electronics & Design

Add libraries and make sure you also add inverter as a library so that you can instance it.

Voltage sources from spice elements

library

Print voltage probe from spice commands

Page 26: ECE122 – Digital Electronics & Design

Voltage source properties can be modifies from here

Page 27: ECE122 – Digital Electronics & Design

Now we will set up the simulation settingsClick to pop up the set up window

Browse the library file

My Documents\Tanner EDA\Tanner Tools v13.0\Libraries\Models\Generic_025.lib TT

Select Transient/Fourier analysis

Hit OK and click the green play button on the top left

Page 28: ECE122 – Digital Electronics & Design
Page 29: ECE122 – Digital Electronics & Design

Types of analysis

● DC Operating Point Analysis.● DC Transfer Analysis.● Transient Analysis.● AC Analysis.● Transient Analysis, Powerup Mode.● Noise Analysis.

Page 30: ECE122 – Digital Electronics & Design

Types of analysis● DC operating point analysis: It finds the

circuit’s steady-state condition, obtained (in principle) after the input voltages have been applied for an infinite amount of time.

● DC Transfer Analysis: It is used to study the voltage or current at one set of points in a circuit as a function of the voltage or current at another set of points. This is done by sweeping the source variables over specified ranges, and recording the output.

Page 31: ECE122 – Digital Electronics & Design

Types of Analysis● Transient Analysis: It provides

information on how circuit elements vary with time.

● AC Analysis: It characterizes the circuit’s behavior dependence on small signal input frequency.

● Transient Analysis power up mode: Some circuits do not have a DC steady state so it is difficult to specify there initial state. This is done using power up option of the .tran command. It sets entire circuit to zero for time equal to 0.

Page 32: ECE122 – Digital Electronics & Design
Page 33: ECE122 – Digital Electronics & Design

Lab Reports

● Strictly adhere to the lab report format and other instructions on the website

● No late submissions without prior permission