Chapter 2 Gates.

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

ENGIN112 L7: More Logic Functions September 17, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 7 More Logic Functions: NAND, NOR,
Basics Combinational Circuits Sequential Circuits
Basic Logic Gates Discussion D5.1 Section Sections 13-3, 13-4.
Logic Gates.
CT455: Computer Organization Logic gate
Digital Electronics Lecture 2 Logic Gates. Lecture 2 outline Announcement:
Computer Systems – Logic Gates Introduce the basic logic gates Introduce truth tables Introduce Boolean algebra (dont panic!) Examples of combining gates.
Lecture 6 More Logic Functions: NAND, NOR, XOR and XNOR
Combinational Logic Circuits Chapter 2 Mano and Kime.
Morgan Kaufmann Publishers
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
Chapter 2 Logic Circuits.
CS 151 Digital Systems Design Lecture 7 More Logic Functions: NAND, NOR, XOR.
TDC 311 Digital Logic. Truth Tables  AND  OR  NOT  NAND  NOR  XOR  XNOR.
Any logic circuits can be transformed to an implementation where only NAND gates (and inverters) are used. The general approach to finding a NAND-gate.
Number Systems & Logic Gates Day 2. Octal Number System Base (Radix)8 Digits0, 1, 2, 3, 4, 5, 6, 7 e.g = =648 1 =88 0 =1 The digit.
XOR, XNOR, and Binary Adders
2-6 Other Logic Operations For two variables one can achieve sixteen operations Only eight are useful for computers Boolean algebra built on AND, OR and.
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.
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
Digital Logic Basics Chapter 2 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer, 
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
 In studying digital integrated circuits, one must start with the simplest group of circuit, the SSIs or Small Scale Integrated Circuits. Since these.
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.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
LOGIC GATES AND CIRCUITS Digital systems are said to be constructed by using logic gates. These gates are the AND, OR, NOT, NAND, NOR, EXOR and EXNOR 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.
5 - Digital Logic with Boolean Algebra
Chapter-3: BOOLEAN ALGEBRA & LOGIC GATES Analysis and logical design.
Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) Q=
Logic Gates Ghader Kurdi Adapted from the slides prepared by DEPARTMENT OF PREPARATORY YEAR.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR and parity check Circuits.
Logic Design (CE1111 ) Lecture 2 (Chapter 2) Prepared by Dr. Lamiaa Elshenawy 1.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
Chapter 33 Basic Logic Gates. Objectives After completing this chapter, you will be able to: –Identify and explain the function of the basic logic gates.
CSE 461. Binary Logic Binary logic consists of binary variables and logical operations. Variables are designated by letters such as A, B, C, x, y, z etc.
The First lesson on Digital Logic Rachaen M. Huq1 Rachaen Huq. Dept. of EEE, BRACU.
Homework Reading Machine Projects Labs
Dr. Ameria Eldosoky Discrete mathematics
Chapter 5 Combinational Logic 组合逻辑
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Digital Technology.
Logic Gates and Boolean Algebra
Discussion D5.1 Section Sections 13-3, 13-4
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
Principles & Applications
XOR, XNOR, and Binary Adders
NAND-ONLY LOGIC CIRCUITS
Basics Combinational Circuits Sequential Circuits
Boolean Algebra & Logic Circuits
TTL Voltage Levels LOW HIGH Power Supply Range
XOR, XNOR, & Binary Adders
Logic Gates.
Boolean Algebra.
CSC 220: Computer Organization Logic Gates and Functions
Logic Gates.
Discussion D5.1 Section Sections 13-3, 13-4
Logic Gates.
Discussion D5.1 Section Sections 13-3, 13-4
Basic Logic Gates.
XOR, XNOR, and Binary Adders
Basic Logic Gates.
Truth tables Mrs. Palmer.
XOR, XNOR, and Binary Adders
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
DIGITAL ELECTRONICS AND LOGIC GATES. ANALOG SIGNAL:- Analog signal is continuous time varying current or voltage signal.
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
SYEN 3330 Digital Systems Chapter 2 – Part 1 SYEN 3330 Digital Systems.
Presentation transcript:

Chapter 2 Gates

2019/2/27 Binary Logic Deals with binary variables that take 2 discrete values (0 and 1), and with logic operations Three basic logic operations: AND, OR, NOT Binary/logic variables are typically represented as letters: A,B,C,…,X,Y,Z Boolean Algebra 2019/2/27 Boolean Algebra

NOT Gate -- Inverter X Y 1 1

AND Gate AND X Y Z 0 0 0 0 1 0 1 0 0 1 1 1 X Z Y Z = X & Y

OR Gate OR X Y Z 0 0 0 0 1 1 1 0 1 1 1 1 X Z Y Z = X | Y

Basic Logic Gates and Basic Digital Design NOT, AND, and OR Gates NAND and NOR Gates DeMorgan’s Theorem Exclusive-OR (XOR) Gate Multiple-input Gates

NAND Gate NAND X Y Z 0 0 1 0 1 1 1 0 1 1 1 0 X Z Y

NAND Gate NOT-AND X Y W Z 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 X W Z Y

NOR Gate NOR X Y Z 0 0 1 0 1 0 1 0 0 1 1 0 X Z Y

NOR Gate NOT-OR X Y W Z 0 0 0 1 0 1 1 0 1 0 1 0 1 1 1 0 X W Z Y

NAND Gate X X Z Z = Y Y X Y W Z 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 X Y ~X ~Y Z 0 0 1 1 1 0 1 1 0 1 1 0 0 1 1 1 1 0 0 0

NOR Gate X X Z Z Y Y X Y Z X Y ~X ~Y Z 0 0 1 0 0 1 1 1 0 1 0 0 1 1 0 0 0 0 1 0 1 0 1 0 0 1 1 0 X Y ~X ~Y Z 0 0 1 1 1 0 1 1 0 0 1 0 0 1 0 1 1 0 0 0

Exclusive-OR Gate XOR X Y Z X Z 0 0 0 Y 0 1 1 1 0 1 1 1 0

Exclusive-NOR Gate XNOR X Y Z X Z 0 0 1 Y 0 1 0 1 0 0 1 1 1

Multiple-input AND Gate Z 1 Output is HIGH only if all inputs are HIGH Z 1 An open input will float HIGH

Multiple-input OR Gate Z 2 Output is LOW only if all inputs are LOW Z 2

Multiple-input NAND Gate Z 3 Output is LOW only if all inputs are HIGH Z 3

Multiple-input NOR Gate Z 4 Output is HIGH only if all inputs are LOW Z 4

Universal Gates Proving NAND gate is universal

NOR Gate (Universal) Proving NOR gate is universal

Logic Chips (cont.) Integration levels SSI (small scale integration) Introduced in late 1960s 1-10 gates (previous examples) MSI (medium scale integration) 10-100 gates LSI (large scale integration) Introduced in early 1970s 100-10,000 gates VLSI (very large scale integration) Introduced in late 1970s More than 10,000 gates

Logic Design 3-input majority function A B C F 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 1 1 1 0 1 1 1 1 1 Logical expression form F = A B + B C + A C