POWER MEASUREMENT IN CADENCE SPECTRE

Similar documents
UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences

Document Contents Introduction Layout Extraction with Parasitic Capacitances Timing Analysis DC Analysis

3. On the top menu bar, click on File > New > Project as shown in Fig. 2 below: Figure 2 Window for Orcad Capture CIS

CHAPTER 11: Flip Flops

ETEC Digital Controls PIC Lab 10 Pulse Width Modulation

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Lab 1: Introduction to PSpice

CADENCE LAYOUT TUTORIAL

Op-Amp Simulation EE/CS 5720/6720. Read Chapter 5 in Johns & Martin before you begin this assignment.

PSPICE TUTORIAL (BASIC)

6.004 Computation Structures Spring 2009

Decimal Number (base 10) Binary Number (base 2)

Lab 1: Full Adder 0.0

PLL frequency synthesizer

OrCAD Capture with PSpice and Allegro DE CIS with AMS Simulator. Describes how to create a PSpice Archive File with Capture

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Lab 7: Operational Amplifiers Part I

EE 242 EXPERIMENT 5: COMPUTER SIMULATION OF THREE-PHASE CIRCUITS USING PSPICE SCHEMATICS 1

AC Measurements Using the Oscilloscope and Multimeter by Mr. David Fritz

Cadence Verilog Tutorial Windows Vista with Cygwin X Emulation

Mentor Tools tutorial Bold Browser Design Manager Design Architect Library Components Quicksim Creating and Compiling the VHDL Model.

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Simulating Power Supply Sequences for Power Manager Devices Using PAC-Designer LogiBuilder

Accurate Measurement of the Mains Electricity Frequency

EE 209 Lab 1 Sound the Alarm

OrCAD Flow Tutorial. Product Version 10.0 Februaruy 2004

Copyright 2011 Linear Technology. All rights reserved.

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

A-145 LFO. 1. Introduction. doepfer System A LFO A-145

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

CMOS Power Consumption and C pd Calculation

Electronics. Discrete assembly of an operational amplifier as a transistor circuit. LD Physics Leaflets P

Lecture 3: DC Analysis of Diode Circuits.

Jianjian Song LogicWorks 4 Tutorials (5/15/03) Page 1 of 14

Low-power configurable multiple function gate

ε: Voltage output of Signal Generator (also called the Source voltage or Applied

The 104 Duke_ACC Machine

LCM NHD-12032BZ-FSW-GBW. User s Guide. (Liquid Crystal Display Graphic Module) RoHS Compliant. For product support, contact

Tamura Closed Loop Hall Effect Current Sensors

Analog & Digital Electronics Course No: PH-218

EXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS

SIMULATIONS OF PARALLEL RESONANT CIRCUIT POWER ELECTRONICS COLORADO STATE UNIVERSITY

Digital to Analog Converter. Raghu Tumati

Experiment 8 : Pulse Width Modulation

EXPERIMENT 4. Parallel Adders, Subtractors, and Complementors

Features DISPLAY DECODING INPUT INTERFACING

Static-Noise-Margin Analysis of Conventional 6T SRAM Cell at 45nm Technology

Multiplexers Two Types + Verilog

DAC Digital To Analog Converter

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

See Horenstein 4.3 and 4.4

CONSTRUCTING A VARIABLE POWER SUPPLY UNIT

QUICK START GUIDE. SG2 Client - Programming Software SG2 Series Programmable Logic Relay

Oscillations and Regenerative Amplification using Negative Resistance Devices

LOW POWER DUAL EDGE - TRIGGERED STATIC D FLIP-FLOP

Diode Applications. by Kenneth A. Kuhn Sept. 1, This note illustrates some common applications of diodes.

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

Circuit Simulation: Here are some of ADS analysis:

Interfacing Analog to Digital Data Converters

Analog and Digital Signals, Time and Frequency Representation of Signals

AC CIRCUITS - CAPACITORS AND INDUCTORS

Interfacing To Alphanumeric Displays

DG2302. High-Speed, Low r ON, SPST Analog Switch. Vishay Siliconix. (1-Bit Bus Switch with Level-Shifter) RoHS* COMPLIANT DESCRIPTION FEATURES

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]

Making Basic Measurements. Publication Number August Training Kit for the Agilent Technologies Series Logic Analysis System

ASYNCHRONOUS COUNTERS

High-Speed, Low r ON, SPST Analog Switch (1-Bit Bus Switch)

DC-DC Converter Basics

EE 1202 Experiment #4 Capacitors, Inductors, and Transient Circuits

Quick Start Guide for High Voltage Solar Inverter DC-AC Board EVM. Version 1.3

HCF4028B BCD TO DECIMAL DECODER

Lab 3: Introduction to Data Acquisition Cards

EXPERIMENT 3: TTL AND CMOS CHARACTERISTICS

Physics 120 Lab 6: Field Effect Transistors - Ohmic region

Lesson 1 - Creating a Project

DATA SHEET. HEF40193B MSI 4-bit up/down binary counter. For a complete data sheet, please also download: INTEGRATED CIRCUITS

Simulation and Analysis of PWM Inverter Fed Induction Motor Drive

Lab 5 Getting started with analog-digital conversion

EXPERIMENT NUMBER 8 CAPACITOR CURRENT-VOLTAGE RELATIONSHIP

After opening the Programs> Xilinx ISE 8.1i > Project Navigator, you will come to this screen as start-up.

Quad 2-input NAND Schmitt trigger

Fundamentals of Signature Analysis

Waveform Calculator User Guide. Product Version December 2005

Royal Military College of Canada

