DIGITAL LOGIC CIRCUITS

Slides:



Advertisements
Similar presentations
컴퓨터구조론 교수 채수환. 교재 Computer Systems Organization & Architecture John D. Carpinelli, 2001, Addison Wesley.
Advertisements

Assignments The submission has to be by the end of this week Write your full name and the group number on the answer sheet.
Combinational Logic Circuits Chapter 2 Mano and Kime.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
Chapter 2 Logic Circuits.
التصميم المنطقي Second Course
Chapter 11_1 (chap 10 ed 8) Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean.
ECE 2373 Modern Digital System Design Exam 2. ECE 2372 Exam 2 Thursday March 5 You may use two 8 ½” x 11” pages of information, front and back, write.
2-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL Fundamentals of Digital.
Chapter 3 Continued Logic Gates Logic Chips Combinational Logic Timing Sequential Logic Flip Flops Registers Memory State Machines.
1 Digital Logic Circuits Computer Organization Computer Architectures Lab Logic Gates Boolean Algebra Map Specification Combinational Circuits Flip-Flops.
Combinational Logic1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
ENGG 1203 Tutorial Combinational Logic (I) 1 Feb Learning Objectives
Chapter 12 Digital Logic Circuit Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CS 105 Digital Logic Design
ReVieW Combinational & Sequential Logic Circuit EKT 221 / 4 DIGITAL ELECTRONICS II.
Introduction to Digital Logic Design Appendix A of CO&A Dr. Farag
Chapter 10_1 Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean Operators.
Sahar Mosleh PageCalifornia State University San Marcos 1 Multiplexer, Decoder and Circuit Designing.
Dept. of Computer Science Engineering Islamic Azad University of Mashhad 1 DIGITAL LOGIC CIRCUITS Dept. of Computer Science Engineering Islamic Azad University.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Logic Design A Review. Binary numbers Binary numbers to decimal  Binary 2 decimal  Decimal 2 binary.
CPS120: Introduction to Computer Science
1.Overview of Course Objective 2.Details of course website, BLOG 3.Details of Syllabus 4.Recommended Books 5.Details of Lab Sessions 6.Introductory concepts.
F = ∑m(1,4,5,6,7) F = A’B’C+ (AB’C’+AB’C) + (ABC’+ABC) Use X’ + X = 1.
The Digital Logic Level
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Digital Electronics Lecture 6 Combinational Logic Circuit Design.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
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.
Department of Computer and IT Engineering University of Kurdistan Computer Architecture (Review of Digital Design) By: Dr. Alireza Abdollahpouri.
1 ENGG 1015 Tutorial Digital Logic (II) (70 pages) 15 Oct Learning Objectives  Learn about Boolean Algebra (SoP/PoS, DrMorgan's Theorem, simplification),
In1200/04-PDS 1 TU-Delft Digital Logic. in1200/04-PDS 2 TU-Delft Unit of Information l Computers consist of digital (binary) circuits l Unit of information:
Chap 2. Combinational Logic Circuits
Computer Architecture and Organization Unit -1. Digital Logic Circuits – Logic Gates – Boolean Algebra – Map Simplification – Combinational Circuits –
Computer Systems 1 Fundamentals of Computing Simplifying Boolean Expressions.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
Boolean Algebra and Logic Gates CSE-1108 Ahsanullah University of Science and Technology (AUST)
Boolean Algebra & Logic Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
1 Digital Logic Circuits Computer Organization Computer Architectures Lab Logic Gates Boolean Algebra Map Specification Combinational Circuits Flip-Flops.
Digital Logic Design Basics Combinational Circuits Sequential Circuits Pu-Jen Cheng Adapted from the slides prepared by S. Dandamudi for the book, Fundamentals.
Chapter 3 Digital Logic Structures
WORKING PRINCIPLE OF DIGITAL LOGIC
1 CS 352 Introduction to Logic Design Lecture 1 Ahmed Ezzat Number Systems and Boolean Algebra, Ch-1 + Ch-2.
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.
Mu.com.lec 9. Overview Gates, latches, memories and other logic components are used to design computer systems and their subsystems Good understanding.
Appendix C Basics of Logic Design. Appendix C — Logic Basic — 2 Logic Design Basics §4.2 Logic Design Conventions Objective: To understand how to build.
Hoda Roodaki Boolean Algebra Hoda Roodaki
Assembly Lab1 - Review.
Digital Logic Design.
DIGITAL LOGIC CIRCUITS
Basics of digital systems
Overview Introduction Logic Gates Flip Flops Registers Counters
Princess Sumaya University
Computer Architecture CST 250
DIGITAL LOGIC CIRCUITS
Reading: Hambley Chapters
INSIDE THE CPU.
Basics Combinational Circuits Sequential Circuits
Basics Combinational Circuits Sequential Circuits Ahmad Jawdat
Boolean Algebra.
Lecture 4 Sums of Product Circuits Simplification
Boolean Algebra & Logic Circuits
13 Digital Logic Circuits.
Logic Circuits I Lecture 3.
CSC3050 – Computer Architecture
XOR Function Logic Symbol  Description  Truth Table 
Presentation transcript:

DIGITAL LOGIC CIRCUITS Introduction DIGITAL LOGIC CIRCUITS Logic Gates Boolean Algebra Map Specification Combinational Circuits Flip-Flops Sequential Circuits Memory Components

BASIC LOGIC BLOCK - GATE - Logic Gates BASIC LOGIC BLOCK - GATE - Binary Digital Input Signal Binary Digital Output Signal Gate . . Types of Basic Logic Blocks - Combinational Logic Block Logic Blocks whose output logic value depends only on the input logic values - Sequential Logic Block depends on the input values and the state (stored information) of the blocks Functions of Gates can be described by - Truth Table - Boolean Function - Karnaugh Map

COMBINATIONAL GATES Name Symbol Function Truth Table AND OR I Logic Gates COMBINATIONAL GATES Name Symbol Function Truth Table A B X A X = A • B X or B X = AB 0 0 0 0 1 0 1 0 0 1 1 1 0 1 1 1 0 1 AND A B X A X X = A + B B OR A X I A X X = A 0 1 1 0 A X 0 0 1 1 Buffer A X X = A A B X A X X = (AB)’ B 0 0 1 0 1 1 1 0 1 1 1 0 NAND A B X A X X = (A + B)’ B NOR 0 0 1 0 1 0 1 0 0 1 1 0 A B X XOR Exclusive OR A X = A  B X or B X = A’B + AB’ 0 0 0 0 1 1 1 0 1 1 1 0 A B X XNOR A X = (A  B)’ X or B X = A’B’+ AB 0 0 1 0 1 0 1 0 0 1 1 1 Exclusive NOR or Equivalence

LOGIC CIRCUIT DESIGN x y z F 0 0 0 0 0 0 1 1 0 1 0 0 Truth 0 1 1 0 Boolean Algebra LOGIC CIRCUIT DESIGN x y z F 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1 Truth Table Boolean Function F = x + y’z x F Logic Diagram y z

BASIC IDENTITIES OF BOOLEAN ALGEBRA [1] x + 0 = x [3] x + 1 = 1 [5] x + x = x [7] x + x’ = 1 [9] x + y = y + x [11] x + (y + z) = (x + y) + z [13] x(y + z) = xy +xz [15] (x + y)’ = x’y’ [17] (x’)’ = x [2] x • 0 = 0 [4] x • 1 = x [6] x • x = x [8] x • X’ = 0 [10] xy = yx [12] x(yz) = (xy)z [14] x + yz = (x + y)(x + z) [16] (xy)’ = x’ + y’ [15] and [16] : De Morgan’s Theorem

Boolean Algebra EQUIVALENT CIRCUITS Many different logic diagrams are possible for a given Function F = ABC + ABC’ + A’C .......…… (1) = AB(C + C’) + A’C [13] ..…. (2) = AB • 1 + A’C [7] = AB + A’C [4] ...…. (3) A B C (1) (2) (3) F A B C F A B C F

COMPLEMENT OF FUNCTIONS Boolean Algebra COMPLEMENT OF FUNCTIONS A,B,...,Z,a,b,...,z  A’,B’,...,Z’,a’,b’,...,z’ (p + q)  (p + q)’ - Replace all the operators with their respective complementary operators AND  OR OR  AND - Basically, extensive applications of the DeMorgan’s theorem (x1 + x2 + ... + xn )’  x1’x2’... xn’ (x1x2 ... xn)'  x1' + x2' +...+ xn'

SIMPLIFICATION Truth Boolean Table Function Map Simplification SIMPLIFICATION Truth Table Boolean Function Unique Many different expressions exist Karnaugh Map(K-map) is a simple procedure for simplifying Boolean expressions. Truth Table Simplified Boolean Function Karnaugh Map Boolean function

COMBINATIONAL LOGIC CIRCUITS y y Half Adder 0 0 0 0 0 1 0 1 1 0 0 1 1 1 1 0 x y c s x y c s 1 x 1 x 1 c = xy s = xy’ + x’y = x  y Full Adder y y x y cn-1 cn s 0 0 0 0 0 0 0 1 0 1 0 1 0 0 1 0 1 1 1 0 1 0 0 0 1 1 0 1 1 0 1 1 0 1 0 1 1 1 1 1 1 1 cn-1 1 cn-1 x 1 1 x 1 1 1 cn s cn = xy + xcn-1+ ycn-1 = xy + (x  y)cn-1 s = x’y’cn-1+x’yc’n-1+xy’c’n-1+xycn-1 = x  y  cn-1 = (x  y)  cn-1 x y S cn cn-1

COMBINATIONAL LOGIC CIRCUITS Other Combinational Circuits Multiplexer Encoder Decoder etc

MULTIPLEXER 4-to-1 Multiplexer Select Output S1 S0 Y 0 0 I0 0 1 I1 Combinational Logic Circuits MULTIPLEXER 4-to-1 Multiplexer 0 0 I0 0 1 I1 1 0 I2 1 1 I3 Select Output S1 S0 Y I0 I1 Y I2 I3 S0 S1

ENCODER/DECODER Octal-to-Binary Encoder D1 A0 D2 A1 D3 D4 D5 A2 D6 D7 Combinational Logic Circuits ENCODER/DECODER Octal-to-Binary Encoder D1 D2 D3 D5 D6 D7 D4 A0 A1 A2 2-to-4 Decoder D0 0 0 0 0 1 1 1 0 0 1 1 0 1 1 0 1 0 1 1 0 1 0 1 1 1 1 1 0 1 d d 1 1 1 1 E A1 A0 D0 D1 D2 D3 A0 D1 D2 A1 D3 E

SEQUENTIAL CIRCUITS - Registers D D D D Clock I0 I1 I2 I3 Shift Registers Serial Input Clock Serial Output D Q C D Q C D Q C D Q C Bidirectional Shift Register with Parallel Load A0 A1 A2 A3 Q Q Q Q C C C C D D D D 4 x 1 MUX 4 x 1 MUX 4 x 1 MUX 4 x 1 MUX Serial Input Clock S0S1 SeriaI Input I0 I1 I2 I3

MEMORY COMPONENTS Logical Organization words (byte, or n bytes) N - 1 Logical Organization words (byte, or n bytes) N - 1 Random Access Memory - Each word has a unique address - Access to a word requires the same time independent of the location of the word - Organization 2k Words (n bits/word) n data input lines n data output lines k address lines Read Write

READ ONLY MEMORY(ROM) Characteristics Memory Components READ ONLY MEMORY(ROM) Characteristics - Perform read operation only, write operation is not possible - Information stored in a ROM is made permanent during production, and cannot be changed

Question The following memory units are specified by the number of words times the number of bits per word. How many address lines and input-output data lines are needed in each case? (a)2K x 16. (b)64M x 8. (c)16G x 32.

Question Specify the number of bytes that can be stored in the memories listed in he following memory units: (a)2K x 16. (b)64M x 8. (c)16G x 32.

REPRESENTATION OF NUMBERS Decimal Binary Octal Hexadecimal 00 0000 00 0 01 0001 01 1 02 0010 02 2 03 0011 03 3 04 0100 04 4 05 0101 05 5 06 0110 06 6 07 0111 07 7 08 1000 10 8 09 1001 11 9 10 1010 12 A 11 1011 13 B 12 1100 14 C 13 1101 15 D 14 1110 16 E 15 1111 17 F Binary, octal, and hexadecimal conversion 1 2 7 5 4 3 Octal 1 0 1 0 1 1 1 1 0 1 1 0 0 0 1 1 Binary Hexa

Questions Convert the following binary numbers to decimal: 10011100 00110110 Convert the following decimal numbers to binary : 70 160 Convert the following binary numbers to Hexadecimal: 1100 1010 0011 0110 1000 1100 0000