Implementing the Top Five Control-Path Applications with Low-Cost, Low-Power CPLDs

Similar documents
MAX II CPLD Applications Brochure

5. Using MAX V Devices in Multi-Voltage Systems

Configuration via Protocol (CvP) Implementation in Altera FPGAs User Guide

Nios II Performance Benchmarks

4. Hot Socketing and Power-On Reset in MAX V Devices

9. Hot Socketing and Power-On Reset in Stratix IV Devices

Using MAX II & MAX 3000A Devices as a Microcontroller I/O Expander

Real-Time ISP and ISP Clamp for Altera CPLDs

4. TriMatrix Embedded Memory Blocks in HardCopy IV Devices

Recommended Protocol Configurations for Stratix IV GX FPGAs

Using MAX 3000A Devices as a Microcontroller I/O Expander

MAX 10 User Flash Memory User Guide

FPGA Power Management and Modeling Techniques

Using the Nios Development Board Configuration Controller Reference Designs

Simulating the ASMI Block in Your Design

AN 547: Putting the MAX II CPLD in Hibernation Mode to Achieve Zero Standby Current

FPGAs Provide Reconfigurable DSP Solutions

11. SEU Mitigation in Stratix IV Devices

Dynamic Reconfiguration of PMA Controls in Stratix V Devices

9. Configuration, Design Security, and Remote System Upgrades in Stratix V Devices

Configuration via Protocol (CvP) Implementation in Altera FPGAs User Guide

System Debugging Tools Overview

13. Power Management in Stratix IV Devices

The Automotive-Grade Device Handbook

4K Format Conversion Reference Design

White Paper Low-Cost FPGA Solution for PCI Express Implementation

Configuration via Protocol (CvP) Implementation in Altera FPGAs User Guide

USING LOW COST, NON-VOLATILE PLDs IN SYSTEM APPLICATIONS

DSP Development Kit, Stratix II Edition

Implementing 9.8G CPRI in Arria V GT and ST FPGAs

EFEC20 IP Core. Features

MILITARY ANTI-TAMPERING SOLUTIONS USING PROGRAMMABLE LOGIC

White Paper Understanding 40-nm FPGA Solutions for SATA/SAS

Quartus II Software Version 10.0 SP1 Device Support

How FPGAs Enable Automotive Systems

Active Serial Memory Interface

System-on-a-Programmable-Chip (SOPC) Development Board

9. Configuration, Design Security, and Remote System Upgrades in Arria II Devices

Quartus II Software Version 11.0 SP1 Device Support

AN 558: Implementing Dynamic Reconfiguration in Arria II Devices

PCI Express Multi-Channel DMA Interface

NIOS II Processor Booting Methods In MAX 10 Devices

Matrices in MAX II & MAX 3000A Devices

ByteBlaster II Download Cable User Guide

QDR II SRAM Board Design Guidelines

MAX 10 FPGA Device Overview

White Paper The Need for a High-Bandwidth Memory Architecture in Programmable Logic Devices

Nios II Embedded Design Suite 6.1 Release Notes

White Paper Performing Equivalent Timing Analysis Between Altera Classic Timing Analyzer and Xilinx Trace

USB BitJetLite Download Cable

Board Update Portal based on Nios II Processor with EPCQ (Arria 10 GX FPGA Development Kit)

MAX 10 FPGA Device Overview

8. JTAG Boundary-Scan Testing in MAX V Devices

Quad-Serial Configuration (EPCQ) Devices Datasheet

Configuration via Protocol (CvP) Implementation in V-series FPGA Devices User Guide

Stratix vs. Virtex-II Pro FPGA Performance Analysis

Nios II Embedded Design Suite 7.1 Release Notes

Intel Stratix 10 Analog to Digital Converter User Guide

Intel MAX 10 User Flash Memory User Guide

3. ALTGX_RECONFIG IP Core User Guide for Stratix IV Devices

