SlideShare a Scribd company logo
10
Most read
15
Most read
21
Most read
CPLDs
Dr. D. V. Kamath
Professor, Department of E&C Engg.,
Manipal Institute of Technology, Manipal
1
2
CPLDs
Complex Programmable Logic Device (CPLD)
Multiple PALs integrated together
More Complex PAL
Higher capacity devices
Single PAL architecture is not feasible
CPLDs are an extension of the PAL concept
3
CPLDs
Typical CPLD die
4
CPLD
Typical CPLD architecture
5
Altera CPLD
Two Altera versions are available
 Altera Flex structure(Flex 8000 series)
 Altera Max structure (MAX 5000, MAX 7000, MAX 9000 series)
6
Altera MAX architecture
(a) Chip floor plan (b) MAX family Logic Array Block(LAB) (c) MAX family macro cell
7
Altera MAX architecture
The basic features of Altera MAX architecture are as follows:
 Altera MAX CPLD consists of LAB(Logic Array Block)s and chipwide
interconnect
 Max family LAB consists of LA(local array) and macro cells
 LA consists of wide programmable AND array
 The basic logic cell for the Altera MAX architecture, a macrocell, is a
descendant of the PAL.
 Macro cells comprise of narrow fixed OR array, logic expanders, and
programmable inversion
8
Altera MAX architecture- Logic expander
Logic expanders
 Logic expander is used to generate extra logic terms
 Using the logic expander, it is possible to implement functions that
require more product terms than are available in a simple PAL
macrocell.
 The SOP(Sum of Product) expression can be rewritten as “sum of
products of products”. We can use logic expanders to implement
the extra product terms (called expander terms or helper terms).
 These extra product terms can be shared among other macrocells
if needed. Hence, these extra logic gates that form these shareable
product terms are called as shared logic expander , or just shared
expander .
9
Altera MAX architecture-Logic expander
Consider the function
𝐹 = 𝐴 CD + 𝐵 CD + AB + B 𝐶
F has 4 product terms and thus F cannot be implemented using a
macrocell that has only a 3-wide OR array
F can be rewritten as
𝐹 = 𝐴 + 𝐵 CD + 𝐴 + 𝐶 𝐵
𝐹 = 𝐴. 𝐵 𝐶. 𝐷 + 𝐴. 𝐶 .𝐵
The 𝐴. 𝐵 and 𝐴. 𝐶 are the expander terms
10
Altera MAX architecture-Logic expander
11
Altera MAX architecture- Logic expander
Logic expanders
 The disadvantage of the shared expanders is the extra logic delay
incurred because of the second pass that may need to take through
the product-term array. Before the logic assignment stage (assigning
logic to macrocells by logic tools), it is not possible to predict
whether the design need to use the logic expanders.
 The timing of the Altera MAX architecture is not strictly
deterministic (i.e., it is not possible to predict the exact timing).
12
Altera MAX architecture - Programmable inversion
Programmable inversion allows the logic assignment stage to reduce
the number of product terms needed
13
Altera MAX architecture - Programmable inversion
Use of programmable inversion to simplify the logic
 The function F = A · B' + A · C' + A · D' + A' · C · D requires 4 product
terms
 But, F ' = A · B · C · D + A' · D' + A' · C' requires only 3 product terms
14
MAX 7000 Altera CPLD
Altera MAX 7000
 The MAX 7000 family of high-density, high-performance CMOS
CPLDs is based on Altera’s second-generation MAX architecture.
MAX 7000 series is widely used and offers state-of-the-art logic
capacity and speed performance.
 MAX 5000 is an older technology and MAX 9000 is similar to MAX
7000, except that MAX 9000 offers higher logic capacity
 MAX 7000 devices are available both based in EPROM and EEPROM
technology
15
MAX 7000 Altera CPLD
Altera 7000 series architecture
16
MAX 7000 Altera CPLD
 Altera 7000 series architecture comprises of LAB(Logic Array
Block)s, PIA(Programmable Interconnect Array) and I/O control
blocks
 PIA is capable of connecting any LAB input or output to any other
LAB
 Also, the inputs and outputs of the chip connect directly to the PIA
and to LABs
 Each LAB consists of 16 (two sets of 8) macro cells
 Each MAX 7000 LAB has 36 inputs from the chip-wide interconnect
