Digital Systems Design

Similar documents
CDR in Mercury Devices

Implementing Dynamic Reconfiguration in Cyclone IV GX Devices

3. Cyclone IV Dynamic Reconfiguration

This document addresses transceiver-related known errata for the Stratix GX FPGA family production devices.

Stratix GX FPGA. Introduction. Receiver Phase Compensation FIFO

Using High-Speed Transceiver Blocks in Stratix GX Devices

2. Arria GX Transceiver Protocol Support and Additional Features

2. HardCopy IV GX Dynamic Reconfiguration

4. SONET Mode. Introduction

Stratix GX Transceiver User Guide

3. Custom Mode. Introduction. The Custom mode of the Stratix GX device includes the following features:

Section 1. Fundamentals of DDS Technology

Choosing the Optimal Internal or External Clocking Solution for FPGA-Based Designs

SV2C 28 Gbps, 8 Lane SerDes Tester

2. Stratix GX Transceivers

6. GIGE Mode. Introduction

5008 Dual Synthesizer Configuration Manager User s Guide (admin Version) Version valontechnology.com

2. Cyclone IV Reset Control and Power Down

2. Transceiver Basics for Arria V Devices

Implementing Logic with the Embedded Array

R Using the Virtex Delay-Locked Loop

CHAPTER III THE FPGA IMPLEMENTATION OF PULSE WIDTH MODULATION

Arria V Timing Optimization Guidelines

Stratix II DSP Performance

Keywords: GPS, receiver, GPS receiver, MAX2769, 2769, 1575MHz, Integrated GPS Receiver, Global Positioning System

Understanding FLEX 8000 Timing

2. Stratix II GX Transceivers

Enhancing FPGA-based Systems with Programmable Oscillators

High-Speed Transceiver Toolkit

Programmable Clock Generator

Implementing QPI Using the Transceiver Native PHY IP Core in Stratix V Devices

High-Speed Link Tuning Using Signal Conditioning Circuitry in Stratix V Transceivers

FLEX 10K. Features... Embedded Programmable Logic Family. Table 1. FLEX 10K Device Features

2. Stratix II GX Transceiver Architecture Overview

DESIGN AND DEVELOPMENT OF CAMERA INTERFACE CONTROLLER WITH VIDEO PRE- PROCESSING MODULES ON FPGA FOR MAVS

Section 1. Transceiver Architecture for Arria II Devices

Multiple Reference Clock Generator

Lecture 11: Clocking

BeRadio SDR Lab & Demo

Implementation of High Precision Time to Digital Converters in FPGA Devices

Using ProASIC PLUS Clock Conditioning Circuits

ICS PLL BUILDING BLOCK

DS1806 Digital Sextet Potentiometer

Stratix Filtering Reference Design

Dual Programmable Clock Generator

ACEX 1K. Features... Programmable Logic Device Family. Tools

Stratix II Filtering Lab

Cyclone II Filtering Lab

Open Source Digital Camera on Field Programmable Gate Arrays

Digital design & Embedded systems

10. DSP Blocks in Arria GX Devices

FLEX 10KE. Features... Embedded Programmable Logic Device

Understanding Timing in Altera CPLDs

Timing Issues in FPGA Synchronous Circuit Design

An Fpga Implementation Of N/N+1 Prescaler For A Low Power Single Phase Clock Distribution System

ADVANCED EMBEDDED MONITORING SYSTEM FOR ELECTROMAGNETIC RADIATION

6. DSP Blocks in Stratix II and Stratix II GX Devices

Digital Logic, Algorithms, and Functions for the CEBAF Upgrade LLRF System Hai Dong, Curt Hovater, John Musson, and Tomasz Plawski

Hello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs.

Integrated Circuit Design for High-Speed Frequency Synthesis

I hope you have completed Part 2 of the Experiment and is ready for Part 3.

Hello, and welcome to this presentation of the STM32G0 digital-to-analog converter. This block is used to convert digital signals to analog voltages

A 0.2-to-1.45GHz Subsampling Fractional-N All-Digital MDLL with Zero-Offset Aperture PD-Based Spur Cancellation and In-Situ Timing Mismatch Detection

FPGA Circuits. na A simple FPGA model. nfull-adder realization

Clock Tree 101. by Linda Lua

Techniques for Implementing Multipliers in Stratix, Stratix GX & Cyclone Devices

PROGRAMMABLE FREQUENCY SYNTHESIZER (25MHz to 400MHz)

Feature EP20K30E EP20K60E EP20K100 EP20K100E EP20K160E EP20K200 EP20K200E

4. Operating Conditions

ACEX 1K. Features... Programmable Logic Family. Tools. Table 1. ACEX TM 1K Device Features

FLEX 10K. Features... Embedded Programmable Logic Family. Preliminary Information

High Speed Communication Circuits and Systems Lecture 14 High Speed Frequency Dividers

Mehmet SÖNMEZ and Ayhan AKBAL* Electrical-Electronic Engineering, Firat University, Elazig, Turkey. Accepted 17 August, 2012

DS1267B Dual Digital Potentiometer

DESIGN OF HIGH FREQUENCY CMOS FRACTIONAL-N FREQUENCY DIVIDER

FPGA IMPLEMENTATION OF POWER EFFICIENT ALL DIGITAL PHASE LOCKED LOOP

DESIGN OF MULTIPLYING DELAY LOCKED LOOP FOR DIFFERENT MULTIPLYING FACTORS

MBI5031 Application Note

ECEN620: Network Theory Broadband Circuit Design Fall 2012

Frequency Generator & Integrated Buffers for Celeron & PII/III TM *SEL24_48#/REF0 VDDREF X1 X2 GNDREF GND3V66 3V66-0 3V66-1 3V66-2 VDD3V66 VDDPCI

/$ IEEE

CHAPTER 4 GALS ARCHITECTURE

DS1868B Dual Digital Potentiometer

Advance Information Clock Generator for PowerQUICC III

Reference. Wayne Wolf, FPGA-Based System Design Pearson Education, N Krishna Prakash,, Amrita School of Engineering

Design of FPGA- Based SPWM Single Phase Full-Bridge Inverter

Application Note AN51

Commsonic. Universal QAM/PSK Modulator CMS0004. Contact information. Continuous or burst-mode operation.

AC LAB ECE-D ecestudy.wordpress.com

Intel MAX 10 Analog to Digital Converter User Guide

A 3 TO 30 MHZ HIGH-RESOLUTION SYNTHESIZER CONSISTING OF A DDS, DIVIDE-AND-MIX MODULES, AND A M/N SYNTHESIZER. Richard K. Karlquist

ECEN620: Network Theory Broadband Circuit Design Fall 2014

Analysis of Phase Noise Profile of a 1.1 GHz Phase-locked Loop

20Gb/s 0.13um CMOS Serial Link

Lab 2.2 Custom slave programmable interface

2.5V or 3.3V, 200-MHz, 12-Output Zero Delay Buffer

ECEN689: Special Topics in High-Speed Links Circuits and Systems Spring 2012

One-PLL General Purpose Clock Generator

Synchronous Mirror Delays. ECG 721 Memory Circuit Design Kevin Buck

PLL & Timing Glossary

Transcription:

Digital Systems Design Clock Networks and Phase Lock Loops on Altera Cyclone V Devices Dr. D. J. Jackson Lecture 9-1 Global Clock Network & Phase-Locked Loops Clock management is important within digital systems design High speed designs require low latency, low skew clock solutions Low latency a minimum propagation delay time throughout the device Low skew a minimum difference between actual clock edges as seen on various points on the device Sources for clock skew?» Propagation delay through the device, capacitive loading Cyclone V devices provide the following for clock management Global, regional, and periphery clock networks Multiple phase-locked loops (PLLs) Dr. D. J. Jackson Lecture 9-2 1

