Unit 9 Multiplexers, Decoders, and Programmable Logic Devices Ku-Yaw Chang Assistant Professor, Department of Computer Science.

Slides:



Advertisements
Similar presentations
An Introduction to Windows Programming (MFC) Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering.
Advertisements

Unit 9 Multiplexers, Decoders, and Programmable Logic Devices Ku-Yaw Chang Assistant Professor, Department of Computer Science.
Unit 13 Analysis of Clocked Sequential Circuits
Unit 7 Multi-Level Gate Circuits / NAND and NOR Gates Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information.
Registers and Decoder.
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
Unit 11 Latches and Flip-Flops Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
Digital Design: Combinational Logic Blocks
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
Memory and Programmable Logic
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Combinational Circuit – MSI Circuit ENCODER With the aid of K-map (don’t care situation), we can get D 0 =
Registers  Flip-flops are available in a variety of configurations. A simple one with two independent D flip-flops with clear and preset signals is illustrated.
Chapter 5 Internal Memory
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
طراحی مدارهای منطقی نیمسال دوم دانشگاه آزاد اسلامی واحد پرند.
Reouven Elbaz – February 10 th, 2009 Office room: DC3576 ECE223.
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.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 13 – Programmable.
Figure to-1 Multiplexer and Switch Analog
Combinational Logic Chapter 4.
Memory and Programmable Logic
Combinational Logic Design
Random-Access Memory (RAM)
Memory and Programmable Logic Dr. Ashraf Armoush © 2010 Dr. Ashraf Armoush.
Microprocessor Address Decoding.
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.
Memory and Programmable Logic Memory device: Device to which binary information is transferred for storage, and from which information is available for.
Chapter 8 Memory Interface
ROM & PLA Digital Logic And Computer Design
Lecture 30 Read Only Memory (ROM)
CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES
Memory Interface A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
Chapter
Princess Sumaya University
Memory and Register. Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of.
IC design options PLD (programmable logic device)
Programmable logic devices. CS Digital LogicProgrammable Logic Device2 Outline PLAs PALs ROMs.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
© BYU 09 MUX Page 1 ECEn 224 Multiplexers Decoders ROMs (LUTs)
CEC 220 Digital Circuit Design Decoders, Encoders, & ROM Wed, February 19 CEC 220 Digital Circuit Design Slide 1 of 18.
발표자 : 이재신 발표 일시 : Chapter 2 Hardware Fundamentals for the Software Engineer The embedded-systems software engineer must often understand.
Programmable Logic Devices
Gunjeet Kaur Dronacharya Group of Institutions. Outline Introduction Random-Access Memory Memory Decoding Error Detection and Correction Programmable.
Chapter- 9 Programmable Logic Devices DHADUK ANKITA ENRL NO Noble Engineering College- Junagadh.
This chapter in the book includes: Objectives Study Guide
Memory and Programmable Logic
ETE Digital Electronics
Logic Devices. Decoder 2-to-4 Decoder 3-to-8 Decoder.
This chapter in the book includes: Objectives Study Guide
Internal Memory.
Module IV Memory Organization.
Electronics Technology
This chapter in the book includes: Objectives Study Guide
ECE 434 Advanced Digital System L03
Combinational Circuits: Multiplexers, Decoders, Programmable Logic Devices Lecture 5.
CPE/EE 422/522 Advanced Logic Design L02
Module IV Memory Organization.
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
ECE434a Advanced Digital Systems L02
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
MICROPROCESSOR MEMORY ORGANIZATION
Presentation transcript:

Unit 9 Multiplexers, Decoders, and Programmable Logic Devices Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University

22004/03/29Fundamentals of Logic Design Contents 9.1 Introduction 9.2 Multiplexers 9.3 Three-State Buffers 9.4 Decoders and Encoders 9.5 Read-Only Memories 9.6 Programmable Logic Devices 9.7 Complex Programmable Logic Devices 9.8 Field Programmable Gate Arrays

32004/03/29Fundamentals of Logic Design Buffer A gate output Be connected to a limited number of other device inputs without degrading the performance Be connected to a limited number of other device inputs without degrading the performance A simple buffer Increase the driving capability of a gate input Increase the driving capability of a gate input

42004/03/29Fundamentals of Logic Design Add Buffer No bubble F = C F = C

52004/03/29Fundamentals of Logic Design Three-State Buffers A logic gate will not operate correctly if the outputs of two or more gates or other logic devices are directly connected to each other. In some cases, damage to the gates may result. In some cases, damage to the gates may result.

62004/03/29Fundamentals of Logic Design Three-State Buffers Also called tri-state buffers B = 1 The output C equals A The output C equals A B = 0 The output C acts like an open circuit The output C acts like an open circuit A Hi-Z (high-impedance) A Hi-Z (high-impedance)

72004/03/29Fundamentals of Logic Design Four Types The symbol Z represents the high-impedance state.

82004/03/29Fundamentals of Logic Design Data Selection The outputs of two three-state buffers are tied together. B = 0 B = 0 D = A B = 1 B = 1 D = C D = BA + BC D = BA + BC Logically equivalent to using a 2-to-1 multiplexer

92004/03/29Fundamentals of Logic Design Two Three-State Buffers Connect two three-state buffer outputs together

102004/03/29Fundamentals of Logic Design Four Sources

112004/03/29Fundamentals of Logic Design Bi-Directional Input/Output Pin

122004/03/29Fundamentals of Logic Design Contents 9.1 Introduction 9.2 Multiplexers 9.3 Three-State Buffers 9.4 Decoders and Encoders 9.5 Read-Only Memories 9.6 Programmable Logic Devices 9.7 Complex Programmable Logic Devices 9.8 Field Programmable Gate Arrays

