DIGITAL LOGIC CIRCUITS

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

컴퓨터구조론 교수 채수환. 교재 Computer Systems Organization & Architecture John D. Carpinelli, 2001, Addison Wesley.
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.
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
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.
TDC 311 Digital Logic. Truth Tables  AND  OR  NOT  NAND  NOR  XOR  XNOR.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
Chapter 12 Digital Logic Circuit Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CS 105 Digital Logic Design
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.
Dept. of Computer Science Engineering Islamic Azad University of Mashhad 1 DIGITAL LOGIC CIRCUITS Dept. of Computer Science Engineering Islamic Azad University.
Logic Design A Review. Binary numbers Binary numbers to decimal  Binary 2 decimal  Decimal 2 binary.
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.
ECE 545—Digital System Design with VHDL Lecture 3
Logic Gates. Outline  Logic Gates  The Inverter  The AND Gate  The OR Gate  The NAND Gate  The NOR Gate  The XOR Gate  The XNOR Gate  Drawing.
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
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.
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.
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
1 ECE 545—Digital System Design with VHDL Lecture 1 Digital Logic Refresher Part A – Combinational Logic Building Blocks.
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
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.
Hoda Roodaki Boolean Algebra Hoda Roodaki
Assembly Lab1 - Review.
Eng. Mai Z. Alyazji October, 2016
Digital Logic Design.
DIGITAL LOGIC CIRCUITS
DIGITAL LOGIC CIRCUITS
CHAPTER 2 Boolean Algebra
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Princess Sumaya University
Computer Architecture CST 250
Reading: Hambley Chapters
INSIDE THE CPU.
Lecture 3 Boolean Algebra and Digital Logic Lecture Duration: 2 Hours
Basics Combinational Circuits Sequential Circuits
Basics Combinational Circuits Sequential Circuits Ahmad Jawdat
ASIC 120: Digital Systems and Standard-Cell ASIC Design
Boolean Algebra.
Boolean Algebra & Logic Circuits
Logic Gates.
13 Digital Logic Circuits.
Logic Circuits I Lecture 3.
XOR Function Logic Symbol  Description  Truth Table 
Digital Circuits and Logic
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