SlideShare a Scribd company logo
1 of 26
EET 3350 Digital Systems Design

    Textbook: John Wakerly
         Chapter 9: 9-5


            CPLDs



                                  1
CPLDs
• Overview of FPLDs
  – History
  – Tradeoffs
• CPLDs
  – General Description
  – Basic Architecture
• Specific Vendor Devices
  – Xilinx
  – Altera
• Xilinx XC9500 Series
• CPLD Problems


                              2
Hierarchy of Logic Implementations

                                 Logic


         Standard
                                                        ASIC
           Logic


today’s focus                Programmable
                             Logic Devices     Gate            Cell-Based        Full Custom
                               (FPLDs)        Arrays               ICs                ICs



               SPLDs            CPLDs
            (e.g., PALs)                          FPGAs



    Acronyms                                    Common Resources
    SPLD = Simple Programmable Logic Device     Configurable Logic Blocks (CLB)
    PAL = Programmable Array Logic                     – Memory Look-Up Table (LUT)
    CPLD = Complex PLD                                 – AND-OR planes
                                                       – Simple gates
    FPGA = Field Programmable Gate Array
                                                Input / Output Blocks (IOB)
    ASIC = Application Specific IC                     – Bidirectional, latches, inverters,
                                                         pullup/pulldowns
                                                Interconnect or Routing
                                                       – Local, internal feedback, and global
                                                                                                3
Field-Programmable Logic Devices
• Component function is defined by user under program
  control
• Logic Cells are interconnected by programming
• Advantages:
  – Flexible design that changes by
    reprogramming, ease of design
    changes
  – Reduce prototype-product time
  – Large scale integration (over
    100,000 gates)
  – Reliability increased, low financial
    risk
  – Smaller device, low start-up cost


                                                    4
FPLD Capacities

• “Equivalent gates” refers
  loosely to the number of two-
  input NAND gates.
• The chart serves as a guide
  for selecting a device for an
  application according to the
  logic capacity needed.
• Each type of FPLD is
  inherently better suited for
  some applications than for
  others.


                                  5
Digital Technology Tradeoffs




       S




                               6
Which Implementation Technology?
• Economic versus technical factors
  – The next few slides off a comparison of economic and
    technical factors associated with these technologies

 standard
components



                     CPLD      Gate      Std.     Full
 SSI/MSI     SPLD
                     FPGA      Array     Cell    Custom



                       semicustom
                       technologies

                                                           7
Comparison of Implementations
• The table below offers a comparison of the major
  implementation technologies over four key factors


                                                           Gate         Standard       Full
                        SSI/MSI        SPLD      FPGA
                                                           Array          Cell        Custom


 Gates/Component    5 - 100          50 - 5K   100 - 10K   500 - 100K   10K - 500K   100K - 10M




 Cost/Gate
                              High                                                   Low

 NRE Cost ($)       -                1-2K      2-10K       5-50K        10-100K      50K-5M




 Development time   -                1-2       1-2         2-20         5-50         20-200
 (weeks)



                                                                                              8
Comparison of Implementations

             Circuit Cost As A Function Of Volume




Cost

                                                    Discrete


                                                    Full custom

                     Volume


                                                         9
Evolution of Implementations
• CPLDs and FPGAs continue to evolve in parallel
                 ‘standard
        1960    components’

                   SSI                  ‘semicustom
                                        components’
        1970       MSI
                               Gate Array
                                               Simple PLD
                   LSI        Standard Cells
        1980

                  VLSI                         CPLD    FPGA
        1990


        2000
                                                  parallel
                                                development
        Today
                                                              10
Three FPLD Types
• Simple Programmable Logic Device (SPLD)
  – LSI device
  – Less than 1000 logic gates
• Complex Programmable Logic Device (CPLD)
  – VLSI device
  – Higher logic capacity than SPLDs
• Field Programmable Gate Array (FPGA)
  – VLSI device
  – Higher logic capacity than CPLDs

                                                      Programmable
                                                      Logic Devices
                                                         (FPLDs)




                                          SPLDs          CPLDs             FPGAs
                                       (e.g., PALs)


                                                                      11
Three FPLD Types
• Simple Programmable Logic Device (SPLD)
  – PLA or PAL
  – Fixed internal routing, deterministic propagation delays
• Complex Programmable Logic Device (CPLD)
  – Multiple SPLDs onto a single chip
  – Programmable interconnect
• Field Programmable Gate Array (FPGA)
  – An array of logic blocks
  – Large number of gates, user selectable interconnection,
    delays depending on design and routing
                                                        Programmable
  – A high ratio of flip-flops to logic resources       Logic Devices
                                                           (FPLDs)




                                            SPLDs          CPLDs             FPGAs
                                         (e.g., PALs)


                                                                        12
