pld

15
Digital System Design Lecture 4: PLDs Amir Masoud Gharehbaghi [email protected]

Upload: ali-jasim-ramadhan

Post on 11-Apr-2016

1 views

Category:

Documents


0 download

DESCRIPTION

PLD

TRANSCRIPT

Page 1: PLD

Digital System DesignLecture 4: PLDs

Amir Masoud [email protected]

Page 2: PLD

Sharif University of Technology 2

Table of Contents

Simple PLDsComplex PLDsIntroduction to FPGA

Page 3: PLD

Sharif University of Technology 3

Programmable Logic Devices

Simple PLD (SPLD)

Complex PLD (CPLD)

Field Programmable Gate Array (FPGA)

Page 4: PLD

Sharif University of Technology 4

SPLD Structure

ANDPlane

ORPlane

Inpu

ts +

Buf

fers

/Inv

erte

rs

Inve

rter

s + O

utpu

ts

Flip

-Flo

ps (o

ptio

nal)

Page 5: PLD

Sharif University of Technology 5

SPLD Types

ROM (Read Only Memory)Fixed AND planeProgrammable OR plane

PLA (Programmable Logic Array)Programmable AND planeProgrammable OR plane

PAL (Programmable Array Logic)Programmable AND planeFixed OR plane

Page 6: PLD

Sharif University of Technology 6

Programmablility

For all kinds of SPLDs

One Time Programmable (OTP)Re-Programmable (RP)

Page 7: PLD

Sharif University of Technology 7

Transistor-Level StructureOR plane

(NOR gates)

AND plane (NOR gates)

x1 x2 x3

P1

P4

P3

P2

f1 f2

Pull-

ups

Pull-ups

21211 xxxxP =+=

Pull-up Network

A B

A+B

312 xxP =

3213 xxxP =

314 xxP =

32131211 xxxxxxxf ++=

Page 8: PLD

Sharif University of Technology 8

Output Microcell

DQ

Clock

SelectEnable

To AND plane

f

Page 9: PLD

Sharif University of Technology 9

SPLD Overview

Simple Capacity (~ 200 gates)Interconnection structure prevents high logic capacityPLAs are more flexible than PALs, but they are slowerUsage:

Control CircuitryGlue LogicFSMs

Page 10: PLD

Sharif University of Technology 10

CPLDs

Multiple PAL like blocksReprogrammableGlobal Interconnects

Page 11: PLD

Sharif University of Technology 11

CPLD Structure

PAL-likeblock

PAL-likeblock

PAL-likeblock

PAL-likeblock

Interconnection wires

I/O

blo

ckI/

O b

lock

I/O

blo

ckI/

O b

lock

Page 12: PLD

Sharif University of Technology 12

CPLD Structure (cont.)

Page 13: PLD

Sharif University of Technology 13

CPLD Overview

Higher Capacity than SPLD~ 5000 gates

Reasonable speedUsage

Simple Systems

Page 14: PLD

Sharif University of Technology 14

Mask Programmable Gate Array

Page 15: PLD

Sharif University of Technology 15

Field Programmable Gate Array

Two dimensional structureProgrammableThree elements:

Logic blocksI/O blocksInterconnection wires and switches