CIRCUIT DESIGN. is published monthly by: UP Media Group Inc Powers Ferry Road, Ste. 600 Atlanta, GA Tel (678) Fax (678)

Similar documents
HOME :: FPGA ENCYCLOPEDIA :: ARCHIVES :: MEDIA KIT :: SUBSCRIBE

Using the Agilent Technologies Series Logic Analysis System with the Xilinx ChipScope ILA

On-Chip Design Verification with Xilinx FPGAs

Design Requirements: Workstation Test System

Using ChipScope. Overview. Detailed Instructions: Step 1 Creating a new Project

Serial RapidIO Protocol Tester

ELECTRONICS MANUFACTURE-The In-Circuit Test sequence

ChipScope Demo Instructions

A PRACTICAL GUIDE TO COMBINING ICT & BOUNDARY SCAN TESTING

AN-715 APPLICATION NOTE One Technology Way P.O. Box 9106 Norwood, MA Tel: 781/ Fax: 781/

Design and Research of Virtual Instrument Development Board

Digital Discovery Reference Manual

DesignCon 2005 Track 5: Chip and Board Interconnect Design (5-TA2)

DDR Testing:Compliance,Verify and Debug( 一 )

Help Volume Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16550A Logic Analyzer

Signal Integrity Comparisons Between Stratix II and Virtex-4 FPGAs

OBSAI Protocol Tester

I 2 C and SPI Protocol Triggering and Decode for Infiniium 9000 Series Oscilloscopes

ASNT1011A-PQA-Evaluation Board DC-17Gbps Digital Multiplexer 16:1 / Serializer Application Note

Infiniium MSO8000, MSO9000A and MSO 9000 H-Series N5397A FPGA Dynamic Probe for Xilinx

Research on Image Sensor System Acquisition Based on ARM

Testing and Debugging

Employing Multi-FPGA Debug Techniques

Help Volume Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16557D 140 MHz State/500 MHz Timing Logic Analyzer

MULTIPLEXER / DEMULTIPLEXER IMPLEMENTATION USING A CCSDS FORMAT

Lab 16: Tri-State Busses and Memory U.C. Davis Physics 116B Note: We may use a more modern RAM chip. Pinouts, etc. will be provided.

Physics 536 Spring Illustrating the FPGA design process using Quartus II design software and the Cyclone II FPGA Starter Board.

JitKit. Operator's Manual

Using the ChipScope Pro for Testing HDL Designs on FPGAs

Laboratory Exercise 3

How to Solve DDR Parametric and Protocol Measurement Challenges

User s Guide. LA5034 Operation Manual

Lab 16: Data Busses, Tri-State Outputs and Memory

Characterize and Debug Crosstalk Issues with Keysight Crosstalk Analysis App

Agilent Technologies Infiniium MSO8000 and MSO9000 Series N5397A FPGA Dynamic Probe for Xilinx

DDR3 DIMM 1867 Interposer For use with Agilent Logic Analyzers

2. Control Pin Functions and Applications

DIGITAL SYSTEM. Technology Overview Nordco. All rights reserved. Rev C

Introduction. SDIO Bus

Agilent Technologies InfiniiVision MSO N5434A FPGA Dynamic Probe for Altera

FPGA Implementation and Validation of the Asynchronous Array of simple Processors

Memory Interface Verification and Debug. Analog Validation Presentation

LVDS applications, testing, and performance evaluation expand.

Agilent Technologies InfiniiVision MSO N5406A FPGA Dynamic Probe for Xilinx

Innovative DSPLL and MultiSynth Clock Architecture Enables High-Density 10/40/100G Line Card Designs

ISE Tutorial: Using Xilinx ChipScope Pro ILA Core with Project Navigator to Debug FPGA Applications

Using Xilinx ChipScope Pro ILA Core with Project Navigator to Debug FPGA Applications. UG750 (v12.3) November 5, 2010

Designing and Verifying Future High Speed Busses

