Basic Logic Operations and Standard Logic Gates [Lecture:1] Instructor: Sajib Roy Lecturer, ETE, ULAB ETE 204 – Digital Electronics.

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

Logic Gates.
CT455: Computer Organization Logic gate
Computer Science 210 Computer Organization Introduction to Logic Circuits.
Programmable Logic Controllers.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
Lecture. Outline Bits Gates Combinatorial Logic Spice Hands-On Stuff.
Boolean Algebra and Logic Gate
EECC341 - Shaaban #1 Lec # 1 Winter Introduction to Digital Systems Analog devices and systems process time-varying signals that can take.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
ECE 331 – Digital System Design Basic Logic Functions, Truth Tables, and Standard Logic Gates.
Engineering Lecture 3 Digital Electronics by Jaroslaw Karcz.
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:
Binary Numbers.
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.
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Elementary Digital Logic Apps O/S Arch  Arch Logic Digital Analog.
The Digital Logic Level
Basic Logic Operations and Standard Logic Gates (Lecture #1) ECE 331 – Digital System Design.
CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /05/2013 Lecture 4: Basics of Logic Design Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER.
LOGIC GATES.
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.
4. Electrons and electronics 4.5 Digital electronics.
Lecture 22: 11/19/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
ETE 204 – Digital Electronics
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
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
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 331 – Digital System Design Basic Logic Operations, Boolean Expressions and Truth Tables, and Standard Logic Gates The slides included herein were.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
Department of Preparatory Year, Umm Al Qura University CSCI 240 Digital Logic.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR and parity check Circuits.
Logic Gates and Boolean Algebra Introduction to Logic II.
Digital Logic. Boolean Algebra to Logic Gates Logic circuits are built from components called logic gates. The logic gates correspond to Boolean operations.
CHAPTER 13 Digital Logic Circuits. Figure Voltage analog of internal combustion engine in-cylinder pressure Figure 13.1.
Hoda Roodaki Boolean Algebra Hoda Roodaki
ETE Digital Electronics
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Eng. Mai Z. Alyazji October, 2016
Logic Gates and Boolean Algebra
Logic Gates.
Logic Gates and Boolean Algebra
ECE 331 – Digital System Design
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Boolean Algebra & Logic Circuits
Agenda – 2/12/18 Questions? Readings: CSI 4, P
Schematics 201 Lecture Topic: Electrical Symbols
Universal gates.
Logic Gates.
Logic Gates.
Logic Gates.
KS4 Electricity – Electronic systems
13 Digital Logic Circuits.
GCSE Computer Science – Logic Gates & Boolean Expressions
Logic Gates.
Binary Logic.
Chapter 4 Gates and Circuits.
XOR Function Logic Symbol  Description  Truth Table 
Department of Electronics
Basic Logic Operations
DIGITAL ELECTRONICS AND LOGIC GATES. ANALOG SIGNAL:- Analog signal is continuous time varying current or voltage signal.
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

Basic Logic Operations and Standard Logic Gates [Lecture:1] Instructor: Sajib Roy Lecturer, ETE, ULAB ETE 204 – Digital Electronics

Summer 2012ETE Digital Electronics2 What is an analog signal?

3 Analog Signal An analog signal is a signal that can take on a continuous range of values. Summer 2012ETE Digital Electronics

4 Analog Signal Most, if not all, physical (naturally occurring) quantities are analog values.  Time  Temperature  Pressure Summer 2012ETE Digital Electronics

5 What is an digital signal? Summer 2012ETE Digital Electronics

6 Digital Signal An digital signal is a signal that can take on only discrete (specific) values. Summer 2012ETE Digital Electronics

7 What is an binary signal? Summer 2012ETE Digital Electronics

8 Binary Signal An binary signal is a signal that can take on only two values.  Typically represented by 0 and 1. Summer 2012ETE Digital Electronics

9 Can a binary number be used to represent an analog value? What about accuracy (or is it precision)? Summer 2012ETE Digital Electronics

10 Can a binary number be used to represent an digital value? How many bits are required? Summer 2012ETE Digital Electronics

11 Processing Physical Quantities The analog signal (representing the physical quantity) must be sampled at specific instances in time. The sampled values must be digitized. The digital value must be encoded in binary. Sample and Hold ADC Binary Encoder analog sampleddigitalbinary Summer 2012ETE Digital Electronics

12 Basic Logic Operations Summer 2012ETE Digital Electronics

13 AND Definition: the output is true (1) if both inputs are true (1). F = A.B = AB = “A and B” Boolean expression logical operator ABA. B Truth table F Symbol (aka. logic gate) Summer 2012ETE Digital Electronics

14 OR Definition: the output is true (1) if either or both inputs are true (1). F = A+B = “A or B” Boolean expression logical operator ABA + B Truth table Symbol F F Summer 2012ETE Digital Electronics

15 NOT Definition: the output is true (1) if the input is false (0). F = A' = “ not A” Boolean expression logical operator AA' Truth table Symbol A F = A' Summer 2012ETE Digital Electronics

16 Order of Precedence The order of precedence of the basic logic operations is defined as follows: – NOT – AND – OR The order of precedence can be modified by using parenthesis. Summer 2012ETE Digital Electronics

17 Functionally Complete The AND, OR, and NOT operations comprise a functionally complete set. All logic functions can be expressed in terms of these logic operations. All logic circuits can be realized using the associated logic gates. Summer 2012ETE Digital Electronics

18 NAND Definition: the output is false (0) iff both inputs are true (1). F = (A.B)' = “not (A and B)” Boolean expression AB(A. B)' Truth table F = (A.B)' Symbol shorthand for inversion Summer 2012ETE Digital Electronics

19 NOR Definition: the output is false (0) if either or both inputs are true (1). F = (A+B)' = “not (A or B)” Boolean expression AB(A+B)' Truth table Symbol F F F F = (A+B)' shorthand for inversion Summer 2012ETE Digital Electronics

20 XOR Definition: the output is true (1) if either but not both inputs are true (1). F = A xor B Boolean expression ABA xor B Truth table Symbol logical operator Summer 2012ETE Digital Electronics

21 XNOR (aka. Equivalence) Definition: the output is false (0) if either but not both inputs are true (1). F = A xnor B Boolean expression ABA xnor B Truth table Symbol logical operator Summer 2012ETE Digital Electronics

22 Logic Circuits Logic circuits are realized through the interconnection of logic gates.  Each logic gate represents a logical operation. This can be done using  discrete components Standard Logic Gates  programmable devices Read-only Memories (ROM) Programmable Logic Devices (PLD) Field Programmable Gate Arrays (FPGA) Summer 2012ETE Digital Electronics

23 Standard Logic Gates Summer 2012ETE Digital Electronics

24 Standard Logic Gates DeviceLogic Gate 74xx08 Quad 2-input AND gate 74xx32 Quad 2-input OR gate 74xx04 Hex Inverter (NOT gate) 74xx00 Quad 2-input NAND gate 74xx02 Quad 2-input NOR gate 74xx86 Quad 2-input XOR gate Note: “xx” refers to the logic family Summer 2012ETE Digital Electronics

25 Standard Logic Gates Data sheets provide essential information:  Logic Function  Truth Table  Pin-out  Electrical Characteristics  Timing Characteristics  Package Description(s) This information is necessary when building logic circuits from discrete components. Each logic family has a unique set of characteristics. Summer 2012ETE Digital Electronics

ECE Digital Electronics26 Standard Logic Gates: 74xx08 pin-out Truth table Summer 2012ETE Digital Electronics

ECE Digital Electronics27 Standard Logic Gates: 74xx32 pin-out Truth table Summer 2012ETE Digital Electronics

ECE Digital Electronics28 Standard Logic Gates: 74xx04 pin-out Truth table Summer 2012ETE Digital Electronics

29 Building a Logic Circuit Circuit Diagram B C A F inputsoutput F = B'.C + A.B Boolean Expression 74xx08 74xx32 74xx04 Summer 2012ETE Digital Electronics

30 Building a Logic Circuit components wires inputs output Wiring Diagram Summer 2012ETE Digital Electronics

31 Draw the circuit diagram and wiring diagram for the following Boolean expression: F = A'.B + A.B' Example Summer 2012ETE Digital Electronics

32 Example (circuit diagram) Summer 2012ETE Digital Electronics

33 Example Summer 2012ETE Digital Electronics

34 Questions? Summer 2012ETE Digital Electronics