SPLDs
• SPLDs = Simple PLDs
• Popular SPLD Architecture Types
  – Programmable Logic Array, PLA
  – Programmable Array Logic, PAL (Vantis)
  – General Array Logic, GAL (Lattice)
  – others
• Architecture Differences
  – AND versus OR implementation
  – Programmability (e.g., EE)
  – Fundamental logic block                       Programmable
                                                  Logic Devices
                                                     (FPLDs)




                                      SPLDs          CPLDs             FPGAs
                                   (e.g., PALs)


                                                                  13
SPLDs
                                   • We have already taken a close
                                     look at SPLDs
                                   • A PLA-like SPLD is illustrated
                                     at left
                                     – PAL and GAL devices offered a
                Logic Functions
                                       somewhat better solution
                                   • SPLDs are good alternative to
                   Sums
                                     using SSI and MSI devices
                                     – Especially if re-programmable

                                                             Programmable
                                                             Logic Devices
                                                                (FPLDs)

Product Terms

                                                 SPLDs          CPLDs             FPGAs
                                              (e.g., PALs)


                                                                             14
SPLDs
• Conventional programmable logic
  – PALs, PLAs, GALs
  – standard parts like GAL22V10 and PAL16R4 are available from
    multiple vendors
• Includes programmable logic cells to a limited degree
  (programming options in I/O cells, may have fixed
  AND/OR gates for logic), limited routing network
• Lowest density of all programmable devices, however,
  can offer very high performance
• SPLDs have nearly replaced
  TTL logic which was the                               Programmable
                                                        Logic Devices

  dominate approach to logic                               (FPLDs)



  implementation                        SPLDs              CPLDs             FPGAs
                                         (e.g., PALs)


                                                                        15
How to Expand SPLD Architecture?
• Increase number of inputs and outputs in a
  conventional PLD?
  – e.g., 16V8 → 20V8 → 22V10
  – Why not → 32V16 → 128V64 ?
• Problems:
  – n times the number of inputs and outputs requires n2 as
    much chip area – too costly
  – logic gets slower as number of inputs to AND array
    increases

                                                       Programmable
                                                       Logic Devices
                                                          (FPLDs)




                                           SPLDs          CPLDs             FPGAs
                                        (e.g., PALs)


                                                                       16
How to Expand SPLD Architecture?
• Solution:
  – Multiple SPLDs with a relatively small programmable
    interconnect
  – Less general than a single large PLD
  – Can use software “fitter” to partition into smaller PLD blocks




                                                        Programmable
                                                        Logic Devices
                                                           (FPLDs)



      CPLD Architecture
                                            SPLDs          CPLDs             FPGAs
                                         (e.g., PALs)


                                                                        17
CPLDs
• PALs and GALs are available only in small sizes
  – equivalent to a few hundred logic gates
• For bigger logic circuits, complex PLDs or CPLDs can
  be used.
• CPLDs contain the equivalent of several PALs/GALs
  – linked by programmable interconnections
  – all in one integrated circuit (IC)
• CPLDs can replace thousands, or even hundreds of
  thousands, of individual logic gates
  – increased integration density

                                                             Programmable
                                                             Logic Devices
                                                                (FPLDs)




                                                 SPLDs          CPLDs             FPGAs
                                              (e.g., PALs)


                                                                             18
Complex PLDs
• Some CPLDs are programmed using a PAL
  programmer, but this method becomes inconvenient
  for devices with hundreds of pins.
• A second method of programming is to solder the
  device to its printed circuit board, then feed it with a
  serial data stream from a personal computer.
• The CPLD contains a circuit that decodes the data
  stream and configures the CPLD to perform its
  specified logic function.

                                                       Programmable
                                                       Logic Devices
                                                          (FPLDs)




                                           SPLDs          CPLDs             FPGAs
                                        (e.g., PALs)


                                                                       19
Complex PLDs
• Each manufacturer has a proprietary name for its
  CPLD programming system
• For example, Lattice calls it "in-system programming"
• However, these proprietary systems are beginning to
  give way to a standard from the Joint Test Action
  Group (JTAG)




                                                    Programmable
                                                    Logic Devices
                                                       (FPLDs)




                                        SPLDs          CPLDs             FPGAs
                                     (e.g., PALs)


                                                                    20
Complex PLDs versus FPGAs
• Xilinx, for example:
• Xilinx CPLD devices that are cheaper and have fewer
  gates than Xilinx FPGAs
• Meant for interfacing rather than heavy computation
• Built-in flash memory
  – Compare to FPGA which needs external configuration
    memory
