Efficient Verification of Mixed-Signal SerDes IP Using UVM

Similar documents
TA0357. Overview of USB Type-C and Power Delivery technologies. Technical article. Introduction

IOT is IOMSLPT for Verification Engineers

DEVELOPMENT AND VERIFICATION OF AHB2APB BRIDGE PROTOCOL USING UVM TECHNIQUE

CH7213A Brief Datasheet

Tackling Verification Challenges with Interconnect Validation Tool

DO-254 Testing of High Speed FPGA Interfaces by Nir Weintroub, CEO, and Sani Jabsheh, Verisense

The USB Type-C Connector: A Brave New World for the PC Industry. Howard Heck April 17, 2015

e-issn: p-issn:

USB-C and DP Alt Mode Testing with Unigraf UCD

Samsung and Cadence. Byeong Min, Master of Infrastructure Design Center, System LSI Business, Samsung. The Customer. The Challenge. Business Challenge

MIPI D-PHY REFERENCE TERMINATION BOARD (RTB) OVERVIEW AND DATASHEET

USB Type-C TM, IEEE CSNV

Lattice USB Type-C Solution Design Document

Integrate Ethernet QVIP in a Few Hours: an A-to-Z Guide by Prashant Dixit, Questa VIP Product Team, Mentor Graphics

An Evaluation of the Advantages of Moving from a VHDL to a UVM Testbench by Shaela Rahman, Baker Hughes

CH7214C Brief Datasheet

Contents 1 Introduction 2 Functional Verification: Challenges and Solutions 3 SystemVerilog Paradigm 4 UVM (Universal Verification Methodology)

Supporting Advanced-Node FinFET SoCs with 16Gbps Multi-Protocol SerDes PHY IP

width: 10, 20 or 40-bit interface maximum number of lanes in any direction

UNIVERSAL VERIFICATION METHODOLOGY BASED VERIFICATION ENVIRONMENT FOR PCIE DATA LINK LAYER

PowerAware RTL Verification of USB 3.0 IPs by Gayathri SN and Badrinath Ramachandra, L&T Technology Services Limited

TA0356. USB Type-C and Power Delivery DisplayPort Alternate Mode. Technical article. Introduction

Design and Verification of Slave Block in Ethernet Management Interface using UVM

Reuse MATLAB Functions and Simulink Models in UVM Environments with Automatic SystemVerilog DPI Component Generation

IMPLEMENTATION OF LOW POWER INTERFACE FOR VERIFICATION IP (VIP) OF AXI4 PROTOCOL

1 Introduction. Release USB Type-C Cable and

Fast Track to Productivity Using Questa Verification IP by David Aerne and Ankur Jain, Verification Technologists, Mentor Graphics

Nine Effective Features of NVMe Questa Verification IP to Help You Verify PCIe Based SSD Storage by Saurabh Sharma, Mentor Graphics

Using PEX 8648 SMA based (SI) Card

Solving MIPI D-PHY Receiver Test Challenges

Growing Together Globally Serial Communication Design In Embedded System

Comprehensive CDC Verification with Advanced Hierarchical Data Models

UVM in System C based verification

USB2.0 Type-C & Regular USB Device Electrical Compliance test procedure

Next Generation Verification Process for Automotive and Mobile Designs with MIPI CSI-2 SM Interface

SPECMAN-E TESTBENCH. Al. GROSU 1 M. CARP 2

Level Translator For SPI and I²C Bus Signals

Graph-Based IP Verification in an ARM SoC Environment by Andreas Meyer, Verification Technologist, Mentor Graphics Corporation

Section 3 - Backplane Architecture Backplane Designer s Guide

Compliance test method and detailed spec for - USB2.0. Tektronix Korea YJ.PARK

Keysight N7015A/16A Type-C Test Kit. User Guide

Software Driven Verification at SoC Level. Perspec System Verifier Overview

STM32G0. World s 1st USB-C TM & Power Delivery 3.0 MCU

Agilent Technologies Advanced Signal Integrity

RiseUp RU8-DP-DV Series 19mm Stack Height Final Inch Designs in PCI Express Applications. Revision Date: March 18, 2005

AN CBTL08GP053 Programmer's Guide. Document information. Keywords Abstract

A comprehensive approach to scalable framework for both vertical and horizontal reuse in UVM verification

Five Emerging DRAM Interfaces You Should Know for Your Next Design

