Revision Notes: July2004 Generate tutorial for single transistor analysis. Based on existing schematic entry tutorial developed for ECE410

Similar documents
Cadence Tutorial A: Schematic Entry and Functional Simulation Created for the MSU VLSI program by Andrew Mason and the AMSaC lab group.

Cadence Tutorial A: Schematic Entry and Functional Simulation Created for the MSU VLSI program by Professor A. Mason and the AMSaC lab group.

CPE/EE 427, CPE 527, VLSI Design I: Tutorial #2, Schematic Capture, DC Analysis, Transient Analysis (Inverter, NAND2)

Cadence Schematic Tutorial. EEE5320/EEE4306 Fall 2015 University of Florida ECE

EECE 285 VLSI Design. Cadence Tutorial EECE 285 VLSI. By: Kevin Dick Co-author: Jeff Kauppila Co-author: Dr. Arthur Witulski

Cadence Tutorial C: Simulating DC and Timing Characteristics 1

Design rule illustrations for the AMI C5N process can be found at:

Using Cadence Virtuoso, a UNIX based OrCAD PSpice like program, Remotely on a Windows Machine

VLSI Lab Tutorial 1. Cadence Virtuoso Schematic Composer Introduction

CS/EE 5720/6720 Analog IC Design Tutorial for Schematic Design and Analysis using Spectre

Virtuoso Schematic Composer

EE 330 Spring 2018 Laboratory 2: Basic Boolean Circuits

CADENCE SETUP. ECE4430-Analog IC Design

Cadence Analog Circuit Tutorial

CS755 CAD TOOL TUTORIAL

TUTORIAL II ECE 555 / 755 Updated on September 11 th 2006 CADENCE LAYOUT AND PARASITIC EXTRACTION

Cadence Tutorial: Schematic Entry and Circuit Simulation of a CMOS Inverter

The original document link is

Select the technology library: NCSU_TechLib_ami06, then press OK.

Figure 1: ADE Test Editor

Tutorial on getting started in Cadence. Advanced Analog Circuits Spring 2015 Instructor: Prof. Harish Krishnaswamy TA: Jahnavi Sharma

EE 330 Spring Laboratory 2: Basic Boolean Circuits

Cadence Tutorial. Introduction to Cadence 0.18um, Implementation and Simulation of an inverter. A. Moradi, A. Miled et M. Sawan

VLSI Lab Tutorial 3. Virtuoso Layout Editing Introduction

Cadence Virtuoso Schematic Design and Circuit Simulation Tutorial

EE4111 Advanced Analog Electronics Design. Spring 2009 Experiment #4 April 6 ~ April 17

ELEC 301 Lab 2: Cadence Basic

EE115C Digital Electronic Circuits. Tutorial 2: Hierarchical Schematic and Simulation

Cadence IC Design Manual

Microelectronica. Full-Custom Design with Cadence Tutorial

DC Circuit Simulation

Virtuoso Layout Editor

Lab 1: An Introduction to Cadence

Lab 2: Functional Simulation Using. Affirma Analog Simulator

AMS 0.18 µm PDK Setup and Cadence Tutorial Contributors

ECE471/571 Energy Efficient VLSI Design Project 2 Cadence Setup and Creation of an Inverter Due Date 11:30 am on Friday, February 2 nd, 2018

Amplifier Simulation Tutorial. Design Kit: Cadence 0.18μm CMOS PDK (gpdk180) (Cadence Version 6.1.5)

UNIVERSITY OF WATERLOO

ECE 331: Electronics Principles I Fall 2014

ESE 570 Cadence Lab Assignment 2: Introduction to Spectre, Manual Layout Drawing and Post Layout Simulation (PLS)

Cadence Tutorial D: Using Design Variables and Parametric Analysis Document Contents Introduction Using Design Variables Apply Apply

EE115C Digital Electronic Circuits. Tutorial 4: Schematic-driven Layout (Virtuoso XL)

Experiment 0: Introduction to Cadence

ELEC451 Integrated Circuit Engineering Using Cadence's Virtuoso Layout Editing Tool

EE 330 Spring 2018 Lab 1: Cadence Custom IC design tools Setup, Schematic capture and simulation

Lab 1: Cadence Custom IC design tools- Setup, Schematic capture and simulation

Cadence Tutorial 2: Layout, DRC/LVS and Circuit Simulation with Extracted Parasitics

EE 330 Fall 2017 Lab 1: Cadence Custom IC design tools - Setup, Schematic capture and simulation