10. Configuration, Design Security, and Remote System Upgrades in Stratix IV Devices

10. Introduction to UniPHY IP

2.5G Reed-Solomon II MegaCore Function Reference Design

Using the Transceiver Reconfiguration Controller for Dynamic Reconfiguration in Arria V and Cyclone V Devices

Transient Voltage Protection for Stratix GX Devices

9. SEU Mitigation in Cyclone IV Devices

Customizable Flash Programmer User Guide

8. Introduction to UniPHY IP

ASMI Parallel II Intel FPGA IP Core User Guide

Errata Sheet for Cyclone V Devices

Altera ASMI Parallel II IP Core User Guide

Nios Soft Core Embedded Processor

FPGA Design Security Solution Using MAX II Devices

White Paper Taking Advantage of Advances in FPGA Floating-Point IP Cores

Stratix II vs. Virtex-4 Performance Comparison

ALTDQ_DQS2 Megafunction User Guide

Logic Optimization Techniques for Multiplexers

3. Serial Configuration Devices (EPCS1, EPCS4, EPCS16, EPCS64, and EPCS128) Data Sheet

White Paper Assessing FPGA DSP Benchmarks at 40 nm

FFT MegaCore Function User Guide

7. External Memory Interfaces in Stratix IV Devices

Nios Embedded Processor Development Board

Using the Serial FlashLoader With the Quartus II Software

Intel FPGA Voltage Sensor IP Core User Guide

Design Guidelines for Optimal Results in High-Density FPGAs

Increasing Productivity with Altera Quartus II to I/O Designer/DxDesigner Interface

Using the Serial FlashLoader with the Quartus II Software

MAX II/MAX IIZ Development Board

9. Cache and Tightly-Coupled Memory

Five Ways to Build Flexibility into Industrial Applications with FPGAs

Generic Serial Flash Interface Intel FPGA IP Core User Guide

White Paper Using the MAX II altufm Megafunction I 2 C Interface

Simple Excalibur System

Altera I/O Phase-Locked Loop (Altera IOPLL) IP Core User Guide

Nios Soft Core. Development Board User s Guide. Altera Corporation 101 Innovation Drive San Jose, CA (408)

Cyclone II FPGA Family

ByteBlaster II Parallel Port Download Cable

Digital Audio Broadcasting. Xilinx Solutions for DAB Receiver Systems

DDR & DDR2 SDRAM Controller Compiler

Partial Reconfiguration Solutions IP User Guide

Transcription:

Implementing the Top Five Control-Path Applications with Low-Cost, Low-Power CPLDs WP-01146-1.2 White Paper Since their introduction in the mid-1980s and across all end markets, CPLDs have been design engineers favorite choice for control path applications. Taking into account today s severe pressure to lower costs and power consumption, this white paper examines how Altera MAX V CPLDs provide solutions for the top five control-path applications. Introduction With their mix of low price, low power, and high performance, MAX V CPLDs deliver the market s best value. Featuring the industry s first LUT-based, non-volatile architecture and one of the largest CPLD densities, MAX V devices provide higher performance (up to 247.5 MHz) at up to 50 percent lower total power compared to competitive CPLDs. These features allow the following applications to be best served by CPLDs: I/O expansion Performs I/O decoding, which increases the available I/O capability of another standard device with efficiency and at a low cost. Interface bridging Translates bus protocols and voltages between incompatible devices at the lowest possible cost. Power management Manages the power-up sequencing and monitoring of other devices on the board. Configuration and initialization Controls the configuration or initialization of other devices on the board. Analog control Controls analog standard devices (light, sound, or motion) digitally via a pulse-width modulator (PWM), without needing a digital-to-analog converter (DAC). I/O Expansion Engineers like to reuse their favorite ASSPs across multiple end products. Since each ASSP has a fixed number of I/O pins and associated functions, this can be a problem if the next end product needs more I/Os or different functionality. By using a few general-purpose I/O pins, CPLDs decode and expand the I/O capability of standard products, allowing engineers to reuse their favorite ASSPs while adding new functionality at minimal cost. MAX V CPLDs, with flexible I/O capability and a selection of package options with a high number of I/Os and logic per package area, are an ideal complement to today s I/O pin-constrained ASSPs and microcontrollers. Some CPLD features that ease I/O expansion design challenges include: Low cost per I/O pin or I/O density per board area 101 Innovation Drive San Jose, CA 95134 www.altera.com 2011 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, HARDCOPY, MAX, MEGACORE, NIOS, QUARTUS and STRATIX are Reg. U.S. Pat. & Tm. Off. and/or trademarks of Altera Corporation in the U.S. and other countries. All other trademarks and service marks are the property of their respective holders as described at www.altera.com/common/legal.html. Altera warrants performance of its semiconductor products to current specifications in accordance with Altera s standard warranty, but reserves the right to make changes to any products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly agreed to in writing by Altera. Altera customers are advised to obtain the latest version of device specifications before relying on any published information and before placing orders for products or services. Februray 2011 Altera Corporation Feedback Subscribe

