Docsity

Programmable Logic - Slides - Electrical and Computer Engineering | ENGIN 112, Study notes of Engineering

Partial preview of the text

Download Programmable Logic - Slides - Electrical and Computer Engineering | ENGIN 112 and more Study notes Engineering in PDF only on Docsity!

Maciej Ciesielski

Department of Electrical and Computer Engineering

12/03/

Engin112 – Lectures 36-

Programmable Logic

12/03/

Engin 112 - Intro to ECE

Recap from last lecture

ƒ^

Memories^ y

RAM y ROM y Programmable ROM

ƒ^

Today’s lecture^ y

PLA y PAL y PLDs

»^

Combinational »^

Sequential

y^

FPGAs^ »

LUT-based

12/03/

Engin 112 - Intro to ECE

Programmable Logic Array (PLA)

ƒ^

ProgrammableAND

and

OR

arrays

ƒ^

AND arraygenerates products

ƒ^

OR array generatessum of products

ƒ^

Output XOR allowsinversion

ƒ^

What is the function of this PLA?^ y

F
= AB’ + AC + A’BC’ 1

y^

F^2
= (AC + BC)’

Programmableinverters

12/03/

Engin 112 - Intro to ECE

Programmable Logic Array (PLA)

ƒ^

Implement^ y

F1(x,y,z) =

= x’y’z’ + x’yz + xy’z + xyz’ y^

F2(x,y,z) =

x’y’z’ + x’y’z + x’yz’ + xy’z’ + xyz

0 1

x y z

x’y’z’ x’yz xy’z xyz’

F1 F

0 3 5 6

Programmableinverters

12/03/

Engin 112 - Intro to ECE

Programmable Array Logic

ƒ^

Implement^ y

F1(x,y,z)=

= x’y’z’ + x’yz

+xy’z + xyz

y^

F2(x,y,z)=

= x’y’z’ + x’y’z

+x’yz’ + xy’z’ + xyz

m3 m5 m6 m

w =

Σ(3,5,6)

w w’

w w’

Σ (0,3,5,6) Σ (3,5,6)’

x y z

F G

12/03/

Engin 112 - Intro to ECE

Sequential Programmable Devices

ƒ^

PLDs convenient for combinatorial circuits^ y

Can we design something similar for sequentialcircuits?

ƒ^

Basic sequential circuit:

ƒ^

What can we use for^ y

combinatorial portion? y memory?

ƒ^

Sequential programmable devices:^ y

Sequential programmable logic device (SPLD) y Complex programmable logic device (CPLD) y Field programmable gate array (FPGA)

12/03/

Engin 112 - Intro to ECE

Complex Programmable Logic Device

ƒ^

CPLDs for larger circuits^ y

Combine multiple SPLDs y Switch matrixconnects SPLDs y I/O block withtristate I/O

ƒ^

Details arevendor-specific^ y

Altera (CPLD)

PAL or PLA structures

12/03/

Engin 112 - Intro to ECE

Field Programmable Gate Arrays

ƒ^

Gate Array^ y

An array of programmable

logic function blocks

y^

Gate array is manufactured ahead of time (prefabricated) y^

Customer programs (configures) the gate array^ »

provides logic functions and interconnections

ƒ^

Field Programmable Gate Array (FPGA)^ y

An array of identical, programmable

logic function blocks

»^

Each block has a fixed

number of inputs (

k )

»^

Each block is able to implement an arbitrary

logic function

y^

Customer programs FPGA after manufacturing, “in field”^ »

Re-programmable

y^

Easier to debug and cheaper in smaller quantity than ASIC

ƒ^

An alternative to ASIC^ y

High production cost amortized over large quantity of chips

»^

ASIC (Application Specific Integrated Circuit) – high volume of custom

design chip

»^

FPGAs – high volume of programmable

, flexible chips

12/03/

Engin 112 - Intro to ECE

LUT Programming

ƒ^

Implement the following function using 3-input LUT

F = ab + ac + bc

a b c

F

a b c

LUT
F

Programming bit

12/03/

Engin 112 - Intro to ECE

Logic Element

ƒ^

Logic Element – the basic programmable element of FPGA^ y

Contains LUT (look-up table)

Look-UpTable(LUT)

State

Out

Inputs Clock Enable

12/03/

Engin 112 - Intro to ECE

FPGA Routing

ƒ^

Programmable routing^ y

Switch-boxes (S) y I/O connectors (C)

12/03/

Engin 112 - Intro to ECE

Multi-FPGA System

12/03/

Engin 112 - Intro to ECE

Reading Assignment

ƒ^

Read Mano 8.1 – 8.5 (RTL)