Professor Muller Fall 2016 Sameet Ramakrishnan Eric Chang Adapted from prior EE140 and EE141 labs. EE 140/240A Lab 0 Full IC Design Flow

ESE570 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Integrated Cicruits AND VLSI Fundamentals

The following is a procedure for extracting a layout, doing a layout vs. schematic check, and then simulating the extracted layout with Cadence.

Analog IC Schematic Capture. Mentor Graphics 2006

FACULTY OF ENGINEERING MULTIMEDIA UNIVERSITY LAB SHEET DIGITAL INTEGRATED CIRCUIT

CPE/EE 427, CPE 527, VLSI Design I: Tutorial #1, Full Custom VLSI (inverter layout)

Cadence Virtuoso Simulation of a pixel

Analog IC Simulation. Mentor Graphics 2006

EE 330 Laboratory 3 Layout, DRC, and LVS

EE 330 Laboratory 3 Layout, DRC, and LVS Fall 2015

DOWNLOAD PDF CADENCE WAVEFORM CALCULATOR USER GUIDE

Fall 2008: EE5323 VLSI Design I using Cadence

Guide to the CSE 577 Lab and Cad tools

ECE471/571 Energy Ecient VLSI Design

More information can be found in the Cadence manuals Virtuoso Layout Editor User Guide and Cadence Hierarchy Editor User Guide.

S Exercise 1C Testing the Ring Oscillator

Basic Analog Simulation in Cadence

Copyright 2008 Linear Technology. All rights reserved. Getting Started

PSpice Tutorial. Physics 160 Spring 2006

EE 210 Lab Assignment #2: Intro to PSPICE

Intro to Cadence. Brady Salz. ECE483 Spring 17

1. Working with PSpice:

EE 330 Laboratory Experiment Number 11

How To Plot Transconductance and Even More. By Ruida Yun

Mixed Signal Design Simulation Manual

Verifying the Multiplexer Layout

TUTORIAL SESSION Technical Group Hoda Najafi & Sunita Bhide

Logging in, starting a shell tool, and starting the Cadence Tool Suite

SOUTHERN POLYTECHNIC S. U.

EEC 116 Fall 2011 Lab #1 Cadence Schematic Capture and Layout Tutorial

LTSPICE MANUAL. For Teaching Module EE4415 ZHENG HAUN QUN. December 2016

There are three windows that are opened. The screen that you will probably spend the most time in is the SCHEMATIC page.

This is a brief tutorial about building a Symbol for a Schematic in Cadence IC design tool environment for hierarchical design of schematics.

Click on the SwCAD III shortcut created by the software installation.

How to Get Started. Figure 3

Mentor Graphics VLSI CAD Tutorials

Setting up an initial ".tcshrc" file

Simulation examples Chapter overview

Start Active-HDL. Create a new workspace TUTORIAL #1 CREATING AND SIMULATING SIMPLE SCHEMATICS

SCHEMATIC1 SCHEMATIC2 SCHEMATIC1 SCHEMATIC2 SCHEMATIC3 PAGE1 PAGE2 PAGE3 PAGE1 PAGE1 PAGE2 PAGE1 PAGE1 PAGE2

UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering. EEC180A DIGITAL SYSTEMS I Winter 2015

Lab. Course Goals. Topics. What is VLSI design? What is an integrated circuit? VLSI Design Cycle. VLSI Design Automation

Getting started. Starting Capture. To start Capture. This chapter describes how to start OrCAD Capture.

EE5323/5324 VLSI Design I/II using Cadence

Getting Started with Orcad Lite, Release 9.2

Lab 4 LVS and Post layout Simulation

Manual for Wavenology EM Graphic Circuit Editor. Wave Computation Technologies, Inc. Jan., 2013

EEC 116 Fall 2011 Lab #3: Digital Simulation Tutorial

DRC and LVS checks using Cadence Virtuoso Version 2.0

PSpice with Orcad 10

Boise State University Digital Systems Laboratory

TUTORIAL 1. V1.1 Update on Sept 17, 2003 ECE 755. Part 1: Design Architect IC

Transcription:

Cadence Analog Tutorial 1: Schematic Entry and Transistor Characterization Created for the MSU VLSI program by Professor A. Mason and the AMSaC lab group. Revision Notes: July2004 Generate tutorial for single transistor analysis. Based on existing schematic entry tutorial developed for ECE410 A. Gore & A. Mason Document Contents Introduction Environment Setup Creating a Design Library Creating a Schematic Cell View Simulation with Affirma Analog Circuit Design Environment (parametric analysis) Introduction This document is one of a three-part tutorial for using CADENCE Custom IC Design Tools (IC445) for a typical bottom-up digital circuit design flow with the AMI06 process technology and NCSU design kit. Tutorial A, covers setup of the Cadence environment on a UNIX platform, use of the Virtuoso schematic entry tool, and use of the Affirma analog simulation tool. Environment Setup Before beginning this tutorial you must setup Cadence to work with your account. Make sure you setup your directory as specified in the setup guide. If you have not already done so, launch Cadence using setup guide. Now, you should see 2 windows Command Interpreter Window (CIW) When all the configuration files have been read, the END OF SITE CUSTOMIZATION message will be displayed indicating the start up was successful. With each new session, Cadence starts a new CDS.log file in your home directory where all the messages that appear in the CIW will be stored. Library Manager It lists the libraries in your working directory. For now the NCSU-Analog-Parts library is the important one since it has basic circuit elements like transistors, current sources, voltage sources, ground, resistors, capacitors etc. Command Interpreter Window (CIW) Cadence Tutorial: Schematic Entry and Transistor Characterization 1

Library Manager Window Convention: To show the sequence of steps for the pull down menu, the following convention is used. For example, Tools => Analog Artist => Simulation This statement above indicates that you pull down the Tools menu, then click on the Analog Artist button and finally click on the Simulation button. Note: If at anytime during this tutorial you want to quit Cadence, make sure you save your work by selecting Design => Save and close the design windows by selecting Close from the menu. After you have closed all your working windows, then select File => Exit and click Yes in the pop-up confirmation window to end the Cadence session. Cadence File Organization To start a design in Cadence, you must first create a library where you can store your design cells. Every Library is associated with a technology file and it is the technology file that supplies the color maps, layer maps, design rules, and extraction parameters required to view, design, simulate and fabricate your circuit. Cadence stores its files in libraries, cells, and cellviews. A library (which actually appears as a directory in UNIX) contains cells (subdirectories), which in turn contain views. Each library contains a catalog of all cells, viewed along with the actual UNIX paths to the data files. Each cell in a library uses the same mask layers, colors, design rules, symbolic devices, and parameter values (i.e. the information contained in the technology file). A cell is the basic design object. It forms an individual building block of a chip or system. It is logic, rather than a physical, design object. Each cell has one or more views, which are files that store specific data for each cell. A cellview is the virtual data file created to store information in Cadence. A cell may have many cellviews, signifying different ways to represent the same data represented by the cell (for example, a layout, schematic, etc). Cadence Tutorial: Schematic Entry and Transistor Characterization 2

The Custom Design Process For a full custom design (as opposed to a coded/synthesized design using, e.g., Verilog HDL), the design process begins by creating a schematic. The schematic is then simulated to verify operation and optimize performance. A layout of the circuit is generated and checked for design rule violations (DRC). The layout is then extracted and a layout vs. schematic (LVS) comparison is run to ensure the cell layout exactly matches the schematic. Finally the extracted layout is simulated to observe the effect of parasitics that will be present on the fabricated chip. These post layout simulation are closer to reality and will show if your design would work if fabricated. In this tutorial you will create a schematic for a basic digital logic gate, and inverter, and perform some basic simulations on the schematic to verify it is functioning properly. Creating a Design Library STEP 1. In the Library Manager window, select File => New => Library to open the Create Library window shown below. Enter a Name for your library. The example shows the library name tutorial, but since you will probably be using the cells from this library (and adding more to it), choose any appropriate name. Leave the Path blank. Click on the Attach to Existing Tech Library button and choose AMI 0.6u C5N (3M, 2P, high-res) as the technology file to be associated with your new library. Finally, click on the OK button and you now have an empty library to start adding cells to. Creating a Schematic Cellview STEP 2: Create a new schematic Go to the Library Manager window and click/select your library (for example tutorial ). Cadence Tutorial: Schematic Entry and Transistor Characterization 3

Now select File => New => Cellview. Use the Create New File window that pops up to create the schematic view for an inverter cell. Enter the Cell Name trans. Click on Tool drop-down list and select Composer-Schematic. This is where you choose which Cadence tool you want to use and the appropriate View Name for each tool will be filled in automatically. Here we will be creating the schematic view. Click the OK button. The Virtuoso schematic editing tool will open with an empty Schematic Editing window as shown below. Cadence Tutorial: Schematic Entry and Transistor Characterization 4