• Xess board has XC9572XL part
  – Approximately $2-$7 in quantities of one
  – vs. ~$15-20 for the Spartan2 FPGA on the board
  – Larger quantities much lower
  – 1600 gates, 72 registers
                                                     Programmable
                                                     Logic Devices
                                                        (FPLDs)




                                         SPLDs          CPLDs             FPGAs
                                      (e.g., PALs)


                                                                     21
CPLD Architecture
• Simplified CPLD
  architecture
• Small number of largish
  PLDs (e.g., “36V18”) on a
  single chip
• Programmable
  interconnect between
  PLDs
• Large number of I/O
  blocks
• Large number of pins



                                  22
CPLD Architecture
• Generalized
  architecture for a
  complex PLD
• Programmable
  Interconnect Array
  – Capable of
    connecting any LAB
    input or output to any
    other LAB
• Logic Array Blocks
  – Complex SPLD-like
    structure                                Programmable
                                             Logic Devices
                                                (FPLDs)

• Input/Output Blocks
                                 SPLDs          CPLDs             FPGAs
                              (e.g., PALs)


                                                             23
CPLD Architecture
                              • Each of the SPLD-like blocks in
                                a CPLD can be programmed as
                                with a PAL or GAL
                              • Many SPLD-like blocks (e.g.,
                                LABs) are included in one CPLD
Feedback Outputs              • LABs can be interconnected to
                                build larger logic systems



                                                        Programmable
                                                        Logic Devices
                                                           (FPLDs)




                                            SPLDs          CPLDs             FPGAs
   CPLD Architecture                     (e.g., PALs)


                                                                        24
CPLDs
• Composition of Complex PLDs
  – typically composed of 2-64 SPLDs
  – interconnected using sophisticated logic
  – includes macrocells (more about these later)
  – includes input/output blocks
• Economical for designing large systems
• Fast – switching speed



                                                      Programmable
                                                      Logic Devices
                                                         (FPLDs)




                                          SPLDs          CPLDs             FPGAs
                                       (e.g., PALs)


                                                                      25
CPLDs
• Complex PLD's have arrays of PLD's on one chip, with
  an interconnection matrix connecting them.
• Timing performance can be more predictable than
  FPGAs because of simpler interconnect structure.
• Density is normally less than most FPGAs (although
  high end CPLDs will have about the same density as
  low-end FPGAs).
• Performance of CPLDs is
  usually better than FPGAs,
  but depends on vendor,
  number of cells in CPLD, and                    Programmable
                                                  Logic Devices
                                                     (FPLDs)

  compared FPGA.
                                      SPLDs          CPLDs             FPGAs
                                   (e.g., PALs)


                                                                  26

More Related Content

What's hot

Complex Programmable Logic Device (CPLD) Architecture and Its Applications
Complex Programmable Logic Device (CPLD) Architecture and Its ApplicationsComplex Programmable Logic Device (CPLD) Architecture and Its Applications
Complex Programmable Logic Device (CPLD) Architecture and Its Applicationselprocus
 
1. FPGA architectures.pdf
1. FPGA architectures.pdf1. FPGA architectures.pdf
1. FPGA architectures.pdfTesfuFiseha1
 
Simulation power analysis low power vlsi
Simulation power analysis   low power vlsiSimulation power analysis   low power vlsi
Simulation power analysis low power vlsiGargiKhanna1
 
Fundamentals of FPGA
Fundamentals of FPGAFundamentals of FPGA
Fundamentals of FPGAvelamakuri
 
Layout & Stick Diagram Design Rules
Layout & Stick Diagram Design RulesLayout & Stick Diagram Design Rules
Layout & Stick Diagram Design Rulesvarun kumar
 
Hardware description languages
Hardware description languagesHardware description languages
Hardware description languagesAkhila Rahul
 
Programmable Logic Devices Plds
Programmable Logic Devices PldsProgrammable Logic Devices Plds
Programmable Logic Devices PldsGaditek
 
Synchronous and asynchronous reset
Synchronous and asynchronous resetSynchronous and asynchronous reset
Synchronous and asynchronous resetNallapati Anindra
 
Phase-locked Loops - Theory and Design
Phase-locked Loops - Theory and DesignPhase-locked Loops - Theory and Design
Phase-locked Loops - Theory and DesignSimen Li
 
Verilog Tasks & Functions
Verilog Tasks & FunctionsVerilog Tasks & Functions
Verilog Tasks & Functionsanand hd
 
FPGAs : An Overview
FPGAs : An OverviewFPGAs : An Overview
FPGAs : An OverviewSanjiv Malik
 
Field Programmable Gate Array: Building Blocks and Interconnections
Field Programmable Gate Array: Building Blocks and InterconnectionsField Programmable Gate Array: Building Blocks and Interconnections
Field Programmable Gate Array: Building Blocks and InterconnectionsDr. Saravanakumar Umathurai
 
