SlideShare une entreprise Scribd logo
1  sur  23
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

Contenu connexe

Tendances

System partitioning in VLSI and its considerations
System partitioning in VLSI and its considerationsSystem partitioning in VLSI and its considerations
System partitioning in VLSI and its considerationsSubash John
 
Fundamentals of FPGA
Fundamentals of FPGAFundamentals of FPGA
Fundamentals of FPGAvelamakuri
 
1. FPGA architectures.pdf
1. FPGA architectures.pdf1. FPGA architectures.pdf
1. FPGA architectures.pdfTesfuFiseha1
 
Jtag presentation
Jtag presentationJtag presentation
Jtag presentationklinetik
 
Fpga architectures and applications
Fpga architectures and applicationsFpga architectures and applications
Fpga architectures and applicationsSudhanshu Janwadkar
 
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Dhaval Kaneria
 
UNIT-II CPLD & FPGA Architectures and Applications
UNIT-II CPLD & FPGA  Architectures   and ApplicationsUNIT-II CPLD & FPGA  Architectures   and Applications
UNIT-II CPLD & FPGA Architectures and ApplicationsDr.YNM
 
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
 
JTAG Interface (Intro)
JTAG Interface (Intro)JTAG Interface (Intro)
JTAG Interface (Intro)Nitesh Bhatia
 

Tendances (20)

System partitioning in VLSI and its considerations
System partitioning in VLSI and its considerationsSystem partitioning in VLSI and its considerations
System partitioning in VLSI and its considerations
 
Fundamentals of FPGA
Fundamentals of FPGAFundamentals of FPGA
Fundamentals of FPGA
 
1. FPGA architectures.pdf
1. FPGA architectures.pdf1. FPGA architectures.pdf
1. FPGA architectures.pdf
 
Altera flex
Altera flexAltera flex
Altera flex
 
ASIC
ASICASIC
ASIC
 
Asic design flow
Asic design flowAsic design flow
Asic design flow
 
Vlsi Synthesis
Vlsi SynthesisVlsi Synthesis
Vlsi Synthesis
 
ASIC DESIGN FLOW
ASIC DESIGN FLOWASIC DESIGN FLOW
ASIC DESIGN FLOW
 
Rc delay modelling in vlsi
Rc delay modelling in vlsiRc delay modelling in vlsi
Rc delay modelling in vlsi
 
Xilinx 4000 series
Xilinx 4000 seriesXilinx 4000 series
Xilinx 4000 series
 
Jtag presentation
Jtag presentationJtag presentation
Jtag presentation
 
Fpga
FpgaFpga
Fpga
 
The IEEE 1149.1 Boundary-scan test standard
The IEEE 1149.1 Boundary-scan test standardThe IEEE 1149.1 Boundary-scan test standard
The IEEE 1149.1 Boundary-scan test standard
 
ASIC VS FPGA.ppt
ASIC VS FPGA.pptASIC VS FPGA.ppt
ASIC VS FPGA.ppt
 
Fpga architectures and applications
Fpga architectures and applicationsFpga architectures and applications
Fpga architectures and applications
 
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)
 
UNIT-II CPLD & FPGA Architectures and Applications
UNIT-II CPLD & FPGA  Architectures   and ApplicationsUNIT-II CPLD & FPGA  Architectures   and Applications
UNIT-II CPLD & FPGA Architectures and Applications
 
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
 
FPGA
FPGAFPGA
FPGA
 
JTAG Interface (Intro)
JTAG Interface (Intro)JTAG Interface (Intro)
JTAG Interface (Intro)
 

En vedette

fpga programming
fpga programmingfpga programming
fpga programmingAnish Gupta
 
xilinx fpga problems
xilinx fpga problemsxilinx fpga problems
xilinx fpga problemsAnish Gupta
 
vlsi design flow
vlsi design flowvlsi design flow
vlsi design flowAnish Gupta
 
Testing boolean difference
Testing boolean differenceTesting boolean difference
Testing boolean differenceAnish Gupta
 
actel fpga problems
actel fpga problemsactel fpga problems
actel fpga problemsAnish Gupta
 
prom,pld problems
prom,pld problemsprom,pld problems
prom,pld problemsAnish Gupta
 
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONSUNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONSDr.YNM
 
UNIT-III-DIGITAL SYSTEM DESIGN
UNIT-III-DIGITAL SYSTEM DESIGNUNIT-III-DIGITAL SYSTEM DESIGN
UNIT-III-DIGITAL SYSTEM DESIGNDr.YNM
 
programmable_devices_en_02_2014
programmable_devices_en_02_2014programmable_devices_en_02_2014
programmable_devices_en_02_2014Svetozar Jovanovic
 
