Combinational Logic1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.

Slides:



Advertisements
Similar presentations
Assignments The submission has to be by the end of this week Write your full name and the group number on the answer sheet.
Advertisements

التصميم المنطقي Second Course
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
DPSD This PPT Credits to : Ms. Elakya - AP / ECE.
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
Combinational Logic Chapter 4. Digital Circuits Introduction Logic circuits for digital systems may be combinational or sequential. A combinational.
Combinational Logic Chapter 4.
Gate-Level Minimization1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Boolean Algebra and Logic Gates1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
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
Combinational Circuits
Digital Logic Lecture 08 By Amr Al-Awamry. Combinational Logic 1 A combinational circuit consists of an interconnection of logic gates. Combinational.
Digital Electronics.
Combinational Logic Design
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
Combinational Logic Chapter 4.
Outline Analysis of Combinational Circuits Signed Number Arithmetic
Combinational Logic Chapter 4. Digital Circuits Combinational Circuits Logic circuits for digital system Combinational circuits the outputs are.
Binary Addition CSC 103 September 17, 2007.
Sahar Mosleh PageCalifornia State University San Marcos 1 Multiplexer, Decoder and Circuit Designing.
Chap 3. Chap 3. Combinational Logic Design. Chap Combinational Circuits l logic circuits for digital systems: combinational vs sequential l Combinational.
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.
+ CS 325: CS Hardware and Software Organization and Architecture Combinational Circuits 1.
Combinational Logic. Outline 4.1 Introduction 4.2 Combinational Circuits 4.3 Analysis Procedure 4.4 Design Procedure 4.5 Binary Adder- Subtractor 4.6.
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.
1 Adders & Subtractors Adders –An adder is a combinational logic circuit that performs the addition of 2 binary numbers (A & B) to generate the sum (S)
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Combinational Logic. Digital Circuits Introduction Logic circuits for digital systems may be combinational or sequential. A combinational circuit.
Digital System Ch4-1 Chapter 4 Combinational Logic Ping-Liang Lai ( 賴秉樑 ) Digital System 數位系統.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
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)
Lecture 9 Topics: –Combinational circuits Basic concepts Examples of typical combinational circuits –Half-adder –Full-adder –Ripple-Carry adder –Decoder.
CHAPTER 4 Combinational Logic
Logic Gates Logic gates are electronic digital circuit perform logic functions. Commonly expected logic functions are already having the corresponding.
Digital Logic. 2 Abstractions in CS (gates) Basic Gate: Inverter IO IO GNDI O Vcc Resister (limits conductivity) Truth Table.
Logic Design CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
CS 105 DIGITAL LOGIC DESIGN Chapter 4 Combinational Logic 1.
Chap 2. Combinational Logic Circuits
1 Chapter 4 Combinational Logic Logic circuits for digital systems may be combinational or sequential. A combinational circuit consists of input variables,
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
Combinational Circuits
Chapter 3 Digital Logic Structures
Digital Design Lecture 8 Combinatorial Logic (Continued)
ECE 3110: Introduction to Digital Systems Chapter 5 Combinational Logic Design Practices Adders,subtractors, ALUs.
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
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.
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
Chap 3. Combinational Logic Design
Combinational Logic Logic circuits for digital systems may be combinational or sequential. A combinational circuit consists of input variables, logic gates,
Combinational Circuit Design
Computer Architecture CST 250
Chapter 4 Combinational Logic
FIGURE 4.1 Block diagram of combinational circuit
Week 7: Gates and Circuits: PART II
Ch 4. Combinational logic
Combinational Circuits
Logic Circuits I Lecture 3.
Chapter-4 Combinational Logic
XOR Function Logic Symbol  Description  Truth Table 
Adder, Subtructer, Encoder, Decoder, Multiplexer, Demultiplexer
Half & Full Subtractor Half Subtractor Full Subtractor.
Half & Full Subtractor Half Subtractor Full Subtractor.
Presentation transcript:

Combinational Logic1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN

Combinational Logic2 Remember  Combinational  The outputs depend only on the current input values  It uses only logic gates  Sequential  The outputs depend on the current and past input values  It uses logic gates and storage elements Network Inputs Outputs

Combinational Logic3 Notes  If there are n input variables, there are 2^n input combinations  For each input combination, there is one output value  Truth tables are used to list all possible combinations of inputs and corresponding output values

Combinational Logic4 Basic Combinational Circuits  Adders  Multipliers  Multiplexers  Decoders  Encoders  Comparators  Subtractors

Combinational Logic5 Design  Determine the inputs and outputs  Assign a symbol for each  Derive the truth table  Get the simplified boolean expression for each output  Draw the network diagram

Combinational Logic6 Example  Conversion from BCD to excess-5

Combinational Logic7 Example (Cont.)

Combinational Logic8 Example (Cont.)

Combinational Logic9 Example (Cont.)

Combinational Logic10 Adders  Essential part of every CPU  Half adder (Ignore the carry-in bit)  It performs the addition of two bits  Full adder  It performs the addition of three bits

Combinational Logic11 Half-Adder  You can use K-Map to simplify  It is also obvious from the truth table

Combinational Logic12 Full-Adder

Combinational Logic13 Full-Adder HOW?????

Combinational Logic14 4-bit Adder Implementation From course book

Combinational Logic15 Question  How can you get 32-bit implementation?

Combinational Logic16 Binary Subtractor  Remember  You need to take 2’s complement to represent negative numbers  A-B Take 2’s complement of B and add it to A Take 2’s complement of B and add it to A  First take 1’s complement and add 1

Combinational Logic17 4-Bit Adder and Subtractor From course book

Combinational Logic18 Binary Multiplier From course book

Combinational Logic19 Comparators  Compare two input words  Returns 1 if A=B, 0 otherwise

Combinational Logic20 From course book

Combinational Logic21 Decoder  n by 2^n decoder  Converts information from n input lines into 2^n output lines  2x4 Decoder  3x8 Decoder

Combinational Logic22 2x4 Decoder

Combinational Logic23 Internal Structure of 2x4 Decoder

Combinational Logic24 Another View

Combinational Logic25 From course book

Combinational Logic26 Example

Combinational Logic27 4x16 Decoder From course book

Combinational Logic28 Full Adder with Decoder

Combinational Logic29 Multiplexers  You can select information from one of many input lines and assign it to one output line  You have input lines, control lines, and one output line  It is called MUX

Combinational Logic30 2x1 Multiplexer

Combinational Logic31 4x1 Multiplexer

Combinational Logic32 Boolean Function Implementation How do you implement it with 8x1 MUX?

Combinational Logic33 Example

Combinational Logic34 Three-State Buffer

Combinational Logic35 2x1 MUX with Three-State Buffer

Combinational Logic36 Shifters  8-input, 8-output shifter  C=1 => right shift, C=0 => left shift

Combinational Logic37 Study Problem  Course Book Chapter – 4 Problems  4 – 31 Construct a 16x1 multiplexer with two 8x1 and one 2x1 multiplexer. Use block diagrams Construct a 16x1 multiplexer with two 8x1 and one 2x1 multiplexer. Use block diagrams

Combinational Logic38 Study Problem  Course Book Chapter – 4 Problems  4 – 34

Combinational Logic39 Study Problems  Course Book Chapter – 4 Problems  4 – 1  4 – 4  4 – 6  4 – 11  4 – 20  4 – 21  4 – 25  4 – 32  4 – 33  4 – 35

Combinational Logic40 Questions