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

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

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

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

ECE 331: Electronics Principles I Fall 2014

Cadence Analog Circuit Tutorial

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

EE 330 Spring 2018 Laboratory 2: Basic Boolean Circuits

Experiment 0: Introduction to Cadence

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

The original document link is

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

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

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

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

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

EE 330 Spring Laboratory 2: Basic Boolean Circuits

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

Cadence IC Design Manual

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

1. Working with PSpice:

Lab 1: Analysis of DC and AC circuits using PSPICE

Basic Analog Simulation in Cadence

AMS 0.18 µm PDK Setup and Cadence Tutorial Contributors

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

Simulation examples Chapter overview

Cadence Tutorial C: Simulating DC and Timing Characteristics 1

Figure 1: ADE Test Editor

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

DC Circuit Simulation

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

CS755 CAD TOOL TUTORIAL

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

S Exercise 1C Testing the Ring Oscillator

VLSI Lab Tutorial 1. Cadence Virtuoso Schematic Composer Introduction

Lab 2: Functional Simulation Using. Affirma Analog Simulator

CADENCE SETUP. ECE4430-Analog IC Design

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

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

Intro to Cadence. Brady Salz. ECE483 Spring 17

Cadence Virtuoso Simulation of a pixel

EECS 211 CAD Tutorial. 1. Introduction

PSpice with Orcad 10

Introduction to CCV and Cadence Virtuoso for Electronic Circuit Simulation

EE 210 Lab Assignment #2: Intro to PSPICE

EE 330 Laboratory Experiment Number 11

PSpice Tutorial. Physics 160 Spring 2006

Laboratory 3. EE 342 (VLSI Circuit Design) - Using Spectre netlist and Calculator for simulation

DOWNLOAD PDF CADENCE WAVEFORM CALCULATOR USER GUIDE

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

Cadence Virtuoso Schematic Design and Circuit Simulation Tutorial

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

Setting up an initial ".tcshrc" file

Select the technology library: NCSU_TechLib_ami06, then press OK.

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

Getting Started with Orcad Lite, Release 9.2

EE 330 Laboratory Experiment Number 11 Design and Simulation of Digital Circuits using Hardware Description Languages

MENTOR GRAPHICS IC DESIGN MANUAL. Schematic & Simulation. Gun Jun K Praveen Jayakar Thomas Zheng Huan Qun

SOUTHERN POLYTECHNIC S. U.

FACULTY OF ENGINEERING MULTIMEDIA UNIVERSITY LAB SHEET DIGITAL INTEGRATED CIRCUIT

ELEC 301 Lab 2: Cadence Basic

Lesson 2: DC Bias Point Analysis

Setting up the IBM 65nm libraries in Cadence 6.1

1. INTRODUCTION. PSpice with OrCAD Capture (release 16.6 edition)

Analog IC Schematic Capture. Mentor Graphics 2006

Start ADS and Create an Empty Project

ANALOG MICROELECTRONICS ( A)

Advanced Design System IFF Schematic Translation for Cadence

How to Get Started. Figure 3

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

Lab 1: An Introduction to Cadence

Using KiCad with AimSpice Doc 0.2 CETA - Univ. Hartford, Connecticut, USA

EEC 118 Spring 2011 Lab #5 Manchester Carry-Chain Adder

Analog IC Simulation. Mentor Graphics 2006

Lab Assignment #1. University of Pittsburgh Department of Electrical and Computer Engineering

Cadence Inverter Transistor Sizing Tutorial Cadence Inverter Ocean Introduction Cadence Inverter Corners Tutorial Cadence Inverter VerilogA Tutorial

Virtuoso Schematic Composer

Abstract Editor (Last updated: Oct. 23, 2008)

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

Introduction to NI Multisim & Ultiboard

GETTING STARTED WITH ADS

Guide to the CSE 577 Lab and Cad tools

How To Plot Transconductance and Even More. By Ruida Yun

APPENDIX-A INTRODUCTION TO OrCAD PSPICE

ECE 683 OSU DIGITAL CELL LIBRARY DOCUMENTATION. Matt Silverman 12/5/2005. Timing Characterization Using Cadence

EE 330 Laboratory Experiment Number 11 Design, Simulation and Layout of Digital Circuits using Hardware Description Languages

A Crash Course on Using Agilent Advanced Design System (ADS)

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

UNIVERSITY OF WATERLOO

EE 140/240A - Full IC Design Flow Tutorial

Lab 5: Circuit Simulation with PSPICE

Alfred Sargezi & Zain Ali. AMS Group - San Jose State University ams.sjsu.edu

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

Microelectronica. Full-Custom Design with Cadence Tutorial

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

Laboratory Manual 1, MSPS. Introduction to Behavioral-Level Simulation

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

Virtuoso Schematic Composer VHDL Interface. VHDL In for Design Framework II:

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

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

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

Transcription:

Lab 1: Cadence Custom IC design tools- Setup, Schematic capture and simulation Brittany Duffy EE 330- Integrated Electronics Lab Section B Professor Randy Geiger 1/24/13

Introduction The main goal of this lab is to become familiarized with the basic functions of the Cadence Custom IC design tool, Virtuoso. To begin this lab, I started with setting up my account to run the IC tool. After this was completed, I learned how to manage my files with the Library Manager, recognize the basics of the Schematics Editor, and use Analog Design Environment (ADE) to simulate a simple low- pass RC circuit. Pre- lab The following pages include my results to the pre-lab questions. Figure 1: Pre-lab circuit 1

Procedure 1. Setup After logging into the system, many steps were required to take before begin using the IC design tools: A) Set Bash Shell for the account Login to: http://www.asw.iastate.edu. Click on: Manage user Net- ID Click on: Set your login shell (Unix/Linux) Select: /bin/bash Click on: Update Shell Click on: logout B) Create a ~/.software file (Only once) To enable the use of different software tools, CSG has made a special file.software in their home directory customized for their use. I opened the terminal and entered gedit ~/.software and entered the following lines in that file: IC CALIBRE ASSURA MMSIM EDI These five entries enable the use of the IC design tools with analog and digital design flow capability. I will use this file in the future if other tools are needed. C) Create a ~/.bashrc file (Only once) This file includes to following content: if [ - f /etc/bashrc ]; then. /etc/bashrc fi D) Create a ~/.bash_profile file (Only once) I followed the following lines in that file: if [ - f ~/.bashrc ]; then. ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin BASH_ENV=$HOME/.bashrc USERNAME="" export USERNAME BASH_ENV PATH DISPLAY 2

E) Create a ~/cds.lib file (only once) The Library Manager retains information about system- wide libraries as well as personal design libraries in a special file called cds.lib. For better organization purposes, I created a cds.lib in my home directory. This file includes definitions of system wide libraries. For starters, I created the file with the following contents: INCLUDE /usr/local/cadence/iclocal/local/cdssetup/cds.lib DEFINE analoglib $IC/tools/dfII/etc/cdslib/artist/analogLib The first line includes a cds.lib file created by the system administrators from another location on the system. The second line defines a library analoglib supplied by Cadence, which includes most basic circuit elements. F) Create a project directory and a cds.lib file (for every project) The best way to organize work is to use multiple directories with each directory being dedicated to a specific class or to a research project. I created a new directory where all of the libraries will be stored for this course. Next, I typed the following command into the terminal to create the ee330 folder: mkdir ee330 I then changed into the new directory using the cd ee330 command. I copied several files by typing the following commands at the prompt. cp /remote/ncsu_oa/local/cdssetup/cdsenv ~/ee330/.cdsenv cp /remote/ncsu_oa/local/cdssetup/cdsinit ~/ee330/.cdsinit cp /remote/ncsu_oa/local/cdssetup/cds.lib ~/ee330/ cds.lib cp /remote/ncsu_oa/local/cdssetup/display.drf ~/ee330/display.drf I then opened my ~/ee330/cds.lib file and added the following line to its contents: INCLUDE ~/cds.lib This line includes the contents of the ~/cds.lib file giving access to the common libraries defined there. The file will be automatically updated whenever I launch Cadence IC tools from ~/ee330. Finally, I edited the ~/ee330/.cdsenv file. Using a text editor, I added the given lines of code (given in lab handout) under their respective heading to the.cdsenv file. The basic setup for running the Cadence Custom IC design tools is now complete. I then logged off the computer and logged on again. 2. Starting Cadence Custom IC tool and creating libraries To begin this step, I typed the command bash into the terminal. I continued into the ee330 directory and typed the command: virtuoso &. This opened up Cadence, the Command Interpreter Window (CIW), and Library Manager. The CIW will become very helpful when troubleshooting. The library manager organizes the data into various libraries and cells. Below is an image of my library manager. 3

Figure 2: Library manager A) Creating a new library During this lab, all designs will be grouped in Libraries. Each library is looked at as folder grouping related sub- folders in one location. Each library can have many cells with multiple 4