DEVELOPMENT OF USER FRIENDLY DATA ACQUISITION AND ACTUATION SYSTEM ON EMBEDDED PLATFORM

Chunjie Duan Brock J. LaMeres Sunil P. Khatri. On and Off-Chip Crosstalk Avoidance in VLSI Design

Training Kit for HP 1660/70 Series Logic Analyzers

Parallel and Serial Bus Analysis Instructor s Guide

Test and Measurement Product Catalog. ZTEC Instruments. The Leader in Modular Oscilloscopes

Frequently Asked Questions (FAQ)

Design of a virtual logic analyzer based on FPGA

Keysight Technologies ABCs of Writing a Custom Boundary Scan Test

AN-1055 APPLICATION NOTE

EECE 615: High-Frequency Design Techniques

Symbol Parameter Min Typ Max VDD_CORE Core power 0.9V 1.0V 1. 1V. VDD33 JTAG/FLASH power 2.97V 3.3V 3.63V

Chameleon POD Specification v1.2

DT9828. USB Powered Thermocouple Measurement Module. Key Features: Analog Input Channels

Hardware Design with VHDL PLDs IV ECE 443

10.3 A General Purpose FPGA Based Radar Controller and Signal Processor

Test Methods for DC/DC Power Modules

Help Volume Agilent Technologies. All rights reserved. Agilent E2485A Memory Expansion Interface

Cluster-based approach eases clock tree synthesis

Q Pairs QTE/QSE-DP Final Inch Designs In PCI Express Applications 16 mm Stack Height

Multi-Drop LVDS with Virtex-E FPGAs

FPGA. Logic Block. Plessey FPGA: basic building block here is 2-input NAND gate which is connected to each other to implement desired function.

ECE 436 Laboratory 4 TARGETING THE XESS PROTO-BOARD AND PHYSICAL TESTING WITH A LOGIC ANALYZER

Frank E. Peterkin, Benjamin M. Grady Naval Surface Warfare Center, Dahlgren Division, Code B20, Dahlgren Rd., Dahlgren, Virginia, 22448

Overview of Microcontroller and Embedded Systems

Agilent Technologies E5900B Emulation Probes

DDR3 Mini DIMM Slot Interposer

ni.com High-Speed Digital I/O

CrossLink Hardware Checklist Technical Note

SCANWORKS TEST DEVELOPMENT STATION BUNDLE

Advanced NI-DAQmx Programming Techniques with LabVIEW

EMBEDDED SYSTEMS COURSE CURRICULUM

Actel s SX Family of FPGAs: A New Architecture for High-Performance Designs

ISE Tutorial. Using Xilinx ChipScope Pro ILA Core with Project Navigator to Debug FPGA Applications. UG750 (v14.4) December 18, 2012

475 Electronics for physicists Introduction to FPGA programming

Efficient Failure Triage with Automated Debug: a Case Study by Sean Safarpour, Evean Qin, and Mustafa Abbas, Vennsa Technologies Inc.

DDR Support for Tektronix TLA Logic Analyzers

SV3C DPRX MIPI D-PHY Analyzer. Data Sheet

Multi Channel Electronics Test Plan

Techniques to Reduce Measurement Errors in Challenging Environments

ACU6. Technical Reference Manual. Specifications Interfacing Dimensions. Document topics. ANSARI Controller Unit Type 6 technical reference manual

DIG-100M1002-PCI. Features. 100MSPS 2ch Digitizer Board for PCI DIG-100M1002-PCI 1. Ver.1.03

SMT-FMC211. Quad DAC FMC. Sundance Multiprocessor Technology Limited

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

CompuScope Ultra-fast waveform digitizer card for PCI bus. APPLICATIONS. We offer the widest range of

Level Translator For SPI and I²C Bus Signals

6220 Ethernet-Based Voltage Measurement Module

Keysight Technologies RS232/UART Protocol Triggering and Decode for Infiniium Series Oscilloscopes. Data Sheet

DDR3 DIMM Slot Interposer

Virtual Input/Output v3.0

