+ All Categories
Home > Documents > EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Date post: 20-Dec-2015
Category:
View: 226 times
Download: 1 times
Share this document with a friend
Popular Tags:
30
EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders
Transcript
Page 1: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

EE365Adv. Digital Circuit Design

Clarkson University

Lecture #7

Intro to MSI

PLDs and Decoders

Page 2: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Topics

• MSI Intro

• PLDs

• Decoders

Rissacher EE365Lect #7

Page 3: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Role of MSI Components in Logic Design

• Gates are the fundamental building blocks of logic - the “atoms”.

• Medium Scale Integrated (MSI) components are the “molecules” - the commonly occurring functions.

• MSI components form the building blocks for much more complex functions .

Rissacher EE365Lect #7

Page 4: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

MSI vs. Gate Level Design• Functions more complex - more inputs and/or

outputs.• Find a good, feasible design, not necessarily

optimal.• Not restricted to two-level logic.• Trade-off propagation delay with simplicity of

design.• Keep IC count low (usually ignore gate count).

Rissacher EE365Lect #7

Page 5: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

MSI vs. Gate Level Design

• Look for designs which are scalable - easily expanded to handle more inputs.

• Look for designs which are hierarchical - built upon already designed functions.

• No automated, general design algorithm - must be creative.

• Same principles apply to custom VLSI or ASIC design.

Rissacher EE365Lect #7

Page 6: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Programmable Logic Arrays (PLAs)

• Any combinational logic function can be realized as a sum of products.

• Idea: Build a large AND-OR array with lots of inputs and product terms, and programmable connections.– n inputs

• AND gates have 2n inputs -- true and complement of each variable.

– m outputs, driven by large OR gates• Each AND gate is programmably connected to each output’s

OR gate.

– p AND gates (p<<2n)

Rissacher EE365Lect #7

Page 7: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Example: 4x3 PLA, 6 product terms

Rissacher EE365Lect #7

Page 8: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Compact representation

• Actually, closer to physical layout (“wired logic”).

Rissacher EE365Lect #7

Page 9: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Some product terms

Rissacher EE365Lect #7

Page 10: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

PLA Electrical Design

• See Section 5.3.5 -- wired-AND logic

Rissacher EE365Lect #7

Page 11: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Programmable Array Logic (PALs)

• How beneficial is product sharing?– Not enough to justify the extra AND array

• PALs ==> fixed OR array– Each AND gate is permanently connected to a

certain OR gate.

• Example: PAL16L8

Rissacher EE365Lect #7

Page 12: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

• 10 primary inputs• 8 outputs, with 7 ANDs

per output• 1 AND for 3-state enable• 6 outputs available as

inputs– more inputs, at expense of

outputs– two-pass logic, helper

terms

• Note inversion on outputs– output is complement of

sum-of-products– newer PALs have

selectable inversion

Rissacher EE365Lect #7

Page 13: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Designing with PALs

• Compare number of inputs and outputs of the problem with available resources in the PAL.

• Write equations for each output using ABEL.• Compile the ABEL program, determine

whether minimimized equations fit in the available AND terms.

• If no fit, try modifying equations or providing “helper” terms.

Rissacher EE365Lect #7

Page 14: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Decoders• General decoder structure

• Typically n inputs, 2n outputs– 2-to-4, 3-to-8, 4-to-16, etc.

Rissacher EE365Lect #7

Page 15: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Binary 2-to-4 decoder

Note “x” (don’t care) notation.

Rissacher EE365Lect #7

Page 16: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

2-to-4-decoder logic diagram

Rissacher EE365Lect #7

Page 17: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

MSI 2-to-4 decoder

• Input buffering (less load)• NAND gates (faster)

Rissacher EE365Lect #7

Page 18: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Decoder Symbol

Rissacher EE365Lect #7

Page 19: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Complete 74x139 Decoder

Rissacher EE365Lect #7

Page 20: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

More decoder symbols

Rissacher EE365Lect #7

Page 21: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Minterms & Decoders

Rissacher EE365Lect #7

Note that outputs to decoders correspond to Minterms

Page 22: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Minterms & Decoders

Rissacher EE365Lect #7

• SOP can be formed by combining outputs• i.e., Z = (I0’ • I1’) + (I0 • I1’)

• Most Decoders have active-low outputs, so they need to be inverted or a NAND can be substituted

Page 23: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

3-to-8 decoder

Rissacher EE365Lect #7

Page 24: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

74x138 3-to-8-decoder symbol

Rissacher EE365Lect #7

Page 25: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Decoder cascading

4-to-16 decoder

Rissacher EE365Lect #7

Page 26: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

In-Class Practice Problem

• Wire the 74x139 to make a 3-to-8 decoder

• You may use inverters

Rissacher EE365Lect #7

Page 27: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

In-Class Practice Problem

• Note that this would not normally be done since the 74x138 does the same thing A

BC

Rissacher EE365Lect #7

Page 28: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

More cascading

5-to-32 decoder

Rissacher EE365Lect #7

Page 29: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Decoder applications

• Microprocessor memory systems– selecting different banks of memory

• Microprocessor input/output systems– selecting different devices

• Microprocessor instruction decoding– enabling different functional units

• Memory chips– enabling different rows of memory depending on

address

• Lots of other applications

Rissacher EE365Lect #7

Page 30: EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.

Next time

• Buffers

• Drivers

• Encoders

• Multiplexers

• Exclusive OR Gates

Rissacher EE365Lect #7


Recommended