Combinational Circuit – Arithmetic Circuit

Slides:



Advertisements
Similar presentations
1 The 2-to-4 decoder is a block which decodes the 2-bit binary inputs and produces four output All but one outputs are zero One output corresponding to.
Advertisements

Give qualifications of instructors: DAP
Princess Sumaya University
Combinational Circuits
Functions and Functional Blocks
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Combinational Circuit – Arithmetic Circuit Parallel Adder Example: 4-bit adder.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 9 Programmable Configurations Read Only Memory (ROM) – –a fixed array of AND gates.
COE 202: Digital Logic Design Combinational Circuits Part 3 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM.
CS 151 Digital Systems Design Lecture 17 Encoders and Decoders
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 =
Combinational Logic Building Blocks
Chapter 3 Combinational Logic Design
Multiplexer MUX. 2 Multiplexer Multiplexer (Selector)  2 n data inputs,  n control inputs,  1 output  Used to connect 2 n points to a single point.
 Combinational circuit that selects binary information from one of many input lines and directs information to a single output line.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
Logic Gates Combinational Circuits
Adders, subtractors, ALUs
CS 105 Digital Logic Design
9/15/09 - L15 Decoders, Multiplexers Copyright Joanne DeGroat, ECE, OSU1 Decoders and Multiplexers.
Morgan Kaufmann Publishers
Decoders and Multiplexers Prof. Sin-Min Lee Department of Computer Science San Jose State University.
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.
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.
Dr. Ahmed El-Bialy, Dr. Sahar Fawzy Combinational Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
CS2100 Computer Organisation MSI Components (AY2015/6 Semester 1)
Functions of Combinational Logic
WEEK #9 FUNCTIONS OF COMBINATIONAL LOGIC (DECODERS & MUX EXPANSION)
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Adders, subtractors, ALUs.
1 Lecture #7 EGR 277 – Digital Logic Reading Assignment: Chapter 4 in Digital Design, 3 rd Edition by Mano Chapter 4 – Combinational Logic Circuits A)
Logical Circuit Design Week 6,7: Logic Design of Combinational Circuits Mentor Hamiti, MSc Office ,
COE 202: Digital Logic Design Combinational Circuits Part 3
CS 105 DIGITAL LOGIC DESIGN Chapter 4 Combinational Logic 1.
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.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 7 Dr. Shi Dept. of Electrical and Computer Engineering.
Chapter Four Combinational Logic 1. Discrete quantities of information are represented in digital systems by binary codes. A binary code of n bits is.
1 Chapter 4 Combinational Logic Logic circuits for digital systems may be combinational or sequential. A combinational circuit consists of input variables,
1 Fundamentals of Computer Science Combinational Circuits.
1 Combinational Logic EE 208 – Logic Design Chapter 4 Sohaib Majzoub.
Combinational Circuit Design. Digital Circuits Combinational CircuitsSequential Circuits Output is determined by current values of inputs only. Output.
Multiplexors Decoders  Decoders are used for forming separate signals for different combination of input signals.  The multiplexer circuit is a digital.
Chapter 3: Combinational Functions and Circuits 3-5 to 3-7: Decoders
Module 11.  In Module 9, we have been introduced to the concept of combinational logic circuits through the examples of binary adders.  Meanwhile, in.
MSI Combinational logic circuits
1 DLD Lecture 16 More Multiplexers, Encoders and Decoders.
Chapter4: Combinational Logic Part 4 Originally By Reham S. Al-Majed Imam Muhammad Bin Saud University.
ECE 3110: Introduction to Digital Systems Chapter 5 Combinational Logic Design Practices Adders,subtractors, ALUs.
Decoders Zhijian John Wang. What are they? Overview of a decoder A device that reverses the process of an encoder Convert information from one format.
MSI Circuits.
Combinational Circuits: MSI Components
CS221: Digital Logic Design Combinational Circuits 3
Part 4 Combinational Logic.
Combinational Functions and Circuits
Combinational Circuit Design
Lecture 4: Combinational Functions and Circuits
Reference: Chapter 3 Moris Mano 4th Edition
Magnitude Comparator A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.
CSCE 211: Digital Logic Design
FIGURE 4.1 Block diagram of combinational circuit
COE 202: Digital Logic Design Combinational Circuits Part 3
Ch 4. Combinational logic
CSCE 211: Digital Logic Design
Chapter-4 Combinational Logic
Digital System Design Combinational Logic
Arithmetic Circuits.
Presentation transcript:

Combinational Circuit – Arithmetic Circuit Parallel Adder Example: 4-bit adder

Combinational Circuit – Arithmetic Circuit Usage: Poling system (for 6 person) Use full adder and parallel adder 4-bit (binary) Each full adder can add 3 polls

Combinational Gates – Arithmetic Circuit Comparator Magnitude comparator: compare two value A and B to ensure if A>B, A=B or A<B Classical method need 22n line in TT Explore dissimilarity How we compare two 4-bit value A(a3 a2 a1 a0) and B(b3 b2 b1 b0) If (a3>b3) therefore A>B If (a3<b3) therefore A<B If (a3=b3) therefore A=B and so on..

Combinational Gates – Arithmetic Circuit A3’B3 A3 x3 A3 B3’ B3 A3’B3 + x3A2’B2 + x3x2A1’B1 + x3x2x1A0’B0 A2 x2 B2 (A<B) A1 x1 A3B3’ + x3A2B2’ + x3x2A1B1’ + x3x2x1A0B0’ B1 A0 x0 (A>B) B0 (A=B) x3x2x1x0

Combinational Circuit - Arithmetic Circuit Comparator

Combinational Circuit – MSI Circuit There are four useful MSI circuit Decoder Demultiplexer Encoder Multiplexer Block Diagram

Combinational Circuit – MSI Circuit DECODER Codes used for representing entity, e.g. your name is a code which represent yourself (entity) This code can be identified (or decoded) using a decoder: Provide code, identify entity Change binary information from n input line (maximum value for) 2n output line Is known as line decoder n to m, or n:m or nxm decoder (m<=2n) Might be used to generate 2n (or less) minterm for n input variable

Combinational Circuit – MSI Circuit DECODER Example: if code 00, 0, 10, 11is used to identify four bulbs, therefore we need 2-bit decoder This is 2x4 decoder which select output line based on the given 2 bit. Truth table

Combinational Circuit – MSI Circuit DECODER From the truth table, decoder circuit 2x4 is Notes: each output in 2 variable minterm expression (X’Y’, X’Y, XY’, XY)

Combinational Circuit – MSI Circuit DECODER Design of 3x8 decoder Usage? Conversion from binary to octal

Combinational Circuit – MSI Circuit DECODER In general: for n-bit code, decoder suppose to select up to 2n line

Combinational Circuit – MSI Circuit DECODER – Function execution Example: Full Adder

Combinational Circuit – MSI Circuit DECODER with Enable Most decoder has an enable signal, therefore it only active when enable, E=1 Truth table

Combinational Circuit – MSI Circuit DECODER with Enable In MSI, enable signal for decoder is zero enable, E’, therefore this device only active when enable E’=0

Combinational Circuit – MSI Circuit LARGE DECODER Large decoder can be built using small size decoder E.g. 3:8 decoder can be built using 2:4 (with 1 enable) as the following

Combinational Circuit – MSI Circuit LARGE DECODER E.g. 4:16 decoder can be built using two 3:8 decoder (with 1 enable) as the following. How can you build 4:16 decoder by using 2:4 decoder with enable?

Combinational Circuit – MSI Circuit ENCODER Encoder is the inversion of decoder. Several sets of input line, select one, it produce similar code for selected line Consist of 2n (or less) input line and n output line Created from OR gate Example:

Combinational Circuit – MSI Circuit Truth table