2.5 V/3.3 V, 2-Bit, Individual Control Level Translator Bus Switch ADG3243

Agilent B4655A FPGA Dynamic Probe for Xilinx

Interfacing LVPECL 3.3V Drivers with Xilinx 2.5V Differential Receivers Author: Mark Wood

Transcription:

P R I N T E D CIRCUIT DESIGN is published monthly by: UP Media Group Inc. 2018 Powers Ferry Road, Ste. 600 Atlanta, GA 30339 Tel (678) 589-8800 Fax (678) 589-8850 All material published in this file and in PRINTED CIRCUIT DESIGN is copyrighted 2002 by UP Media Group Inc. All rights reserved. Reproduction and distribution of material appearing in PCD and on the www.pcdmag.com Web site is forbidden without written permission from the editor. For information on obtaining reprints go to: http://www.pcdmag.com/mag/reprints.html

FEATURE > A combined approach can correlate on-chip and PCB results By Brock J. LaMeres Until recently, correlating onchip signal integrity and functionality to the actual received signal on a printed circuit board has been difficult for engineers. Because certain points in a circuit are not accessible by standard test equipment, it has been very difficult to diagnose signal integrity or functional problems, with the results often being speculative. Consequently, engineers have relied heavily on computer modeling to gain pseudo-access to unattainable points in the circuit. The combination of a benchtop logic analyzer and a logic analyzer software tool that can easily debug multimillion field programmable gate array (FPGA) designs is now addressing these engineering frustrations. Signals now can be observed simultaneously within an FPGA and on the PCB. This gives engineers access to two points in a circuit one within the FPGA and one on the PCB allowing them to quickly diagnose signal integrity and functional issues using empirical results. This article will discuss current methods of analyzing circuits where test points are inaccessible, describe the roles and features of the logic analyzer and logic analysis software tool, and explore the advantages and disadvantages of each as well as what their capabilities are when paired together to analyze what were once considered inaccessible test points. The article also will look at the output of this instrument duo, showing how the results will be the same, and provide a signal integrity example, explaining how the results would differ. Current analysis methods Currently, when engineers design a system that contains both FPGA functionality and high-speed PCB design, the two design tasks are de-coupled. The FPGA design is developed using logic simulators from companies such as Cadence Design Systems and SimuCAD. By using models of the gates within the FPGA, together with post-synthesis timing information, an engineer can get a first-order approximation of the design s speed and robustness. Meanwhile, the PCB is designed using analog simulators such as SPICE and IBIS. By using the driver models of the FPGA and transmission line models of the PCB, an engineer can develop a transport system that has the necessary signal integrity for a given application. Unfortunately, when the system is realized, the two designs cannot be decoupled using standard test equipment. Benchtop logic analyzers and oscilloscopes are the most common methods used to debug an actual system. When working with computer-type systems that contain high signal counts, the benchtop logic analyzer becomes the instrument of choice. Although a benchtop logic analyzer can provide engineers with high signal count, speed, and analysis tools, it still can only see one point in the circuit. If a signal is not received in the logic analyzer, this can be due to either a problem with the FPGA driver or a signal integrity issue on the PCB. The only method that s been available to engineers to diagnose this problem has been to use an oscilloscope and manually comb through the failed signals. However, the following solution now allows engineers to www.pcdmag.com PRINTED CIRCUIT DESIGN JULY 2002 21