Will Everything Start To Look Like An SoC?

USB2.0 - Device. Universal Serial Bus Measurement

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery Data brief. Features. Description

Analyzing and Debugging Performance Issues with Advanced ARM CoreLink System IP Components

Three Things You Need to Know to Use the Accellera PSS

Logic Built In Self-Test Verification Statergy For SerDes PHY

Data Sheet VL800 4-Port USB 3.0 Host Controller. April 25, 2010 Revision VIA Labs, Inc.

Extending Digital Verification Techniques for Mixed-Signal SoCs with VCS AMS September 2014

RS485 board datasheet EB062-00

auto TVS Automotive Solutions AEC-Q100 Qualified TVS Solutions

ASIC world. Start Specification Design Verification Layout Validation Finish

Warren Anderson Ravi Ram AMD Vijay Akkaraju Synopsys

Advanced Verification Topics. Bishnupriya Bhattacharya John Decker Gary Hall Nick Heaton Yaron Kashai Neyaz Khan Zeev Kirshenbaum Efrat Shneydor

SystemC Standardization Update Including UVM for SystemC Accellera Systems Initiative SystemC Standards Update. Andy Goodrich, Cadence Design Systems

Equivalence Validation of Analog Behavioral Models

Q2 QMS/QFS 16mm Stack Height Final Inch Designs In PCI Express Applications Generation Gbps. Revision Date: February 13, 2009

Course 10: Interfaces Agenda

Maximizing Verification Effectiveness Using MDV

QPairs QTE/QSE-DP Multi-connector Stack Designs In PCI Express Applications 16 mm Connector Stack Height REVISION DATE: OCTOBER 13, 2004

PCI-SIG ENGINEERING CHANGE NOTICE

Addressable Bus Buffer Provides Capacitance Buffering, Live Insertion and Nested Addressing in 2-WireBus Systems

Simulation-Based FlexRay TM Conformance Testing an OVM success story

Module- or Class-Based URM? A Pragmatic Guide to Creating Verification Environments in SystemVerilog. Paradigm Works, Inc. Dr.

Certified Wireless USB Compliance

Allegro Design Authoring

CH7215 Brief Datasheet

Accelerating MIPI Interface Development and Validation

How Design IP Can Accelerate and Simplify Development of Enterprise-Level Communications and Storage Systems

David Harrison, Design Engineer for Model Sounds Inc.

CH7212 Brief Datasheet

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery. Features. Description

DESIGN AND VERIFICATION OF LOW SPEED PERIPHERAL SUBSYSTEM SUPPORTING PROTOCOLS LIKE SPI, I 2 C AND UART

IP2716. Feature. Applications. Description. USB TYPE-C PD3.0 QC3.0/2.0/MTK High Voltage Charger Protocol Controller

for Summit Analyzers Installation and Usage Manual

Application of Zero Delay Buffers in Switched Ethernet

Formal Contribution towards Coverage Closure. Deepak Pant May 2013

MIPI C-PHY REFERENCE TERMINATION BOARD (RTB) OVERVIEW AND DATASHEET

Early Software Development Through Emulation for a Complex SoC

Implementation and verification of PCI express interface in a SoC

Accelerating RTL Simulation Techniques by Lior Grinzaig, Verification Engineer, Marvell Semiconductor Ltd.

A Systematic Approach to Creating Behavioral Models CDNLive, March, 2015 Bob Peruzzi, Joe Medero

How to Implement I 2 C Serial Communication Using Intel MCS-51 Microcontrollers

ECE 485/585 Microprocessor System Design

PHY-Less Ethernet Implementation Using Freescale Power Architecture Based Microprocessors

Nexus Instrumentation architectures and the new Debug Specification

Stitching UVM Testbenches into Integration-Level

SFP-GIG-T-LEG. 1.25Gbps SFP Copper Transceiver

Modeling Performance Use Cases with Traffic Profiles Over ARM AMBA Interfaces

UVM BASED TEST BENCH TO VERIFY AMBA AXI4 SLAVE PROTOCOL

USB Compliance Checklist Hubs (Excluding Root Hubs) USB Device Product Information

MIKROPROCESORY PRO VÝKONOVÉ SYSTÉMY. Serial Data Transmission (Stručný přehled) České vysoké učení technické Fakulta elektrotechnická

