Metastability Characterization Report for Microsemi Flash FPGAs

Similar documents
Configuring Serial Terminal Emulation Programs

R&D Engineer. equipment. the power

EE552. Advanced Logic Design and Switching Theory. Metastability. Ashirwad Bahukhandi. (Ashirwad Bahukhandi)

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

DC to 30GHz Broadband MMIC Low-Power Amplifier

White Paper Understanding Metastability in FPGAs

Set-Reset (SR) Latch

Measuring Metastability

Developing an Application on Core8051s IP-Based Embedded Processor System Using Firmware Catalog Drivers. User s Guide

PROGETTO DI SISTEMI ELETTRONICI DIGITALI. Digital Systems Design. Digital Circuits Advanced Topics

SmartDesign MSS. How to Create a MSS and Fabric AMBA AHBLite/APB3 Design (MSS Master Mode)

7. Latches and Flip-Flops

Memory Elements. Combinational logic cannot remember

Timing Methodologies (cont d) Registers. Typical timing specifications. Synchronous System Model. Short Paths. System Clock Frequency

The Case for Midspans vs. Switches for PoE Deployment

Sequential Logic: Clocks, Registers, etc.

MicroMag3 3-Axis Magnetic Sensor Module

Chapter 9 Latches, Flip-Flops, and Timers

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Sequential Logic Design Principles.Latches and Flip-Flops

SG1731/SG2731/SG3731. Description. Features. High Reliability Features. Block Diagram DC MOTOR PULSE WIDTH MODULATOR

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

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

Power over Ethernet Solutions for Campus Environments. White Paper

Understanding Power Impedance Supply for Optimum Decoupling

SmartDesign MSS. Clock Configuration

TS555. Low-power single CMOS timer. Description. Features. The TS555 is a single CMOS timer with very low consumption:

Counters and Decoders

CCGA to FBGA Adapter Sockets

CHAPTER 11: Flip Flops

PROGETTO DI SISTEMI ELETTRONICI DIGITALI. Digital Systems Design. Digital Circuits Advanced Topics

Combinational Logic Design Process

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

CD4013BC Dual D-Type Flip-Flop

DM74LS169A Synchronous 4-Bit Up/Down Binary Counter

Low latency synchronization through speculation

Sequential 4-bit Adder Design Report

Obsolete Product(s) - Obsolete Product(s)

DM54161 DM74161 DM74163 Synchronous 4-Bit Counters

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

TSL INTEGRATED OPTO SENSOR

A New Paradigm for Synchronous State Machine Design in Verilog

ASYNCHRONOUS COUNTERS

Description. Table 1. Device summary. Order code Temperature range Package Packaging Marking

Lesson 12 Sequential Circuits: Flip-Flops

HEF4021B. 1. General description. 2. Features and benefits. 3. Ordering information. 8-bit static shift register

HEF4013B. 1. General description. 2. Features and benefits. 3. Applications. 4. Ordering information. Dual D-type flip-flop

CLOCK DOMAIN CROSSING CLOSING THE LOOP ON CLOCK DOMAIN FUNCTIONAL IMPLEMENTATION PROBLEMS

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

LAB4: Audio Synthesizer

CSE140: Components and Design Techniques for Digital Systems

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package.

Hot and Surprise Plug Recommendations for Enterprise PCIe Switches in the Data Center (Short Form)

6-BIT UNIVERSAL UP/DOWN COUNTER

A Lesson on Digital Clocks, One Shots and Counters

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

A Lesson on Digital Clocks, One Shots and Counters

Digital to Analog and Analog to Digital Conversion

74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

DM7474 Dual Positive-Edge-Triggered D-Type Flip-Flops with Preset, Clear and Complementary Outputs

Power over Ethernet for VoIP Applications. White Paper

DM74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

PowerPC Microprocessor Clock Modes

54LS169 DM54LS169A DM74LS169A Synchronous 4-Bit Up Down Binary Counter

CS311 Lecture: Sequential Circuits

Module 3: Floyd, Digital Fundamental

Upon completion of unit 1.1, students will be able to

Installing PoE for Outdoor Deployments. White Paper

LC7218, 7218M, 7218JM