Sequential circuits in digital logic design
Sequential circuits in digital logic designSequential circuits in digital logic design
Sequential circuits in digital logic designNallapati Anindra
 

What's hot (20)

Complex Programmable Logic Device (CPLD) Architecture and Its Applications
Complex Programmable Logic Device (CPLD) Architecture and Its ApplicationsComplex Programmable Logic Device (CPLD) Architecture and Its Applications
Complex Programmable Logic Device (CPLD) Architecture and Its Applications
 
Vlsi design flow
Vlsi design flowVlsi design flow
Vlsi design flow
 
1. FPGA architectures.pdf
1. FPGA architectures.pdf1. FPGA architectures.pdf
1. FPGA architectures.pdf
 
Simulation power analysis low power vlsi
Simulation power analysis   low power vlsiSimulation power analysis   low power vlsi
Simulation power analysis low power vlsi
 
TMS320C5x
TMS320C5xTMS320C5x
TMS320C5x
 
Fundamentals of FPGA
Fundamentals of FPGAFundamentals of FPGA
Fundamentals of FPGA
 
Cpld fpga
Cpld fpgaCpld fpga
Cpld fpga
 
Layout & Stick Diagram Design Rules
Layout & Stick Diagram Design RulesLayout & Stick Diagram Design Rules
Layout & Stick Diagram Design Rules
 
VLSi
VLSiVLSi
VLSi
 
Hardware description languages
Hardware description languagesHardware description languages
Hardware description languages
 
Programmable Logic Devices Plds
Programmable Logic Devices PldsProgrammable Logic Devices Plds
Programmable Logic Devices Plds
 
Asic design
Asic designAsic design
Asic design
 
FPGA
FPGAFPGA
FPGA
 
Vlsi Synthesis
Vlsi SynthesisVlsi Synthesis
Vlsi Synthesis
 
Synchronous and asynchronous reset
Synchronous and asynchronous resetSynchronous and asynchronous reset
Synchronous and asynchronous reset
 
Phase-locked Loops - Theory and Design
Phase-locked Loops - Theory and DesignPhase-locked Loops - Theory and Design
Phase-locked Loops - Theory and Design
 
Verilog Tasks & Functions
Verilog Tasks & FunctionsVerilog Tasks & Functions
Verilog Tasks & Functions
 
FPGAs : An Overview
FPGAs : An OverviewFPGAs : An Overview
FPGAs : An Overview
 
Field Programmable Gate Array: Building Blocks and Interconnections
Field Programmable Gate Array: Building Blocks and InterconnectionsField Programmable Gate Array: Building Blocks and Interconnections
Field Programmable Gate Array: Building Blocks and Interconnections
 
Sequential circuits in digital logic design
Sequential circuits in digital logic designSequential circuits in digital logic design
Sequential circuits in digital logic design
 

Viewers also liked

UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONSUNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONSDr.YNM
 
VHDL - Enumerated Types (Part 3)
VHDL - Enumerated Types (Part 3)VHDL - Enumerated Types (Part 3)
VHDL - Enumerated Types (Part 3)Abhilash Nair
 
Introduction to VHDL - Part 1
Introduction to VHDL - Part 1Introduction to VHDL - Part 1
Introduction to VHDL - Part 1Abhilash Nair
 
Sequential Circuits - Flip Flops
Sequential Circuits - Flip FlopsSequential Circuits - Flip Flops
Sequential Circuits - Flip FlopsAbhilash Nair
 
Field programable gate array
Field programable gate arrayField programable gate array
Field programable gate arrayNeha Agarwal
 
Static and Dynamic Read/Write memories
Static and Dynamic Read/Write memoriesStatic and Dynamic Read/Write memories
Static and Dynamic Read/Write memoriesAbhilash Nair
 
Vlsi ii project presentation
Vlsi ii project presentationVlsi ii project presentation
Vlsi ii project presentationRedwan Islam
 
Standard cells library design
Standard cells library designStandard cells library design
Standard cells library designBharat Biyani
 
Automatic test packet generation
Automatic test packet generationAutomatic test packet generation
Automatic test packet generationtusharjadhav2611
 
Low Power Design Approach in VLSI
Low Power Design Approach in VLSILow Power Design Approach in VLSI
Low Power Design Approach in VLSISilicon Mentor
 
ATPG Methods and Algorithms
ATPG Methods and AlgorithmsATPG Methods and Algorithms
ATPG Methods and AlgorithmsDeiptii Das
 

Viewers also liked (20)

MSI Shift Registers
MSI Shift RegistersMSI Shift Registers
MSI Shift Registers
 
CPLDs
CPLDsCPLDs
CPLDs
 
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONSUNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
 
VHDL - Enumerated Types (Part 3)
VHDL - Enumerated Types (Part 3)VHDL - Enumerated Types (Part 3)
VHDL - Enumerated Types (Part 3)
 
