Computer Architecture CST 250

Slides:



Advertisements
Similar presentations
1 Combinational Logic Design&Analysis. 2 Introduction We have learned all the prerequisite material: – Truth tables and Boolean expressions describe functions.
Advertisements

التصميم المنطقي Second Course
DPSD This PPT Credits to : Ms. Elakya - AP / ECE.
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
Section 10.3 Logic Gates.
Design of Arithmetic Circuits – Adders, Subtractors, BCD adders
Combinational Logic Chapter 4.
Chapter 3 Combinational Logic Design
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
CS 105 Digital Logic Design
Digital Logic Lecture 08 By Amr Al-Awamry. Combinational Logic 1 A combinational circuit consists of an interconnection of logic gates. Combinational.
Morgan Kaufmann Publishers
Combinational Logic Design CS341 Digital Logic and Computer Organization F2003.
Combinational Logic Chapter 4.
Combinational Logic Chapter 4. Digital Circuits Combinational Circuits Logic circuits for digital system Combinational circuits the outputs are.
Sahar Mosleh PageCalifornia State University San Marcos 1 Multiplexer, Decoder and Circuit Designing.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
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.
F = ∑m(1,4,5,6,7) F = A’B’C+ (AB’C’+AB’C) + (ABC’+ABC) Use X’ + X = 1.
1 The Chinese University of Hong Kong Faculty of Education Diploma in Education (Part-Time) Winter 1997 Educational Communications and Technology Assignment.
Chapter 10 (Part 2): Boolean Algebra  Logic Gates (10.3) (cont.)  Minimization of Circuits (10.4)
Combinational Logic. Digital Circuits Introduction Logic circuits for digital systems may be combinational or sequential. A combinational circuit.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
EE2420 – Digital Logic Summer II 2013 Hassan Salamy Ingram School of Engineering Texas State University Set 4: Other Gates.
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)
Sneha.  A combinational circuit that performs the addition of two bits is called a half adder.  It has two inputs.  It has two outputs.
Chapter Four Combinational Logic 1. C OMBINATIONAL C IRCUITS It consists of input variables, logic gates and output variables. Output is function of input.
Chap 2. Combinational Logic Circuits
Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University Experiment on digital.
1 Chapter 4 Combinational Logic Logic circuits for digital systems may be combinational or sequential. A combinational circuit consists of input variables,
Designing Combinational Logic Circuits
Karnaugh Map and Circuit Design.
Combinational Circuits
C OMBINATIONAL L OGIC D ESIGN 1 Eng.Maha AlGubali.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Logic Design (CE1111 ) Lecture 4 (Chapter 4) Combinational Logic Prepared by Dr. Lamiaa Elshenawy 1.
Chapter 4 Combinational Logic. 4.1 Introduction   Logic circuits for digital systems may be combinational or sequential. A combinational circuit consists.
Gunjeet Kaur Dronacharya Group of Institutions. Binary Adder-Subtractor A combinational circuit that performs the addition of two bits is called a half.
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
CS151 Introduction to Digital Design Chapter 3: Combinational Logic Design 3-4 Verification 1Created by: Ms.Amany AlSaleh.
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.
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Combinational Circuits
Combinational Logic Design&Analysis.
Combinational Logic Logic circuits for digital systems may be combinational or sequential. A combinational circuit consists of input variables, logic gates,
Combinational Circuit Design
Combinational Circuits
Gate-level Design: Full Adder
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
Karnaugh Maps (K-Maps)
Lecture 14: Boolean Algebra
FIGURE 4.1 Block diagram of combinational circuit
XOR, XNOR, & Binary Adders
Week 7: Gates and Circuits: PART II
Ch 4. Combinational logic
Logic Gates.
ECB2212-Digital Electronics K-Map
Adders and Subtractors
Digital System Design Combinational Logic
DIGITAL ELECTRONICS B.SC FY
Chapter 10.3 and 10.4: Combinatorial Circuits
Binary Logic.
Chapter-4 Combinational Logic
XOR Function Logic Symbol  Description  Truth Table 
Overview of Digital Electronics
XOR, XNOR, and Binary Adders
Chapter 11 (Part 2): Boolean Algebra
Circuit Simplification and
Presentation transcript:

Computer Architecture CST 250 Combinational Circuits Prepared by: Omar Hirzallah

Contents Combinational Circuits. Designing Procedure Problem with Solution Binary Adders Half Adder & Implementation Full Adder & Implementation

Combinational Circuits: A Circuit whose outputs depend only on the current inputs; hence they appear to combine the inputs in some way to produce the outputs. A combinational circuit consists of input variables, logic gates and output variables. The logic gates accept signals from the inputs and generates signals to the outputs. The combinational circuits are used to build modern computers. A BLOCK diagram & logic diagram of a combinational circuit is shown below: Logic Diagram BLOCK Diagram Designing Procedure: The designing procedure of CC involves the following steps: From the specification of the circuit, determine the required no. of inputs and outputs and assign a symbol to each. Derive the truth table that defines the required relationship between inputs and outputs. Obtain the simplified Boolean functions for each output as a function of the input variables. Draw the logic diagram and verify the correctness of the design.

Design a combinational circuit to control three doors, as follows: The Problem: Design a combinational circuit to control three doors, as follows: 1. An alarm signal will be activated if more than one door are opened. 2. No alarm signal will be activated if all are closed You are requested to do the following: a. determine the input and output b. drive the truth table c. obtain the logic function and simplify it d. draw the logic diagram Alarm on Alarm off Door A Door B Door C Door A Door B Door C

F C B A 1 SOLUTION Inputs: A, B, C (Three Inputs represents the doors) Outputs: F (Alarm) c. F = A’BC + AB’C + ABC’ + ABC F = C(A  B) + AB It is simplified using Boolean rules but we can also simplify using K-Map b. F C B A 1 d.

Binary Adders : 1 1 + ----- 10 0 + Digital computers perform a variety of information processing tasks. The most basic arithmetic operation is the addition of binary digits. There are basically four possible basic rules for binary addition. Case 1 Case 2 Case 3 Case 4 1 1 + ----- 10 0 + Bit 1 Bit 2 Sum is 0 Carry is 0 Sum is 1 Carry is 0 Sum is 1 Carry is 0 Sum is 0 Carry is 1 There are two types of binary adders, Half Adder and Full Adder.

HALF ADDER: 1 1 + ----- 10 0 + X Y C S A combinational circuit that performs the addition of two bits is called a Half Adder. Case 1 Case 2 Case 3 Case 4 Bit 1 Bit 2 1 1 + ----- 10 0 + Half Adder B1 B2 S C Sum is 0 Carry is 0 Sum is 1 Carry is 0 Sum is 1 Carry is 0 Sum is 0 Carry is 1 X Y C S 1 Standard Form: S= X’Y + XY’ C= XY SOP Canonical Form: S (X,Y) =  (1,2) C (X,Y) =  (3)

Implementation of Half Adder:

The Simplified Expressions: FULL ADDER: A full adder combinational circuit that forms the arithmetic sum of three bits. It consists of three inputs and two outputs. Two of the input variables, denoted by X and Y, represent the two significant bits to be added. The third input Z, represents the carry from the previous lower significant position. X Y Z C S 1 S= X’Y’Z + X’YZ’ + XY’Z’+XYZ C= X’YZ + XY’Z + XYZ’ + XYZ The Simplified Expressions: S= X  Y  Z C= XY + XZ + YZ S (X,Y,Z) =  (1,2,4,7) C (X,Y,Z) =  (3,5,6,7) Canonical Form

Implementation of Full Adder in SOP: S= X’Y’Z + X’YZ’ + XY’Z’+XYZ C= XY + XZ + YZ

Implementation of Full Adder with two Half Adders and an OR Gate: