ECE- 1551 DIGITAL LOGIC LECTURE 5: BINARY LOGIC AND DIGITAL LOGIC GATES Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 01/28/2016.

Slides:



Advertisements
Similar presentations
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
Advertisements

CT455: Computer Organization Logic gate
Programmable Logic Controllers.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
Chapter 2 Logic Circuits.
Chapter 3 Basic Logic Gates 1.
Chapter 4 Gates and Circuits.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Lecture 3. Boolean Algebra, Logic Gates
Logic Gates Combinational Circuits
Logic Gate A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs. The output signal appears only.
Mastering Logic Gates and Truth Tables
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
Chapter 4 Gates and Circuits.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
Module 3.  Binary logic consists of :  logic variables  designated by alphabet letters, e.g. A, B, C… x, y, z, etc.  have ONLY 2 possible values:
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.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Digital Electronics. Introduction to Number Systems & Codes Digital & Analog systems, Numerical representation, Digital number systems, Binary to Decimal.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
Fall 2012: FCM 708 Foundation I Lecture 2 Prof. Shamik Sengupta
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
LOGIC GATES.
Week 6: Gates and Circuits: PART I READING: Chapter 4.
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.
Chapter 7 Logic Circuits 1.State the advantages of digital technology compared to analog technology. 2. Understand the terminology of digital circuits.
Linear Algebra. Circuits The circuits in computers and other input devices have inputs, each of which is either a 0 or 1, the output is also 0s and 1s.
Digital Fundamentals Floyd Chapter 3 Tenth Edition
CS151 Introduction to Digital Design Chapter 2: Combinational Logic Circuits Lecture 5: Binary Logic and Gates.
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
Logic Gates. A logic gate is an elementary building block of a digital circuit. Most logic gates have two inputs and one output. At any given moment,
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
ECE DIGITAL LOGIC LECTURE 15: COMBINATIONAL CIRCUITS Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2015, 10/20/2015.
The inverter performs the Boolean NOT operation. When the input is LOW, the output is HIGH; when the input is HIGH, the output is LOW. The Inverter AX.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
Minute Paper 4/4/04 Z=50+j86.7=100
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Digital Logic Design Ch1-1. Digital Logic Design Ch1-2 Introduction to digital logic (logic gates, flip-flops, circuits) Definition of Digital Logic 
DATA REPRESENTATION IN COMPUTER MEMORY.  Describe the coding system:  Sign and magnitude  1’s Complement and 2’s Complement  Binary Coded Decimal.
Boolean Algebra & Logic Gates
Basics of Logic gates - Part 1
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Engr. Micaela Renee Bernardo
Digital Fundamentals Floyd Chapter 3 Tenth Edition
ECE 331 – Digital System Design
Exclusive OR Gate.
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
Dr. Clincy Professor of CS
Fundamentals & Ethics of Information Systems IS 201
Chapter 4 Gates and Circuits.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
BINARY STORAGE AND REGISTERS
Agenda – 2/12/18 Questions? Readings: CSI 4, P
UNIVERSAL GATES.
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Logic Gates.
CS Chapter 3 (3A and ) Part 3 of 8
Logic Gates.
KS4 Electricity – Electronic systems
Logic Gates.
Chapter 3 – Describing Logic Circuits
DIGITAL ELECTRONICS AND LOGIC GATES. ANALOG SIGNAL:- Analog signal is continuous time varying current or voltage signal.
Presentation transcript:

ECE DIGITAL LOGIC LECTURE 5: BINARY LOGIC AND DIGITAL LOGIC GATES Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 01/28/2016

Recap  Unsigned Numbers and Signed Numbers.  Signed binary system  signed ‐ magnitude  Signed- Complement  Arithmetic Operations  Addition  Subtraction  Binary Codes

Agenda  Binary logic  Digital logic gates