Making the Most of your MATLAB Models to Improve Verification

Transcription:

Efficient Verification of Mixed-Signal SerDes IP Using UVM Varun R, Senior Design Engineer, Cadence Vinayak Hegde, Design Engineering Manager, Cadence IP are an integral part of systems-on-chips (SoC) that include mobile, automotive, or networking applications and are primarily used for transmitting data over a physical medium between a host and device. The mixed-signal nature of the IP makes verification a challenging task, requiring special considerations for digital and analog sections. This paper describes a robust mixed-signal verification technique using the Universal Verification Methodology (UVM). Contents Introduction...1 Mixed-Signal Verification Methodology...2 USB Type-C Standard...2 Results and Analysis...7 Summary and Conclusion...9 Acknowledgments...9 References...9 Introduction IP (SerDes) are used widely in mobile, automotive, and networking applications. These IP support low power and multiple data rates between master/host and slave/device communication networks to improve the link bandwidth among them. In general, the data communication may happen either within the same system or between the systems. Some SerDes designs also support features like receiver/far-end detection before establishing link communication. The latest USB Type-C is unique in that it supports a reversible cable, which means that it detects the cable orientation by determining its voltage at configuration channels. With these additional features, as well as including analog parameters, it has become critical to verify the designs against all possible operating conditions as defined by specification. The Universal Verification Methodology (UVM) is a proven technique for functional verification. It provides the best solution to achieve metric-driven verification (MDV), which shortens the implementation and verification time by reducing redundant simulation cycles. It also provides the visibility to ensure that verification plan goals are met on scheduled time. The current digitalcentric UVM environment can verify the complex digital part of the mixedsignal IP; however, it fails to verify the analog characteristics. In this paper, we present a robust and efficient mixed-signal verification methodology to verify SerDes designs using UVM. We also explain the modifications to standard UVM to add mixed-signal verification concepts to the methodology. With the help of new verification components that can be reused across multiple protocols with ease, mixed signal designs can be verified just as easily. This paper also describes the implemented mixed-signal verification methodology using the USB Type-C design.

Mixed-Signal Verification Methodology UVM is a proven verification methodology for digital-centric verification. This environment provides the following features: Reusability Well-developed constrained-random stimulus A protocol checker A scoreboard for data-integrity check Functional coverage for stimulus quality check This methodology can be used seamlessly for the verification of the digital content of mixed-signal designs. With minor modifications to the environment, even the analog parameters can be verified easily. USB Type-C Standard In this paper, we have emphasized the verification techniques needed for verifying new features specific to the USB Type-C architecture. Details of mixed-signal verification techniques used for verifying USB 3.0 PHY and USB 2.0 PHY are out of scope of this paper and are not covered. The USB Type-C standard is a smaller, thinner connector, eliminating the challenges and constraints of the large size and internal volume of the previous USB Type-A and Type-B connectors. USB Type-C also standardizes the receptacle, cable, and plug designs. USB TYPE A USB TYPE B USB TYPE C USB MICRO A USB MICRO B LIGHTNING Figure 1: Types of USB connectors www.cadence.com 2

USB 2.0/3.0 Controller 1 PD Software 2 3 4 USB 2.0 PHY USB 3.0 PHY PHY USB D+/- SSRX2 +/- SSTX2 +/- SSRX1 +/- SSTX1 +/- VBUS 5 USB Type-C Connector 1. USB 3.0 provides the data rate of 5Gbps in SuperSpeed mode. It uses full-duplex mode of communication 4. 2. USB 2.0 PHY uses half-duplex mode for communication, providing the following data rates: 480Mbps in high-speed (HS) mode 12Mbps in full-speed (FS) mode 1.5Mbps in low-speed (LS) modes 3 3. USB Type-C PHY is predominantly in the analog domain with embedded digital domain. It needs multiple termination setups and supports the following features: Multiple voltage domains Cable orientation detection Multiple connection and disconnection mechanisms 4. The PHY section provides two paths to deliver power, which can be between 2.5W to 100W, depending on the USB power delivery (PD) communication 2. It also performs the following tasks before the normal USB enumeration process 1 : Plug orientation Cable twist detection DFP-to-UFP attach/detach detection Power relationship detection 5. The USB Type-C includes support for: Multiple data rates Power-down modes Half/full communication modes Figure 2: Block diagram of USB Type-C system The supporting features shown in Figure 2 makes the UVM digital environment incapable of verification signoff. Designers must verify the analog characteristic behavior across all the operating modes. www.cadence.com 3

