Digital to Mixed-Signal Verification of Power Management SOCs Using Questa-ADMS. M. Behaghel

Similar documents
Co-simulation Techniques for Mixed Signal Circuits

Equivalence Checking using Assertion based Technique

RAPID SOC PROOF-OF-CONCEPT FOR ZERO COST JEFF MILLER, PRODUCT MARKETING AND STRATEGY, MENTOR GRAPHICS PHIL BURR, SENIOR PRODUCT MANAGER, ARM

DC Ultra. Concurrent Timing, Area, Power and Test Optimization. Overview

SKY LF: GHz Ultra Low-Noise Amplifier

Behavioral Modeling of a Charge Pump Voltage Converter for SoC Functional Verification Purposes

Methodology. Nitin Chawla,Harvinder Singh & Pascal Urard. STMicroelectronics

Sharif University of Technology. SoC: Introduction

Future of Analog Design and Upcoming Challenges in Nanometer CMOS

Static Timing Analysis for Nanometer Designs

INF4420 Project Spring Successive Approximation Register (SAR) Analog-to-Digital Converter (ADC)

UVM Testbench Structure and Coverage Improvement in a Mixed Signal Verification Environment by Mihajlo Katona, Head of Functional Verification, Frobas

Multi-Media Card (MMC) DLL Tuning

Scan. This is a sample of the first 15 pages of the Scan chapter.

MULTIPLE TPS REHOST FROM GENRAD 2235 TO S9100

PD18-73/PD18-73LF: GHz Two-Way 0 Power Splitter/Combiner

White Paper. Mixed Signal Design & Verification Methodology for Complex SoCs

SKY LF: GHz Two-Stage, High Linearity and High Gain Low-Noise Amplifier

TelePresence Cisco TelePresence Synch with Edge95MXP - Troubleshooting

TKK S ASIC-PIIRIEN SUUNNITTELU

Adding Analog and Mixed Signal Concerns to a Digital VLSI Course

Using on-chip Test Pattern Compression for Full Scan SoC Designs

GM69010H DisplayPort, HDMI, and component input receiver Features Applications

A New Methodology for Analog/Mixed-Signal (AMS) SoC Design that Enables AMS Design Reuse and Achieves Full-Custom Performance

EAN-Performance and Latency

DLP Pico Chipset Interface Manual

AN4184 Application note

nmos transistor Basics of VLSI Design and Test Solution: CMOS pmos transistor CMOS Inverter First-Order DC Analysis CMOS Inverter: Transient Response

Comparing JTAG, SPI, and I2C

Is Now Part of To learn more about ON Semiconductor, please visit our website at

3GSDI to HDMI 1.3 Converter

Achieving Timing Closure in ALTERA FPGAs

Troubleshooting EMI in Embedded Designs White Paper

Model: HD41-ARC. Installation Guide

4. Formal Equivalence Checking

ADVANCED MICRO DEVICES, 2 CADENCE DESIGN SYSTEMS

StickIt! VGA Manual. How to install and use your new StickIt! VGA module

CS/EE 6710 Digital VLSI Design CAD Assignment #3 Due Thursday September 21 st, 5:00pm

Test Report TIDA /14/2014. Test Report For TIDA Aptina Automotive Camera Module 02/14/2014

Model: UHD41-ARC. Installation Guide

Powerful Software Tools and Methods to Accelerate Test Program Development A Test Systems Strategies, Inc. (TSSI) White Paper.

ADDRESSING THE CHALLENGES OF IOT DESIGN JEFF MILLER, PRODUCT MARKETING MANAGER, MENTOR GRAPHICS

System Quality Indicators

Is Now Part of To learn more about ON Semiconductor, please visit our website at

UNIT IV CMOS TESTING. EC2354_Unit IV 1

RF2360 LINEAR GENERAL PURPOSE AMPLIFIER

General purpose low noise wideband amplifier for frequencies between DC and 2.2 GHz

Simulation Mismatches Can Foul Up Test-Pattern Verification

LMH0344 3Gbps HD/SD SDI Adaptive Cable Equalizer

DA Channel Audio Sample Rate Converter

VT5365. Single-chip optical mouse sensor for wireless applications. Features. Applications. Technical specifications. Description.

Analog Performance-based Self-Test Approaches for Mixed-Signal Circuits