Programmable array logic
Programmable array logicProgrammable array logic
Programmable array logicGaditek
 
VLSI
VLSI VLSI
VLSI So Ma
 
Introduction to VLSI
Introduction to VLSI Introduction to VLSI
Introduction to VLSI illpa
 

En vedette (14)

fpga programming
fpga programmingfpga programming
fpga programming
 
xilinx fpga problems
xilinx fpga problemsxilinx fpga problems
xilinx fpga problems
 
DSD
DSDDSD
DSD
 
vlsi design flow
vlsi design flowvlsi design flow
vlsi design flow
 
Testing boolean difference
Testing boolean differenceTesting boolean difference
Testing boolean difference
 
actel fpga problems
actel fpga problemsactel fpga problems
actel fpga problems
 
prom,pld problems
prom,pld problemsprom,pld problems
prom,pld problems
 
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONSUNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
UNIT I- CPLD & FPGA ARCHITECTURE & APPLICATIONS
 
UNIT-III-DIGITAL SYSTEM DESIGN
UNIT-III-DIGITAL SYSTEM DESIGNUNIT-III-DIGITAL SYSTEM DESIGN
UNIT-III-DIGITAL SYSTEM DESIGN
 
programmable_devices_en_02_2014
programmable_devices_en_02_2014programmable_devices_en_02_2014
programmable_devices_en_02_2014
 
CPLD & FPLD
CPLD & FPLDCPLD & FPLD
CPLD & FPLD
 
Programmable array logic
Programmable array logicProgrammable array logic
Programmable array logic
 
VLSI
VLSI VLSI
VLSI
 
Introduction to VLSI
Introduction to VLSI Introduction to VLSI
Introduction to VLSI
 

Similaire à cplds (20)

VLSI PLDS pla, pal
VLSI PLDS pla, palVLSI PLDS pla, pal
VLSI PLDS pla, pal
 
Fpga 03-cpld-and-fpga
Fpga 03-cpld-and-fpgaFpga 03-cpld-and-fpga
Fpga 03-cpld-and-fpga
 
Fpga &;cpld(by alok singh)
Fpga &;cpld(by alok singh)Fpga &;cpld(by alok singh)
Fpga &;cpld(by alok singh)
 
Digital System Design-Introductio to ASIC
Digital System Design-Introductio to ASICDigital System Design-Introductio to ASIC
Digital System Design-Introductio to ASIC
 
Lab9500
Lab9500Lab9500
Lab9500
 
Fpga Knowledge
Fpga KnowledgeFpga Knowledge
Fpga Knowledge
 
FPGA-Arch (3).ppt
FPGA-Arch (3).pptFPGA-Arch (3).ppt
FPGA-Arch (3).ppt
 
FPGA-Architecture.ppt
FPGA-Architecture.pptFPGA-Architecture.ppt
FPGA-Architecture.ppt
 
FPGA-Arch.ppt
FPGA-Arch.pptFPGA-Arch.ppt
FPGA-Arch.ppt
 
FPGA architecture.ppt
FPGA architecture.pptFPGA architecture.ppt
FPGA architecture.ppt
 
FPGA-Arch.ppt
FPGA-Arch.pptFPGA-Arch.ppt
FPGA-Arch.ppt
 
FPGA-Arch.ppt
FPGA-Arch.pptFPGA-Arch.ppt
FPGA-Arch.ppt
 
FPGA-Arch.ppt
FPGA-Arch.pptFPGA-Arch.ppt
FPGA-Arch.ppt
 
Fpg as 11 body
Fpg as 11 bodyFpg as 11 body
Fpg as 11 body
 
Seminar on field programmable gate array
Seminar on field programmable gate arraySeminar on field programmable gate array
Seminar on field programmable gate array
 
Asic
AsicAsic
Asic
 
FPGA In a Nutshell
FPGA In a NutshellFPGA In a Nutshell
FPGA In a Nutshell
 
FIELD PROGRAMMABLE GATE ARRAYS AND THEIR APPLICATIONS
FIELD PROGRAMMABLE GATE ARRAYS AND THEIR APPLICATIONSFIELD PROGRAMMABLE GATE ARRAYS AND THEIR APPLICATIONS
FIELD PROGRAMMABLE GATE ARRAYS AND THEIR APPLICATIONS
 
A review on virtex fpga family from xilinx
A review on virtex fpga family from xilinxA review on virtex fpga family from xilinx
A review on virtex fpga family from xilinx
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 

Dernier

Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadhamedmustafa094
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxNadaHaitham1
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 

Dernier (20)

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 

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)