The UVM digital verification environment consists of, far-end, and Scoreboard. The UVM components and objects used in the environment are registered in the UVM factory. The virtual sequence controls and synchronizes the and far-end base sequences. See Figure 3. TEST TB Scoreboard FarEnd DUT FarEnd DV component Mixed signal design Figure 3: Block diagram of UVM digital verification environment The UVM factory method provides the ability to reuse the existing UVM digital verification environment to mixedsignal verification. This built-in factory method reduces the effort of creating a new environment for mixed-signal verification. Every registered UVM component or UVM object can be overridden by a built-in factory method (such as override by either types or instance). TEST AMS Block TB Scoreboard Pull-up CKT DUT AMS Block FarEnd Analog Service DUT UCM Sample Data Pull-down CKT AMS TOP DV component DV mixed signal block Mixed signal design AMS AMS TOP RES Mixed signal DV component Mixed signal design (a) (b) Figure 4: Block diagram of a mixed-signal verification environment Figure 4(a) shows the block diagram of a mixed-signal verification environment to verify PHY. This mixedsignal verification environment reuses the existing UVM digital verification environment. The AMS TOP is the additional component developed for mixed-signal verification. The AMS TOP controls, monitors, and captures the analog characteristic behavior. This is the heart of the mixed-signal verification environment and can be reused across different SerDes IP, including USB 2.0, USB 3.0, USB Type-C, and MIPI D-PHYSM with proper settings. Figure 5 shows the block diagram of the. www.cadence.com 4

AMS TOP AMS Agent RES Agent CAP Agent Sequencer Sequencer Sequencer Driver Monitor Driver Monitor Driver Monitor Figure 5: Block diagram of AMS The AMS TOP consists of three UVM_ACTIVE agents: the AMS agent, RES agent, and CAP agent. This block also consists of mixed-signal verification components, including: Pull-up circuits (CKT) Pull-down CKT Universal Connect Model (UCM) Analog sources Sample data block The AMS TOP controls the AMS agent and acts as the bridge between digital s and mixed-signal components. AMS Agent The AMS agent controls the external environment behavior, such as supply voltage, data attenuation, and rise/fall time. This agent is embedded with a voltage-level checker and power-consumption checkers. It also captures the analog characteristic variation as a functional coverage item. RES Agent The RES agent is used to control the resistance variation. Some of the mixed-signal SerDes IP detect the far-end device connection by monitoring the voltage on the serial lines. This voltage can vary, depending on the external device resistor. To mimic the best and worst cases, the RES agent controls the resistance variation in the environment with respect to the specification. The RES agent also captures the resistance variation as a functional coverage. CAP Agent The CAP agent controls the external capacitance variation in the mixed-signal environment. In USB 3.0/3.1 and PCI Express (PCIe ), receiver detection is accomplished by measuring RC time constant. To mimic the best and worst cases, the CAP agent controls the capacitance variation in the environment with respect to the specification. The CAP agent also captures the capacitance variation as a functional coverage. Pull-Up CKT This block is used to pull-up and/or pins to represent far-end downstream-facing port (DFP). This block is controlled by the AMS and RES agents. The AMS agent controls the default current advertisement of far-end DFP. The RES agent controls the resistor values of the block. Pull-Down CKT This block is used to represent far-end upstream-facing port (UFP). The RES agent controls the resistor values of the block to represent different terminations. www.cadence.com 5

UCM Because the verification environment is made up of a hardware verification language (HVL), it becomes necessary to have dynamic and effective analog-to-digital (and vice-versa) conversion. This conversion is performed using a universal connect model (UCM) in the environment. The UCM is controlled by the AMS agent. During transmission mode, analog data received on the / line are converted to the logic domain and transmitted to the verification component to check the data integrity. Similarly, during the receive mode of the device under test (DUT), data being driven from the environment are converted to the analog domain before passing to the DUT. The threshold voltages, rise times, fall times, maximum amplitudes, and minimum amplitudes are parameterized and controlled by the AMS agent. The mixed-signal functional coverage bins can be added for these parameter values during regression. An AMS verification plan (vplan) addresses the mixed-signal parameters in the design. This verification plan helps measure the AMS verification progress along the project timeline. Figure 6(a) shows the AMS vplan used for a USB Type-C PHY. (b) (a) Figure 6: AMS Verification Plan Each vplan item is mapped to the coverage, checker, or testcase in the environment. The electrical section of the SerDes specification can be annotated to AMS vplan items. This AMS vplan is referred (reused) in the IP vplan for the final verification closure and metric measurement. Figure 6(b) shows the perspective version of the AMS vplan. In the verification project cycle, the AMS vplan is used with multiple perspectives depending on the priority. This figure also shows the perspective version of AMS vplan for initial verification signoff. www.cadence.com 6