路 論 Chapter 15 System-Level Physical Design

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

74AC191 Up/Down Counter with Preset and Ripple Clock

JTAG-HS2 Programming Cable for Xilinx FPGAs. Overview. Revised January 22, 2015 This manual applies to the HTAG-HS2 rev. A

Latch Timing Parameters. Flip-flop Timing Parameters. Typical Clock System. Clocking Overhead

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

A Verilog HDL Test Bench Primer Application Note

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

DATA SHEET. HEF4017B MSI 5-stage Johnson counter. For a complete data sheet, please also download: INTEGRATED CIRCUITS

Introduction to CMOS VLSI Design (E158) Lecture 8: Clocking of VLSI Systems

ECE124 Digital Circuits and Systems Page 1

Designing With the SN54/74LS123. SDLA006A March 1997

Flip-Flops, Registers, Counters, and a Simple Processor

DP8570A DP8570A Timer Clock Peripheral (TCP)

SmartFusion csoc: Basic Bootloader and Field Upgrade envm Through IAP Interface

CD4027BC Dual J-K Master/Slave Flip-Flop with Set and Reset

CD4013BC Dual D-Type Flip-Flop

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012

Flip-Flops and Sequential Circuit Design

ECONseries Low Cost USB DAQ

Lab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts)

Lecture 7: Clocking of VLSI Systems

CD40174BC CD40175BC Hex D-Type Flip-Flop Quad D-Type Flip-Flop

css Custom Silicon Solutions, Inc.

Master/Slave Flip Flops

The enable pin needs to be high for data to be fed to the outputs Q and Q bar.

Digital Electronics Detailed Outline

Transcription:

T s = T co + T met EQ 2 Metastability Characterization Report for Microsemi Flash FPGAs Introduction Whenever asynchronous data is registered by a clocked flip-flop, there is a probability of setup or hold time violation on that flip-flop. In applications such as synchronization or data recovery, due to the asynchronous nature of the data input to the flip-flops, the data transition time is unpredictable with respect to the active edge of the clock. The susceptibility of a circuit to reaching this metastable state can be described using a probabilistic equation. Setup or hold violations cause the output of the flip-flop to enter a symmetrically balanced transient state, called a metastable state. The metastable state is manifested in a bistable device by the outputs glitching, going into an undefined state somewhere between 1 and 0, oscillating, or by the output transition being delayed for an indeterminable time. Once the flip-flop has entered the metastable state, the probability that it will still be metastable later has been shown to be an exponentially decreasing function of time. Because of this property, a designer should simply wait for additional time after the specified propagation delay before sampling the flip-flop output so that the designer can be assured that the likelihood of metastable failure is remote enough to be tolerable. The additional time of waiting becomes shorter, even though still more than zero, as the technology improves and semiconductor devices reach higher ranges of speed. This document discusses a description of metastability equations followed by metastability characterization of ProASIC, ProASIC PLUS, ProASIC3, and ProASIC3E FPGAs. This application note also provides examples on the usage of metastability equations. Theory of Metastability In general, the mean time between failures (MTBF) should be defined statically. Figure 1 on page 412 depicts a simple circuit, used to synchronize asynchronous data with the system clock. EQ 1 shows the relation between MTBF and the clock-to-out settling time of a flip-flop: MTBF = e (Ts / τ) / (T o f d f c ) EQ 1 In EQ 1 and EQ 2: T s = Total flip-flop output settling time T co = Flip-flop clock-to-out delay T met = Additional settling time added to the normal clock-to-out delay of the flip-flop before sampling the output of the flip-flop t = Metastable decay constant. T 0 = Metastability aperture at T co = 0 ns (this parameter represents the likelihood that a flip-flop will enter a metastable state) f d = Data transition rate (twice the data frequency for periodic signals, since there are two transitions per period) f c = Clock frequency June 2011 411

