SlideShare ist ein Scribd-Unternehmen logo
1 von 26
ENGR. RASHID FARID CHISHTI
LECTURER,DEE, FET, IIUI
CHISHTI@IIU.EDU.PK
WEEK 3
CPLD AND FPGA
FPGA Based System Design
Sunday, May 17, 2015
1
www.iiu.edu.pk
PAL-like
block
I/Oblock
PAL-like
block
I/Oblock
PAL-like
block
I/Oblock
PAL-like
block
I/Oblock
Interconnection wires
Structure of a CPLD
Logic
Block
CPLD builds on SPLD architecture and creates a much
larger design.
MacroCellMacroCell
PLA or
PAL
PLA or
PAL
CPLD can be used to integrate the functions of a number of
SPLDs into a single device.
The CPLD consists of a number of logic blocks (sometimes
referred to as functional blocks), each of which contains a
macrocell and either a PLA or PAL circuit arrangement.
In the center of the design is a global programmable
interconnect. This interconnect allows connections to the
logic block macrocells and the I/O cell arrays (the digital
I/O cells of the CPLD connecting to the pins of the CPLD
package).
CPLDs utilize nonvolatile memory such as EPROM,
EEPROM, and flash memory
CPLD
Sunday, May 17, 2015
3
www.iiu.edu.pk
A section of a CPLD
D Q
D Q
D Q
PAL-like block (details not shown)
PAL-like block
Sunday, May 17, 2015
5
www.iiu.edu.pk
XC9500 CPLDs XC9536XV XC9572XV XC95144XV XC95288XV
Macrocells 36 72 144 288
Usable Gates 800 1,600 3,200 6,400
Registers 36 72 144 288
TPD (ns) 3.5 4 4 5
TSU (ns) 2.8 3.1 3.1 3.7
TCO(ns) 1.8 2.0 2.0 2.5
fSYSTEM (MHz) 278 250 250 222
Xilinx CPLDs
Xilinx CPLDs
Sunday, May 17, 2015www.iiu.edu.pk
Sunday, May 17, 2015
7
www.iiu.edu.pk
Xilinx XC9500 CPLD
Sunday, May 17, 2015
8
www.iiu.edu.pk
The Xilinx XC9500 family of CPLDs are flash-based (EEPROM)
and in-system programmable.
The devices are organized as an array of functional blocks in a PAL-
like structure with wide AND gates and fast flip-flops.
Each function block contains up to 18 independent macrocells (see
Figure 8-49), and can accommodate 54 inputs and drive 18 outputs
(depending on the packaging).
A FastCONNECT switch-matrix technology ensures that an
application can be fully routed even when the device utilization is
high.
I/O blocks (IOBs) buffer the inputs and outputs to the device and
also receive the global clock and S-R signals.
The output buffers have a programmable slew rate.
The Xilinx XC9500 family of CPLDs are flash-based (EEPROM)
and in-system programmable.
The devices are organized as an array of functional blocks in a PAL-
like structure with wide AND gates and fast flip-flops.
Each function block contains up to 18 independent macrocells (see
Figure 8-49), and can accommodate 54 inputs and drive 18 outputs
(depending on the packaging).
A FastCONNECT switch-matrix technology ensures that an
application can be fully routed even when the device utilization is
high.
I/O blocks (IOBs) buffer the inputs and outputs to the device and
also receive the global clock and S-R signals.
The output buffers have a programmable slew rate.
Sunday, May 17, 2015
9
www.iiu.edu.pk
Sunday, May 17, 2015
10
www.iiu.edu.pk
Sunday, May 17, 2015
11
www.iiu.edu.pk
Sunday, May 17, 2015
12
www.iiu.edu.pk
Xilinx XC9500 CPLD
Sunday, May 17, 2015
13
www.iiu.edu.pk
The PAL-like architecture of a function block receives 54
complemented and uncomplemented inputs and can form up to 90
product terms from the inputs.
A "product-term allocator" allocates up to 90 product terms to each
macrocell in the function block to form an SOP expression.
Each macrocell can receive five direct product terms from the AND
array, and up to 10 more product terms can be made available from
other uncommitted product terms in other macrocells in the same
functional block, with a negligible increase in delay.
partial sums of products can be combined over several macrocells to
produce expressions with more than 18 product terms.
Each macrocell can be independently configured for combinational
or registered functionality, and receives global clock, output enable,
and S-R signals.
The PAL-like architecture of a function block receives 54
complemented and uncomplemented inputs and can form up to 90
product terms from the inputs.
A "product-term allocator" allocates up to 90 product terms to each
macrocell in the function block to form an SOP expression.
Each macrocell can receive five direct product terms from the AND
array, and up to 10 more product terms can be made available from
other uncommitted product terms in other macrocells in the same
functional block, with a negligible increase in delay.
partial sums of products can be combined over several macrocells to
produce expressions with more than 18 product terms.
Each macrocell can be independently configured for combinational
or registered functionality, and receives global clock, output enable,
and S-R signals.
Xilinx XC9500 CPLD
Sunday, May 17, 2015
14
www.iiu.edu.pk
The pin-to-pin delays of the XC9500 device family are short, and
support high system clock rates up to 150 MHz.
They should be used in high fan-in state machines, in which speed is
a dominant constraint.
The architecture of a macrocell is shown in Figure. The flip-flop can
be configured as a D- or T-type flip-flop, with synchronous or
asynchronous S-R operation.
The register's clock can be any of three global clocks, or a product
term. The register can also be bypassed to provide direct output.
Each macrocell has five direct inputs form the AND-an&y, which
can be used to implement combinational functions or control inputs
(clock, clock enable, set-reset, and output enable).
The pin-to-pin delays of the XC9500 device family are short, and
support high system clock rates up to 150 MHz.
They should be used in high fan-in state machines, in which speed is
a dominant constraint.
The architecture of a macrocell is shown in Figure. The flip-flop can
be configured as a D- or T-type flip-flop, with synchronous or
asynchronous S-R operation.
The register's clock can be any of three global clocks, or a product
term. The register can also be bypassed to provide direct output.
Each macrocell has five direct inputs form the AND-an&y, which
can be used to implement combinational functions or control inputs
(clock, clock enable, set-reset, and output enable).
Sunday, May 17, 2015www.iiu.edu.pk
15
FPGA is a form of programmable logic device introduced in
1985 by Xilinx, Inc.
An FPGA consists of an array of configurable logic blocks;
surrounded by programmable I/O blocks, and connected
with programmable interconnects.
Also, there will be clock circuitry
for driving the clock signals to
each logic block.
FPGA Technologies
 Antifuse : One Time Programmable
 SRAM: Reprogrammable FPGAs,
