CEC 220 Digital Circuit Design Decoders, Encoders, & ROM Wed, February 19 CEC 220 Digital Circuit Design Slide 1 of 18.

Slides:



Advertisements
Similar presentations
Lecture 11-1 FPGA We have finished combinational circuits, and learned registers. Now are ready to see the inside of an FPGA.
Advertisements

컴퓨터구조론 교수 채수환. 교재 Computer Systems Organization & Architecture John D. Carpinelli, 2001, Addison Wesley.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Encoders.
Digital Design: Combinational Logic Blocks
Give qualifications of instructors: DAP
Programmable Logic PAL, PLA.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 9 Programmable Configurations Read Only Memory (ROM) – –a fixed array of AND gates.
©2004 Brooks/Cole FIGURES FOR CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES Click the mouse to move to the next page. Use the ESC key.
CPEN Digital System Design
COE 202: Digital Logic Design Combinational Circuits Part 3 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM.
Decoder.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Multiplexers, Decoders, and Programmable Logic Devices
ECE 331 – Digital System Design Tristate Buffers, Read-Only Memories and Programmable Logic Devices (Lecture #16) The slides included herein were taken.
ECE 301 – Digital Electronics
CENG 241 Digital Design 1 Lecture 12
CS 151 Digital Systems Design Lecture 31 Read Only Memory (ROM)
طراحی مدارهای منطقی نیمسال دوم دانشگاه آزاد اسلامی واحد پرند.
Logic Device and Memory. Tri-state Devices Tri-state logic devices have three states: logic 1, logic 0, and high impedance. A tri-state device has three.
Shannon’s Expansion Muxes and Encoders. Tri-State Buffers  A tri-state buffer has one input x, one output f and one control line e Z means high impedance,
Encoder, Tristate Driver
Figure to-1 Multiplexer and Switch Analog
Combinational Logic Chapter 4.
Outline Decoder Encoder Mux. Decoder Accepts a value and decodes it Output corresponds to value of n inputs Consists of: Inputs (n) Outputs (2 n, numbered.
Chapter 3 Decoder and Encoder Digital Logic Design III
Memory and Programmable Logic Dr. Ashraf Armoush © 2010 Dr. Ashraf Armoush.
Unit 9 Multiplexers, Decoders, and Programmable Logic Devices
Unit 9 Multiplexers, Decoders, and Programmable Logic Devices Ku-Yaw Chang Assistant Professor, Department of Computer Science.
CSET 4650 Field Programmable Logic Devices
Field-programmable logic devices FPLA circuits –Packaged PLA components with a fuse at every diode in both the AND and OR sections, that can be configured.
Basic Logic Operations and Standard Logic Gates (Lecture #1) ECE 331 – Digital System Design.
ROM & PLA Digital Logic And Computer Design
Logical Circuit Design Week 6,7: Logic Design of Combinational Circuits Mentor Hamiti, MSc Office ,
CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES
Chapter 5 Designing Combinational Systems Tell me what you Have in Have out And want done in between Then I can build a program to do anything. Capt. Ed.
Read Only Memory DC A0A0 A b1b1 b2b2 Programmable ROM DC A0A0 A v b1b1 b2b Fuse Mask-programmed ROM.
Decoders, Encoders, Multiplexers
CEC 220 Digital Circuit Design Timing Diagrams, MUXs, and Buffers Mon, Oct 5 CEC 220 Digital Circuit Design Slide 1 of 20.
CEC 220 Digital Circuit Design Timing Diagrams, MUXs, and Buffers Friday, February 14 CEC 220 Digital Circuit Design Slide 1 of 18.
CEC 220 Digital Circuit Design Timing Diagrams, MUXs, and Buffers
Chapter # 4: Programmable Logic
IC design options PLD (programmable logic device)
CEC 220 Digital Circuit Design Programmable Logic Devices
CEC 220 Digital Circuit Design NAND/NOR Multi-Level Circuits
CEC 220 Digital Circuit Design More Karnaugh Maps Monday, February 02 CEC 220 Digital Circuit Design Slide 1 of 11.
Programmable logic devices. CS Digital LogicProgrammable Logic Device2 Outline PLAs PALs ROMs.
Basic Logic Operations and Standard Logic Gates [Lecture:1] Instructor: Sajib Roy Lecturer, ETE, ULAB ETE 204 – Digital Electronics.
1 DLD Lecture 16 More Multiplexers, Encoders and Decoders.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Binary Parallel Adders
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Decoders.
Decoder. 2 ABC 3:8 dec O0O0 O1O1 O2O2 A B C Enb S2S2 S1S1 S0S0 O3O3 O4O4 O5O5 O6O6 O7O7 EABC O0O0 O1O1 O2O2 O3O3 O4O4 O5O5 O6O6 O7O7 0XXX
MSI Circuits.
Programmable Logic Devices
CENG 241 Digital Design 1 Lecture 13
This chapter in the book includes: Objectives Study Guide
ETE Digital Electronics
This chapter in the book includes: Objectives Study Guide
ECE 331 – Digital System Design
Dr. Clincy Professor of CS
This chapter in the book includes: Objectives Study Guide
ECE 434 Advanced Digital System L03
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
ECE434a Advanced Digital Systems L02
Dr. Clincy Professor of CS
CSCE 211: Digital Logic Design
13 Digital Logic Circuits.
CSCE 211: Digital Logic Design
FIGURE 5-1 MOS Transistor, Symbols, and Switch Models
Presentation transcript:

CEC 220 Digital Circuit Design Decoders, Encoders, & ROM Wed, February 19 CEC 220 Digital Circuit Design Slide 1 of 18

Lecture Outline Wed, February 19 CEC 220 Digital Circuit Design Decoders and Encoders Read-Only Memories (ROMs) Slide 2 of 18

Decoders Wed, February 19 CEC 220 Digital Circuit Design Slide 3 of 18 A 3:8 Line Decoder  A minterm generator!! MSB LSB How can we implement this with AND & OR gates?

Decoders Wed, February 19 CEC 220 Digital Circuit Design Slide 4 of 18 A 4:10 Line Decoder – w/ active Low Outputs No Output Decoded How can we implement this with AND & OR gates?

Decoders An Example Wed, February 19 CEC 220 Digital Circuit Design Slide 5 of 18 Realize the following functions using a 4:10 Decoder

Encoders Wed, February 19 CEC 220 Digital Circuit Design Slide 6 of 18 An Encoder performs the inverse function of a Decoder  A priority encoder “prioritizes” the inputs while encoding Assume that y 7 is given the highest Priority y7y7 y6y6 y5y5 y4y4 y3y3 y2y2 y1y1 y0y0 abcdy7y7 y6y6 y5y5 y4y4 y3y3 y2y2 y1y1 y0y0 abcd 1XXXXXXX111 y7y7 y6y6 y5y5 y4y4 y3y3 y2y2 y1y1 y0y0 abcd 01XXXXXX110 1XXXXXXX111 y7y7 y6y6 y5y5 y4y4 y3y3 y2y2 y1y1 y0y0 abcd 001XXXXX101 01XXXXXX110 1XXXXXXX111 y7y7 y6y6 y5y5 y4y4 y3y3 y2y2 y1y1 y0y0 abcd X XX XXX XXXX XXXXX101 01XXXXXX110 1XXXXXXX111 y7y7 y6y6 y5y5 y4y4 y3y3 y2y2 y1y1 y0y0 abcd X XX XXX XXXX XXXXX XXXXXX1101 1XXXXXXX1111

Read-Only Memories (ROMs) Wed, February 19 CEC 220 Digital Circuit Design Slide 7 of 18 Read-Only Memories  n-address lines  2 n address locations each storing a “word”  m-output lines  m-bits are stored at each address location o Each word is m-bits long ROMPROMEPROMEEPROM NAND Flash NOR Flash

Read-Only Memories (ROMs) Wed, February 19 CEC 220 Digital Circuit Design Slide 8 of 18 An Example  3 address lines: 2 3 = 8 Words or storage locations  4-bits are stored in each “word”

Read-Only Memories (ROMs) Wed, February 19 CEC 220 Digital Circuit Design Slide 9 of 18 Basic ROM Structure

Read-Only Memories (ROMs) An Example Wed, February 19 CEC 220 Digital Circuit Design Slide 10 of 18 Develop a HEX (4-bits) to ASCII (7-bits) code converterASCII  How many input (address) lines do we have? o Answer: 4  How many memory locations will we have? o Answer: 2 4 = 16  What is the size of the word stored in each memory location? o Answer: The size of an ASCII code = 7-bits Memory Array 2 4 words X 7-bits … HEX Number ASCII

Read-Only Memories (ROMs) An Example Wed, February 19 CEC 220 Digital Circuit Design Slide 11 of 18 Develop a HEX to ASCII code converter A 5 =A 4 X

Examples Wed, February 19 CEC 220 Digital Circuit Design Slide 12 of 18 Implement a 4:1 MUX, using four tri-state buffers and a 2:4 decoder. 4:1 MUX I0I1I2I3I0I1I2I3 A B Z 2:4 Decoder

Examples Wed, February 19 CEC 220 Digital Circuit Design Slide 13 of 18 Which lines should be used as inputs to allow the :10 line decoder to be used as a 3:8 decoder?

Examples Wed, February 19 CEC 220 Digital Circuit Design Slide 14 of 18 What size ROM is required to implement the 4-to-10 line decoder?  How many inputs? o How many words?  How many outputs? o How many bits per word?

Examples Wed, February 19 CEC 220 Digital Circuit Design Slide 15 of 18 Use a ROM to implement an 8 bit priority encoder.  How many inputs? o How many words?  How many outputs? o How many bits per word?

Next Lecture Wed, February 19 CEC 220 Digital Circuit Design Programmable Logic Devices  PAL, PLA, CPLD, FPGA Slide 16 of 18