and 16 outputs to PIA . From 8 to 16 outputs from each LAB can be
routed to the I/O pins through the I/O control block. From 8 to 16
inputs from the I/O pins can be routed through the I/O control
block to the PIA
17
MAX 7000 Altera CPLD
18
MAX 7000 Altera CPLD
 The global clock input (GCLK) and global clear input (GCLRn) connect
to all macro cells
 Two output enable signals (OE1n and OE2n) connect to all I/O
control blocks

 The vertical lines in the logic array are common to all of the macro
cells in a LAB
 The vertical lines are driven with programmable interconnect lines
from the PIA and from shared expanders
19
MAX 7000 Altera CPLD - LAB
20
MAX 7000 Macro cell
ACTEL ACT1 Logic module (LM)
21
MAX 7000 Altera CPLD
LAB and macro cell
 Each macro cell comprises a set of programmable AND plane that
feeds an OR-gate and a programmable flip-flop.
 The flip-flops can be configured as D type, JK, T, SR, or can be
transparent
 The number of inputs to the OR gate in a macro cell is variable; the
OR gate can be fed from any or all of the 5 product terms within the
macro cell, and in addition can have up to 15 extra product terms
from macro cells in the same LAB.
 The product term flexibility makes the MAX 7000 series LAB more
efficient in terms of the chip area(The typical logic functions that
don't need more than 5 product terms, and the architecture
supports wider functions when they are needed)
22
Altera Flex architecture
(a) Chip floor plan (b) Flex family Logic Array Block(LAB) (c) Details of the Logic Element(LE)
23
• reachdvkamath@yahoo.com
• dv.kamath@manipal.edu
Contact

More Related Content

DOCX
Altera flex
PPSX
CPLD xc9500
PPTX
Stepper motor
PPT
Procurement of goods , GFR provisions
PDF
International Yoga Day 21st June, IDY
PDF
Circuit variables and elements
PPTX
GFR-17,AT A Glance
Altera flex
CPLD xc9500
Stepper motor
Procurement of goods , GFR provisions
International Yoga Day 21st June, IDY
Circuit variables and elements
GFR-17,AT A Glance

What's hot (20)

PPTX
System partitioning in VLSI and its considerations
PPTX
Field programable gate array
PPT
Fpga(field programmable gate array)
PDF
Xilinx lca and altera flex
PPTX
Floor plan & Power Plan
PPTX
Introduction to FPGAs
PPTX
DOCX
UNIT-III-DIGITAL SYSTEM DESIGN
PPT
Timing Analysis
PPTX
4.FPGA for dummies: Design Flow
PDF
ATPG Methods and Algorithms
PPT
PDF
Physical design-complete
PPT
Fpga Knowledge
PDF
ASIC vs SOC vs FPGA
PDF
VLSI-Physical Design- Tool Terminalogy
PPTX
PDF
Session 2,3 FPGAs
PPTX
Xilinx 4000 series
System partitioning in VLSI and its considerations
Field programable gate array
Fpga(field programmable gate array)
Xilinx lca and altera flex
Floor plan & Power Plan
Introduction to FPGAs
UNIT-III-DIGITAL SYSTEM DESIGN
Timing Analysis
4.FPGA for dummies: Design Flow
ATPG Methods and Algorithms
Physical design-complete
Fpga Knowledge
ASIC vs SOC vs FPGA
VLSI-Physical Design- Tool Terminalogy
Session 2,3 FPGAs
Xilinx 4000 series
Ad

Viewers also liked (17)

PDF
Actel fpga
PDF
fpga programming
PDF
xilinx fpga problems
PDF
PDF
vlsi design flow
PDF
Testing boolean difference
PDF
actel fpga problems
PDF
prom,pld problems
PPT
PPTX
DOCX
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
PPT
Fundamentals of FPGA
PPTX
programmable_devices_en_02_2014
PPT
CPLD & FPLD
PPT
Programmable array logic
PPT
VLSI
PPT
Introduction to VLSI
Actel fpga
fpga programming
xilinx fpga problems
vlsi design flow
Testing boolean difference
actel fpga problems
prom,pld problems
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
Fundamentals of FPGA
programmable_devices_en_02_2014
CPLD & FPLD
Programmable array logic
VLSI
Introduction to VLSI
Ad