Aperture = T o e (Tco + Tmet)/τ EQ 3 Theory of Metastability Async Data T co Sync Data f d D Q D Q f c Figure 1 Example of Synchronization Circuit As mentioned earlier, the aperture represents the likelihood of the flip-flop entering a metastable state. The aperture is defined as a time window within the clock period. Data transitioning inside the aperture will cause the flip-flop output settling time to be greater than T co + T met. The aperture is calculated by recording the number of instances in which the settling time exceeds the specified T co + T met. The metastability aperture decreases exponentially as the allowed settling time (T co + T met ) increases: If the data transition occurs within the aperture, the flip-flop will stay metastable beyond the allocated settling time (T co + T met ); and therefore, the second flip-flop would register invalid data (Figure 1). The probability of an asynchronous data transition is uniformly distributed over the clock period. Therefore, the probability of a single data transition occurring in the metastable aperture is calculated by EQ 4: p = aperture / T c EQ 4 where T c is the clock period. In each clock cycle, the failure occurs if the data transition time is within the aperture. Therefore, the number of failures in one clock cycle can be derived by EQ 5: n e = n p = n (aperture / T c ) EQ 5 where n e represents the number of errors per clock cycle, and n is the number of data transitions per clock period (f d / f c ). The number of clock cycles in the operation time (N) is the total time divided by the clock period, or N = T operation / T c Combining EQ 5 and EQ 6 results in the total number of failures per operation time (N e ): N e = N n e = (T operation / T c ) (f d / f c ) (aperture / T c ) Since T c = 1 / f c, EQ 7 can be simplified to N e = T operation f d f c aperture MTBF is defined as the operation time divided by the number of failures, or MTBF = 1/ (f d f c aperture) = 1/ (T 0 e (Tco + Tmet) / τ f d f c ) EQ 6 EQ 7 EQ 8 EQ 9 412 June 2011

Metastability Characterization Report for Microsemi Flash FPGAs FPGA Metastability Characterization Like other FPGA manufacturers, to absorb the fixed value the of e Tco term, Microsemi simplifies EQ 9 on page 412 to the following form: MTBF = e C2 * Tmet / (C1 f d f c ) EQ 10 where C2 is a constant inversely proportional to the metastability decay constant, and C1 is the proportionality constant, which is similar to aperture. The FPGA metastability characterization is a series of tests conducted to identify the value of C1 and C2. There are several environmental and test condition factors that influence the characterization. These factors include but are not limited to the rise time of data and clock signals, input voltage levels, and operating voltage and temperature. Moreover, increased system noise due to switching of both internal nodes and I/Os can influence the metastability results. Therefore, it is essential to provide a suitable environment for testing. Test Design Description Figure 2 shows a schematic of the test circuit used to characterize the metastability in Microsemi devices. The propagation delay, operating under specified setup and hold time, is measured from the output of flip-flop DFF#1 to the input of flip-flop DFF#3. This value is denoted by EQ 11: T min = T cof (DFF#1) + T delay + T su (DFF#3) EQ 11 where T delay is the propagation delay from output of DFF#1 to input of DFF#3, T cof is the clock-to-out delay of DFF#3, and T su represents the setup time requirement of DFF#3. T min corresponds to the T co in EQ 9 on page 412 and is the reference time to which the additional settling time, T met, is added for characterization of metastability. Asynchronous Data DFF#1 D Q DFF#2 D Q A B Y Metastability Event Counter (20 bits) CLOCK Inverting Delay Buff A Observation Node Wired to I/Os DFF#3 Enable Y D Q Metastable Catching Dff RESET 30-bit (billion cycle) Measurement Timer Figure 2 Test Circuit DFF#2 is clocked on the same edge as DFF#1. Conversely, DFF#3 must resolve the signal driven from the metastable DFF#1 before the falling clock edge. As can be seen in the design in Figure 2, T min + T met is the difference between the rising and falling edge of the clock. Therefore, it can be easily set or June 2011 413