Binary Logic  Binary logic consists of binary variables and a set of logical operations.  Variables can take on two discrete values 0 or 1.  Operations assume logical meaning. There are three basic logical operations: AND, OR, and NOT.  Variables:  The two values the variables assume may be called by different names (true and false, yes and no, etc. Consider it in terms of bits and assign the values 1 and 0.  The variables are designated by letters of the alphabet, such as A, B, C, x, y, z, etc.,  Operations  There are three basic logical operations: AND, OR, and NOT.  Each operation produces a binary result, denoted by z.

Binary Logic-Basic Logical Operations 1. AND: This operation is represented by a dot or by the absence of an operator.  For example, x. y = z or xy = z is read “x AND y is equal to z.”  The logical operation AND is interpreted to mean that z = 1 if and only if x = 1 and y = 1; otherwise z = 0. (Remember that x, y, and z are binary variables and can be equal either to 1 or 0, and nothing else.) The result of the operation x. y is z. 2. OR: This operation is represented by a plus sign.  For example, x + y = z is read “x OR y is equal to z,” meaning that z = 1 if x = 1 or if y = 1 or if both x = 1 and y = 1. If both x = 0 and y = 0, then z = NOT: This operation is represented by a prime (sometimes by an overbar).  For example, x’ = z is read “not x is equal to z,” meaning that z is what x is not.  In other words, if x = 1, then z = 0, but if x = 0, then z = 1. The NOT operation is also referred to as the complement operation, since it changes a 1 to 0 and a 0 to 1, i.e., the result of complementing 1 is 0, and vice versa.

Binary Logic  Definitions of logical operations may be listed in a compact form called truth tables.  A truth table is used to illustrate how the output of a gate responds to all possible combinations on the inputs to the gate.

Logic Gates  In electronics, a logic gate is an idealized or physical device implementing a Boolean function  A Boolean function describes how to determine a Boolean value output based on some logical calculation from Boolean inputs.  (From Textbook) Logic gates are electronic circuits that operate on one or more input signals to produce an output signal. x y Z= x.y x y Z= x+y x X’ Two input AND gate Two input OR gate Not gate or Inverter

AND Gate  The output of an AND gate is true (logic 1) if and only if all of the inputs to the gate are true (logic 1).  The AND gate can be illustrated with a series connection of manual switches or transistor switches.

AND Gate  The number of combinations of a truth table is equal to 2 N where N is the number of inputs.  So a 2 input gate would have 2 2 outputs or 4 INPUTOUTPUT ABX

OR Gate  The output of an OR gate is true (logic 1) if any or all of the inputs are true (logic 1).  The OR gate can be illustrated with a parallel connection of manual switches or transistor switches.

OR Gate INPUTOUTPUT ABA OR B

Not Gate - Inverter  The output of an inverter is the complement (opposite) of the input.  When the input to an inverter is high (1) the output is low (0);  When the input is low, the output is high.  In Boolean Algebra the inverter operation is shown by placing a bar over the variable. INPU T OUTPUT ANOT A 01 10

Input-output signals for gates- Summary

NAND, NOR, XOR, and XNOR Gates  NAND is compliment of AND  NOR is compliment of OR  Interesting Fact: NOR gates alone (or alternatively NAND gates alone) can be used to reproduce the functions of all the other logic gates. They are also called universal logic gates INPUTOUTPUT ABX INPUTOUTPUT ABX A B (A.B)’ A B (A+B)’

XOR Gate  XOR is exclusive OR is a digital logic gate that implements an exclusive or; that is, a true output (1/HIGH) results if one, and only one, of the inputs to the gate is true. If both inputs are false (0/LOW) or both are true, a false output results. INPUTOUTPUT ABX A B A xor B

XNOR Gate  XNOR is compliment of XOR INPUTOUTPUT ABX

Using Integrated Circuit (IC) Logic Gates  All logic gates are available in both TTL and CMOS logic families.  All the gates are available in configurations of from two inputs per gate up to eight inputs per gate.  A TTL or CMOS manual should be consulted for proper circuit configuration and pin assignment.  Data sheets include limits and conditions set by the manufacturer as well as DC and AC characteristics.

Example: Enable and Disable Functions Using And gate

Example: Enable and Disable Functions Using And IC

Logic Circuits (Discussed in future)  Logic circuits include such devices as multiplexers, registers, arithmetic logic units (ALUs), and computer memory, all the way up through complete microprocessors, which may contain  In modern practice, most gates are made from field-effect transistors (FETs), particularly MOSFETs (metal–oxide–semiconductor field-effect transistors).more than 100 million gates.  Compound logic gates AND-OR-Invert (AOI) and OR-AND-Invert (OAI) are often employed in circuit design because their construction using MOSFETs is simpler and more efficient than the sum of the individual gates. (will cover in later lectures)

XOR Implantation using BASIC gates

Example  [(AB)’ + (CD’ + C’D)’]’

Next Class  Boolean Algebra – Chapter 2