use SRAM configuration cell
 Flash: Reprogrammable and
Nonvolatile FPGAs
FPGA is a form of programmable logic device introduced in
1985 by Xilinx, Inc.
An FPGA consists of an array of configurable logic blocks;
surrounded by programmable I/O blocks, and connected
with programmable interconnects.
Also, there will be clock circuitry
for driving the clock signals to
each logic block.
FPGA Technologies
 Antifuse : One Time Programmable
 SRAM: Reprogrammable FPGAs,
use SRAM configuration cell
 Flash: Reprogrammable and
Nonvolatile FPGAs
FPGA: Field Programmable Gate Array
FPGA v.s. CPLD
 Capacitance
SPLDs CPLDs FPGAs
Equivalent gates 0 ~ 200 200 ~ 12,000 1000 ~ 1,000,000
 Applications
CPLDs FPGAs
1. Implement random glue logics or
Replace circuits previously
implemented by multiple SPLDs
2. Circuits that can exploit wide
AND/OR gates, and do not need
a very large number of flip-flops
are good candidates for
implementation in CPLDs.
1. FPGAs can be used in various
applications: prototyping, FPGA-
based computers, on-site hardware
re-configuration, DSP, logic
emulation, network components,
etc.
Sunday, May 17, 2015www.iiu.edu.pk
17
These blocks contain the logic for the FPGA.
The block contains RAM for creating combinatorial logic
functions, also known as lookup tables (LUTs).
It also contains flip-flops for clocked storage elements, and
multiplexers to route the logic within the block and to and
from external resources.
The multiplexers also allow
polarity selection and reset
and clear input selection.
These blocks contain the logic for the FPGA.
The block contains RAM for creating combinatorial logic
functions, also known as lookup tables (LUTs).
It also contains flip-flops for clocked storage elements, and
multiplexers to route the logic within the block and to and
from external resources.
The multiplexers also allow
polarity selection and reset
and clear input selection.
Configurable Logic Blocks (CLBs)
2 LUTs in a CLB
of Xilinx XC4000
Gates are combined to
create complex circuits
Multiplexer Example
 If S=0, Z=A
 If S=1, Z=B
