Professional Documents
Culture Documents
Kuruvilla Varghese
DESE
Indian Institute of Science
Kuruvilla Varghese
Introduction 2
Kuruvilla Varghese
1
7/18/2014
PROM 3
A1 A0 4 , 2 bits
A1/ A0/
A1/ A0
A1 A0/
A1 A0
D1
D0
Kuruvilla Varghese
Kuruvilla Varghese
2
7/18/2014
D1
D0
Kuruvilla Varghese
• Programmable AND
• Programmable OR
• < 2n Product Terms (2n-input AND gates)
• Sharing of Product Terms by outputs
• Programming Overhead
• For a single output, programmable OR is not required, if one
can disable product terms
Kuruvilla Varghese
3
7/18/2014
A1 A0
O1
O2
Kuruvilla Varghese
• Programmable AND
• Fixed OR
• < 2n Product Terms (2n-input AND gates)
• Dedicated Product Terms for outputs
Kuruvilla Varghese
4
7/18/2014
Evolution 9
PAL16L8
5
7/18/2014
PAL16L8 11
Input/Output structure 12
• Output • Input/Output
– Enable Tri-state – Program Control AND gate
– Blow all input connections with control product term
of the control AND gate, • Disable any AND gate
wired AND with pull up – Retain all input connections
• Input • Cascade
– Disable Tri-state Gate – More than 7 Product Terms
– Retain all connections of
control AND gate
• Feedback
– Latch
Kuruvilla Varghese
6
7/18/2014
Cascading 13
• 17 Product terms
Kuruvilla Varghese
Cascading / 17 PT 14
7
7/18/2014
Cascading / 17 PT 15
Cascading 16
• 7+6+4 • Cascading
– 3 passes – Reduce the number of
– 3 section delays passes avoiding chain
– 8 Sections (7 + 6x7 = 49
PTs), 8 passes
• (7 + 7) + 3
– 2 passes
– 2 section delays
– 8 sections (7 x 7 = 49 PT), 2
passes
Kuruvilla Varghese
8
7/18/2014
Simple PLD’s 17
• Devices • Feature
– PAL16L8 x – Wide Decoding
– PAL16R4 x – e.g. AND Gate with 16
– PAL16R8 x inputs, and 16
– PAL22V10 complements
– Earlier used for Chip select
• Manufacturers decoding of memory and
– Atmel peripherals
– Higher order address bits
were decoded
Kuruvilla Varghese
Kuruvilla Varghese
9
7/18/2014
Kuruvilla Varghese
PAL16R4
10
7/18/2014
PAL16R4 21
Datapath 22
D Q D Q
Comb
CLK CLK
clk
Kuruvilla Varghese
11
7/18/2014
FF/Reg
Input
FF/Reg
Comb
Ouput
Input
Input
FSM 24
Outputs
Inputs NS
Next
State D PS Output
Logic CK Q Logic
AR
Clock
Reset
Kuruvilla Varghese
12
7/18/2014
Input
FF/Reg
NSL
Input
OL
Output
Input
FSM 26
Outputs
Inputs
NS D PS
Logic CK Q
AR
Clock
Reset
Kuruvilla Varghese
13
7/18/2014
Input
FF/Reg
Logic
Input
Logic
Output
Input
Substitution 28
• Substitution • Substitute x in y
– x = ab/ + cd – y = ab/ + cd + ef + ghi/
2 PT’s 1 pass delay 4 PTs 1 Pass delay
– y = x + ef + ghi/ • Virtual Substitution
3 PT’ s 2 pass delay – Uses unused PTs
– Reduces delay
Kuruvilla Varghese
14
7/18/2014
Substitution 29
Substitution 30
• Priority Encoders
• Adders/Subtractors
Kuruvilla Varghese
15
7/18/2014
PAL22V10
PAL22V10 - Macrocell 32
16
7/18/2014
PAL22V10 33
17
7/18/2014
Kuruvilla Varghese
Kuruvilla Varghese
18
7/18/2014
Applications of SPLD 37
• Glue Logic
• Counter
• FSM
• Wide decoding is not required for many
applications
• Less FFs
Kuruvilla Varghese
Programming Technology 38
• Fuse
• EPROM (UV Erasable)
• EEPROM
• Flash
Kuruvilla Varghese
19
7/18/2014
EPROM Transistor 39
Kuruvilla Varghese
PAL16L8 40
20
7/18/2014
A
Y
B
A
Y
B
I1/ (I1) I2/ (I2) In/ (In)
Kuruvilla Varghese
• Programmable AND
– Wired NOR with inputs using complements
– Transistors are EPROM
– When programmed, No connection
• Fixed OR
– Wired NOR followed by Inverter
– Normal n-type transistors are used
Kuruvilla Varghese
21
7/18/2014
Kuruvilla Varghese
Kuruvilla Varghese
22
7/18/2014
Kuruvilla Varghese
23
7/18/2014
Programming SPLD’s 47
• Programming Interface
– JEDEC File, standard, ASCII
– Fuse patterns in 0 & 1
• Programming methodology
– Proprietary, uses the normal pins
– High voltage - switch to programming mode
– Address, data, read/write, program pins
– Blank check, verification, security
– UV/Electrically Erasable, Programmer
Kuruvilla Varghese
24
7/18/2014
• Hierarchical PLD
• Product term array
• Product term Allocator / Distributor
• Macrocells
• I/O cells
• Programmable Interconnect
Kuruvilla Varghese
PAL22V10
25
7/18/2014
CPLD Manufacturers 51
• Xilinx
– XC9500XL, CoolRunner-II
• Altera
– Max 3000A, Max 7000S, Max II, Max V
• Atmel
– ATF15xx
• Lattice Semiconductor
– ispMACH 4000ZE
Kuruvilla Varghese
MAX7000 CPLD 52
26
7/18/2014
Kuruvilla Varghese
2 x 2 Crossbar 54
I0
I1
S0 S1
O0 O1
Kuruvilla Varghese
27
7/18/2014
MAX7000 Features 55
28
7/18/2014
MAX7000 Macrocell 57
Clock Enable 58
0 D Q
D Q
1
CE
CK
CK
Kuruvilla Varghese
29
7/18/2014
Kuruvilla Varghese
30
7/18/2014
MAX7000 CPLD 61
Fast Input 62
Kuruvilla Varghese
31
7/18/2014
Kuruvilla Varghese
32
7/18/2014
0
a q q
d
1
b q
en
clk clk
rst
rst
Kuruvilla Varghese
Fitting in CPLD 66
rst clk
q
b
a
en
33
7/18/2014
Kuruvilla Varghese
34
7/18/2014
35
7/18/2014
CPLD vs FPGA 71
CPLD Applications 72
Kuruvilla Varghese
36
7/18/2014
CPLD Applications 73
Kuruvilla Varghese
37