Page 2 I/O Expansion Flexible I/O banks and I/O options (i.e., supporting multiple voltages, Schmitt triggers, etc.) Reprogrammability to solve design-specific problems and last-minute changes Table 1 compares the I/Os and logic in MAX V CPLDs with competing products. Table 1. I/Os per mm 2 and Logic Density per mm 2 Comparison of Comparable Density CPLDs Vendor CPLD Family Device Altera MAX V EP5M40Z Altera MAX V EP5M40Z Xilinx CoolRunner II XC2C32 Xilinx CoolRunner II XC2C32 Lattice MachXO, MachXO2 Notes: Package/ Body Size (mm) 64-MBGA 4.5 x 4.5 64-EQFP 7 x 7 QF32 5 x 5 CP56 6 x 6 Available User I/Os (1) LUT-based CPLDs have been converted to equivalent macrocells, based on benchmark analysis. Figure 1 shows how a microcontroller with limited I/O capability can control many devices in a system by using only a two-wire serial bus. In this example, the MAX V CPLD interfaces to the serial bus input and then distributes instructions to control multiple devices (in this case, fan motor controllers). The MAX V CPLD s on-board oscillator can be used to periodically monitor for inactivity and shut-down the fans to conserve system power. Data can also be converted from parallel to serial, such as taking information from multiple analog-to-digital converters (ADC) and communicating it to the microcontroller via the serial bus. Figure 1. Expanding a Serial Bus Using MAX V CPLDs Available User Logic (1) I/Os per Package Area (mm 2 ) Logic per Package Area (mm 2 ) 30 ~32 1.48 1.58 54 ~32 1.10 0.65 21 32 0.84 1.28 33 32 0.92 0.89 No 32- or 64-macrocell devices available - - Microcontroller Serial Bus Oscillator PWM PWM Motor Controller Motor Controller ADC ADC Choosing the best microprocessor within a given processor family depends on many factors, including the number of available general-purpose I/Os. Choosing a lower I/O count microprocessor paired with a low-cost CPLD is often cheaper than a standalone microprocessor with higher I/O count. Figure 2 shows how MAX V CPLDs can control a large number of devices on the board with only a minimal number of inputs from the host processor. Implementing the Top Five Control-Path Applications with Low-Cost, Low-Power CPLDs Februray 2011 Altera Corporation

Interface Bridging Page 3 Figure 2. Minimizing Processor Costs by Distributing Control Signals via MAX V CPLDs UART Management Data I/O Bus LCD Controller Host Processor Serial Bus DC Drive Controller Touch-Sense Buttons Serial Bus Interface Bridging The number of bus protocols and voltage levels supported by ASSP and microcontroller vendors continues to expand. Simple and in-expensive translation between these interfaces is needed. MAX V CPLDs are designed to support many types of interface bridging applications, including Voltage-level shifting i.e., 3.3 V in, 1.8 V out Bus translation applications Convert proprietary interfaces to industry-standard protocols Multipoint bus bridging Serial-to-parallel and parallel-to-serial bus conversions Encryption Encrypts and decrypts data Figure 3 shows how designers can use MAX V CPLDs to implement a low-cost, lowpower LCD controller and interface to a LCD display. The boards may be physically separated via a flex cable or as part of a backplane configuration. As new LCD models become available, the LCD controller can be updated to accommodate new technical requirements for different screen sizes or proprietary interfaces. Thus the design engineer has the flexibility for real-time selection amongst LCD vendors based on the LCD s cost, power, and features. Februray 2011 Altera Corporation Implementing the Top Five Control-Path Applications with Low-Cost, Low-Power CPLDs

Page 4 Interface Bridging Figure 3. Implementing a Customizable LCD Controller Interface Using MAX V CPLDs MPU LCD LCD Interface I 2 C LCD Translation I 2 C LCD Interface QVGA 60 Hz I 2 C I/O Expansion Flex Cable Figure 4 depicts how MAX V CPLDs can function as a crosspoint switch to enable multipoint connections. Using programmable logic in this application enables the greatest flexibility to match the requirements of any specific design. In this application, the logic in the MAX V CPLD is divided into three major blocks: Switch matrix Connects any input to any output Configuration register Reconfigures connections during operation Address decoder Decodes the output addresses of the configuration Figure 4. Multipoint Connections Using a MAX V CPLD Memory ASSP Microcontroller FPGA Interface bridging requires a large number of I/O pins to support the bus interfacing, but not a lot of logic. MAX V CPLDs offer a high I/O count and a low logic ratio that provides engineers with the lowest possible cost per I/O pin. For applications needing more complex logic functions along with high I/O counts, Altera s Cyclone series of FPGAs may offer better cost per logic than CPLDs. Implementing the Top Five Control-Path Applications with Low-Cost, Low-Power CPLDs Februray 2011 Altera Corporation

Power Management Page 5 Power Management As board density and the number of power planes on a board increase, the complexity of the power management also increases. Various power management tasks include multi-voltage system power-up, system reset, chip-select generation, and real-time monitoring. MAX V CPLDs have the features and density to integrate all these functions, including the following, into a single non-volatile, instant-on device: Instant-on Allows MAX V CPLDs to power up first (in 500 s or less) and then manage the start-up sequences for other devices. MultiVolt Allows a designer to select the most convenient I/O voltage for the power management interface: 3.3-, 2.5-, 1.8-, 1.5- or 1.2-Volt. Internal oscillator Useful for periodic monitoring the status of various power planes, associated power supplies, and downstream devices User flash memory (UFM) Non-volatile storage captures system information for debug and diagnostic. Hot socket compliance Allows CPLDs to be plugged into and out of a live system without damage, an optimal solution for controlling the power management of plug-in boards. Analog interface Allows PWM to interface with various analog standard products, such as temperature, pressure, and voltage sensors. Figure 5 illustrates a typical MAX V CPLD power-management application. Because multiple power rails support different devices, a control logic is needed to manage the complete power-up sequence of each device. To ensure that accidental driving of these signals does not occur during power up, the MAX V CPLD is also used to control critical bus signals until the power up is complete. The JTAG port monitors the power-up sequence, storing errors and information upon power up. The port can also be used to set break points in the power-up sequencing, which is useful during the debug phase. Figure 5. Multi-Voltage System Power-Up Management Using a MAX II CPLD 1.8 V 2.5 V 3.3 V Programmable Power Supply JTAG Status LEDs PWM Chip Select Chip Select Chip Select System Temperature Sensor CPU 2.5 V FPGA 1.8 V ASSP 3.3 V Bus Februray 2011 Altera Corporation Implementing the Top Five Control-Path Applications with Low-Cost, Low-Power CPLDs

Page 6 Configuration and Initialization As shown in Figure 6, the MAX V CPLD can also monitor the addition or removal of boards to the backplane. The high-current CPLD I/O enables LEDs to directly indicate which boards are plugged in, while the user flash memory can log this information for debug/diagnostic purposes. Figure 6. Board Swapping Management and Monitoring Board UFM Board Board Status LEDs Configuration and Initialization CPLDs are commonly used to manage the configuration or initialization of other volatile devices. Examples of components that require configuration or initialization include FPGAs, digital signal processors, ASSPs, ASICs, and discrete flash memories. MAX V CPLDs fast instant-on performance powers-up first and then manages the configuration and initialization of the other devices. Real-time ISP allows the MAX V CPLD to function while downloading and storing a second programming bitstream, reducing system downtime. The reprogramming occurs immediately or at the next power-up scheduled by the user. To simply program the discrete flash memory or FPGA device configuration, Altera provides the Parallel Flash Loader IP. As shown in Figure 7, the initial step of the configuration application demonstrates the flash programming application. This function configures the flash device using JTAG via the CPLD s JTAG pins. Non- JTAG-compliant flash memory devices can also be configured using the Parallel Flash Loader IP. Figure 7. FPGA Configuration Management and Flash Controller Using a MAX VCPLD Discrete Flash Device Automatic Test Equipment JTAG Interface 2 1 Parallel Flash Loader FPGA FPGA Implementing the Top Five Control-Path Applications with Low-Cost, Low-Power CPLDs Februray 2011 Altera Corporation

Analog Control Page 7 The second step of the configuration application uses the newly programmed discrete flash memory to configure one or more FPGAs. This is a cost-effective, flexible solution utilizing any shared, low-cost flash memory device on a system board. As the highest density CPLDs available, MAX V devices support extremely complex configurations, including those having multiple pages within the flash memory to program the FPGA with many different functions. 1 For further information regarding the Parallel Flash Loader IP, refer to Altera s application note, Using the MAX II Parallel Flash Loader with the Quartus II Software. Analog Control The LUT-based logic architecture, high drive-strength I/Os, and internal oscillator of MAX V CPLDs enable a direct connection to various analog standard products via a PWM interface. This can eliminate the need for a DAC and allow for very precise control of analog products, including: Lighting LED blinking or back-light intensity Motion Various types of motors and servos Sensors Pressure, temperature, voltage, etc. Sound Speakers, etc. Finely tuned digital control of analog products can help to reduce the power consumption of these analog functions. Conclusion The architecture and features offered by the MAX V family allow the top five CPLD applications described in this white paper to be implemented in a single low-cost, low-power CPLD. MAX V devices are therefore ideal for the next design no matter the market segment: wireline, wireless, industrial, consumer, computer/storage, automotive, broadcast, or military. The CPLD market-share leader, Altera has a track record of ramping to high volume quickly and supporting OEMs with devices that have long life cycles. Februray 2011 Altera Corporation Implementing the Top Five Control-Path Applications with Low-Cost, Low-Power CPLDs

Page 8 Further Information Further Information Acknowledgements Document Revision History Table 2. Document Revision History MAX V CPLDs: Cool Value: www.altera.com/products/devices/cpld/max-v/mxv-index.jsp Literature: MAX V Devices: www.altera.com/literature/lit-max-v.jsp Using the MAX II Parallel Flash Loader with the Quartus II Software: www.altera.com/literature/an/an386.pdf Thomas Schulte, Senior Product Marketing Manager, Low-Cost Products, Altera Corporation Table 2 shows the revision history for this document. Date Version Changes February 2011 1.2 Minor text edit. January 2011 1.1 Minor text edits. December 2010 1.0 Initial release. Implementing the Top Five Control-Path Applications with Low-Cost, Low-Power CPLDs Februray 2011 Altera Corporation