Very Common Digital
Circuit
Heavily Used in FPGA
S input is controlled by
Configuration memory bit
Combinational Logic Functions
Sunday, May 17, 2015
18
www.iiu.edu.pk
0
0
1
1
1
0
1
ZA
0
B
0
0
0
0
S
0
1
1
0
0
0
1
1
1
0
1
01
1
1
1
1
0
1
0
Sunday, May 17, 2015www.iiu.edu.pk 19
0
0
1
1
0
1
0
1
1
0
0
1
x
1
x
2
(b) f
1
x
1
x
2
x
1
x
2
+=
f
1
A two-input lookup table (LUT).
(c) Storage cell contents in the LUT
x1
x2
1
0
0
1
f1
1
1
0
0
1
0
(a) Circuit for a two-input LUT
x1
x2
f
0/1
0/1
0/1
0/1
1
1
0
0
1
0
Out
D Q
Clock
Select
Flip-flop
LUT
Inclusion of a flip-flop with a LUT
x1
x2
CMOS SRAM Cell
Recall MUX Example
Configuration
Memory holds outputs
for truth table
Internal signals
connect to control
signals of multiplexer
to select value of truth
table for any given
input value
Look-up Tables
Sunday, May 17, 2015
20
www.iiu.edu.pk
Sunday, May 17, 2015www.iiu.edu.pk 21
CMOS SRAM Cell
Sunday, May 17, 2015www.iiu.edu.pk 22
Sunday, May 17, 2015www.iiu.edu.pk 23
Implementation of interconnection
1 0
Vf1
VA
0
0
0
0
1
x1
x2
f1
SRAM SRAM SRAM
(to other wires)
Sunday, May 17, 2015
24
www.iiu.edu.pk
Here is an example how a switch-box works
 Each switch-box interconnect point has 6 pass transistors
 Pass transistors are driven by configuration memory cells
Switch Box Circuit
Programmable Interconnect
Sunday, May 17, 2015
25
www.iiu.edu.pk
 Local interconnects are fast and short
 Horizontal and vertical interconnects are of various lengths
Sunday, May 17, 2015www.iiu.edu.pk
26
IOB is used to bring signals onto the chip and send them
back off again.
It consists of an input buffer and an output buffer with three-
state and open collector output controls.
Typically there are pull up resistors on the outputs.
The polarity of the output can
usually be programmed for
active high or active low output,
and often the slew rate of the
output can be programmed for
fast or slow rise and fall times.
IOB is used to bring signals onto the chip and send them
back off again.
It consists of an input buffer and an output buffer with three-
state and open collector output controls.
Typically there are pull up resistors on the outputs.
The polarity of the output can
usually be programmed for
active high or active low output,
and often the slew rate of the
output can be programmed for
fast or slow rise and fall times.
Configurable I/O Block (IOBs)

Weitere ähnliche Inhalte

Was ist angesagt?

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
Subash John
 

Was ist angesagt? (20)

PAL And PLA ROM
PAL And PLA ROMPAL And PLA ROM
PAL And PLA ROM
 
Complete ASIC design flow - VLSI UNIVERSE
Complete ASIC design flow - VLSI UNIVERSEComplete ASIC design flow - VLSI UNIVERSE
Complete ASIC design flow - VLSI UNIVERSE
 
Clock distribution
Clock distributionClock distribution
Clock distribution
 
PLDs
PLDsPLDs
PLDs
 
Session 2,3 FPGAs
Session 2,3 FPGAsSession 2,3 FPGAs
Session 2,3 FPGAs
 
Implementation of High Reliable 6T SRAM Cell Design
Implementation of High Reliable 6T SRAM Cell DesignImplementation of High Reliable 6T SRAM Cell Design
Implementation of High Reliable 6T SRAM Cell Design
 
Chapter1.slides
Chapter1.slidesChapter1.slides
Chapter1.slides
 
Design options for digital systems
Design options for digital systemsDesign options for digital systems
Design options for digital systems
 
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
 
Sta by usha_mehta
Sta by usha_mehtaSta by usha_mehta
Sta by usha_mehta
 
ASIC design Flow (Digital Design)
ASIC design Flow (Digital Design)ASIC design Flow (Digital Design)
ASIC design Flow (Digital Design)
 
Asic design
Asic designAsic design
Asic design
 
ASIC DESIGN FLOW
ASIC DESIGN FLOWASIC DESIGN FLOW
ASIC DESIGN FLOW
 
Pass Transistor Logic
Pass Transistor LogicPass Transistor Logic
Pass Transistor Logic
 
Intellectual property in vlsi
Intellectual property in vlsiIntellectual property in vlsi
Intellectual property in vlsi
 