STEP 3: Add an nfet to the schematic In the Schematic Editing window Select Add => Instance to activate the Add Instance tool for adding components (transistors, sources, etc.) to your schematic. You can also invoke this tool by clicking on the Instance icon on the left-hand toolbar, or by typing the hot key i with your mouse over the Schematic Editing window. Two windows (Component Browser window and Add Instance) will pop open. In the Component Browser window, under Library select NCSU_Analog_Parts. A list of parts will be displayed near the bottom of this window. From the parts list, click on N_transistors and a list of available nfet transistor elements will be displayed. Pick up the nmos4 element by clicking on it. This will attach the component to your mouse pointer. If necessary, click on the Rotate, Sideways, or Upside-down buttons in the Add Instance window to manipulate the component you are adding. Click on schematic area of the Schematic Editing window (main black area of the window) and the nmos4 component will appear in your schematic. Clicking on the schematic window again will add another copy of the component (don t do this). Pressing ESC on the keyboard will end the Add Instance function (but don t do this yet). Cadence Tutorial: Schematic Entry and Transistor Characterization 5

STEP 4: Add other components to the schematic In Component Browser window, go to the Voltage_Sources category and pick up vdc and add them as shown below. Now the Schematic Editing window look like the figure below. If you need to move a component, press ESC and left-click on the component and drag it to a new location. Pressing ESC will cancel the Add Instance command so you will need to restart it to add more components. STEP 6: Add wire connections In the Schematic Editing window select Add => Wire (or use hot key w ) to begin placing wires that will connect the terminals of the components and pins in the schematic. Be sure to connect the body terminal of each transistor (nmos to ground). Press ESC to end wiring. Cadence Tutorial: Schematic Entry and Transistor Characterization 6

STEP 7: Setting labels In the Schematic Editing window type the letter l to invoke the labeling tool. In the label pop-up window, enter the Name VIN VOUT Move your mouse to the Schematic Editing window and drop the VIN label on the wire that connects positive terminal of voltage source V1 to the gate of a NMOS transistor. Repeat this procedure to label the VOUT net. Press ESC when you are done. Final schematic for parametric analysis STEP 8: Check and Save the cellview Now that you are familiar with the schematic editing tool, explore the menu commands in the Schematic Editing window to do the following: Check the cell for errors. If errors exist the error section will blink in the Schematic Editing window. Save the cellview. Cadence Tutorial: Schematic Entry and Transistor Characterization 7

Simulation with Affirma Analog Circuit Design Environment To verify a circuit is working and test the functionality of the schematic we must simulate the circuit. For this we will use the Cadence Affirma analog simulation tool. For now we will just run a simple transient analysis to confirm the circuit designed above is operating as an inverter should be. Additional information for running simulations with Cadence tools is provided in Tutorial C. STEP 10: Launch the Affirma analog simulation tool With your trans schematic open, in the Schematic Editing window select Tools => Analog Environment, and the Affirma Analog Circuit Design Environment window will open. o You can also launch this tool from the CIW by selecting Tools => Analog Environment => Simulation in the CIW. When the Affirma Analog Circuit Design Environment opens you have click on the Setup => Design to specify the library and cell, for example tutorial and "trans". In Affirma Analog Circuit Design Environment, click on Setup => Simulator/Directory/Host. Choose spectres as the Simulator. Enter a path for your simulations files and results. You may set this to any valid path, but you might find it useful to keep all simulations in one directory. For example 410 students might use /workdir/cadence/simulation. If you need to run multiple simulations on the same cell, you can even use different paths for each simulation. Note: For ECE418 students, workdir is /egr/courses/personal/ece418/username/ Cadence Tutorial: Schematic Entry and Transistor Characterization 8

STEP 11: Setup stimulus Select voltage source V0 (The voltage source that is connected to drain and source of a NMOS transistor) and enter q. A window will pop up showing the properties of this voltage source as shown below. Enter value 5 V in a box corresponding to DC voltage and press OK STEP 12: Setup analysis Now we will perform DC analysis. In Affirma Analog Circuit Design Environment window, select Analyses => Choose. In the window that pops up, select dc to choose a dc analysis. Select Component Parameter option from Sweep Variable Press Select Component button. Now Schematic window gets activated and select voltage source that is connected wire VIN. Select dc and press OK Cadence Tutorial: Schematic Entry and Transistor Characterization 9