SKY LF: 1.5 to 3.8 GHz Two-Stage, High-Gain Low-Noise Amplifier

Using the HT1628 for Washing Machine Panel Display

Verification of an Image Processing Mixed- Signal ASIC

L7208. Portable consumer electronics spindle and VCM motor controller. General features. Spindle driver. Description. VCM driver.

Interfacing Analog to Digital Data Converters. A/D D/A Converter 1

TEST ANY STANDARD QUICKLY AND COMPLETELY

Description. Table 1. Device summary. Order codes Temperature range [ C] Package Packing. LPS2HBTR -30 to +105 HLGA - 10L

EEC 116 Fall 2011 Lab #5: Pipelined 32b Adder

Wireless HDMI Extender. Model

System IC Design: Timing Issues and DFT. Hung-Chih Chiang

ASTRIX ASIC Microelectronics Presentation Days

Optical Engine Reference Design for DLP3010 Digital Micromirror Device

RF V W-CDMA BAND 2 LINEAR PA MODULE

Radar Signal Processing Final Report Spring Semester 2017

STPTIC STPTIC. Parascan tunable integrated capacitor. Applications. Description. Features STPTIC. Benefit

VHDL Design and Implementation of FPGA Based Logic Analyzer: Work in Progress

Interfacing the TLC5510 Analog-to-Digital Converter to the

GM68020H. DisplayPort receiver. Features. Applications

Xpedition Layout for Package Design. Student Workbook

Boolean, 1s and 0s stuff: synthesis, verification, representation This is what happens in the front end of the ASIC design process

Wideband silicon low-noise amplifier MMIC

At-speed testing made easy

Obsolete Product(s) - Obsolete Product(s)

CN12 Technical Reference Guide. CN12 NTSC/PAL Camera. Technical Reference Guide PCB Rev

STV6417 R/C/Pr, G/C, B/Pb Switches + Filter. C, Y, CVBS/Y Switches + Filter. Audio Switches Volume Control AUDIO R SLOW BLANK

AND9185/D. Large Signal Output Optimization for Interline CCD Image Sensors APPLICATION NOTE

GM60028H. DisplayPort transmitter. Features. Applications

7 DESIGN ASPECTS OF IoT PCB DESIGNS JOHN MCMILLAN, MENTOR GRAPHICS

IBIS4.2 and VHDL-AMS for SERDES and DDR2 Analysis

UG0651 User Guide. Scaler. February2018

Model 7330 Signal Source Analyzer Dedicated Phase Noise Test System V1.02

Introduction to The Design of Mixed-Signal Systems on Chip 1

Wideband silicon low-noise amplifier MMIC

Samsung VTU11A0 Timing Controller

LED7706/7/8. LED drivers for backlighting and lighting applications.

Mini Gateway USB for ModFLEX Wireless Networks

Cascadable 4-Bit Comparator

IMPORTANT NOTICE. Company name - STMicroelectronics NV is replaced with ST-NXP Wireless.

Certus TM Silicon Debug: Don t Prototype Without It by Doug Amos, Mentor Graphics

MAAP DIEEV1. Ka-Band 4 W Power Amplifier GHz Rev. V1. Features. Functional Diagram. Description. Pin Configuration 2

SKY : MHz High Linearity, Single Up/Downconversion Mixer

Avoiding False Pass or False Fail

ExtIO Plugin User Guide

STEVAL-TDR020V1. Portable UHF 2-way radio demonstration board based on the PD84006L-E. Features. Description

ECMF4-20A42N10. Common mode filter with ESD protection for high speed serial interface. Features. Applications. Description

VJ 6040 UHF Chip Antenna for Mobile Devices

MODELING OF ADC ARCHITECTURES IN HDL LANGUAGES

G4500. Portable Power Quality Analyser. Energy Efficiency through power quality

Transcription:

Digital to Mixed-Signal Verification of Power Management SOCs Using Questa-ADMS M. Behaghel

A global leader in wireless technologies Leading supplier of platforms and semiconductors for wireless devices Fabless company supported by extensive semiconductor manufacturing experience and telecom heritage Truly global with a workforce of more than 85% of employees in R&D

