CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits.

Slides:



Advertisements
Similar presentations
Logic Circuits Design presented by Amr Al-Awamry
Advertisements

Digital Logic Design Week 7 Encoders, Decoders, Multiplexers, Demuxes.
Decoders/DeMUXs CS370 – Spring Decoder: single data input, n control inputs, 2 outputs control inputs (called select S) represent Binary index of.
Henry Hexmoor1 C hapter 4 Henry Hexmoor-- SIUC Rudimentary Logic functions: Value fixing Transferring Inverting.
System Digital Encoder, Decoder, and Contoh Penerapanya.
ECE 2372 Modern Digital System Design
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits.
Code Converters, Multiplexers and Demultiplexers
DIGITAL SYSTEMS TCE OTHER COMBINATIONAL LOGIC CIRCUITS WEEK 7 AND WEEK 8 (LECTURE 3 OF 3) MULTIPLEXERS DEMULTIPLEXERS.
MSI Logic Circuits Wen-Hung Liao, Ph.D.. Objectives Analyze and use decoders and encoders in various types of circuit applications. Compare the advantages.
Digital Fundamentals Floyd Chapter 6 Tenth Edition
Combinational Logic Building Blocks
 Combinational circuit that selects binary information from one of many input lines and directs information to a single output line.
Multiplexers DeMultiplexers XOR gates
Chapter 1 Number Systems and Codes 1. Outline 1. NUMBER SYSTEMS AND CODES 2. DIGITAL ELECTRONIC SIGNALS AND SWITCHES 3. BASIC LOGIC GATES 4. PROGRAMMABLE.
Combinational Logic Chapter 4.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Decoders.
CS 151: Digital Design Chapter 3 3-8: Encoding. CS 151 Encoding Encoding - the opposite of decoding - the conversion of a maximum of 2 n input code to.
Combinational Logic Design
Combinational and Sequential Logic Circuits.
Decoders.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Functions of Combinational Logic
Combinational Logic By Taweesak Reungpeerakul
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
WEEK #9 FUNCTIONS OF COMBINATIONAL LOGIC (DECODERS & MUX EXPANSION)
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Combinational Design, Part 3: Functional Blocks
Logical Circuit Design Week 6,7: Logic Design of Combinational Circuits Mentor Hamiti, MSc Office ,
Kuliah Rangkaian Digital Kuliah 6: Blok Pembangun Logika Kombinasional Teknik Komputer Universitas Gunadarma.
Morgan Kaufmann Publishers
Functions of Combinational Logic By Taweesak Reungpeerakul
EE2420 – Digital Logic Summer II 2013 Hassan Salamy Ingram School of Engineering Texas State University Set 12: Multiplexers, Decoders, Encoders, Shift.
CS151 Introduction to Digital Design
CO UNIT-I. 2 Multiplexers: A multiplexer selects information from an input line and directs the information to an output line A typical multiplexer has.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Computer Architecture From Microprocessors To Supercomputers
Magnitude Comparator A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.
Decoders. A decoder is multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs. Input code with fewer bits than the.
Magnitude Comparator Dr. Ahmed Telba.
Chapter # 4: Programmable Logic
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
Company LOGO Edit your slogan here DKT 122/3 DIGITAL SYSTEM 1 WEEK #8 FUNCTIONS OF COMBINATIONAL LOGIC (ENCODER & DECODER, MUX & DEMUX)
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Multiplexers.
1 DLD Lecture 16 More Multiplexers, Encoders and Decoders.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Code Converters, Multiplexers and Demultiplexers
1 MSI Logic Circuits Decoder. 2 Group Introduction 1. Phạm Cao Cường 2. Đặng Thái Sơn 3. Đặng Minh Tâm 4. Phạm Hồng Sơn 5. Nguyễn Nhật Minh 6. Lê Minh.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
DIGITAL ELECTRONICS THEME 2: Combinational Logic Circuits. Decoders, Multiplexers, De-multiplexers, Code converters. For combinational logic the values.
1 Combinational Logic Design.  A process with 5 steps Specification Formulation Optimization Technology mapping Verification  1 st three steps and last.
Decoders A decoder is a logic circuit that detects the presence of a specific combination of bits at its input. Two simple decoders that detect the presence.
Decoder Chapter 12 Subject: Digital System Year: 2009.
MSI Circuits.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Multiplexer.
EKT 124 MUX AND DEMUX.
Combinational Circuits
Combinational Logic Circuits
OTHER COMBINATIONAL LOGIC CIRCUITS
Lecture 9 Logistics Last lecture Today HW3 due Wednesday
Digital Fundamentals Floyd Chapter 6 Tenth Edition
Magnitude Comparator A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.
Chapter 6 Functions of Combinational Logic
EET107/3 DIGITAL ELECTRONICS 1
Multiplexers Anindya IE CSE.
Digital System Design Combinational Logic
Arithmetic Circuits.
Presentation transcript:

CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits

 Converters  Converters - Comparator - Decoder - Encoder - Code Converter

Comparator(1)  Compares two binary strings (or binary words) to determine if they are exactly equal.  Truth table for a comparator: A BA=B

 E.g. to design a comparator to evaluate two 4 bit numbers, we need 4 Ex-NORs and a 4 input AND gates  8 bit magnitude comparator: Comparator(2)

Encoder(1)  Encoder converts information such as decimal number or an alphabetical character into some binary coded form.  Encoder is usually used for:  Data representation  Data security  Data compression

Example: 8-to-3 Binary Encoder Encoder(2) 0

Design a Decimal-to-BCD Encoder: 1. Comes out with a truth table (input/output) 2. From a truth table, get the equation for each output 3. Draw a circuit for basic decimal-to-BCD encoder based on output equation. Note : Do not forgot to label LSB & MSB Encoder(3)

 A decoder is a circuit that creates an output based on the binary states of a given input Decoder(1)

 In digital electronics, a decoder can take the form of a multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs, where the input and output codes are different. e.g. n-to- 2 n BCD decoders.  Enable inputs must be ON for the decoder to function, otherwise its outputs assume a single "disabled" output code word. Decoding is necessary in applications such as data multiplexing, 7 segment display and memory address decoding. Decoder(2)

Example: 3 to 8 Binary Decoder Decoder(3)

Decoder(4)

Example: 7 Segment Decoder  A 7 segment decoder has 4-bit BCD input and the seven segment display code as its output.  In minimizing the circuits for the segment outputs all non-decimal input combinations (1010, 1011, 1100,1101, 1110, 1111) are taken as don’t-cares ( X ) /Bl D C B A a b c d e f g 0 x x x x don’t care inputs -- Decoder(5)

 Example: Application Decoder(6)

 Device that converts one type of binary representation to another.  Example : BCD to binary and binary to Gray code.  Binary code vs. Gray Code. To convert binary to Gray code or Gray code to binary, we use X-OR gates. How??? Code Converter(1)

 Also known as Data selector.  SELECT input code determines which input is transmitted to output Z. A 2 input multiplexer Multiplexer(1)

 A multiplexer or MUX is a device that selects one of several analog or digital input signals and forwards the selected input into a single line. A multiplexer of 2 n inputs has n select lines, which are used to select which input line to send to the output.  An electronic multiplexer makes it possible for several signals to share one device or resource.  E.g: one ADC or one communication line, instead of having one device per input signal. Multiplexer(2)

A 4 input multiplexer Multiplexer(3)

 Larger multiplexers can be constructed from smaller ones.  An 8-to-1 multiplexer can be constructed from smaller multiplexers as shown: Multiplexer(4)

 Example: Application Multiplexer(5)

 Data input is transmitted to only one of the outputs as determined by select input code 1-line-to-8-line multiplexer Demultiplexer(1)

Demultiplexer(2)  A demultiplexer (or DEMUX) is a device taking a single input signal and selecting one of many data- output-lines, which is connected to the single input.  A multiplexer is often used with a complementary demultiplexer on the receiving end.  An electronic multiplexer can be considered as a multiple-input, single-output switch, and a demultiplexer as a single-input, multiple-output switch.

 Example: 1- to -4 Demultiplexer Demultiplexer(3)

Example : Mux-Demux Application  This enables sharing a single communication line among a number of devices.  At any time, only one source and one destination can use the communication line.