Now enter start-stop values for Sweep Range in Choose Analysis window as shown below and press OK. STEP 13: Setup output traces In Affirma Analog Circuit Design Environment window, select Outputs => to be plotted => Select on Schematic. This will activate the Schematic Window allowing you to pick signals (nets/wires) that you would like to have plotted during the simulation. In the Schematic Window click on the negative terminal of a voltage source that is connected between drain and source of a NMOS transistor. STEP 14: Run simulation In the Affirma Analog Circuit Design Environment window select Simulation => Run. Since you are plotting current Id (drain current) against Vgs (Gate to source voltage), a warning message will pop up. Click OK Cadence Tutorial: Schematic Entry and Transistor Characterization 10

When the simulation is complete, the CIW should show "Reading Simulation Data... Successful". If the simulation was not successful, go to Simulation => Output Log in your Affirma Analog Circuit Design Environment to find out what the problem was. You should see output waveform like shown below. Parametric Analysis using Vds (Drain to Source Voltage) Select voltage source connected between drain and source of a transistor. Press q to select properties of a voltage source. Replace 5 V with VDS V in DC voltage parameter value and press OK. Cadence Tutorial: Schematic Entry and Transistor Characterization 11

In the Affirma Analog Circuit Design Environment window select Variables => Edit. In Editing Design Variables window, press copy from button. It will show variable name VDS in the Table of Design Variables. Select VDS as shown below and Click OK In the Affirma Analog Circuit Design Environment window select Tools => Parametric Analysis. In parametric Analysis window, select Setup => Pick name For Variable => Sweep1 Select VDS and press OK Enter values as shown above. From=0,To=5 and Total Steps=6 and select Analysis => Start Cadence Tutorial: Schematic Entry and Transistor Characterization 12

Waveforms for the parametric analysis are shown below. This plot shows change in drain current against gate to source voltage for different values of drain to source voltages. Parametric Analysis using Vgs (Gate to Source Voltage) Select voltage source connected between gate and source of a transistor. Press q to select properties of a voltage source. Replace any value with VGS V in DC voltage parameter value and press OK. Select voltage source connected between drain and source of a NMOS transistor and clear any value (VDS or 5V) from the DC voltage and press OK In the Affirma Analog Circuit Design Environment window select Analyses => Choose. Select dc analysis. Select Component Parameter and press Select Component. Select voltage between drain and source of a NMOS transistor and select dc and press OK Cadence Tutorial: Schematic Entry and Transistor Characterization 13

Enter values for DC analysis as shown below and press OK. In the Affirma Analog Circuit Design Environment window select Variables => Edit. Select all variables present in Table of Design Variables and delete all those variables. In Editing Design Variables window, press copy from button. It will show variable name VGS in the Table of Design Variables. Select VGS as shown below and press OK Cadence Tutorial: Schematic Entry and Transistor Characterization 14

In the Affirma Analog Circuit Design Environment window select Tools => Parametric Analysis. In parametric Analysis window, select Setup => Pick name For Variable => Sweep1 Select VGS and press OK Enter values as shown above. From=0,To=3 and Total Steps=11 and select Analysis => Start Waveforms for the parametric analysis are shown below. Cadence Tutorial: Schematic Entry and Transistor Characterization 15

General Editing Tips for schematic design Mouse Buttons: In most Cadence tools, the left mouse button is used to select components, wires, etc., and the middle mouse button can be used to change object properties, e.g., the width and length of a transistor. Moving Objects: If you want to move any object, just move the cursor on top of the object and type m. The object will then move with the cursor. Or you can select the objects to be moved by left-click and drag to draw a box around the objects. After highlighting the objects to be moved, type m and the highlighted objects will move with your cursor. Deleting Objects: If you want to delete an object, move the cursor on top of the object and hit the DEL key. You can also highlight an object or a group of objects by drawing a box around it, as described above, and pressing the DEL key. Undo Operations: When you make a mistake (accidentally delete a component, etc.), you can undo the action by click on the Undo icon in the toolbar. BindingKey: The following hot keys are available for the schematic editing tool. 1). Press p to add pins 2). Press q on the device/instance to edit properties for the device 3). Press w to add wires 4). Press f fit the schematic in your schematic window 5). Press z to zoom in the window 6). Press shift+z to zoom out the window 7). Press l to label a wire 8). Press Up and Down arrows to move up and down within a schematic window 9). Press ESC to terminate an operation in the schematic window 10). Press u to undo an operation in the schematic window Cadence Tutorial: Schematic Entry and Transistor Characterization 16