Power Gating
Power GatingPower Gating
Power Gating
 
Vlsi Synthesis
Vlsi SynthesisVlsi Synthesis
Vlsi Synthesis
 
Introduction to VLSI Design
Introduction to VLSI DesignIntroduction to VLSI Design
Introduction to VLSI Design
 
Vlsi
VlsiVlsi
Vlsi
 
Programmable logic devices
Programmable logic devicesProgrammable logic devices
Programmable logic devices
 

Andere mochten auch (6)

Composants reconfigurables
Composants reconfigurablesComposants reconfigurables
Composants reconfigurables
 
PLD's
PLD'sPLD's
PLD's
 
fpga programming
fpga programmingfpga programming
fpga programming
 
xilinx fpga problems
xilinx fpga problemsxilinx fpga problems
xilinx fpga problems
 
DSD
DSDDSD
DSD
 
Xilinx 4000 series
Xilinx 4000 seriesXilinx 4000 series
Xilinx 4000 series
 

Ähnlich wie Fpga 03-cpld-and-fpga

L12 programmable+logic+devices+(pld)
L12 programmable+logic+devices+(pld)L12 programmable+logic+devices+(pld)
L12 programmable+logic+devices+(pld)
NAGASAI547
 
VLSI Experiments I
VLSI Experiments IVLSI Experiments I
VLSI Experiments I
Gouthaman V
 
Module-5-Introduction-to-Programmable-Logic-PROF.pdf
Module-5-Introduction-to-Programmable-Logic-PROF.pdfModule-5-Introduction-to-Programmable-Logic-PROF.pdf
Module-5-Introduction-to-Programmable-Logic-PROF.pdf
AnthonyTayong1
 

Ähnlich wie Fpga 03-cpld-and-fpga (20)

Chapter 4
Chapter 4Chapter 4
Chapter 4
 
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
 