132004/03/29Fundamentals of Logic Design 3-to-8 Line Decoder Exactly one of the output lines will be 1 for each combination of the values of the input variables.

142004/03/29Fundamentals of Logic Design 4-to-10 Line Decoder

152004/03/29Fundamentals of Logic Design 4-to-10 Line Decoder

162004/03/29Fundamentals of Logic Design Decoder In general, an n-to-2 n line decoder generate all 2 n minterms (or maxterms) of the n input variables. The outputs are defined as follows: y i =m i, i =0 to 2 n -1 (noninverted outputs) y i =m i, i =0 to 2 n -1 (noninverted outputs) y i =m i = M i, i=0 to 2 n -1 (inverted outputs) y i =m i = M i, i=0 to 2 n -1 (inverted outputs)

172004/03/29Fundamentals of Logic Design Decoder n-variable functions be realized by ORing together selected minterm outputs from a decoder be realized by ORing together selected minterm outputs from a decoder outputs are inverted outputs are inverted Use NAND gates

182004/03/29Fundamentals of Logic Design Realization of a Multiple-Output Circuit Using a Decoder f 1 (a,b,c,d) = m 1 + m 2 + m 4 f 1 = (m 1 m 2 m 4 ) f 1 = (m 1 m 2 m 4 ) f 2 (a,b,c,d) = m 4 + m 7 + m 9 f 2 = (m 4 m 7 m 9 ) f 2 = (m 4 m 7 m 9 )

192004/03/29Fundamentals of Logic Design Realization of a Multiple-Output Circuit Using a Decoder

202004/03/29Fundamentals of Logic Design Encoder Perform the inverse function of a decoder

212004/03/29Fundamentals of Logic Design 8-to-3 Priority Encoder

222004/03/29Fundamentals of Logic Design Contents 9.1 Introduction 9.2 Multiplexers 9.3 Three-State Buffers 9.4 Decoders and Encoders 9.5 Read-Only Memories 9.6 Programmable Logic Devices 9.7 Complex Programmable Logic Devices 9.8 Field Programmable Gate Arrays

232004/03/29Fundamentals of Logic Design ROM Read-Only Memories An array of semiconductor devices that are interconnected to store an array of binary data An array of semiconductor devices that are interconnected to store an array of binary data Can be read out whenever desired Can be read out whenever desired Cannot be changed under normal operation conditions Cannot be changed under normal operation conditions

242004/03/29Fundamentals of Logic Design ROM WordAddress ABC = 010 F 0 F 1 F 2 F 3 = 0111 F 0 F 1 F 2 F 3 = 0111

252004/03/29Fundamentals of Logic Design ROM n input lines and m output lines 2 n words 2 n words Each word is m bits long Each word is m bits long

262004/03/29Fundamentals of Logic Design ROM A 2 n * m ROM can realize m functions of n variables Sizes for commercial available ROMs range From 32 words * 4 bits From 32 words * 4 bits To 512K words * 8 bits or larger To 512K words * 8 bits or larger

272004/03/29Fundamentals of Logic Design ROM Consist of A decoder A decoder A memory array A memory array

282004/03/29Fundamentals of Logic Design Internal Structure

292004/03/29Fundamentals of Logic Design Internal Structure F 0 = m(0, 1, 4, 6) = AB+AC F 1 = m(2, 3, 4, 6, 7) = B+AC F 2 = m(0, 1, 2, 6) = AB+BC F 3 = m(2, 3, 5, 6, 7) = AC+B

302004/03/29Fundamentals of Logic Design Hexadecimal to ASCII Code Converter Multiple-output combinational circuits can easily be realized using ROMs.

312004/03/29Fundamentals of Logic Design Hexadecimal to ASCII Code Converter

322004/03/29Fundamentals of Logic Design ROM Realization of Code Converter

332004/03/29Fundamentals of Logic Design ROM Types Mask-programmable ROMs Require a special mask Require a special mask Programmed during the manufacturing process Programmed during the manufacturing process Economically feasible only if a large quantity Economically feasible only if a large quantity Programmable ROMs (PROMs) Be written only once Be written only once PROM programmer or PROM burner Be manufactured as blank memory Be manufactured as blank memory

342004/03/29Fundamentals of Logic Design ROM Types Erasable Programmable ROMs (EPROMs) Retain contents until being exposed to ultraviolet light Retain contents until being exposed to ultraviolet light Reprogram the memory Reprogram the memory Electrically Erasable Programmable ROMs (EEPROMs) Be erased by exposing it to an electrical charge Be erased by exposing it to an electrical charge Reprogram the memory Reprogram the memory

352004/03/29Fundamentals of Logic Design ROM Types Flash memory (Flash EEPROMs) Be erased and reprogrammed in blocks instead of one byte at a time Be erased and reprogrammed in blocks instead of one byte at a time

362004/03/29Fundamentals of Logic Design Flash Memory Many modern PCs have their BIOS stored on a flash memory chip so that it can easily be updated if necessary. Such a BIOS is sometimes called a flash BIOS. Such a BIOS is sometimes called a flash BIOS.

372004/03/29Fundamentals of Logic Design Flash Memory Compact Flash (CF) Card Digital cameras, music players… Digital cameras, music players… Type I CF cards: 3.3 mm thick Type I CF cards: 3.3 mm thick Type II CF cards: 5.5 mm thick Type II CF cards: 5.5 mm thick Secure Digital (SD) Card MultiMedia Card (MMC)