Fpga 1
Fpga 1
Reference
chips
When FPGAs?
Design economics
(FPLD) “
Logic gates
Inputs and Outputs
(logic variables) programmable (logic functions)
switches
Use to implement
circuits in SOP form
Input buffers
and
The connections in inverters
the AND plane are
x1 x1 xn xn
programmable
P1
The connections in
the OR plane are AND plane OR plane
Pk
programmable
Programmable
connections
f1 = x1x2+x1x3'+x1'x2'x3 OR plane
P1
f2 = x1x2+x1'x2'x3+x1x3
P2
P3
P4
AND plane
N Krishna Prakash, Amrita School of Engineering
f1 f2
Customary Schematic of a PLA
x1 x2 x3
OR plane
f1 = x1x2+x1x3'+x1'x2'x3
P1
f2 = x1x2+x1'x2'x3+x1x3
P2
P3
P4
N input N M output
2 xM
ROM
The input bits decide the particular word that becomes available
on output lines
16
Logic Diagram of 8x3 PROM
Sum of minterms
N Krishna Prakash, Amrita School of Engineering
17
Combinational Circuit Implementation
using PROM
I0 I1 I2 F0 F1 F2
0 0 0 1 0 0
0 0 1 0 1 0
0 1 0 0 1 1
0 1 1 1 0 0
1 0 0 0 1 0
1 0 1 0 0 1
1 1 0 1 0 0
1 1 1 0 1 0 F0 F1 F2
18
PROM Types
Programmable PROM
Break links through current pulses
19
PROM: Advantages and Disadvantages
Widely used to implement functions with large number
of inputs and outputs
20
Programmable Array Logic (PAL)
x1 x2 xn
f1 fm
N Krishna Prakash, Amrita School of Engineering
Example Schematic of a PAL
x1 x2 x3
f1 = x1x2x3'+x1'x2x3
P1
f2 = x1'x2'+x1x2x3
f1
P2
P3
f2
P4
AND plane
N Krishna Prakash, Amrita School of Engineering
Comparing PALs and PLAs
D Q
Flip-flop
Clock
D Q
Enable = Select = 1 allows Clock
the PAL to synchronize the
output changes with a clock
back to AND plane
pulse
Sel = 0
En = 0
0
1
h
D Q
Sel = 0
Clock En = 1
0
g
1
D Q
Select
Clock
0
f
1
D Q
Clock
N Krishna Prakash, Amrita School of Engineering
FPGA Programming
FPGAs implement multi-level logic
Need both programmable logic blocks
and programmable interconnect
Combination of logic and interconnect
is fabric
Microprocessor is a stored-program
computer
1,000,000
900,000
800,000
700,000
600,000
500,000
mask cost ($)
400,000
300,000
200,000
100,000
0
.25 micron .18 micron .13 micron .09 micron
Power/energy
Design time
Design cost
FPGA tools less expensive than custom VLSI tools
Manufacturing cost
Power consumption
English specification
Executable Throughput,
program behavior design time
levels.
Bottom-up design creates abstractions from low-level
behavior.
Good design needs both top-down and bottom-up
efforts.
VerilogHDL
Atmel
Lattice Semiconductor
Virtex
Kintex
Artix
Altera
Stratix
Cyclone
MAX-II