FEATURE > FPGA LOGIC ANALYSIS Figure 1 Logic simulation results of a demux-by-4 circuit of pairing these two logic analysis systems together is to provide two points of a circuit to monitor across high channel counts. As a result, the functional and signal integrity issues are decoupled. Engineers can start out with a low-speed measurement, and by correlating the onchip results acquired by both logic analysis instruments, perform low-speed functional analysis on the system. At this level, engineers can determine whether their empirical results match their logic simulations. In addition, any DC driver errors that may be present due to circuit problems in the PCB transport system can be detected. Once lowspeed operation is verified, the system can run at its target frequency. At high speeds, critical timing paths of the FPGA can be examined as well as signal integrity issues on the PCB. Figure 2 Xilinx ChipScope acquisition results diagnose the problem quickly without using an oscilloscope. Benchtop logic analysis A benchtop analyzer enables an engineer to probe high signal counts and correlate the data easily through advanced triggering and analysis tools. For example, Agilent Technologies 1680A benchtop logic analyzer provides a quick, portable way to examine signals on the PCB and is capable of acquiring 128 channels of data in STATE mode at a clock rate of 200 MHz. The state clock can be comprised of any Boolean combination of four separate state clocks. In the TIMING mode, 136 channels of data can be acquired at a sampling speed of 800 MHz. Memory depths can extend to 2 megabits per channel. As far as disadvantages are concerned, the sole failing of a benchtop analyzer is that it only monitors the signals at one point in the circuit. By doing this, the functional and signal integrity issues are not de-coupled. On-chip logic analysis The Xilinx ChipScope ILA is an integrated logic analyzer that is incorporated into a functional design prior to downloading it into the FPGA. This on-chip logic analyzer uses a small number of resources, and some of the dedicated memory blocks available to the user can provide up to 256 channels of data acquisition. Memory depth can extend up to 16 kilobits per channel with some devices. Any signal in the design can be probed with the analyzer. A trigger is defined prior to downloading. Once the data has been acquired, the empirical results can be downloaded directly to a PC using the joint test action group (JTAG) port of the FPGA. The results are then examined as waveforms on the PC, enabling engineers to see into the FPGA. Engineers also have the ability to acquire data on internal nodes that were once inaccessible. Large numbers of signals can be monitored depending on the size of the design and available resources left for the analyzer. In addition to analyzing internal nodes, it also can monitor external nodes. Although this may seem redundant given the fact that benchtop logic analyzers can monitor external nodes as well, when these two analyzers are coupled together, they present a powerful duo capable of isolating functional and signal integrity issues simultaneously. Simultaneous on-chip and PCB logic analysis The primary advantage Measurement results To illustrate the power of this logic analysis duo, take a simple demux-by-4 circuit. This circuit will sample an input data stream and output each piece of data to one of four output nodes. The result is to create four synchronous output samples that are at one-fourth the input frequency a common technique in data acquisition. Figure 1 shows the logic simulation results that provide the golden reference to which the FPGA and PCB transport system will be compared. The data is grouped in a threewide bus to use the hexadecimal values, and to more easily illustrate the demux operation. Once the FPGA design is synthesized, the on-chip logic analyzer can be integrated into the design. At this point, the engineer can specify which signals to probe, as well as a trigger pattern and the acquisition depth. The combined pieces are then imple- Figure 3 Laboratory set-up using the Agilent 1680A benchtop logic analyzer 22 PRINTED CIRCUIT DESIGN JULY 2002 www.pcdmag.com