Design and analysis of flip flops for low power clocking system

RIGOL Data Sheet. DS1000E, DS1000D Series Digital Oscilloscopes DS1102E, DS1052E, DS1102D, DS1052D. Product Overview. Applications. Easy to Use Design

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL ADC WITH I2C LTC2485 DESCRIPTION

A Lesson on Digital Clocks, One Shots and Counters

Points Position Indicator (PPI1) for Points Motors with Common Ground

Xilinx ISE. <Release Version: 10.1i> Tutorial. Department of Electrical and Computer Engineering State University of New York New Paltz

Project Plan. Project Plan. May Logging DC Wattmeter. Team Member: Advisor : Ailing Mei. Collin Christy. Andrew Kom. Client: Chongli Cai

GDM1602A SPECIFICATIONS OF LCD MODULE. Features. Outline dimension

Transcription:

POWER MEASUREMENT IN CADENCE SPECTRE The methodology to measure power using Cadence Spectre is described in this document. Assumptions: The technology used in the project is 0.35um CMOS technology. In this technology, gate tunneling leakage current is negligible. The current drawn from the input terminals is, therefore, assumed to be zero. The power consumed by the circuit is primarily due to the current drawn from the power supply (vdd!). The methodology described below, is therefore, valid only with this assumption. Circuit: The 2-bit inverter is used as an example to show how power measurement is done in cadence spectre. The 2-bit inverter we developed during the Tutorial-I is shown in Fig. 1. Fig. 1. 2-bit inverter developed during the tutorial. To simulate this 2-bit inverter, we discussed two different techniques. (refer Tutorial-I) 1) Writing the stimuli (in the analog environment window) 2) Writing a stimulus file and adding the stimulus file during the simulation in the analog environment window.

A sample stimulus file for the 2-bit inverter is given below. V1 vdd! 0 DC 3.3 V2 gnd! 0 0 V3 A_1 0 pulse (3.3 0 0 0.1n 0.1n 4n 8n) V4 A_0 0 pulse (0 3.3 0 0.1n 0.1n 4n 8n) Power Measurement Instantaneous Power Consumption P(t) = Power supply voltage (vdd) * current drawn from power supply at time (t) Average Power Consumption Average Power = Integration( Instantaneous Power ) / Time Period Changes to the Existing Schematic: The following changes needs to be done for the smooth measurement of the power drawn from the power supply. On the top-level of your schematic, add a V dc source (from the analog library) and connects its positive terminal to our global V dd! and its negative terminal to our global GND!. The connection made for the 2-bit inverter is shown in Fig. 2. Select the V dc source (a white box appears around the selected item), and press Q. An edit object properties window will appear as shown in Fig. 3. Type 3.3V (the power supply for the project) across DC Voltage (as shown in the Fig. 3) Press OK. The new schematic with the defined voltage will appear as shown in Fig. 2. This addition of the V dc source has to be done only to the top-level of your schematic and SHALL NOT be done for each of the blocks in your project. This is the only change that needs to be done in the schematic for the power measurement. Save the sheet (check and save) and go to the analog-environment window for performing the simulation. Simulation: We will do the circuit simulation using the stimulus file method. (Refer Tutorial I) Make all the necessary set-up for the simulation. Since the V DD is explicitly defined in the schematic using a V dc source, the definition for V DD can be removed from the stimulus file. A new version of the stimulus file after removing the VDD definition is given below.

Fig. 2. 2-bit Inverter with a VDC source. Fig. 3. Edit Object Properties Window

V2 gnd! 0 0 V3 A_1 0 pulse (3.3 0 0 0.1n 0.1n 4n 8n) V4 A_0 0 pulse (0 3.3 0 0.1n 0.1n 4n 8n) Add the new stimulus file (Set-up -> Simulation File - > Stimulus File) to the analog environment window. Make all other necessary set-ups (refer Tutorial-I). To plot the current drawn from the V DD, select Output-> To Be Plotted - > Select on Schematic in the analog-environment window and then select the +ve terminal of the V dc source in the schematic. A circle appears in the schematic as shown in Fig. 4. Make sure the circle appears. If it does not appear, then you are plotting the voltage and not the current. The analog environment window after all the necessary set-up will resemble Fig. 5. Fig. 4. Outputs to be plotted. The current drawn from VDD.

Fig. 5. Analog Environment Window Simulate the circuit and the current plot of the VDD will pop-up as shown in Fig. 6. Fig. 6. Current Waveform of VDD

Select the calculator from the waveform window (right-most button in the waveform window) and select WAVE in the selection choices. Select the function INTEG from the built-in functions. The calculator window will appear as shown in Fig. 7. Fig. 7. Calculator Window after INTEG function selection Keep your cursor on the Text box for Signal and select the current waveform from the waveform viewer window. This simulation (for the 2-bit inverter) is done from 0n to 10ns. Let s find the average power consumed by this circuit from 0ns to 5ns. o The time period of integration is 5n for this experiment. In your project, the time period will be the total time period required for completing the execution of the Test_Full_Unit file posted in the course web-site. In the Signal text box, multiply the current waveform by 3.3 and divide by 5ns. o In other words type *3.3/5n after the text indicating the current signal In the initial value text box type: 0 In the final value text box type: 5ns The waveform window will now resemble Fig. 8.

Fig. 8. The Calculator Window after loading all the necessary text-boxes Press OK. The expression for power calculation appears in the result text-box Press EVAL from the keypad in the left-hand side of the calculator. The average power consumed by your circuit will be displayed in the result textbox, as shown in Fig. 9. Fig. 9. Average Power Consumed