Phase-Locked Loops (PLLs) A PLL is a closed-loop feedback control system that maintains a generated signal in a fixed phase relationship to a reference signal Applications include: Frequency synthesizers for digitally-tuned radio receivers and transmitters FM and AM radio signal demodulation Clock multipliers in digital systems that allow internal elements to run faster (or slower) than external connections, while maintaining precise timing relationships (our basic application in this course) Cyclone V PLLs provide general-purpose clocking with clock multiplication (or division) and phase shifting Dr. D. J. Jackson Lecture 9-3 Typical PLL Architecture Dr. D. J. Jackson Lecture 9-4 2

Cyclone V PLLs Cyclone V device family contains fractional PLLs that can function as fractional PLLs or integer PLLs Provide robust clock management and synthesis for device clock management, and external system clock management PLLs offer clock Frequency multiplication and division Phase shifting Programmable duty cycle Multiple modes of operation We will only address one simple mode of operation for our purposes Dr. D. J. Jackson Lecture 9-5 PLL Location in Cyclone V E A4 Device Dr. D. J. Jackson Lecture 9-6 3

PLL Location in Cyclone V E A4 Device PLL PLL Dr. D. J. Jackson Lecture 9-7 Fractional PLL High-Level Block Diagram Dr. D. J. Jackson Lecture 9-8 4

Fractional PLL Usage You can configure the fractional PLL to function either in the integer or in the enhanced fractional mode One fractional PLL can use up to 9 output counters and all external clock outputs Fractional PLLs can be used as follows: Reduce the number of required oscillators on the board Reduce the clock pins used in the FPGA by synthesizing multiple clock frequencies from a single reference clock source Compensate clock network delay Zero delay buffering Transmit clocking for transceivers Dr. D. J. Jackson Lecture 9-9 PLL Cascading Cyclone V devices support two types of PLL cascading PLL-to-PLL Cascading This cascading mode synthesizes a more precise output frequency than a single PLL in integer mode Cascading two PLLs in integer mode expands the effective range of the pre-scale counter, N and the multiply counter, M Counter-Output-to-Counter-Output Cascading This cascading mode synthesizes a lower frequency output than a single post-scale counter, C Cascading two C counters expands the effective range of C counters Dr. D. J. Jackson Lecture 9-10 5

Clock Multiplication and Division Each Cyclone V PLL provides clock synthesis for PLL output ports using the M/(N C) scaling factors The input clock is divided by a pre-scale factor, N, and is then multiplied by the M feedback factor The control loop drives the VCO to match f in (M/N) The Quartus software automatically chooses the appropriate scaling factors according to the input frequency, multiplication, and division values entered into the ALTERA_PLL megafunction Dr. D. J. Jackson Lecture 9-11 Counter and Divider Ranges Pre-Scale Counter, N and Multiply Counter, M Each PLL has one pre-scale counter, N, and one multiply counter, M, with a range of 1 to 512 for both M and N The N counter does not use duty-cycle control because the only purpose of this counter is to calculate frequency division The post-scale counters have a 50% duty cycle setting The high- and low count values for each counter range from 1 to 256. The sum of the high- and low-count values chosen for a design selects the divide value for a given counter Dr. D. J. Jackson Lecture 9-12 6

Counter and Divider Ranges Fractional Mode In fractional mode, the M counter divide value equals to the sum of the "clock high" count, "clock low count, and the fractional value The fractional value is equal to K/2^X, where K is an integer between 0 and (2^X 1), and X = 8, 16, 24, or 32 Integer Mode For PLL operating in integer mode, M is an integer value Dr. D. J. Jackson Lecture 9-13 Programmable Phase Shift The programmable phase shift feature allows the PLLs to generate output clocks with a fixed phase offset The VCO frequency of the PLL determines the precision of the phase shift. The minimum phase shift increment is 1/8 of the VCO period. For example, if a PLL operates with a VCO frequency of 1000 MHz, phase shift steps of 125 ps are possible The Quartus software automatically adjusts the VCO frequency according to the user-specified phase shift values entered into the megafunction Dr. D. J. Jackson Lecture 9-14 7

