Combinational Logic IV Programmable Logic Devices - PowerPoint PPT Presentation

1 / 24
About This Presentation
Title:

Combinational Logic IV Programmable Logic Devices

Description:

Cypress C22V10D. Koling Chang - ECS154A - Fall 2003. Page 19. CPLD. To get more gates: ... Cypress CY37128. Koling Chang - ECS154A - Fall 2003. Page 21. FPGA ... – PowerPoint PPT presentation

Number of Views:161
Avg rating:3.0/5.0
Slides: 25
Provided by: KC96
Category:

less

Transcript and Presenter's Notes

Title: Combinational Logic IV Programmable Logic Devices


1
Combinational Logic IVProgrammable Logic Devices
  • Instructor Koling Chang
  • email kchang_at_cs.ucdavis.edu

2
Outline
  • Programmable Logic Device (PLD)
  • ROM
  • PROM/EPROM
  • Programmable Logic Arrays (PLA)
  • Programmable Array of Logic (PAL)
  • Complex PLD (CPLD)
  • Field Programmable Gate Array (FPGA)

3
ROM
  • Read-Only Memory
  • Outputs are data, inputs are addresses.
  • Outputs are solely based on the inputs.
  • Can be implemented using combinational logic.
  • Usually implemented using generic logic arrays.
  • In practice, they are programmable. (EPROM)
  • Data remain after power cycles.

4
ROM (cont.)
  • Read-only memory with n inputs and m ouputs

n output variables
n input variables
100.110 010.111 101101 110010 . . . 001011 11
0110 011000 111101
0000 0001 0010 0011 . . . 1100 1101 1110 11
11
ROM 2n words x m bits
n input lines
m output lines
5
ROM (cont.)
  • ROM implemented by an Decoder and an Array

DECODER
MEMORY ARRAY
n inputs
2n decoded lines
m outputs
6
An 8-word x 4-bit ROM
  • F0 S 0,1,4,6 AB AC
  • F1 S 2,3,4,6,7 BAC
  • F2 S 0,1,2,6 ABBC
  • F3 S 2,3,5,6,7 AC B

F0 F1 F2 F3
7
PROM/EPROM
  • ROM
  • Programmed at IC manufacturing phase
  • Programmable ROM
  • Programmable at development phase by blowing
    fusible links
  • Erasable Programmable ROM
  • Programmable at development phase and erasable by
    ultraviolet

8
ROM (cont.)
  • Combinational logic can be designed using the
    device similar to programmable ROM.
  • PLA
  • PAL
  • FPGA

9
Programmable Logic Arrays (PLA)
  • PLAs
  • Implement sum-of-product expressions
  • No need to simplify the logical expressions
  • Take N inputs and produce M outputs
  • Each input represents a logical variable
  • Each output represents a logical function output
  • Internally uses
  • An AND array
  • Each AND gate receives 2N inputs
  • N inputs and their complements
  • An OR array

10
Programmable Logic Arrays (cont.)
  • A blank PLA with 2 inputs and 2 outputs

11
Programmable Logic Arrays (cont.)
  • Implementation examples

12
Programmable Logic Arrays (cont.)
  • Simplified notation

13
Programmable Array Logic Devices
  • Problem with PLAs
  • Flexible but expensive
  • Example
  • 12 X 12 PLA with
  • 50-gate AND array
  • 12-gate OR array
  • Requires 1800 fuses
  • 24 X 50 1200 fuses for the AND array
  • 50 X 12 600 fuses for the OR array
  • PALs reduce this complexity by using fixed OR
    connections
  • Reduces flexibility compared PLAs

14
Programmable Array Logic Devices (cont.)

Notice the fixed OR array connections
15
Programmable Array Logic Devices (cont.)
  • Terms cant be shared among outputs, no need to
    maximize common terms.
  • Limit of terms can be eased by feedback lines.

16
Programmable Array Logic Devices (cont.)
  • An example PAL (Texas Instruments
    TIBPAL22V10-10C)
  • 22 X 10 PAL (24-pin DIP package)
  • 120-gate AND array
  • 10-gate OR array
  • 44 X 120 5280 fuses
  • Just for the AND array
  • OR array does not use any fuses
  • Uses variable number of connections for the OR
    gates
  • Two each of 8-, 10-, 12-, 14-, and 16-input OR
    gates
  • Uses internal feedback through a programmable
    output cell

17
Programmable Array Logic Devices (cont.)
  • MUX selects the input
  • S0 and S1 are programmed through fuses F0 and F1

18
PAL Example
  • Cypress C22V10D

19
CPLD
  • To get more gates
  • Put several PALs on a chip.
  • Put programmable interconnect matrix between
    them.
  • Complex PLD

20
CPLD Example
  • Cypress CY37128

21
FPGA
  • Field Programmable Gate Array
  • Put lots of primitive logic elements in an array
    with programmable routing among them.
  • Primitive Elements
  • an NAND gate
  • A 2/1 mux (this happens to be a complete logic
    family)
  • A Lookup table (nx1)
  • Often combine one of the above with a D-FF to
    form the primitive.

22
FPGA Example
  • Altera FLEX 10K

23
FPGA Example (cont.)
24
Design Flow
  • In old days, logic are manually analyzed and
    programmed onto PAL devices.
  • In modern days, logic compiler can take schematic
    and/or hardware description language designs and
    generate outputs for fitters to place and route
    the design onto targeted devices.
  • CAD Vendors Synopsys, Aldec (Xilinx Foundation),
    Mentor, Cadence, Viewlogic,
Write a Comment
User Comments (0)
About PowerShow.com