Results and Analysis This section describes the simulation results of mixed-signal SerDes IP using a mixed-signal verification environment. For better explanation of simulation results, we compare two mixed-signal SerDes IP: USB Type-C and MIPI D-PHY. USB Type-C PD Communication PD communication is initiated by the DFP after detecting a valid DFP-to-UFP connection and cable orientation. The DUT consists of a transmitter and a receiver that communicate across a signal CC wire depending on the cable orientation. PD communication uses half-duplex mode and a bi-phase mark coding (BMC) data transfer between the DFP and UFP. The and far-end both generate a randomized data packet and transmit across the CC wire. The scoreboard checks the data integrity across the CC wire. Figure 7 shows the PD communication with the flipped orientation. Figure 7: USB Type-C PD communication MIPI D-PHY HS Data Transmission Unlike the USB/PCIe PHY, the MIPI D-PHY does not have clock data recovery block. It transmits both clock and data on separate serial lines. The clock and data lanes maintain a quadrature phase shift relationship for proper data sampling at the receiver end. The clock and data lanes drive 1.2V on a serial lane in idle mode. When the environment requests a high-speed (HS) transaction, the first clock lane enters HS mode and starts transmitting clocks on the serial lane; later, the data lane enters HS mode and begins to transmit the data payload. Figure 8: MIPI D-PHY data transmission www.cadence.com 7

Metric Measurement Functional coverage groups are added in a mixed-signal verification environment for the resistor ladder configuration. The RES agent captures the resistance variation on both and pins as a functional coverage. Figure 9 shows the functional coverage status for Ra, Rd, and Rp resistance variations. Figure 10 shows the AMS vplan coverage status after the regression. Figure 9: Functional coverage status for Ra, Rd, and Rp variations Figure 10: AMS vplan coverage analysis www.cadence.com 8

Summary and Conclusion The UVM digital verification environment has been effectively reused for mixed-signal verification by the factory method. The scoreboard and protocol checkers are enabled in mixed-signal verification. Additional tests and functional coverage were added to the existing digital environment for robust verification of mixed-signal SerDes IP. This mixed-signal verification methodology therefore improves the verification quality and confidence in the mixedsignal design. Acknowledgments We would like to thank Raju Pudota, Parag Lonkar, Sumanth Chakkirala, and the Cadence Digital/AMS Verification team members for their input and valuable feedback during the implementation. References [1] USB Type-C Cable and Connector Specification (March 25, 2016), Revision 1.2 [2] Universal Serial Bus 2.0 Specification (April 27, 2000), Revision 2.0 [3] Universal Serial Bus 3.0 Specification (May 1, 2011), Revision 1.0 [4] Verilog-AMS Language Reference Manual (August 2008) Version 2.3, Accellera [5] Varun R, Vinayak Hegde, and Somasunder Kattepura Sreenath, Mixed-Signal Verification Methodology to Verify USB Type-C Design and Verification Conference and Exhibition (DVCon) United States, 2017 Cadence software, hardware and semiconductor IP enable electronic systems and semiconductor companies to create the innovative end products that are transforming the way people live, work, and play. The company s System Design Enablement strategy helps customers develop differentiated products from chips to boards to systems. www.cadence.com 2017 Cadence Design Systems, Inc. All rights reserved worldwide. Cadence, the Cadence logo, and the other Cadence marks found at www. cadence.com/go/trademarks are trademarks or registered trademarks of Cadence Design Systems, Inc. PCI Express and PCIe are registered trademarks and/or service marks of PCI-SIG. MIPI is a registered trademark and D-PHY is a service mark owned by MIPI Alliance. USB Type-C is a trademark of USB Implementers Forum. All other trademarks are the property of their respective owners. 9229 09/17 MC/LL/PDF