Investing to win True multimode RF Architecture & System level power design Analog & Power Power management and RF Multimedia 3D Graphics, HD video, audio, imaging Leading GPUs Power-optimized multimedia Lowest power audio Partnership with STMicroelectronics Latest ARM cores Optimized process technologies Aggressive nodes Processors Multi-core architectures, Low power consumption Modem 2G, EDGE, WCDMA, TD-SCDMA, HSPA, HSPA+, LTE A complete portfolio with multimode modems, flexible and scalable solutions Connectivity Software 40nm Combos Integrated Interoperability GPS, Bluetooth, HDMI, Wi-Fi, USB, FM Open OS, Frameworks Complete platforms

Outline AMS/RF Verification: what is the best tradeoff Modeling Netlisting Tips: How to fit analog specificities in a digital mold Verification of the electrical behavior Results 4

AMS/RF Verification What methodology should we choose?

AMS/RF design simulation needs 6

Complexity of AMS/RF verification Verification of Top Digital SOCs: Proven methods/techniques to check integration, functionality, Done in specific verification teams For AMS/RF, designs are smaller but there are extra needs Who does the verification? Do they have analog or digital background? Analog and digital worlds are very different. How do they understand each others needs, language? Who does the top level assembly (analog design based on a schematic) Need to generate a netlist derived from this schematic Netlister needs to take into account analog/digital blocks How do I simulate the digital with the analog parts? How can I make the best trade off between speed and accuracy? Electrical functionality: how will the design behave electrically? Interaction of blocks together External Loads How should results be managed? Digital : simulation times very short. Can be rerun if questions Analog/mixed : long simulation times + multiple configurations for the same stimulus Other questions: Will there be a verification of the IC at platform level? The Verification methodology should be the best tradeoff for all of these questions. 7

Example of a functionality in an AMS power management design Supply2 Supply1 Reference Digital TempSensor 1.7V 11011011 ADC 1 cell1 8

What do we want to check in a design? Type of errors Connection errors wrong signals wrong power domain Incorrect buss wires connected Supply2 Incorrect register bits used Misunderstood interface specs functional issue mismatch Clock phase-frequency mismatch Communication / activity during power down. Delay timing issues. Signals arriving a cycle or two late Bias mismatch Supply1 Reference Current overconsumption Stability of IP with a real supply especially in startup phases Digital Electrical behavior like: rise/fall time, loading effects,..? Current leakage Missing level shifter Floating gate TempSensor 1.7V 11011011 ADC 1 cell1 IP performance, characterization 9

Simulation flows available today Analog Fast SPICE SPICE Fast SPICE Co-simulations Mixed AoT Simulations (VHDL-AMS) Mixed DoT Simulations Digital Full Digital Fast Runtime Slow 10

VHDL-AMS simulations VHDL-RN simulations DoT Mixed simulations Fast-Spice co-simulation Spice simulation ERC Flow Coverage Type of errors Connection errors wrong signals wrong power domain Incorrect buss wires connected e.g. bit 3, 5, 7 instead of 2, 4, 6 Incorrect register bits used Misunderstood interface specs functional issue mismatch Clock phase-frequency mismatch Communication / activity during power down. Delay timing issues. Signals arriving a cycle or two late Bias mismatch Current overconsumption Stability of IP with a real supply especially in startup phases Electrical performances like: rise/fall time, loading effects,..? Current leakage Missing level shifter Floating gate IP performance, caracterisation

Modeling

Modeling: Why do we need models? To simulate analog behavior with digital blocks To speed up simulations (clocked blocks) To do verification in top down approach: not all of the functionality is implemented yet Check states that IPs are not intended for: Connectivity Power Domain Biasing 13

Modeling: What is in a model? Checks Power supplies/grounds Biasing (N/P) + value Clock frequency Connection checks Basic functionality For top simulations, the functionality should be a compromise between speed and accuracy. Example: 14

Modeling: Behavior should be a compromise between speed and accuracy 15

Our choice: Use VHDL-RN models to represent the analog behaviour Supply2 (model) Supply1 (model) Reference (model) Digital TempSensor (model) 1.7 ADC (model) 11011011 1 Cell1 (model) 16