mented into a bit-stream and downloaded into the FPGA. A JTAG cable connects to the FPGA that controls the on-chip logic analyzer. The engineer then executes a RUN command on a PC, using integrated logic analyzer software to communicate to the on-chip analyzer to start acquiring data. Once the trigger pattern has been found, the data is transferred to the integrated logic analyzer tool through JTAG to be viewed as waveforms. Figure 2 shows the on-chip logic analyzer acquisition results. The second part of the analysis comes from the benchtop logic analyzer measurement. Using a 16-channel, flying lead probe set, the PCB outputs of the FPGA can be probed. Figure 3 shows the laboratory setup used to accomplish this measurement, while Figure 4 displays the empirical waveform results of the data acquisition on the PCB. This demonstrates that both the benchtop analyzer and logic analyzer software tool have acquired the same data. The following cases provide some examples of problems where engineers can use the logic analysis duo to debug. CASE 1 - A functional problem within the FPGA At the beginning of the debug process, the system runs at low speeds (i.e., <1 MHz). This isolates functional problems without introducing critical-path issues within the FPGA, or signal integrity issues on the PCB. A functional problem on the FPGA can be caused by a design error, or a synthesis/implementation error. For this type of problem, a benchtop logic analyzer and an on-chip logic analyzer each will have the same results, but differ when it comes to logic simulation. Figure 5 shows the integrated logic analyzer results of a functional error within the FPGA. CASE 2 - A DC problem on the PCB Once the low-speed functionality of the FPGA has been verified, DC errors can be found on the PCB. In this case, the on-chip logic analyzer results will be correct, while those of the benchtop analyzer will be incorrect. At low speeds, a PCB problem is usually a DC error in the circuit.this can be caused by the driver s or receiver s impedance not being what it was originally designed to be. Another possibility is a misload of a termination resistor resulting in an over-attenuated signal swing. If the signal at the receiver is attenuated too much, the receiver may not be able to detect its logic level. Here, the benchtop analyzer s userdefined reference voltage is a useful tool for discovering this type of problem. Figure 6 Figure 4 Acquisition waveforms from the Agilent benchtop logic analyzer Figure 5 Xilinx ChipScope results monitoring a functional error within the FPGA www.pcdmag.com PRINTED CIRCUIT DESIGN JULY 2002 23

FEATURE > FPGA LOGIC ANALYSIS Figure 6 Agilent 1680A results monitoring a DC problem on the PCB TABLE 1 - Step-by-step debug process using the logic analysis duo Speed ChipScope Results 1680A Results Conclusion Match Logic Match Match Logic Match Simulation? 1680A? Simulation? ChipScope? CASE 1 Low No Yes No Yes Functional problem within the FPGA design CASE 2 Low Yes No No No DC problem on the printed circuit board CASE 3 High No Yes No Yes Timing issue within the FPGA design CASE 4 High Yes No No No Signal integrity issue on the printed circuit board shows the results of monitoring a DC problem on a PCB with a benchtop analyzer. CASE 3 - A high-speed failure within the FPGA The next step in the debug process after verifying low-speed functionality of both the FPGA and the PCB is to look for highspeed faults since the system can now be run at or near its target frequency. The problem this time is a highspeed functional issue within the FPGA that can be caused by a critical path not meeting its timing requirement, or any other type of timing defect within the design. For this type of error, both logic analyzers will have the same results, but differ from the logic simulation performed. The FPGA design can be taken offline to rerun simulations to isolate the problem. CASE 4 - A high-speed failure on the PCB After the FPGA design has been resolved for high-speed operation, the PCB can be investigated for such problems as a high-speed PCB signal integrity error. This type of error can be caused by reflections, crosstalk, simultaneous switching noise, or ground bounce to name just a few cases and can be isolated with the benchtop logic analyzer. If, at high speeds, the integrated logic analyzer results match the logic simulation but not the benchtop logic analyzer, this indicates a signal integrity problem on the PCB. Table 1 summarizes the step-by-step debug process presented in the four cases. Conclusion The combination of the two logic analyzer tools allow engineers to probe two points in a system, where previously only one was accessible. This new ability gives them a way to debug functional and high-speed problems simultaneously in the FPGA and on the PCB. As signal counts within computer systems continue to increase, the logic analyzer is becoming the test equipment of choice for system engineers. In addition, as timeto-market becomes a more critical issue, the need for test equipment that can deliver faster results is assuming marked significance. The benchtop and on-chip logic analyzers are two pieces of test equipment that are meeting the demands of today s engineers. The combination of these two instruments provide a way for engineers to quickly diagnose and isolate FPGA and PCB problems that once could not be decoupled. Brock LaMeres is currently a hardware design engineer for Agilent Technologies, where he designs high-speed printed circuit boards used in logic analyzers. He is also a part-time instructor in microprocessor systems at the University of Colorado in Colorado Springs. His research interests include modeling and characterization of transport systems and high-speed digital design. LaMeres received his B.S.E.E. from Montana State University, and his M.S.E.E. from the University of Colorado. 24 PRINTED CIRCUIT DESIGN JULY 2002 www.pcdmag.com