Complex Programmable Logic Devices(CPLD) & Field Programmable Logic Devices (...
Complex Programmable Logic Devices(CPLD) & Field Programmable Logic Devices (...Complex Programmable Logic Devices(CPLD) & Field Programmable Logic Devices (...
Complex Programmable Logic Devices(CPLD) & Field Programmable Logic Devices (...
 
FPGA
FPGAFPGA
FPGA
 
4_BIT_ALU
4_BIT_ALU4_BIT_ALU
4_BIT_ALU
 
VLSI PLDS pla, pal
VLSI PLDS pla, palVLSI PLDS pla, pal
VLSI PLDS pla, pal
 
Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)Spartan-II FPGA (xc2s30)
Spartan-II FPGA (xc2s30)
 
Fundamentals of FPGA
Fundamentals of FPGAFundamentals of FPGA
Fundamentals of FPGA
 
Actel fpga
Actel fpgaActel fpga
Actel fpga
 
Introduction to FPGA, VHDL
Introduction to FPGA, VHDL  Introduction to FPGA, VHDL
Introduction to FPGA, VHDL
 
Fpga &;cpld(by alok singh)
Fpga &;cpld(by alok singh)Fpga &;cpld(by alok singh)
Fpga &;cpld(by alok singh)
 
DELD Unit V cpld_fpga
DELD Unit V cpld_fpgaDELD Unit V cpld_fpga
DELD Unit V cpld_fpga
 
Fpga & VHDL
Fpga & VHDLFpga & VHDL
Fpga & VHDL
 
Fpg as 11 body
Fpg as 11 bodyFpg as 11 body
Fpg as 11 body
 
L12 programmable+logic+devices+(pld)
L12 programmable+logic+devices+(pld)L12 programmable+logic+devices+(pld)
L12 programmable+logic+devices+(pld)
 
L12_PROGRAMMABLE+LOGIC+DEVICES+(PLD).ppt
L12_PROGRAMMABLE+LOGIC+DEVICES+(PLD).pptL12_PROGRAMMABLE+LOGIC+DEVICES+(PLD).ppt
L12_PROGRAMMABLE+LOGIC+DEVICES+(PLD).ppt
 
Programmable Hardware - An Overview
Programmable Hardware - An OverviewProgrammable Hardware - An Overview
Programmable Hardware - An Overview
 
VLSI Experiments I
VLSI Experiments IVLSI Experiments I
VLSI Experiments I
 
Module-5-Introduction-to-Programmable-Logic-PROF.pdf
Module-5-Introduction-to-Programmable-Logic-PROF.pdfModule-5-Introduction-to-Programmable-Logic-PROF.pdf
Module-5-Introduction-to-Programmable-Logic-PROF.pdf
 
Smart logic
Smart logicSmart logic
Smart logic
 

Mehr von Malik Tauqir Hasan

Fpga 11-sequence-detector-fir-iir-filter
Fpga 11-sequence-detector-fir-iir-filterFpga 11-sequence-detector-fir-iir-filter
Fpga 11-sequence-detector-fir-iir-filter
Malik Tauqir Hasan
 
Fpga 10-bcd-to-excess-3-converter-manchester-encoding
Fpga 10-bcd-to-excess-3-converter-manchester-encodingFpga 10-bcd-to-excess-3-converter-manchester-encoding
Fpga 10-bcd-to-excess-3-converter-manchester-encoding
Malik Tauqir Hasan
 
Fpga 09-behavioral-modeling-moore-machine
Fpga 09-behavioral-modeling-moore-machineFpga 09-behavioral-modeling-moore-machine
Fpga 09-behavioral-modeling-moore-machine
Malik Tauqir Hasan
 
Fpga 08-behavioral-modeling-mealy-machine
Fpga 08-behavioral-modeling-mealy-machineFpga 08-behavioral-modeling-mealy-machine
Fpga 08-behavioral-modeling-mealy-machine
Malik Tauqir Hasan
 
Fpga 07-port-rules-gate-delay-data-flow-carry-look-ahead-adder
Fpga 07-port-rules-gate-delay-data-flow-carry-look-ahead-adderFpga 07-port-rules-gate-delay-data-flow-carry-look-ahead-adder
Fpga 07-port-rules-gate-delay-data-flow-carry-look-ahead-adder
Malik Tauqir Hasan
 
Fpga 06-data-types-system-tasks-compiler-directives
Fpga 06-data-types-system-tasks-compiler-directivesFpga 06-data-types-system-tasks-compiler-directives
Fpga 06-data-types-system-tasks-compiler-directives
Malik Tauqir Hasan
 

Mehr von Malik Tauqir Hasan (12)

Fpga 13-task-and-functions
Fpga 13-task-and-functionsFpga 13-task-and-functions
Fpga 13-task-and-functions
 
Fpga 12-event-control
Fpga 12-event-controlFpga 12-event-control
Fpga 12-event-control
 
Fpga 11-sequence-detector-fir-iir-filter
Fpga 11-sequence-detector-fir-iir-filterFpga 11-sequence-detector-fir-iir-filter
Fpga 11-sequence-detector-fir-iir-filter
 
Fpga 10-bcd-to-excess-3-converter-manchester-encoding
Fpga 10-bcd-to-excess-3-converter-manchester-encodingFpga 10-bcd-to-excess-3-converter-manchester-encoding
Fpga 10-bcd-to-excess-3-converter-manchester-encoding
 
Fpga 09-behavioral-modeling-moore-machine
Fpga 09-behavioral-modeling-moore-machineFpga 09-behavioral-modeling-moore-machine
Fpga 09-behavioral-modeling-moore-machine
 
Fpga 08-behavioral-modeling-mealy-machine
Fpga 08-behavioral-modeling-mealy-machineFpga 08-behavioral-modeling-mealy-machine
Fpga 08-behavioral-modeling-mealy-machine
 
Fpga 07-port-rules-gate-delay-data-flow-carry-look-ahead-adder
Fpga 07-port-rules-gate-delay-data-flow-carry-look-ahead-adderFpga 07-port-rules-gate-delay-data-flow-carry-look-ahead-adder
Fpga 07-port-rules-gate-delay-data-flow-carry-look-ahead-adder
 
Fpga 06-data-types-system-tasks-compiler-directives
Fpga 06-data-types-system-tasks-compiler-directivesFpga 06-data-types-system-tasks-compiler-directives
Fpga 06-data-types-system-tasks-compiler-directives
 
Fpga 05-verilog-programming
Fpga 05-verilog-programmingFpga 05-verilog-programming
Fpga 05-verilog-programming
 
Fpga 04-verilog-programming
Fpga 04-verilog-programmingFpga 04-verilog-programming
Fpga 04-verilog-programming
 
Fpga 02-memory-and-pl ds
Fpga 02-memory-and-pl dsFpga 02-memory-and-pl ds
Fpga 02-memory-and-pl ds
 
Fpga 01-digital-logic-design
Fpga 01-digital-logic-designFpga 01-digital-logic-design
Fpga 01-digital-logic-design
 

Kürzlich hochgeladen

Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
amitlee9823
 
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
tufbav
 
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
amitlee9823
 

Kürzlich hochgeladen (20)

VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
 
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
 
Develop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power pointDevelop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power point
 
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
 
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
9892124323 Pooja Nehwal Call Girls Services Call Girls service in Santacruz A...
 
HLH PPT.ppt very important topic to discuss
HLH PPT.ppt very important topic to discussHLH PPT.ppt very important topic to discuss
HLH PPT.ppt very important topic to discuss
 
↑Top celebrity ( Pune ) Nagerbazar Call Girls8250192130 unlimited shot and al...
↑Top celebrity ( Pune ) Nagerbazar Call Girls8250192130 unlimited shot and al...↑Top celebrity ( Pune ) Nagerbazar Call Girls8250192130 unlimited shot and al...
↑Top celebrity ( Pune ) Nagerbazar Call Girls8250192130 unlimited shot and al...
 
Introduction-to-4x4-SRAM-Memory-Block.pptx
Introduction-to-4x4-SRAM-Memory-Block.pptxIntroduction-to-4x4-SRAM-Memory-Block.pptx
Introduction-to-4x4-SRAM-Memory-Block.pptx
 
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
 
Shikrapur Call Girls Most Awaited Fun 6297143586 High Profiles young Beautie...
Shikrapur Call Girls Most Awaited Fun  6297143586 High Profiles young Beautie...Shikrapur Call Girls Most Awaited Fun  6297143586 High Profiles young Beautie...
Shikrapur Call Girls Most Awaited Fun 6297143586 High Profiles young Beautie...
 
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
 
Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006Call Girls in Vashi Escorts Services - 7738631006
Call Girls in Vashi Escorts Services - 7738631006
 
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
 
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
 
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
 
Call Girls Kothrud Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Kothrud Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Kothrud Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Kothrud Call Me 7737669865 Budget Friendly No Advance Booking
 

Fpga 03-cpld-and-fpga

  • 1. ENGR. RASHID FARID CHISHTI LECTURER,DEE, FET, IIUI CHISHTI@IIU.EDU.PK WEEK 3 CPLD AND FPGA FPGA Based System Design Sunday, May 17, 2015 1 www.iiu.edu.pk
  • 2. PAL-like block I/Oblock PAL-like block I/Oblock PAL-like block I/Oblock PAL-like block I/Oblock Interconnection wires Structure of a CPLD Logic Block CPLD builds on SPLD architecture and creates a much larger design. MacroCellMacroCell PLA or PAL PLA or PAL
  • 3. CPLD can be used to integrate the functions of a number of SPLDs into a single device. The CPLD consists of a number of logic blocks (sometimes referred to as functional blocks), each of which contains a macrocell and either a PLA or PAL circuit arrangement. In the center of the design is a global programmable interconnect. This interconnect allows connections to the logic block macrocells and the I/O cell arrays (the digital I/O cells of the CPLD connecting to the pins of the CPLD package). CPLDs utilize nonvolatile memory such as EPROM, EEPROM, and flash memory CPLD Sunday, May 17, 2015 3 www.iiu.edu.pk
  • 4. A section of a CPLD D Q D Q D Q PAL-like block (details not shown) PAL-like block
  • 5. Sunday, May 17, 2015 5 www.iiu.edu.pk XC9500 CPLDs XC9536XV XC9572XV XC95144XV XC95288XV Macrocells 36 72 144 288 Usable Gates 800 1,600 3,200 6,400 Registers 36 72 144 288 TPD (ns) 3.5 4 4 5 TSU (ns) 2.8 3.1 3.1 3.7 TCO(ns) 1.8 2.0 2.0 2.5 fSYSTEM (MHz) 278 250 250 222 Xilinx CPLDs
  • 6. Xilinx CPLDs Sunday, May 17, 2015www.iiu.edu.pk
  • 7. Sunday, May 17, 2015 7 www.iiu.edu.pk
  • 8. Xilinx XC9500 CPLD Sunday, May 17, 2015 8 www.iiu.edu.pk The Xilinx XC9500 family of CPLDs are flash-based (EEPROM) and in-system programmable. The devices are organized as an array of functional blocks in a PAL- like structure with wide AND gates and fast flip-flops. Each function block contains up to 18 independent macrocells (see Figure 8-49), and can accommodate 54 inputs and drive 18 outputs (depending on the packaging). A FastCONNECT switch-matrix technology ensures that an application can be fully routed even when the device utilization is high. I/O blocks (IOBs) buffer the inputs and outputs to the device and also receive the global clock and S-R signals. The output buffers have a programmable slew rate. The Xilinx XC9500 family of CPLDs are flash-based (EEPROM) and in-system programmable. The devices are organized as an array of functional blocks in a PAL- like structure with wide AND gates and fast flip-flops. Each function block contains up to 18 independent macrocells (see Figure 8-49), and can accommodate 54 inputs and drive 18 outputs (depending on the packaging). A FastCONNECT switch-matrix technology ensures that an application can be fully routed even when the device utilization is high. I/O blocks (IOBs) buffer the inputs and outputs to the device and also receive the global clock and S-R signals. The output buffers have a programmable slew rate.
  • 9. Sunday, May 17, 2015 9 www.iiu.edu.pk
  • 10. Sunday, May 17, 2015 10 www.iiu.edu.pk
  • 11. Sunday, May 17, 2015 11 www.iiu.edu.pk
  • 12. Sunday, May 17, 2015 12 www.iiu.edu.pk
  • 13. Xilinx XC9500 CPLD Sunday, May 17, 2015 13 www.iiu.edu.pk The PAL-like architecture of a function block receives 54 complemented and uncomplemented inputs and can form up to 90 product terms from the inputs. A "product-term allocator" allocates up to 90 product terms to each macrocell in the function block to form an SOP expression. Each macrocell can receive five direct product terms from the AND array, and up to 10 more product terms can be made available from other uncommitted product terms in other macrocells in the same functional block, with a negligible increase in delay. partial sums of products can be combined over several macrocells to produce expressions with more than 18 product terms. Each macrocell can be independently configured for combinational or registered functionality, and receives global clock, output enable, and S-R signals. The PAL-like architecture of a function block receives 54 complemented and uncomplemented inputs and can form up to 90 product terms from the inputs. A "product-term allocator" allocates up to 90 product terms to each macrocell in the function block to form an SOP expression. Each macrocell can receive five direct product terms from the AND array, and up to 10 more product terms can be made available from other uncommitted product terms in other macrocells in the same functional block, with a negligible increase in delay. partial sums of products can be combined over several macrocells to produce expressions with more than 18 product terms. Each macrocell can be independently configured for combinational or registered functionality, and receives global clock, output enable, and S-R signals.
  • 14. Xilinx XC9500 CPLD Sunday, May 17, 2015 14 www.iiu.edu.pk The pin-to-pin delays of the XC9500 device family are short, and support high system clock rates up to 150 MHz. They should be used in high fan-in state machines, in which speed is a dominant constraint. The architecture of a macrocell is shown in Figure. The flip-flop can be configured as a D- or T-type flip-flop, with synchronous or asynchronous S-R operation. The register's clock can be any of three global clocks, or a product term. The register can also be bypassed to provide direct output. Each macrocell has five direct inputs form the AND-an&y, which can be used to implement combinational functions or control inputs (clock, clock enable, set-reset, and output enable). The pin-to-pin delays of the XC9500 device family are short, and support high system clock rates up to 150 MHz. They should be used in high fan-in state machines, in which speed is a dominant constraint. The architecture of a macrocell is shown in Figure. The flip-flop can be configured as a D- or T-type flip-flop, with synchronous or asynchronous S-R operation. The register's clock can be any of three global clocks, or a product term. The register can also be bypassed to provide direct output. Each macrocell has five direct inputs form the AND-an&y, which can be used to implement combinational functions or control inputs (clock, clock enable, set-reset, and output enable).
  • 15. Sunday, May 17, 2015www.iiu.edu.pk 15 FPGA is a form of programmable logic device introduced in 1985 by Xilinx, Inc. An FPGA consists of an array of configurable logic blocks; surrounded by programmable I/O blocks, and connected with programmable interconnects. Also, there will be clock circuitry for driving the clock signals to each logic block. FPGA Technologies  Antifuse : One Time Programmable  SRAM: Reprogrammable FPGAs, use SRAM configuration cell  Flash: Reprogrammable and Nonvolatile FPGAs FPGA is a form of programmable logic device introduced in 1985 by Xilinx, Inc. An FPGA consists of an array of configurable logic blocks; surrounded by programmable I/O blocks, and connected with programmable interconnects. Also, there will be clock circuitry for driving the clock signals to each logic block. FPGA Technologies  Antifuse : One Time Programmable  SRAM: Reprogrammable FPGAs, use SRAM configuration cell  Flash: Reprogrammable and Nonvolatile FPGAs FPGA: Field Programmable Gate Array
  • 16. FPGA v.s. CPLD  Capacitance SPLDs CPLDs FPGAs Equivalent gates 0 ~ 200 200 ~ 12,000 1000 ~ 1,000,000  Applications CPLDs FPGAs 1. Implement random glue logics or Replace circuits previously implemented by multiple SPLDs 2. Circuits that can exploit wide AND/OR gates, and do not need a very large number of flip-flops are good candidates for implementation in CPLDs. 1. FPGAs can be used in various applications: prototyping, FPGA- based computers, on-site hardware re-configuration, DSP, logic emulation, network components, etc.
  • 17. Sunday, May 17, 2015www.iiu.edu.pk 17 These blocks contain the logic for the FPGA. The block contains RAM for creating combinatorial logic functions, also known as lookup tables (LUTs). It also contains flip-flops for clocked storage elements, and multiplexers to route the logic within the block and to and from external resources. The multiplexers also allow polarity selection and reset and clear input selection. These blocks contain the logic for the FPGA. The block contains RAM for creating combinatorial logic functions, also known as lookup tables (LUTs). It also contains flip-flops for clocked storage elements, and multiplexers to route the logic within the block and to and from external resources. The multiplexers also allow polarity selection and reset and clear input selection. Configurable Logic Blocks (CLBs) 2 LUTs in a CLB of Xilinx XC4000
  • 18. Gates are combined to create complex circuits Multiplexer Example  If S=0, Z=A  If S=1, Z=B Very Common Digital Circuit Heavily Used in FPGA S input is controlled by Configuration memory bit Combinational Logic Functions Sunday, May 17, 2015 18 www.iiu.edu.pk 0 0 1 1 1 0 1 ZA 0 B 0 0 0 0 S 0 1 1 0 0 0 1 1 1 0 1 01 1 1 1 1 0 1 0
  • 19. Sunday, May 17, 2015www.iiu.edu.pk 19 0 0 1 1 0 1 0 1 1 0 0 1 x 1 x 2 (b) f 1 x 1 x 2 x 1 x 2 += f 1 A two-input lookup table (LUT). (c) Storage cell contents in the LUT x1 x2 1 0 0 1 f1 1 1 0 0 1 0 (a) Circuit for a two-input LUT x1 x2 f 0/1 0/1 0/1 0/1 1 1 0 0 1 0 Out D Q Clock Select Flip-flop LUT Inclusion of a flip-flop with a LUT x1 x2 CMOS SRAM Cell
  • 20. Recall MUX Example Configuration Memory holds outputs for truth table Internal signals connect to control signals of multiplexer to select value of truth table for any given input value Look-up Tables Sunday, May 17, 2015 20 www.iiu.edu.pk
  • 21. Sunday, May 17, 2015www.iiu.edu.pk 21 CMOS SRAM Cell
  • 22. Sunday, May 17, 2015www.iiu.edu.pk 22
  • 23. Sunday, May 17, 2015www.iiu.edu.pk 23 Implementation of interconnection 1 0 Vf1 VA 0 0 0 0 1 x1 x2 f1 SRAM SRAM SRAM (to other wires)
  • 24. Sunday, May 17, 2015 24 www.iiu.edu.pk Here is an example how a switch-box works  Each switch-box interconnect point has 6 pass transistors  Pass transistors are driven by configuration memory cells Switch Box Circuit
  • 25. Programmable Interconnect Sunday, May 17, 2015 25 www.iiu.edu.pk  Local interconnects are fast and short  Horizontal and vertical interconnects are of various lengths
  • 26. Sunday, May 17, 2015www.iiu.edu.pk 26 IOB is used to bring signals onto the chip and send them back off again. It consists of an input buffer and an output buffer with three- state and open collector output controls. Typically there are pull up resistors on the outputs. The polarity of the output can usually be programmed for active high or active low output, and often the slew rate of the output can be programmed for fast or slow rise and fall times. IOB is used to bring signals onto the chip and send them back off again. It consists of an input buffer and an output buffer with three- state and open collector output controls. Typically there are pull up resistors on the outputs. The polarity of the output can usually be programmed for active high or active low output, and often the slew rate of the output can be programmed for fast or slow rise and fall times. Configurable I/O Block (IOBs)

Hinweis der Redaktion

  1. Glue Logic: A simple logic circuit that is used to connect complex logic circuits together. For example, an ASIC chip may contain large functions, such as a microprocessor, memory block or communications block, which are tied together via small amounts of glue logic. At the printed circuit board (PCB) level, glue logic may be implemented with simple "jelly bean" chips ("glue chips") that contain a few gates all the way to programmable logic devices