Combinational Circuits

Slides:



Advertisements
Similar presentations
ADDER, HALF ADDER & FULL ADDER
Advertisements

Digital Circuits. Review – Getting the truth table The first step in designing a digital circuit usually is to get the truth table. That is, for every.
Cs 1110 Ch 4-1 Combinational Logic. ° Introduction Logic circuits for digital systems may be: °2°2 combinational sequential OR A combinational circuit.
Combinational Circuits. Analysis Diagram Designing Combinational Circuits In general we have to do following steps: 1. Problem description 2. Input/output.
التصميم المنطقي Second Course
Binary Addition. Binary Addition (1) Binary Addition (2)
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
Section 10.3 Logic Gates.
ECE 301 – Digital Electronics
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
Chapter 4 Register Transfer and Microoperations
CS 105 Digital Logic Design
XOR, XNOR, and Binary Adders
Boolean Algebra Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
Binary Addition CSC 103 September 17, 2007.
XOR and XNOR Logic Gates. XOR Function Output Y is TRUE if input A OR input B are TRUE Exclusively, else it is FALSE. Logic Symbol  Description  Truth.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
ECE 3130 – Digital Electronics and Design
ADDERS Half Adders Recall that the basic rules of binary addition are as indicated below in Table 2-9. A circuit known as the half-adder carries out these.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
Digital Electronics and Computer Interfacing
Lecture 9 Topics: –Combinational circuits Basic concepts Examples of typical combinational circuits –Half-adder –Full-adder –Ripple-Carry adder –Decoder.
Computer Science 101 Circuit Design - Examples. Sum of Products Algorithm Identify each row of the output that has a 1. Identify each row of the output.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
Digital Logic. 2 Abstractions in CS (gates) Basic Gate: Inverter IO IO GNDI O Vcc Resister (limits conductivity) Truth Table.
1 EG 32 Digital Electronics Thought for the day You learn from your mistakes..... So make as many as you can and you will eventually know everything.
Universal college of engineering & technology. .By Harsh Patel)
1 Ethics of Computing MONT 113G, Spring 2012 Session 5 Binary Addition.
Sneha.  A combinational circuit that performs the addition of two bits is called a half adder.  It has two inputs.  It has two outputs.
Combinational Circuits
Chapter 4 Register Transfer and Microoperations Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2010.
XYZCS Designing Binary Adders with decoders C(X,Y,Z) =  m(3,5,6,7) S(X,Y,Z) = S m(1,2,4,7);
1 Ethics of Computing MONT 113G, Spring 2012 Session 4 Binary Addition.
Simple ALU  Half adder  Full adder  Constructing 4 bits adder  ALU does several operations  General ALU structure  Timing diagram of adder  Overflow.
How does a Computer Add ? Logic Gates within chips: AND Gate A B Output OR Gate A B Output A B A B
Explain Half Adder and Full Adder with Truth Table.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Gunjeet Kaur Dronacharya Group of Institutions. Binary Adder-Subtractor A combinational circuit that performs the addition of two bits is called a half.
Logic Gates Learning Objectives Learn that there is a one-to-one relationship between logic gates and Boolean expressions Learn how logic gates are combined.
Chapter 12. Chapter Summary Boolean Functions Representing Boolean Functions Logic Gates Minimization of Circuits (not currently included in overheads)
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Combinational Circuits
ECE 3130 Digital Electronics and Design
ECE 3130 Digital Electronics and Design
Combinational Circuits
Chapter 4 Register Transfer and Microoperations
Combinational Logic Logic circuits for digital systems may be combinational or sequential. A combinational circuit consists of input variables, logic gates,
Computer Architecture CST 250
Reference: Moris Mano 4th Edition Chapter 4
Summary Half-Adder Basic rules of binary addition are performed by a half adder, which has two binary inputs (A and B) and two binary outputs (Carry out.
XOR, XNOR, and Binary Adders
FIGURE 4.1 Block diagram of combinational circuit
XOR, XNOR, & Binary Adders
ECE 301 – Digital Electronics
Week 7: Gates and Circuits: PART II
Digital Logic.
Number Systems and Circuits for Addition
Logic Gates.
Logic Gates.
Adders and Subtractors
Digital Logic.
DIGITAL ELECTRONICS B.SC FY
Chapter 10.3 and 10.4: Combinatorial Circuits
Logic Circuits I Lecture 3.
XOR, XNOR, and Binary Adders
Chapter-4 Combinational Logic
XOR Function Logic Symbol  Description  Truth Table 
Adder Circuits By: Asst Lec. Basma Nazar
Digital Circuits.
XOR, XNOR, and Binary Adders
Presentation transcript:

Combinational Circuits Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009

+ HALF-ADDER x y C S • Half-adder: Performs the most basic digital arithmetic operation, that is, the addition of two binary numbers. The half-adder requires two outputs because the sum 1 + 1 is binary 10. The two inputs are: called S (for sum) and C (for carry out). 2

S=x`y +xy` (Exclusive OR) C=xy (AND) From the truth table write the Boolean function outputs for the sum S and the carry out C: S=x`y +xy` (Exclusive OR) C=xy (AND) (Logic diagram) (Truth table for half-adder) x y C S 0 0 0 0 0 1 0 1 1 0 0 1 1 1 1 0 3

Here is a proof of the Exclusive OR identity using truth table. 4

FULL-ADDER • To implement an arithmetic adder for multiple-bit inputs, we need to treat the carry out from the lower bit as a third input ( it becomes carry in for the current bit) in addition to the two input bits at the current bit position. X1 Y1 Z1 S 1 C1 X0 Y0 Z0 S0 C0 + 5

Full- Adder It adds 3-bits, it has 3-inputs and 2-outputs   We will use x, y and z for inputs and s for sum and c for carry are the two outputs. The truth table x y z c s 1

Full Adder S = x`y`z + x`yz` + xy`z` + xyz k-map for s y z x 00 01 11 10 1

Full Adder

K-map on C y z x 00 01 11 10 1 C=yz+xz+xy But we would like to use the previous logic gate XOR 9

K-map on C We can write C = x`yz + xy`z + xyz + xyz` = z(x`y + xy`) + xy(z+z`) = z (x  y) + xy (x  y) is already used for the sum S

Full Adder Putting them together we get: S= x  y  z C= z (x  y) + xy The logic diagram for the full adder 11