Similar to cplds (20)

PDF
plds - Programable logic devices VLSI.pdf
PPTX
Introduction to CPLD: Field Programmable Gate Array
PPT
Fpga 03-cpld-and-fpga
PPT
Fpga &;cpld(by alok singh)
PPT
Digital System Design-Introductio to ASIC
PDF
Lab9500
PPT
FPGA-Arch (3).ppt
PPT
FPGA-Architecture.ppt
PPTX
FPGA-Architecture Basics and Description.pptx
PPT
FPGA-Arch.ppt
PPT
FPGA architecture.ppt
PPT
FPGA-Arch.ppt
PPT
FPGA-Arch.ppt
PPT
FPGA-Arch.ppt
PDF
1. FPGA architectures.pdf
PPTX
integrated circuits in electrical engineering
DOCX
Fpg as 11 body
PPTX
Seminar on field programmable gate array
PPTX
UNIT 5 FPGA DESIGN r16.pptx UNIT 5 FPGA DESIGN r16.pptx
plds - Programable logic devices VLSI.pdf
Introduction to CPLD: Field Programmable Gate Array
Fpga 03-cpld-and-fpga
Fpga &;cpld(by alok singh)
Digital System Design-Introductio to ASIC
Lab9500
FPGA-Arch (3).ppt
FPGA-Architecture.ppt
FPGA-Architecture Basics and Description.pptx
FPGA-Arch.ppt
FPGA architecture.ppt
FPGA-Arch.ppt
FPGA-Arch.ppt
FPGA-Arch.ppt
1. FPGA architectures.pdf
integrated circuits in electrical engineering
Fpg as 11 body
Seminar on field programmable gate array
UNIT 5 FPGA DESIGN r16.pptx UNIT 5 FPGA DESIGN r16.pptx

Recently uploaded (20)

PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
composite construction of structures.pdf
PDF
Digital Logic Computer Design lecture notes
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Construction Project Organization Group 2.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Lecture Notes Electrical Wiring System Components
PDF
Structs to JSON How Go Powers REST APIs.pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
web development for engineering and engineering
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
Lesson 3_Tessellation.pptx finite Mathematics
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Internet of Things (IOT) - A guide to understanding
composite construction of structures.pdf
Digital Logic Computer Design lecture notes
Strings in CPP - Strings in C++ are sequences of characters used to store and...
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Construction Project Organization Group 2.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
CH1 Production IntroductoryConcepts.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Lecture Notes Electrical Wiring System Components
Structs to JSON How Go Powers REST APIs.pdf
CYBER-CRIMES AND SECURITY A guide to understanding
UNIT-1 - COAL BASED THERMAL POWER PLANTS
web development for engineering and engineering
Embodied AI: Ushering in the Next Era of Intelligent Systems