Programmable Duty Cycle The programmable duty cycle allows PLLs to generate clock outputs with a variable duty cycle This feature is supported on the PLL post-scale counters The duty-cycle setting is achieved by a low and high time-count setting for the post-scale counters To determine the duty cycle choices, the Quartus II software uses the frequency input and the required multiply or divide rate The post-scale counter value determines the precision of the duty cycle Dr. D. J. Jackson Lecture 9-15 Clock Networks The Cyclone V devices contain the following clock networks that are organized into a hierarchical structure: Global clock (GCLK) networks Regional clock (RCLK) networks Periphery clock (PCLK) networks On some Cyclone V devices (not on the Cyclone V on the DE0- CV board) Dr. D. J. Jackson Lecture 9-16 8

Clock Resources in Cyclone V Devices For the Cyclone V E A4 device Clock input pins 18 single-ended or 9 differential CLK[0..3][p,n], CLK[6][p,n], and CLK[8..11][p,n] pins CLOCK_50 is the CLK0p pin on the DE0-CV board GCLK and RCLK networks GCLK networks: 16 RCLK networks: 88 Clock sources: CLK[0..3][p,n], CLK[6][p,n], CLK[8..11][p,n] pins, PLL clock outputs, and logic array Dr. D. J. Jackson Lecture 9-17 Global Clock Networks Cyclone V devices provide GCLKs that can drive throughout the device The GCLKs serve as low-skew clock sources for functional blocks, such as adaptive logic modules (ALMs), embedded memory, and PLLs Cyclone V I/O elements (IOEs) and internal logic can also drive GCLKs to create internally-generated global clocks and other high fan-out control signals, such as synchronous or asynchronous clear and clock enable signals Dr. D. J. Jackson Lecture 9-18 9

GCLK Networks in Cyclone V E Dr. D. J. Jackson Lecture 9-19 Regional Clock Networks RCLK networks are only applicable to the quadrant they drive into RCLK networks provide the lowest clock insertion delay and skew for logic contained within a single device quadrant The Cyclone V IOEs and internal logic within a given quadrant can also drive RCLKs to create internally generated regional clocks and other high fan-out control signals Dr. D. J. Jackson Lecture 9-20 10

RCLK Networks in Cyclone V E Dr. D. J. Jackson Lecture 9-21 Clock Network Sources In Cyclone V devices, clock input pins, PLL outputs, highspeed serial interface (HSSI) outputs, and internal logic can drive the GCLK, RCLK, and PCLK networks Dedicated Clock Input Pins You can use the dedicated clock input pins (CLK[0..11][p,n]) for high fan-out control signals, such as asynchronous clears, presets, and clock enables, for protocol signals through the GCLK or RCLK networks CLK pins can be either differential clocks or single-ended clocks When you use the CLK pins as single ended clock inputs, only the CLK<#>p pins have dedicated connections to the PLL PLL Clock Outputs The Cyclone V PLL clock outputs can drive both GCLK and RCLK networks Dr. D. J. Jackson Lecture 9-22 11

Clock Control Block Every GCLK, RCLK, and PCLK network has its own clock control block The control block provides the following features: Clock source selection (dynamic selection available only for GCLKs) Global clock multiplexing Clock power down (static or dynamic clock enable or disable available only for GCLKs and RCLKs) Dr. D. J. Jackson Lecture 9-23 GCLK Control Block for Cyclone V Devices Dr. D. J. Jackson Lecture 9-24 12

Creating and Using a PLL Instance in Quartus Will create an altera_pll function instance using the Plug-In Manager Tools->IP Catalog->Library->Basic Functions-> Clocks; PLLs and Resets->PLL- >Altera PLL Will specify parameters for configuring the PLL to generate a certain frequency clock signal based on the 50MHz input clock on the DE0-CV board Dr. D. J. Jackson Lecture 9-25 Configuring an altpll Megafunction Dr. D. J. Jackson Lecture 9-26 13

Configuring an altera_pll Megafunction (continued) Generates mypll.vhd Additional Megawizard screens not shown here since they are not used in this example Default selections used for all screens not shown A Signal Tap II instance can be used to display the generated clock output Dr. D. J. Jackson Lecture 9-27 14