Metastability Measurement Results measured by adjusting the duty cycle of the clock signal. A detectable metastable event occurs when DFF#2 and DFF#3 are in the SAME state. In the expected operation, DFF#2 and DFF#3 are in opposite states due to the inverter in the DFF#3 input data path. The XNOR gate allows the event counter to record these metastable events. After a billion clock cycles, the counter is read and the MTBF is calculated. In this test, T min was resolved to within ±0.01% of the duty cycle at 10 MHz. This translates to an error of ±10 ps. The other test setup parameters were as follows: Clock and data inputs were driven from independent pulse generators (<1 ns rise time). Clock input levels were from 0 V to 2.5 V. These levels were required due to the impedance matching of Microsemi's test fixture. Data input levels were 0 V to 3.3 V. FPGA power supplies for all tests were at V DDP = 3.3 V and V DD = 2.5 V. Metastability Measurement Results EQ 10 on page 413 can be reformed into EQ 12: ln(mtbf) = C2 T met ln(c1 f d f c ) EQ 12 The plot of EQ 12 is a linear relationship between ln(mtbf) and T met, where C2 is the slope of the line. Figure 3 shows the plot of EQ 12 for ProASIC and ProASIC PLUS FPGA families. C1 and C2 can be calculated from any two data points. 6 4 2 ln(mtbf) 0-2 -4-6 -8-10 -12 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 T met PLUS ProASIC (0.22 μm) ProASIC (0.25 μm) Figure 3 Metastability Comparison of Microsemi FPGA Families 414 June 2011

Metastability Characterization Report for Microsemi Flash FPGAs The metastability theory indicates that C1 and C2 are independent of the test clock and data frequency. The test results concur within experimental tolerances. The calculations of C1 and C2 are given in Table 1. Table 1 Metastability Coefficients for Microsemi Flash FPGAs f c = 10 MHz Device Family C 1 (Hz) C 2 (Hz) ProASIC 9.95E 11 1.03E+10 ProASIC PLUS 1.56E 11 9.148E+09 ProASIC3/E Core Registers 9.11E 12 1.57E+10 ProASIC3/E I/O Registers 2.25E 12 1.91E+10 Examples of Metastability Coefficients Usage Metastability shows a statistical nature, and designers should allow enough additional time (T met ) that the likelihood of metastable failure is remote enough to be tolerable by the design specification. For example, consider that the simple circuit in Figure 1 on page 412 is implemented in a ProASIC PLUS device to synchronize an asynchronous data input to the FPGA. The following parameters are given to designer by either design specification or post-layout timing analysis: T co = 10 ns, corresponding to a clock frequency of 100 MHz Asynchronous data transition rate = 12.5 MHz Tolerable MTBF = 1 year If the designer does not allow additional sampling time (T met = 0 ns) and run the clock at the rate of 100 MHz, EQ 12 on page 414 will result in MTBF = 51.2 µs. This means that a metastability error will occur at the output of the second flip-flop every 51.2 µs. This value exceeds the required MTBF of one year indicated in the design specification. To meet this requirement, the designer needs to allow additional T met in the sampling time, which can be calculated as follows: 1 year = 365 24 3,600 = 31,536,000 seconds ln 31,536,000 = 9.148E+09 T met ln (1.56E 11 100E6 12.5E6) T met = 2.96 ns Therefore, an additional 3 ns sampling time will fulfill the required MTBF. List of Changes The following table lists critical changes that were made in each revision of the chapter. Date Changes Page June 2011 v1.0 (January 2008) In Table 1 Metastability Coefficients for Microsemi Flash FPGAs, the units for C1 and C2 were changed from seconds to Hz (SAR 29148). Table 1 Metastability Coefficients for Microsemi Flash FPGAs was updated to include ProASIC3/E information. 5190062-0 This document was updated to provide a detailed description of the calculations being made. 415 415 N/A June 2011 415

Microsemi Corporation (NASDAQ: MSCC) offers a comprehensive portfolio of semiconductor solutions for: aerospace, defense and security; enterprise and communications; and industrial and alternative energy markets. Products include high-performance, high-reliability analog and RF devices, mixed signal and RF integrated circuits, customizable SoCs, FPGAs, and complete subsystems. Microsemi is headquartered in Aliso Viejo, Calif. Learn more at www.microsemi.com. Microsemi Corporate Headquarters One Enterprise, Aliso Viejo CA 92656 USA Within the USA: +1 (949) 380-6100 Sales: +1 (949) 380-6136 Fax: +1 (949) 215-4996 2011 Microsemi Corporation. All rights reserved. Microsemi and the Microsemi logo are trademarks of Microsemi Corporation. All other trademarks and service marks are the property of their respective owners. 51700094-023-1/6.11