VHDL - Part 2
VHDL - Part 2VHDL - Part 2
VHDL - Part 2
 
Introduction to VHDL - Part 1
Introduction to VHDL - Part 1Introduction to VHDL - Part 1
Introduction to VHDL - Part 1
 
VHDL Part 4
VHDL Part 4VHDL Part 4
VHDL Part 4
 
Sequential Circuits - Flip Flops
Sequential Circuits - Flip FlopsSequential Circuits - Flip Flops
Sequential Circuits - Flip Flops
 
Field programable gate array
Field programable gate arrayField programable gate array
Field programable gate array
 
FPGA Introduction
FPGA IntroductionFPGA Introduction
FPGA Introduction
 
Static and Dynamic Read/Write memories
Static and Dynamic Read/Write memoriesStatic and Dynamic Read/Write memories
Static and Dynamic Read/Write memories
 
Vlsi ii project presentation
Vlsi ii project presentationVlsi ii project presentation
Vlsi ii project presentation
 
Applications of ATPG
Applications of ATPGApplications of ATPG
Applications of ATPG
 
Vlsi design-styles
Vlsi design-stylesVlsi design-styles
Vlsi design-styles
 
Standard cells library design
Standard cells library designStandard cells library design
Standard cells library design
 
Automatic test packet generation
Automatic test packet generationAutomatic test packet generation
Automatic test packet generation
 
FPLDs
FPLDsFPLDs
FPLDs
 
Project lfsr
Project lfsrProject lfsr
Project lfsr
 
Low Power Design Approach in VLSI
Low Power Design Approach in VLSILow Power Design Approach in VLSI
Low Power Design Approach in VLSI
 
ATPG Methods and Algorithms
ATPG Methods and AlgorithmsATPG Methods and Algorithms
ATPG Methods and Algorithms
 

Similar to EET 3350 Digital Systems Design Chapter 9: CPLDs Overview and Architecture

Similar to EET 3350 Digital Systems Design Chapter 9: CPLDs Overview and Architecture (20)

CPLD & FPLD
CPLD & FPLDCPLD & FPLD
CPLD & FPLD
 
1.CPLD SPLD.pdf
1.CPLD SPLD.pdf1.CPLD SPLD.pdf
1.CPLD SPLD.pdf
 
Programmable Devices En 01
Programmable Devices En 01Programmable Devices En 01
Programmable Devices En 01
 
L12_PROGRAMMABLE+LOGIC+DEVICES+(PLD).ppt
L12_PROGRAMMABLE+LOGIC+DEVICES+(PLD).pptL12_PROGRAMMABLE+LOGIC+DEVICES+(PLD).ppt
L12_PROGRAMMABLE+LOGIC+DEVICES+(PLD).ppt
 
L12 programmable+logic+devices+(pld)
L12 programmable+logic+devices+(pld)L12 programmable+logic+devices+(pld)
L12 programmable+logic+devices+(pld)
 
Programable logic devices (1)
Programable logic devices (1)Programable logic devices (1)
Programable logic devices (1)
 
Asic vs fpga
Asic vs fpgaAsic vs fpga
Asic vs fpga
 
FPGA Intro
FPGA IntroFPGA Intro
FPGA Intro
 
Cpld and fpga mod vi
Cpld and fpga   mod viCpld and fpga   mod vi
Cpld and fpga mod vi
 
ASIC VS FPGA.ppt
ASIC VS FPGA.pptASIC VS FPGA.ppt
ASIC VS FPGA.ppt
 
Lecture syn 024.cpld-fpga
Lecture syn 024.cpld-fpgaLecture syn 024.cpld-fpga
Lecture syn 024.cpld-fpga
 
Pld dp
Pld dpPld dp
Pld dp
 
SoC FPGA Technology
SoC FPGA TechnologySoC FPGA Technology
SoC FPGA Technology
 
Architecture of fpg as and cplds
Architecture of fpg as and cpldsArchitecture of fpg as and cplds
Architecture of fpg as and cplds
 
FPGA In a Nutshell
FPGA In a NutshellFPGA In a Nutshell
FPGA In a Nutshell
 
PLD's.pptx
PLD's.pptxPLD's.pptx
PLD's.pptx
 
Introduction to EDA Tools
Introduction to EDA ToolsIntroduction to EDA Tools
Introduction to EDA Tools
 
fpga1 - What is.pptx
fpga1 - What is.pptxfpga1 - What is.pptx
fpga1 - What is.pptx
 
Programmable logic device (PLD)
Programmable logic device (PLD)Programmable logic device (PLD)
Programmable logic device (PLD)
 
FPGA
FPGAFPGA
FPGA
 

