Logic Signals and Gates. Binary Code Digital logic hides the pitfalls of the analog world by mapping the infinite set of real values for a physical quantity.

Slides:



Advertisements
Similar presentations
Switching circuits Composed of switching elements called “gates” that implement logical blocks or switching expressions Positive logic convention (active.
Advertisements

Logic Gates.
CT455: Computer Organization Logic gate
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Chapter 2 – Combinational.
HOW 1s AND 0s RULE THE WORLD Utku Altunkaya. Outline Introduction Basic Logic Operations Logic Circuits Base-2 (Binary) Number System Analog vs. Digital.
Other Gate Types COE 202 Digital Logic Design Dr. Aiman El-Maleh
Sistemas Digitais I LESI - 2º ano Lesson 3 - Boolean Algebra U NIVERSIDADE DO M INHO E SCOLA DE E NGENHARIA Prof. João Miguel Fernandes
Logical Design.
Introduction Digital Electronics Logic Gates De Morgan’s Theorem
1 Combinational Logic Design&Analysis. 2 Introduction We have learned all the prerequisite material: – Truth tables and Boolean expressions describe functions.
التصميم المنطقي Second Course
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Digital Electronics Dan Simon Cleveland State University ESC 120 Revised December 30, 2010.
Physical States for Bits. Black Box Representations.
EECS 40 Introduction to Microelectronic Circuits.
3.1 Logic Signals and Gates Logic Signals ReturnNext  Logic Value: Many physical quantities can be represented two possible numbers or logic values —
University College Cork IRELAND Number Systems, Data Types, Codes Logic Gates: An Introduction.
In this module you will learn: What the various logic gates do. How to represent logic gates on a circuit diagram. The truth tables for the logic gates.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Simple One and Two Input Logic Gates Truth Tables and Function Tables Based Upon 0 – 5 V.
Engineering Lecture 3 Digital Electronics by Jaroslaw Karcz.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
Intro to Digital Electronics. Classifications of Electronic Circuits Switching Circuits – by turning electricity on and off. – Figure 1 – Known as the.
Circuit, State Diagram, State Table
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:
Lecture 17: Digital Design Today’s topic –Intro to Boolean functions Reminders –HW 4 due Wednesday 10/8/2014 (extended) –HW 5 due Wednesday 10/15/2014.
Digital Electronics. Introduction to Number Systems & Codes Digital & Analog systems, Numerical representation, Digital number systems, Binary to Decimal.
Orange Coast College Business Division Computer Science Department CS 116- Computer Architecture Logic Design: Part 3.
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
Basic Logic Operations and Standard Logic Gates (Lecture #1) ECE 331 – Digital System Design.
Course contents Chapter 1 - section 1.6 Chapter 2 - all sections Chapter – 4.7, and 4.12 Chapter , Chapter 6 - all sections.
4. Electrons and electronics 4.5 Digital electronics.
Chapter 33 Basic Logic Gates. 2 Objectives –After completing this chapter, the student should be able to: Identify and explain the function of the basic.
CEC 220 Digital Circuit Design Number Systems & Conversions Friday, January 9 CEC 220 Digital Circuit Design Slide 1 of 16.
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,
Boolean Algebra Computer Architecture. Digital Representation Digital is an abstraction of analog voltage –Voltage is a continuous, physical unit Typically.
Basic Logic Operations and Standard Logic Gates [Lecture:1] Instructor: Sajib Roy Lecturer, ETE, ULAB ETE 204 – Digital Electronics.
CEC 220 Digital Circuit Design Number Systems & Conversions Wednesday, Aug 26 CEC 220 Digital Circuit Design Slide 1 of 16.
Combinational Logic Logic gates. and, or, not Derived gates. nand, nor, xor John F. Wakerly – Digital Design. 4 th edition. Chapter 4.
Lecture No. 2 Computer Logic Design. Binary Digits The two state number system is called binary. Its two digits are 0 and 1 A binary digit is called a.
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.
Circuit Synthesis A logic function can be represented in several different forms:  Truth table representation  Boolean equation  Circuit schematic 
CHAPTER 13 Digital Logic Circuits. Figure Voltage analog of internal combustion engine in-cylinder pressure Figure 13.1.
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
Chapter 3 Digital circuits. 3.1 Logic signals - Gates Binary system : (binary bits or digits) - 0 & 1 - LOW & HIGH - Negated and Asserted.
Logic gates.
Computer Architecture & Operations I
Chapter 3 - Binary Numbering System
Combinational Logic Logic gates. and, or, not Derived gates.
DIGITAL LOGIC CIRCUITS
Introduction Molecules: made up of atoms of individual elements.
ECE 331 – Digital System Design
Logic Gates.
PROPAGATION DELAY.
CSCI-100 Introduction to Computing
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Schematics 201 Lecture Topic: Electrical Symbols
Waveforms & Timing Diagrams
JC Technology Logic Gates.
Logic Gates.
KS4 Electricity – Electronic systems
13 Digital Logic Circuits.
Chapter 10.3 and 10.4: Combinatorial Circuits
Flip-Flops.
Department of Electronics
Digital Electronics and Logic Circuit
DIGITAL ELECTRONICS AND LOGIC GATES. ANALOG SIGNAL:- Analog signal is continuous time varying current or voltage signal.
Presentation transcript:

Logic Signals and Gates

Binary Code Digital logic hides the pitfalls of the analog world by mapping the infinite set of real values for a physical quantity into two subsets corresponding to just two possible numbers or logic values - 0 and 1. As a result, digital logic circuits can be analyzed and designed functionally, using switching algebra, tables, and other abstract means to describe the operation of well-behaved 0s and 1s in a circuit.

Binary digit - bit A logic value, 0 or 1, is often called a binary digit, or bit. If an application requires more than two discrete values, additional bits may be used, with a set of n bits representing 2n 2n different values.

Physical phenomena used to represent bits

LOW & HIGH When discussing electronic logic circuits such as CMOS and TTL, digital designers often use the words “LOW” and “HIGH” in place of “0” and “1” to remind them that they are dealing with real circuits, not abstract quantities: LOW - a signal in the range of algebraically lower voltages, which is interpreted as a logic 0. HIGH - a signal in the range of algebraically higher voltages, which is interpreted as a logic 1.

Positive logic & negative logic The assignments of 0 and 1 to LOW and HIGH are somewhat arbitrary. Assigning 0 to LOW and 1 to HIGH seems most natural and is called positive logic. The opposite assigning, 1 to LOW and 0 to HIGH, is not often used and is called negative logic.

Signal Assignment and Logic Polarity

Demonstration of Positive and Negative Logic

Buffer amplifier Because a wide range of physical values represent the same binary value, digital logic is highly immune to component and power-supply variations and noise. Buffer-amplifier circuits can be used to regenerate weak values in to strong ones, so that digital signals can be transmitted over arbitrary distances without loss of information. A buffer- amplifier for CMOS logic converts any HIGH input voltage into an output very close to 5.0 v, and any LOW input voltage into an output very close to 0.0 v.

Black-box representation This representation does not describe how the circuit responds to input signals. Its logical operation can be described with a table.

combinational circuit A logic circuit whose outputs depend only on its current inputs is called a combinational circuit. Its operation is fully described by a truth table that lists all combination of input values and the output value(s) produced by each one.

combinational circuit Logic circuit using AND, OR and NOT gates:

combinational circuit A logic circuit whose outputs depend only on its current inputs is called a combinational circuit.

sequential circuit A circuit with memory, whose outputs depend on the current input and the sequence of past inputs, is called a sequential circuit. The behaviour of such a circuit may be described by a state table that specifies its output and next state as functions of its current state and input.

sequential circuit A circuit with memory, whose outputs depend on the current input and the sequence of past inputs, is called a sequential circuit.

Basic gates Just three logic functions AND, OR, and NOT can be used to build any combinational logic circuit.

Gate’s functions in words: An AND gate produces a 1 output if and only if all of its inputs are 1. An OR gate produces a 1 output if and only if one or more of its inputs are 1. A NOT gate, usually called an inverter, produces an output value that is the opposite of its input value.

Inversion bubble The circle on the inverter symbol’s output is called an inversion bubble. It is used in other gate symbols to denote “inverting” behaviour.

Other gate symbols

NAND and NOR NAND and Nor can be obtained by combining NOT with an AND and OR. An NAND gate produces the opposite of an AND gate’s output, a 0 output if and only if all of its inputs are 1. An NOR gate produces the opposite of an OR gate’s output, a 0 output if and only if one or more of its inputs are 1.

Basic gates

Gates with more than two inputs The symbols and truth tables for AND, OR and XOR may be extended to gates with any number of inputs.

Timing diagram Real logic circuits also function in another analog dimension - time. The logic signals do not change between 0 and 1 instantaneously. There is a lag between an input change and the corresponding output change. The circuit can be viewed as moving between discrete states at precise intervals defined by a clock signal.

analog phenomena Even if you nothing about the analog electronics, you should be able to understand the logical behaviour of digital circuits. However, there comes a time in design and debugging when every logic designer must throw out “the digital abstraction” temporarily and consider the analog phenomena that limit or disrupt digital performance.