Combinational Logic Logic gates. and, or, not Derived gates.

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

Digital logic gates.
Logic Gates.
CT455: Computer Organization Logic gate
Programmable Logic Controllers.
Computer Systems – Logic Gates Introduce the basic logic gates Introduce truth tables Introduce Boolean algebra (dont panic!) Examples of combining gates.
topics Logic gates Gates types Universal gates
Types of Logic Circuits
Boolean Algebra and Truth Table The mathematics associated with binary number system (or logic) is call Boolean: –“0” and “1”, or “False” and “True” –Calculation.
DIGITAL CIRCUITS Dr. L M Head Sophomore Clinic Fall 2004.
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.
Engineering Lecture 3 Digital Electronics by Jaroslaw Karcz.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
MR. KERINS Logic Gates- Electrical Engineering. LOGIC GATES Logic gates are primarily implemented using diodes or transistors acting as electronic switches,
Introduction Each logical element or condition must always have a logic value of either "0" or "1", we also need to have ways to combine different logical.
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.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Exclusive OR Gate. Logically, the exclusive OR (XOR) operation can be seen as either of the following operations:exclusive OR (XOR) 1. A AND NOT B OR.
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.
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.
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) Q=
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,
Logic Gates M. AL-Towaileb1. Introduction Boolean algebra is used to model the circuitry of electronic devices. Each input and each output of such a device.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
Combinational Logic Logic gates. and, or, not Derived gates. nand, nor, xor John F. Wakerly – Digital Design. 4 th edition. Chapter 4.
NAND, NOR, and EXOR (more primitive logical gates) CS Computer Architecture David Mayer.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
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.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Circuit Synthesis A logic function can be represented in several different forms:  Truth table representation  Boolean equation  Circuit schematic 
LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.
Logic Functions While each logical element or condition must always have a logic value of either "0" or "1", we also need to have ways to combine different.
Computer Architecture & Operations I
Computer Architecture & Operations I
Boolean Algebra & Logic Gates
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Morgan Kaufmann Publishers
Logic Gates.
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Logic Gates.
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
Logic Gates L Al-zaid Math110.
Agenda – 2/12/18 Questions? Readings: CSI 4, P
Digital Fundamentals Floyd Chapter 3 Tenth Edition
CS Chapter 3 (3A and ) Part 3 of 8
Logic Gates.
Digital Logic.
CSC 220: Computer Organization Logic Gates and Functions
Boolean Logic Boolean Logic is considered to be the basic of digital electronics. We know that a computer’s most basic operation is based on digital electronics.
Logic Gates.
KS4 Electricity – Electronic systems
CS Chapter 3 (3A and ) – Part 2 of 5
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
GCSE Computer Science – Logic Gates & Boolean Expressions
Logic Gates Dr.Halimah Alshehri.
Chapter 4 Gates and Circuits.
Department of Electronics
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Logic Gates By: Asst Lec. Besma Nazar Nadhem
What are Logic Gates?.
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Course Title : Digital Electronics -1 Course No.: 6841 Course Teacher:Engr: Suvadra Chowdhury Chief Instructor Chittagong Mohila –Polytechnic Institute.
Presentation transcript:

Combinational Logic Logic gates. and, or, not Derived gates. nand, nor, xor John F. Wakerly – Digital Design. 4th edition. Chapter 4.

Logic design

Logic gates Electronic circuits which combine digital signals according to the Boolean algebra are referred to as logic gates Gates - because they control the flow of information. & There is no limit to the number of inputs that may be applied to a function, so there is no functional limit to the number of inputs a gate may have. However, for practical reasons, commercial gates are most commonly manufactured with limited inputs (2, 3, or 4 ). In digital circuits all inputs must be connected.

The AND gate The AND gate implements the AND function. & The AND gate implements the AND function. With the gate shown to the left, both inputs must have logic 1 signals applied to them in order for the output to be a logic 1.

The OR gate 1 The OR function, like its verbal counterpart, allows the output to be true (logic 1) if any one or more of its inputs are true.

How the gates work ? Besides implementing of the logical AND, OR functions the above mentioned devices have also “gate” functions. With each of these devices the “gate” function works differently  There is a status of the gate - OPEN or CLOSE. When the gate is OPEN then the logical value of the input (signal) can pass to the output of the gate. When the gate is Closed then the logical value of the input (signal) can not pass to the output of the gate. A B Z Closed A B Opened

Control and data input. AND To force the device to work as a gate we have to satisfy the input conditions. For the AND gate the logical value 1 of one of the inputs of the gate allows the other input’s value to pass to the output. The output of the AND gate will be always 0 if one of the inputs we keep = 0. The input which we intentionally keep in 0 or 1 condition we call the control input. The other input which is passed or not to the output we call the data input. Conrol Input Conrol Input B Closed & Conrol Input Data Input 1 Opened 1 Opened & & Data Input Data Input

OR gate For the OR gate the control input should be 0 to allow the data input to pass to the output (Opened). If we keep the control input =1 then the OR gate will be closed keeping the output value stable 1. Conrol Input Conrol Input 1 B Closed Conrol Input Data Input Opened 1 Opened 1 1 Data Input Data Input

Inverter The inverter has exactly one input as well as one output. Whatever logical state is applied to the input, the opposite state will appear at the output. The circle at the output of the NOT gate denotes the logical inversion

Derived Logical Functions and Gates The three basic functions AND, OR, and NOT are sufficient to accomplish all possible logical functions and operations Some combinations are used so commonly that they have been given names and logic symbols of their own: NAND, NOR, XOR. The circle at the output of the NAND gate denotes the logical inversion, just as it did at the output of the inverter. The NAND Gate &

The NOR Gate The NOR gate is an OR gate with the output inverted. 1

The Exclusive-OR, or XOR Gate The XOR gate produces a logic 1 output only if its two inputs are different. If the inputs are the same, the output is a logic 0 It’s comparator A A 1   different equal B B

Combinational and sequential logic circuits. Logic circuits are classified into two types, “combinational” and “sequential.” A combinational logic circuit is one whose outputs depend only on its current inputs. Sequential circuits are designed to actually remember the past states of their inputs, and to produce outputs based on those past signals as well as the current states of their inputs. These circuits can act in accordance with a sequence of input signals, and are therefore known as sequential logic circuits. combinational logic circuits – don’t have memory, are very fast  sequential logic circuits - have memory, are slow

Typical Hardware Design Flow