More from Abhilash Nair

Designing Clocked Synchronous State Machine
Designing Clocked Synchronous State MachineDesigning Clocked Synchronous State Machine
Designing Clocked Synchronous State MachineAbhilash Nair
 
Feedback Sequential Circuits
Feedback Sequential CircuitsFeedback Sequential Circuits
Feedback Sequential CircuitsAbhilash Nair
 
Designing State Machine
Designing State MachineDesigning State Machine
Designing State MachineAbhilash Nair
 
State Machine Design and Synthesis
State Machine Design and SynthesisState Machine Design and Synthesis
State Machine Design and SynthesisAbhilash Nair
 
Synchronous design process
Synchronous design processSynchronous design process
Synchronous design processAbhilash Nair
 
Analysis of state machines & Conversion of models
Analysis of state machines & Conversion of modelsAnalysis of state machines & Conversion of models
Analysis of state machines & Conversion of modelsAbhilash Nair
 
Analysis of state machines
Analysis of state machinesAnalysis of state machines
Analysis of state machinesAbhilash Nair
 
Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)Abhilash Nair
 
Sequential Circuits - Flip Flops (Part 1)
Sequential Circuits - Flip Flops (Part 1)Sequential Circuits - Flip Flops (Part 1)
Sequential Circuits - Flip Flops (Part 1)Abhilash Nair
 
Documentation Standards of an IC
Documentation Standards of an ICDocumentation Standards of an IC
Documentation Standards of an ICAbhilash Nair
 
Trends Of Televisions
Trends Of TelevisionsTrends Of Televisions
Trends Of TelevisionsAbhilash Nair
 

More from Abhilash Nair (18)

Designing Clocked Synchronous State Machine
Designing Clocked Synchronous State MachineDesigning Clocked Synchronous State Machine
Designing Clocked Synchronous State Machine
 
Feedback Sequential Circuits
Feedback Sequential CircuitsFeedback Sequential Circuits
Feedback Sequential Circuits
 
Designing State Machine
Designing State MachineDesigning State Machine
Designing State Machine
 
State Machine Design and Synthesis
State Machine Design and SynthesisState Machine Design and Synthesis
State Machine Design and Synthesis
 
Synchronous design process
Synchronous design processSynchronous design process
Synchronous design process
 
Analysis of state machines & Conversion of models
Analysis of state machines & Conversion of modelsAnalysis of state machines & Conversion of models
Analysis of state machines & Conversion of models
 
Analysis of state machines
Analysis of state machinesAnalysis of state machines
Analysis of state machines
 
Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)
 
Sequential Circuits - Flip Flops (Part 1)
Sequential Circuits - Flip Flops (Part 1)Sequential Circuits - Flip Flops (Part 1)
Sequential Circuits - Flip Flops (Part 1)
 
Documentation Standards of an IC
Documentation Standards of an ICDocumentation Standards of an IC
Documentation Standards of an IC
 
Shift Registers
Shift RegistersShift Registers
Shift Registers
 
MSI Counters
MSI CountersMSI Counters
MSI Counters
 
EPROM, PROM & ROM
EPROM, PROM & ROMEPROM, PROM & ROM
EPROM, PROM & ROM
 
Counters
CountersCounters
Counters
 
Trends Of Televisions
Trends Of TelevisionsTrends Of Televisions
Trends Of Televisions
 
Core java slides
Core java slidesCore java slides
Core java slides
 
Vectors in Java
Vectors in JavaVectors in Java
Vectors in Java
 
Arrays in Java
Arrays in JavaArrays in Java
Arrays in Java
 

Recently uploaded

Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 

Recently uploaded (20)

Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 