VHDLRN Modeling Methodology: VHDL+Real numbers package Digital pins: type STD_LOGIC Can be plugged directly to digital blocks Directions: IN, OUT, INOUT ANALOG pins : custom resolved type RREAL Currents and voltages are treated in the same manner 10.0e-6 for currents and 1.2 for voltage for example. Currents : + if going to a ground / - if going to a supply User-defined high impedance value : -10.0 Initial values : -10.0 Netlist: VHDL-RN Simulations are very fast No electrical effects. Requires more electrical (fast spice/mixed) simulations All analog cell need to be modeled 17

Resolution function Resolution if value inferior to 1.0e-3 (Current): SUM Resolution if value superior to 1.0e-3 (Voltage): AVERAGE High Impedence not taken into account : -10.0 ignored Possibility to have non controled inouts VDD_1 VDD_2 V1 V2 V3 V4 IO ring Check V1 = V2 V4 Switches V1 V1 V1 V1 V1 V2 Supplies 18

Netlisting Tips How to fit analog specificities in a digital mold

Netlisting: Analog specificities Our designs are analog on top. We need to generate a netlist of the design Several problems: How can we deal with analog instances that are left on top? How can we connect types RREAL to STD_LOGIC? How can we deal with INOUTs How can we deal with pullup/pulldown, 1 wire communications How to check supplies on a digital block? 20

Netlisting: Analog devices In VHDL-RN methodology, all components must have a model Capacitors and Diodes can be removed from the netlist A resistor can be shorted A resistor bridge must be modeled 21

Netlisting: Type conversion functions Conversion functions are defined in the package (real2stdlogic and stdlogic2real) They will be inserted automatically by the netlister MYINST : MYCELL Port map( PORT1 => NET1, PORT2 => real2stdlogic(net2) ); 22

VHDL-AMS simulations VHDL-RN simulations DoT Mixed simulations Fast-Spice co-simulation Spice simulation ERC All items not covered by digital verification Type of errors Connection errors wrong signals wrong power domain Incorrect buss wires connected e.g. bit 3, 5, 7 instead of 2, 4, 6 Incorrect register bits used Misunderstood interface specs functional issue mismatch Clock phase-frequency mismatch Communication / activity during power down. Delay timing issues. Signals arriving a cycle or two late Bias mismatch Current overconsumption Stability of IP with a real supply especially in startup phases Electrical performances like: rise/fall time, loading effects,..? Current leakage Missing level shifter Floating gate IP performance, caracterisation

Verification of Electrical Behavior

Mixed simulation for Macrocells Needs Complement the Digital on top simulations with mixed simulations Top simulations are based on models: they do not cover analog effects Need : Simulate the spice behavior of the macrocell in the top environment. Power-up, power-down : supply stability Interfaces with other blocks : control currents and voltages, rising time, gain, settling time Behavior of the block with a top stimuli Simulation characteristics: Transient simulations Some simulations can have loops between analog and digital 25

Questa ADMS Platform Testbench UPF VHDL/Verilog Coverage ADMS Analog RTL (RN) AMS RTL HDL SPICE RTL Assertions OVM/UVM SDF Eldo Classic Layout Extraction Eldo Premier Schematic ADiT DAC 2012 - Questa ADMS Suite Session

From digital to mixed simulations 1. Run and optimize the pure digital simulation inside Questa ADMS as a sanity check 2. Create the mixed configuration Testbench VHDL/Verilog VHDL Configuration Verilog Generate Compilation Command Converters Simulation characteristics Simulator command file C VHDL Verilog VHDL Verilog VHDL Verilog SPICE Verilog Spice netlists for blocs to be simulated in analog VHDL SPICE VHDL VHDL SPICE Verilog SPICE Verilog 3. Run the mixed simulation Verilog VHDL 27

Example of a mixed functionality Supply2 Supply1 Reference Digital TempSensor 1.7V ADC 1 TempSensor 1.7V 11011011 cell1 28

Automatic converter insertion Converters are inserted automatically between 2 types: Digital Electrical Electrical Digital STD_LOGIC RREAL D2A_VOLTAGE_STD_LOGIC VHI=1.8; VLO=0.0 D2A_VOLTAGE_REAL D2A_CURRENT_REAL A2D_VOLTAGE_STD_LOGIC VTH1=0.6; VTH2=1.2 A2D_VOLTAGE_REAL A2D_CURRENT_REAL But the default value may not always be correct: VOLTAGE/CURRENT converters Parameters: It may be necessary to change the supply value for digital signals: D2A_VOLTAGE_STD_LOGIC: 1 VLO=0.0, VHI=1.2 29

