Programmable Logic Devices: CPLDs and FPGAs with VHDL Design

Slides:



Advertisements
Similar presentations
FPGA (Field Programmable Gate Array)
Advertisements

Introduction to Programmable Logic John Coughlan RAL Technology Department Electronics Division.
EELE 367 – Logic Design Module 2 – Modern Digital Design Flow Agenda 1.History of Digital Design Approach 2.HDLs 3.Design Abstraction 4.Modern Design Steps.
Programmable Logic Devices
©2004 Brooks/Cole FIGURES FOR CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES Click the mouse to move to the next page. Use the ESC key.
Multiplexers, Decoders, and Programmable Logic Devices
ECE 331 – Digital System Design Tristate Buffers, Read-Only Memories and Programmable Logic Devices (Lecture #16) The slides included herein were taken.
EET 1131 Unit 4 Programmable Logic Devices  Read Kleitz, Chapter 4.  Homework #4 and Lab #4 due next week.  Quiz next week.
Programmable Array Logic (PAL) Fixed OR array programmable AND array Fixed OR array programmable AND array Easy to program Easy to program Poor flexibility.
ALTERA UP2 Tutorial 1: The 15 Minute Design. Figure 1.1 The Altera UP 1 CPLD development board. ALTERA UP2 Tutorial 1: The 15 Minute Design.
EET 252 Unit 5 Programmable Logic: FPGAs & HDLs  Read Floyd, Sections 11-5 to  Study Unit 5 e-Lesson.  Do Lab #5.  Lab #5a due next week. 
Chapter 4 Programmable Logic Devices: CPLDs with VHDL Design Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights.
EET 252 Unit 4 Programmable Logic: SPLDs & CPLDs  Read Floyd, Sections 11-1 to  Study Unit 4 e-Lesson.  Do Lab #4.  Homework #4 and Lab #4 due.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
PROGRAMMABLE LOGIC DEVICES (PLD)
Memory and Programmable Logic Memory device: Device to which binary information is transferred for storage, and from which information is available for.
Galen SasakiEE 260 University of Hawaii1 Electronic Design Automation (EDA) EE 260 University of Hawaii.
Chapter 4 Programmable Logic Devices: CPLDs with VHDL Design Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights.
Field Programmable Gate Arrays (FPGAs) An Enabling Technology.
Introduction to Chapter 3  Now that we understand the concept of binary numbers, we will study ways of describing how systems using binary logic levels.
Chapter 0 deSiGn conCepTs EKT 221 / 4 DIGITAL ELECTRONICS II.
ECE 3110: Introduction to Digital Systems Introduction (Contd.)
Chapter 0 - reVieW Combinational Logic Circuit, Combinational Logic Circuit, Propagation Delay, Propagation Delay, Programmable Logic. Programmable Logic.
Floyd Digital Fundamentals, 9/e Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Slide 1 Digital Fundamentals.
COE4OI5 Engineering Design Chapter 1: The 15 minutes design.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
1 Multiplexers (Data Selectors) A multiplexer (MUX) is a device that allows several low-speed signals to be sent over one high-speed output line. “Select.
FIGURES FOR CHAPTER 16 SEQUENTIAL CIRCUIT DESIGN
Gunjeet Kaur Dronacharya Group of Institutions. Outline Introduction Random-Access Memory Memory Decoding Error Detection and Correction Programmable.
Programmable Logic Devices
SUBJECT : DIGITAL ELECTRONICS CLASS : SEM 3(B) TOPIC : INTRODUCTION OF VHDL.
Introduction to the FPGA and Labs
This chapter in the book includes: Objectives Study Guide
EET 1131 Unit 4 Programmable Logic Devices
ETE Digital Electronics
Digital Design Lecture 14
CHAPTER 16 SEQUENTIAL CIRCUIT DESIGN
Sequential Programmable Devices
Sequential Logic Design
EGR 2131 Unit 4 Combinational Circuits: Analysis & Design
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Combinational Logic Design
Programmable Logic Device Architectures
Figure 1.1 The Altera UP 1 CPLD development board.
This chapter in the book includes: Objectives Study Guide
Engr. Micaela Renee Bernardo
Programmable Logic Devices
Introduction to Programmable Logic
ECE 4110–5110 Digital System Design
Overview The Design Space Programmable Implementation Technologies
Electronics for Physicists
Dr. Clincy Professor of CS
This chapter in the book includes: Objectives Study Guide
Field Programmable Gate Array
Figure 3.1 Digital logic technologies.
Chapter 13 – Programmable Logic Device Architectures
Figure 5. 1 An example of AND-OR logic
The architecture of PAL16R8
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Introduction to Programmable Logic Devices
Dr. Clincy Professor of CS
Digital Fundamentals Tenth Edition Floyd Chapter 11.
EEE2243 Digital System Design Chapter 9: Advanced Topic: Physical Implementation by Muhazam Mustapha extracted from Frank Vahid’s slides, May 2012.
EET 1131 Unit 4 Programmable Logic Devices
"Computer Design" by Sunggu Lee
PROGRAMMABLE LOGIC DEVICES (PLD) UNIT-IV
FIGURE 5-1 MOS Transistor, Symbols, and Switch Models
Digital Designs – What does it take
EET 1131 Unit 4 Programmable Logic Devices
Programmable logic and FPGA
Presentation transcript:

Programmable Logic Devices: CPLDs and FPGAs with VHDL Design Chapter 4 Programmable Logic Devices: CPLDs and FPGAs with VHDL Design

Objectives You should be able to: Explain the benefits of using PLDs. Describe the PLD design flow. Understand the differences among PAL, PLA, SPLD, CPLD, FPGA, and ASIC.

Objectives (Continued) Explain how a graphic editor and a VHDL text editor are used to define logic to a PLD. Interpret the output of a simulation file to describe logic operations. Interpret VHDL code for the basic logic gates.

PLD Design Flow PLD (Programmable Logic Device) Contains thousands of basic logic gates in a single package Capable of performing advanced sequential functions Must be configured to perform a specific function

PLD Design Flow Computer-aided design (CAD) is used to draw the schematic. Schematic Capture converts to a binary file. Program uses the file to alter PLD internal connections, implementing the desired function. VHDL - VHSIC Hardware Description Language VHSIC - Very High Speed Integrated Circuit

PLD Design Flow Define the problem Develop the equations Enter the design Simulate the input/output conditions Program the PLD Test the final programmed PLD

PLD Design Flow Implementing the equation X = AB + B + C using 7400-series logic ICs See Figure 4-3 Implementing the same equation using a PLD See Figure 4-4

PLD Design Flow Implementing the equation X = AB + B + C using a PLD.

PLD Architecture SPLD (Simple Programmable Logic Device) Four basic types: SPLDs, CPLDs, FPGAs, and ASICs Most basic and least expensive Configurable logic gates Programmable interconnection points Memory flip-flops Typically 16 inputs plus complements and10 outputs AND gate outputs called product terms

PLD Architecture PAL (Programmable Array Logic) Gives sum-of-products form Uses fixed-input OR gates PLA (Programmable Logic Array) Uses programmable-input OR gates Flip-flop memory section Data steering circuitry

PLD Architecture PAL16L8 is a typical PAL device The number 16 means 16 inputs The number 8 means 8 outputs The letter L means outputs are active LOW

PLD Architecture CPLD (Complex Programmable Logic Device) Combines several PAL-type SPLDs into a single package Nonvolatile – memory is not lost when power is removed Can be repeatedly programmed to implement different functions

PLD Architecture FPGA (Field-Programmable Gate Array) Uses a look-up table (LUT) – a truth table listing all possible input/output combinations. More dense and faster than CPLDs Volatile – programming is lost when power is removed. Must be reprogrammed each time power is applied The Altera Cyclone series is a good example

PLD Architecture ASIC stands for application-specific integrated circuit. Used for large quantity demand After testing on FPGA design is transferred to ASIC. Nonvolatile so programming not lost when power is removed. Can be pin compatible with FPGA

Using PLDs to Solve Basic Logic Designs Schematic editor Connect pre-defined logic symbols VHDL editor Define the logic Compiler Language and symbol translation program Waveform simulator To check the logic operation

Using PLDs to Solve Basic Logic Designs Flow of operations to design, simulate, and program an FPGA.

Using PLDs to Solve Basic Logic Designs Screen display of a block editor file generated by Quartus II software for a two-input AND gate. Inputs, outputs, and circuit logic are defined simply by drawing the diagram

Using PLDs to Solve Basic Logic Designs Screen display of a VHDL text editor file for a two-input AND gate. Divided into library declaration, entity declaration, and architecture body.

Using PLDs to Solve Basic Logic Designs Screen display of a Quartus II simulation waveform file for a two-input AND gate.

Altera’s Quartus II Tutorial Start the Quartus II software and prepare to implement the Boolean equation X = AB +CD.

Altera’s Quartus II Tutorial Create a new project Create a block design file (bdf) Draw the digital logic for the Boolean equation Make the circuit connections Compile the project

Altera’s Quartus II Tutorial Create a vector waveform file (vwf) Add inputs and outputs to the waveform display Create timing waveforms for the inputs Perform a functional simulation of the x-output

Altera’s Quartus II Tutorial Use the Altera development and education board to program an FPGA. Assign pins Recompile the project Program the FPGA Test the logic Use the VHDL text editor to recreate the design used in the block design.

Summary Programmable Logic Devices can be used to replace 7400-series and 4000-series ICs. They contain the equivalent of thousands of logic gates. Computer-Aided Design (CAD) tools are used to configure them to implement the desired logic.

Summary The two most common methods of PLD design entry are schematic entry and VHDL entry. To use schematic entry the designer uses CAD tools to draw the logic that needs to be implemented. To use VHDL entry the designer uses a text editor to write program descriptions defining the logic to be implemented.

Summary PLD design software usually includes a logic simulator. This feature allows the user to simulate levels to be input to the PLD and shows the output simulation to those input conditions. Most PLDs are erasable and reprogrammable. This allows the user to test many versions of their logic design without ever changing ICs.

Summary Basically there are four types of PLDs: SPLDs, CPLDs, FPGAs, and ASICs. SPLDs use the PAL or PLA architecture. They consist of several multi-input AND gates whose inputs feed the inputs to OR gates and memory flip-flops.

Summary The CPLD consists of several interconnected SPLDs. The FPGA is the most dense form of PLD. It uses a look-up table to determine the desired output. ASICs are equivalent to FPGAs but their logic is hard-coded.