EET 3350 Digital Systems Design Chapter 9: CPLDs Overview and Architecture

  • 1. EET 3350 Digital Systems Design Textbook: John Wakerly Chapter 9: 9-5 CPLDs 1
  • 2. CPLDs • Overview of FPLDs – History – Tradeoffs • CPLDs – General Description – Basic Architecture • Specific Vendor Devices – Xilinx – Altera • Xilinx XC9500 Series • CPLD Problems 2
  • 3. Hierarchy of Logic Implementations Logic Standard ASIC Logic today’s focus Programmable Logic Devices Gate Cell-Based Full Custom (FPLDs) Arrays ICs ICs SPLDs CPLDs (e.g., PALs) FPGAs Acronyms Common Resources SPLD = Simple Programmable Logic Device Configurable Logic Blocks (CLB) PAL = Programmable Array Logic – Memory Look-Up Table (LUT) CPLD = Complex PLD – AND-OR planes – Simple gates FPGA = Field Programmable Gate Array Input / Output Blocks (IOB) ASIC = Application Specific IC – Bidirectional, latches, inverters, pullup/pulldowns Interconnect or Routing – Local, internal feedback, and global 3
  • 4. Field-Programmable Logic Devices • Component function is defined by user under program control • Logic Cells are interconnected by programming • Advantages: – Flexible design that changes by reprogramming, ease of design changes – Reduce prototype-product time – Large scale integration (over 100,000 gates) – Reliability increased, low financial risk – Smaller device, low start-up cost 4
  • 5. FPLD Capacities • “Equivalent gates” refers loosely to the number of two- input NAND gates. • The chart serves as a guide for selecting a device for an application according to the logic capacity needed. • Each type of FPLD is inherently better suited for some applications than for others. 5
  • 7. Which Implementation Technology? • Economic versus technical factors – The next few slides off a comparison of economic and technical factors associated with these technologies standard components CPLD Gate Std. Full SSI/MSI SPLD FPGA Array Cell Custom semicustom technologies 7
  • 8. Comparison of Implementations • The table below offers a comparison of the major implementation technologies over four key factors Gate Standard Full SSI/MSI SPLD FPGA Array Cell Custom Gates/Component 5 - 100 50 - 5K 100 - 10K 500 - 100K 10K - 500K 100K - 10M Cost/Gate High Low NRE Cost ($) - 1-2K 2-10K 5-50K 10-100K 50K-5M Development time - 1-2 1-2 2-20 5-50 20-200 (weeks) 8
  • 9. Comparison of Implementations Circuit Cost As A Function Of Volume Cost Discrete Full custom Volume 9
  • 10. Evolution of Implementations • CPLDs and FPGAs continue to evolve in parallel ‘standard 1960 components’ SSI ‘semicustom components’ 1970 MSI Gate Array Simple PLD LSI Standard Cells 1980 VLSI CPLD FPGA 1990 2000 parallel development Today 10
  • 11. Three FPLD Types • Simple Programmable Logic Device (SPLD) – LSI device – Less than 1000 logic gates • Complex Programmable Logic Device (CPLD) – VLSI device – Higher logic capacity than SPLDs • Field Programmable Gate Array (FPGA) – VLSI device – Higher logic capacity than CPLDs Programmable Logic Devices (FPLDs) SPLDs CPLDs FPGAs (e.g., PALs) 11
  • 12. Three FPLD Types • Simple Programmable Logic Device (SPLD) – PLA or PAL – Fixed internal routing, deterministic propagation delays • Complex Programmable Logic Device (CPLD) – Multiple SPLDs onto a single chip – Programmable interconnect • Field Programmable Gate Array (FPGA) – An array of logic blocks – Large number of gates, user selectable interconnection, delays depending on design and routing Programmable – A high ratio of flip-flops to logic resources Logic Devices (FPLDs) SPLDs CPLDs FPGAs (e.g., PALs) 12
  • 13. SPLDs • SPLDs = Simple PLDs • Popular SPLD Architecture Types – Programmable Logic Array, PLA – Programmable Array Logic, PAL (Vantis) – General Array Logic, GAL (Lattice) – others • Architecture Differences – AND versus OR implementation – Programmability (e.g., EE) – Fundamental logic block Programmable Logic Devices (FPLDs) SPLDs CPLDs FPGAs (e.g., PALs) 13
  • 14. SPLDs • We have already taken a close look at SPLDs • A PLA-like SPLD is illustrated at left – PAL and GAL devices offered a Logic Functions somewhat better solution • SPLDs are good alternative to Sums using SSI and MSI devices – Especially if re-programmable Programmable Logic Devices (FPLDs) Product Terms SPLDs CPLDs FPGAs (e.g., PALs) 14
  • 15. SPLDs • Conventional programmable logic – PALs, PLAs, GALs – standard parts like GAL22V10 and PAL16R4 are available from multiple vendors • Includes programmable logic cells to a limited degree (programming options in I/O cells, may have fixed AND/OR gates for logic), limited routing network • Lowest density of all programmable devices, however, can offer very high performance • SPLDs have nearly replaced TTL logic which was the Programmable Logic Devices dominate approach to logic (FPLDs) implementation SPLDs CPLDs FPGAs (e.g., PALs) 15
  • 16. How to Expand SPLD Architecture? • Increase number of inputs and outputs in a conventional PLD? – e.g., 16V8 → 20V8 → 22V10 – Why not → 32V16 → 128V64 ? • Problems: – n times the number of inputs and outputs requires n2 as much chip area – too costly – logic gets slower as number of inputs to AND array increases Programmable Logic Devices (FPLDs) SPLDs CPLDs FPGAs (e.g., PALs) 16
  • 17. How to Expand SPLD Architecture? • Solution: – Multiple SPLDs with a relatively small programmable interconnect – Less general than a single large PLD – Can use software “fitter” to partition into smaller PLD blocks Programmable Logic Devices (FPLDs) CPLD Architecture SPLDs CPLDs FPGAs (e.g., PALs) 17
  • 18. CPLDs • PALs and GALs are available only in small sizes – equivalent to a few hundred logic gates • For bigger logic circuits, complex PLDs or CPLDs can be used. • CPLDs contain the equivalent of several PALs/GALs – linked by programmable interconnections – all in one integrated circuit (IC) • CPLDs can replace thousands, or even hundreds of thousands, of individual logic gates – increased integration density Programmable Logic Devices (FPLDs) SPLDs CPLDs FPGAs (e.g., PALs) 18
  • 19. Complex PLDs • Some CPLDs are programmed using a PAL programmer, but this method becomes inconvenient for devices with hundreds of pins. • A second method of programming is to solder the device to its printed circuit board, then feed it with a serial data stream from a personal computer. • The CPLD contains a circuit that decodes the data stream and configures the CPLD to perform its specified logic function. Programmable Logic Devices (FPLDs) SPLDs CPLDs FPGAs (e.g., PALs) 19
  • 20. Complex PLDs • Each manufacturer has a proprietary name for its CPLD programming system • For example, Lattice calls it "in-system programming" • However, these proprietary systems are beginning to give way to a standard from the Joint Test Action Group (JTAG) Programmable Logic Devices (FPLDs) SPLDs CPLDs FPGAs (e.g., PALs) 20
  • 21. Complex PLDs versus FPGAs • Xilinx, for example: • Xilinx CPLD devices that are cheaper and have fewer gates than Xilinx FPGAs • Meant for interfacing rather than heavy computation • Built-in flash memory – Compare to FPGA which needs external configuration memory • Xess board has XC9572XL part – Approximately $2-$7 in quantities of one – vs. ~$15-20 for the Spartan2 FPGA on the board – Larger quantities much lower – 1600 gates, 72 registers Programmable Logic Devices (FPLDs) SPLDs CPLDs FPGAs (e.g., PALs) 21
  • 22. CPLD Architecture • Simplified CPLD architecture • Small number of largish PLDs (e.g., “36V18”) on a single chip • Programmable interconnect between PLDs • Large number of I/O blocks • Large number of pins 22
  • 23. CPLD Architecture • Generalized architecture for a complex PLD • Programmable Interconnect Array – Capable of connecting any LAB input or output to any other LAB • Logic Array Blocks – Complex SPLD-like structure Programmable Logic Devices (FPLDs) • Input/Output Blocks SPLDs CPLDs FPGAs (e.g., PALs) 23
  • 24. CPLD Architecture • Each of the SPLD-like blocks in a CPLD can be programmed as with a PAL or GAL • Many SPLD-like blocks (e.g., LABs) are included in one CPLD Feedback Outputs • LABs can be interconnected to build larger logic systems Programmable Logic Devices (FPLDs) SPLDs CPLDs FPGAs CPLD Architecture (e.g., PALs) 24
  • 25. CPLDs • Composition of Complex PLDs – typically composed of 2-64 SPLDs – interconnected using sophisticated logic – includes macrocells (more about these later) – includes input/output blocks • Economical for designing large systems • Fast – switching speed Programmable Logic Devices (FPLDs) SPLDs CPLDs FPGAs (e.g., PALs) 25
  • 26. CPLDs • Complex PLD's have arrays of PLD's on one chip, with an interconnection matrix connecting them. • Timing performance can be more predictable than FPGAs because of simpler interconnect structure. • Density is normally less than most FPGAs (although high end CPLDs will have about the same density as low-end FPGAs). • Performance of CPLDs is usually better than FPGAs, but depends on vendor, number of cells in CPLD, and Programmable Logic Devices (FPLDs) compared FPGA. SPLDs CPLDs FPGAs (e.g., PALs) 26

Editor's Notes

  1. A designer may use any technology to implement a design – normally the decision is dictated by economic factors
  2. Rather than try to draw any hard-and-fast comparisons between the costs of different implementation techniques, it is more instructive to examine here the relationship between the 'start-up' and 'high-volume' costs of the different techniques, when a family of curves of the form given below may be constructed, showing that the most economic form of implementation depends upon the volume of devices to be used.
  3. Note that for any given volume, one technology will offer the lowest cost… For successive choices, the silicon utilisation is more efficient (and so unit costs are lower), but the initial cost in terms of design time, CAD facilities and manufacturing are higher.
  4. Standard = ‘fixed function’ What’s the difference between ‘standard’ and ‘custom’ components? (If you sell enough custom chips they become standard…) ‘ Custom’ relates to the layout procedure ‘ Semicustom’ technologies allow the economies of mass production with the ability to customise a device for a specific application. Also known as ‘ASICs’.