views. The first step was to create a new library, lablib, and create cells for each lab in the library. I did this by clicking File New Library. This new library then opened in the library manager. B) Creating a new cell and a cell view This next step was to create a new cell and cell view. A cell in Cadence can represent any level of hierarchy of a design. Each cell has at least one cell view. A cell can have a behavioral view, a schematic view, and a symbol view, etc. In order to make a new cell, I clicked on File New Cell View...in the Library manager. I created a view cell called lab1 with schematic view in the lablib library. After that, the program was now ready to begin circuit simulation. 3. Schematic Capture I then took the following steps to insert the low pass filter circuit in Figure 1 into the schematic. The first step is to instantiate all the required components. A) Instantiating the components Create Instance is a way to place components in the schematic. In the Component Browser, I changed the library to analoglib and clicked on Flatten to see all the cells without categorization. Adding the resistor, res to the schematic was then simple and easy to figure out. Once I included the resistors, I instantiated a capacitor (cap), ground (gnd), and a voltage source (vsource) from analoglib. B) Connecting the components One way to interconnect components is by using the menu entry Create Wire (narrow) and click on the red terminal of a component to start one end of the wire and end by clicking on the other component s terminal. The second option is to bring the mouse pointer over the red terminal over the first component s terminal and then click and drag the mouse until the completion of your connection to another component. The check and save feature is another aspect to the design that is important use. This makes sure there are no floating components or connection issues. C) Adding labels As components are wired together, every net is automatically assigned a name such as net1, net2, etc. These names are difficult to remember, so adding labels to wires helps to become more efficient. To do so, I clicked on Create Wire Name typed vin vmid vout and clicked on the respective wire to do the labeling. D) Editing object properties If mistakes need corrected, clicking on the object and then clicking Edit Properties Objects can make the changes. Now the simulations are ready. For 5

those simulations to work, I provided appropriate input stimuli. For DC simulation, in the DC voltage box, I made the input for the dc analysis to be one. For AV analysis input, I turned the option to on in Display small signal params. I made the input value in the AC magnitude to be 1V. For transient analysis, I chose the Source type field to the type needed. I then entered all the applicable entries and clicked on OK. The vsource component is now configured for simulations. I was sure to click Check and save to save my design. E) Adding comments In order to add comments for good practice, I clicked on Create Note Text to include a useful reminder about the schematic. You can view the finalized schematic below in Figure 3. 4. Simulating a circuit Figure 3: Low- pass Filter Schematic Once the schematic capture was complete, I simulated the circuit to test if it performs according to the design. To do this, I opened the Analog Design Environment (ADE) window by taking the following steps: Launch ADE L After opening the ADE window, I clicked 6

Setup Simulator/Directory/Host and set the Project Directory path to /local/baduffy/ cadence/simulation Doing this causes the simulation data to be stored on the /local/ rather than in my account space. The ADE window is then used to select a simulator as well as set up all the options and simulations for the simulator. A) Setting up the simulations I began using ADE by discovering the various task icons on the right side of the window. I then clicked on the Choose analyses... icon to bring up the Choosing Analysis form. The dc analysis was my first analysis. In order to do this, I clicked on the dc button, which popped up the form contents showing entries relevant to a dc analysis. I chose my sweeping input voltage from 0 to 5 volts. To sweep the input dc voltage, in the sweep variable box area I clicked on the component parameter button. To select the dc input voltage of the vsource, I clicked on Select component and then vsource in the schematics window. In the new form that pops up, I chose dc to make vsource have a dc voltage. Next, I entered the range of the sweep in the start and stop boxes (0 to 5). After clicking apply, changes were in effect. B) Setting up the outputs To tell the simulator which node voltages I need to be plotted, I clicked on the menu item Outputs To be Plotted Select on Schematics. Then I clicked on the three labels added earlier to select those voltages to be plotted. C) Running the simulation and viewing the results Now that I set up which type of analysis to run and which outputs to produce, I clicked on the green arrow to start simulation. Results can be viewed below. 7

Results and Analysis DC Analysis The DC analysis proved to yield correct results from the pre- lab. From pre- lab question 3, Vin= ½ Vmid and Vmid=Vout. Capacitors act as a break in the circuit when DC voltage is applied to them. Therefore, the voltages are exponentially increasing. This can also be seen below. Figure 4: DC Response 8

AC Analysis In the AC Analysis found below, the - 3dB corner frequency is verified by the pre- lab. I found the answer to this low- pass circuit to have a - 3dB corner frequency of 1591.55 Hz, which can be found from 1 Hz- 3kHz. You can see below that I found the corner frequency of Vout to be very close to this value. Figure 5: AC Response 9

Brittany Duffy Transient Analysis The transient response is the response of a system to a change from equilibrium. During this analysis, you will see the rise and fall time. In general, a capacitor takes 5 time constants to fully charge and 5 time constants to discharge. Due to this knowledge, I set the time length to.001 seconds to run the transient analysis in order to view all the information. Figure 6: Transient Response Conclusion During this laboratory, I was able to review many EE 230 topics. I was really able to familiarize myself with the Cadence Virtuoso software, the schematics editor, and simulation of the circuit using ADE. In addition, I gained a better understanding of the difference between a CAD software program and SPECTRE. 10