Converters for electrical VHDLRN conversion ELECTRICAL REAL T_IN V_T_IN 1.2 _Y 0.0 S_OUT SPICE S_OUT.value _X DIGITAL 1.2- _Y 0.0 30

Results Testcases run on a power management SoC

Case 1 : IC startup Instances generating the mandatory startup powers and controls are simulated in analog description: SUPPLY1 regulator, REFERENCE, MONITORING, etc Analog content: 12k devices, 5k nodes Supply1 Monitor Reference Digital cell1 cell1 cell1 32

Case 1: IC startup - Configuration setup 33

Case 1: IC Startup - Results Fast simulation in top level context -> sanity checks that can be run often -> enhances confidence in top level behavior CPU time: 15min Questa ADMS Premier 4CPU Allows to track bugs that could be missed otherwise -> found 4 diodes inserted in reverse on the main reference voltage (on the encapsulation of the IP, so standalone IP simulation could not see it) -> critical bug highly impacting startup behavior detected during simulation 34

Case 2 : Macrocell validation : GPADC Same configuration as default startup + all instances generating power for the GPADC are in spice (VPLUS2, REFERENCE2) + the GPADC Validation of the analog behavior with its digital connections -> controls coming from the main digital core -> feedback sent to the main digital core -> validation of the IP encapsulation (level-shifters, analog feedbacks, Analog content: 22k devices, 11k nodes Supply2 Supply1 Reference Digital TempSensor 1.7V 11011011 ADC 1 cell1 35

Case 2 : Macrocell validation : GPADC : Results CPU time: 3h15 Questa ADMS Premier 8CPU Allows to track bugs that could be missed otherwise -> found a misalignment in between the digital core and the IP around the DATAREADY behavior, which caused that the GPADC had 50% of failure on conversion requests! -> impossible to detect during standalone IP simulation as the controls are generated by the designer -> very unlikely to detect during model vs schematic simulation as well, as controls are usually reused from the standalone IP simulation -> a critical bug highly impacting the GPADC main behavior detected during simulation 36

Conclusion: Interest of Digital on Top mixed flow Full digital simulations very fast for connectivity and functionality verifications Accuracy depends on model accuracy Supply2 Stimuli is the same as a full digital stimuli: Simulation can be prepared and optimized in digital The same regression procedures can be used Supply1 Reference Possible to switch spice blocks very low in the hierarchy Digital Possible to use spice or fast spice simulators Simulations can be done early (does not need spice netlist for all blocks) A good solution to see details in a design with the accuracy of a spice simulator TempSensor 1.7V 11011011 ADC 1 cell1 37

VHDL-AMS simulations VHDL-RN simulations DoT Mixed simulations Fast-Spice co-simulation Spice simulation ERC Conclusion: choose the best solution for each problem Type of errors Connection errors wrong signals wrong power domain Incorrect buss wires connected e.g. bit 3, 5, 7 instead of 2, 4, 6 Incorrect register bits used Misunderstood interface specs functional issue mismatch Clock phase-frequency mismatch Communication / activity during power down. Delay timing issues. Signals arriving a cycle or two late Bias mismatch Current overconsumption Stability of IP with a real supply especially in startup phases Electrical performances like: rise/fall time, loading effects,..? Current leakage Missing level shifter Floating gate IP performance, caracterisation

DISCLAIMER Copyright ST-Ericsson, 2009. All Rights Reserved. The contents of this document are subject to change without prior notice. ST-Ericsson makes no representation or warranty of any nature whatsoever (neither expressed nor implied) with respect to the matters addressed in this document, including but not limited to warranties of merchantability or fitness for a particular purpose, interpretability or interoperability or, against infringement of third party intellectual property rights, and in no event shall ST-Ericsson be liable to any party for any direct, indirect, incidental and or consequential damages and or loss whatsoever (including but not limited to monetary losses or loss of data), that might arise from the use of this document or the information in it. ST-Ericsson and the ST-Ericsson logo are trademarks of the ST-Ericsson group of companies or used under a license from STMicroelectronics NV or Telefonaktiebolaget LM Ericsson. All other names are the property of their respective owners. For more information on ST-Ericsson, visit www.stericsson.com 39

THANK YOU