cplds

  • 1. CPLDs Dr. D. V. Kamath Professor, Department of E&C Engg., Manipal Institute of Technology, Manipal 1
  • 2. 2 CPLDs Complex Programmable Logic Device (CPLD) Multiple PALs integrated together More Complex PAL Higher capacity devices Single PAL architecture is not feasible CPLDs are an extension of the PAL concept
  • 5. 5 Altera CPLD Two Altera versions are available  Altera Flex structure(Flex 8000 series)  Altera Max structure (MAX 5000, MAX 7000, MAX 9000 series)
  • 6. 6 Altera MAX architecture (a) Chip floor plan (b) MAX family Logic Array Block(LAB) (c) MAX family macro cell
  • 7. 7 Altera MAX architecture The basic features of Altera MAX architecture are as follows:  Altera MAX CPLD consists of LAB(Logic Array Block)s and chipwide interconnect  Max family LAB consists of LA(local array) and macro cells  LA consists of wide programmable AND array  The basic logic cell for the Altera MAX architecture, a macrocell, is a descendant of the PAL.  Macro cells comprise of narrow fixed OR array, logic expanders, and programmable inversion
  • 8. 8 Altera MAX architecture- Logic expander Logic expanders  Logic expander is used to generate extra logic terms  Using the logic expander, it is possible to implement functions that require more product terms than are available in a simple PAL macrocell.  The SOP(Sum of Product) expression can be rewritten as “sum of products of products”. We can use logic expanders to implement the extra product terms (called expander terms or helper terms).  These extra product terms can be shared among other macrocells if needed. Hence, these extra logic gates that form these shareable product terms are called as shared logic expander , or just shared expander .
  • 9. 9 Altera MAX architecture-Logic expander Consider the function 𝐹 = 𝐴 CD + 𝐵 CD + AB + B 𝐶 F has 4 product terms and thus F cannot be implemented using a macrocell that has only a 3-wide OR array F can be rewritten as 𝐹 = 𝐴 + 𝐵 CD + 𝐴 + 𝐶 𝐵 𝐹 = 𝐴. 𝐵 𝐶. 𝐷 + 𝐴. 𝐶 .𝐵 The 𝐴. 𝐵 and 𝐴. 𝐶 are the expander terms
  • 11. 11 Altera MAX architecture- Logic expander Logic expanders  The disadvantage of the shared expanders is the extra logic delay incurred because of the second pass that may need to take through the product-term array. Before the logic assignment stage (assigning logic to macrocells by logic tools), it is not possible to predict whether the design need to use the logic expanders.  The timing of the Altera MAX architecture is not strictly deterministic (i.e., it is not possible to predict the exact timing).
  • 12. 12 Altera MAX architecture - Programmable inversion Programmable inversion allows the logic assignment stage to reduce the number of product terms needed
  • 13. 13 Altera MAX architecture - Programmable inversion Use of programmable inversion to simplify the logic  The function F = A · B' + A · C' + A · D' + A' · C · D requires 4 product terms  But, F ' = A · B · C · D + A' · D' + A' · C' requires only 3 product terms
  • 14. 14 MAX 7000 Altera CPLD Altera MAX 7000  The MAX 7000 family of high-density, high-performance CMOS CPLDs is based on Altera’s second-generation MAX architecture. MAX 7000 series is widely used and offers state-of-the-art logic capacity and speed performance.  MAX 5000 is an older technology and MAX 9000 is similar to MAX 7000, except that MAX 9000 offers higher logic capacity  MAX 7000 devices are available both based in EPROM and EEPROM technology
  • 15. 15 MAX 7000 Altera CPLD Altera 7000 series architecture
  • 16. 16 MAX 7000 Altera CPLD  Altera 7000 series architecture comprises of LAB(Logic Array Block)s, PIA(Programmable Interconnect Array) and I/O control blocks  PIA is capable of connecting any LAB input or output to any other LAB  Also, the inputs and outputs of the chip connect directly to the PIA and to LABs  Each LAB consists of 16 (two sets of 8) macro cells  Each MAX 7000 LAB has 36 inputs from the chip-wide interconnect and 16 outputs to PIA . From 8 to 16 outputs from each LAB can be routed to the I/O pins through the I/O control block. From 8 to 16 inputs from the I/O pins can be routed through the I/O control block to the PIA
  • 18. 18 MAX 7000 Altera CPLD  The global clock input (GCLK) and global clear input (GCLRn) connect to all macro cells  Two output enable signals (OE1n and OE2n) connect to all I/O control blocks   The vertical lines in the logic array are common to all of the macro cells in a LAB  The vertical lines are driven with programmable interconnect lines from the PIA and from shared expanders
  • 19. 19 MAX 7000 Altera CPLD - LAB
  • 20. 20 MAX 7000 Macro cell ACTEL ACT1 Logic module (LM)
  • 21. 21 MAX 7000 Altera CPLD LAB and macro cell  Each macro cell comprises a set of programmable AND plane that feeds an OR-gate and a programmable flip-flop.  The flip-flops can be configured as D type, JK, T, SR, or can be transparent  The number of inputs to the OR gate in a macro cell is variable; the OR gate can be fed from any or all of the 5 product terms within the macro cell, and in addition can have up to 15 extra product terms from macro cells in the same LAB.  The product term flexibility makes the MAX 7000 series LAB more efficient in terms of the chip area(The typical logic functions that don't need more than 5 product terms, and the architecture supports wider functions when they are needed)
  • 22. 22 Altera Flex architecture (a) Chip floor plan (b) Flex family Logic Array Block(LAB) (c) Details of the Logic Element(LE)