Professional Documents
Culture Documents
Plds
Plds
DISPOSITIVOS LÓGICOS
PROGRAMABLES
Miguel Angel Rodríguez Fuentes
2
Contenido
• Diseño con Circuitos Lógicos
• Qué son los PLDs?
• Diseño tradicional vs Diseño usando PLDs
• Clasificación CI
• Tipos de PLDs
• Leguaje de Descripción de Hardware
• Soft Processor (Programmable Processors)
3
Tabla de verdad y
función canónica
Mapas de Karnaugh
Tabla de verdad y
función canónica
Mapas de Karnaugh
Tabla de verdad y
función canónica
Mapas de Karnaugh
Tabla de verdad y
función canónica
Mapas de Karnaugh
Descripción del
circuito mediante un
lenguaje
Síntesis y obtención
del archivo de
programación
Descripción del
circuito mediante un
lenguaje
Síntesis y obtención
del archivo de
programación
Descripción del
circuito mediante un
lenguaje
Síntesis y obtención
del archivo de
programación
Descripción del
circuito mediante un
lenguaje
Síntesis y obtención
del archivo de
programación
Programación del
Chip
13
CI estándar
• Fixed Functionality
• 7400-series standard chips
• SSI (Small Scale Integrated circuit) :less than 10 gates
• MSI (Medium Scale Integrated circuits) : about 10 to 100
gates
• LSI (Large Scale Integrate circuits) : about 100 to 10,000
gates
• VLSI (Very Large Scale Integrated circuits) : over 10,000
to 100,000 gates
• ULSI (Ultra Large Scale Integrated Circuits) : over
100,000 gates
14
Circuitos Integrados
ASICs Microprocessors
Application Specific PLDs
Integrated Circuits Microcontrollers
15
Tipos de PLDs
PLD
SPLD HCPLD
Simple PLD High Capacity PLD
CPLD
PLA PAL
Programmable Array Logic Complex PLD
FPGA
Field Programmable Gate Array
16
PLD Advantages
•Short design
PLD
time
ASIC •Less expensive
at low volume
Volume
18
Contenido
M=4
Programmable ROM (PROM)
11 1 0 0 1
N input N
2 xM M output
ROM 10 0 1 1 0
01 0 1 0 1
00 1 0 1 1
Address: N bits; Output word: M bits
Dirección
N
ROM contains 2 words of M bits each N=2
PROM Types
• Programmable PROM
▫ Break links through current pulses
▫ Write once, Read multiple times
• Erasable PROM (EPROM)
▫ Program with ultraviolet light
▫ Write multiple times, Read multiple times
• Electrically Erasable PROM (EEPROM)/ Flash
Memory
▫ Program with electrical signal
▫ Write multiple times, Read multiple times
22
n x k links
k AND m OR gates
gates m outputs
k X m links
n inputs n x k links
PLA 4 X 6 X 2
25
PAL Implications
• Number of product terms per output > number
of product terms in each sum-of-product
expression
• No sharing of product terms between outputs
29
SPLD - CPLD
• Simple Programmable logic device
▫ Single AND Level
▫ Flip-Flops and feedbacks
• Complex Programmable logic device
▫ Several PLDs Stacked together
PLD PLD
I/O
I/O
• •
• Block Block •
A B C Select • •
Enable
f1
Flip-flop
Interconnection Matrix
D Q MUX
Clock
PLD PLD
I/O
I/O
• •
AND plane • Block Block •
• •
35
CPLD
Logic Logic
Block Block
Programmable
Interconnect
I/O I/O
Logic Logic
Block Block
36
XILINX XC9572
39
XILINX XC9572
40
y
a
b N Input
I/O
I/O
LUT
SET
c MUX D Q q
d
CLR Q
clk
rst
I/O
41
FPGA
programable
programable functions
interconnections
configuration
Logic Block
I/O Block
Interconnect
43
Logic Function
• Implemented as look-up table (LUT)
K
• K-input LUT corresponds to 2 x 1 bit memory
• K-input LUT can implement any k-input 1-
output logic function
45
Configuring FPGA
• Configure CLB and IOB
• Configure interconnect
• Interconnect technology
▫ SRAM
▫ Anti-fuse (program once)
▫ EPROM / EEPROM
Programming Technology
Name Re-programmable Volatile
Antifuse no no
46
47
FPGA Applications
• Glue Logic (replace SSI and MSI parts)
• Digital designs where ASIC is not
commercial
• Rapid turnaround
• Upgradeable systems
• Prototype design
• Emulation
• Custom computing
• Reconfigurable systems
• Education
48
FPGA Applications
• Digital signal processing
• Aerospace and defense system
• ASIC prototyping
• Software defined radio
• Medical imaging
• Speech recognition
• Computer vision
• Cryptography
• Bioinformatics
• Computer hardware emulation
• Radio astronomy
• Metal detection
Comparison
Flexibility
Processors
Instruction Flexibility
90% Area Overhead
(Cache , Predictions)
FPGA
Device-wide flexibility
99% Area Overhead
(Configuration)
ASIC
No Flexibility
20% Area Overhead
(Testing)
49
Speed , Power Efficiency
50
CPLD vs FPGA
CPLD FPGA
- No volátil - Configuración SRAM
- Amplio Fan in - Diseño similar a un ASIC
- Máquinas de estado y contadores - Excelente para arquitectura
muy rápidos de computadoras, DSP, etc.
- Lógica Combinacional - Mayor flexibilidad en el
diseño
- Proyectos pequeños de estudiantes, - Perfecto para diseños de
cursos de niveles bajos cualquier nivel.
51
Esquemático HDL
Compilación
Ecu. Lógicas
Vectores de Prueba
Minimización
54
55
Espartan 3E
-1164 CLBs en
arreglo de 46
renglones x 34
columnas.
56
Simplified
IOB Diagram
57
Spartan 3E
CP132
Digilent Nexys 2
www.digilentinc.com
58
Digilent Nexys 2
59
60
Soft
Processors
63
Soft Processors
64
Soft Processors
65
Soft Processors
66
FIN
67
Preguntas