Boolean and Sequential Logic Last week – Basic Gates AND OR NOT NOR XOR NAND.

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.
Computer Systems – Logic Gates Introduce the basic logic gates Introduce truth tables Introduce Boolean algebra (dont panic!) Examples of combining gates.
Instructor Dr Sameh Abdulatif
ECE 2373 Modern Digital System Design Exam 2. ECE 2372 Exam 2 Thursday March 5 You may use two 8 ½” x 11” pages of information, front and back, write.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
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.
Logic Circuits In today’s lesson we will look at: the symbols for NOT, AND, OR and EOR using truth tables to represent logic circuits two new operators.
Engineering Lecture 3 Digital Electronics by Jaroslaw Karcz.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
Logic and data representation Revision. AND gate A B A B All inputs have to be true ( i.e 1) for the output of the gate to be high, in all other cases.
Flip_Flops  Logic circuits are classified ito two groups  1. The combinational logic circuits,using the basic gates AND,OR and NOT.  2. Sequential.
Circuit, State Diagram, State Table
CPSC 171 Introduction to Computer Science Boolean Logic, Gates, & Circuits.
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
Chapter 2: Fundamentals of Digital Electronics Dr Mohamed Menacer Taibah University
TODAY YOU ARE LEARNING to explain why data is represented in computer systems in binary form 2. to understand and produce simple logic diagrams.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #7 COMBINATIONAL LOGIC ANALYSIS.
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
 In studying digital integrated circuits, one must start with the simplest group of circuit, the SSIs or Small Scale Integrated Circuits. Since these.
Unit 11 Latches and Flip-Flops Fundamentals of Logic Design By Roth and Kinney.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /05/2013 Lecture 4: Basics of Logic Design Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER.
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.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Gates and Logic Dr John Cowell phones off (please)
A-Level Computing#BristolMet Session Objectives#6 MUST understand and produce simple logic diagrams using the operations NOT, AND and OR SHOULD explain.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
CO5023 Latches, Flip-Flops and Decoders. Sequential Circuit What does this do? The OUTPUT of a sequential circuit is determined by the current output.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
Combinational Logic Logic gates. and, or, not Derived gates. nand, nor, xor John F. Wakerly – Digital Design. 4 th edition. Chapter 4.
Combinational Logic Analysis. Basic Combinational Logic Circuits AND-OR logic AND-OR logic AND-OR logic produces an SOP expression. AND-OR logic produces.
NAND, NOR, and EXOR (more primitive logical gates) CS Computer Architecture David Mayer.
Logic Gates and Boolean Algebra Introduction to Logic II.
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.
Logic Gates Learning Objectives Learn that there is a one-to-one relationship between logic gates and Boolean expressions Learn how logic gates are combined.
Computer Architecture & Operations I
Computer Architecture & Operations I
Unit 1 Logical operators.
GCSE OCR Computing A451 Binary logic Computing hardware 6.
Morgan Kaufmann Publishers
Eng. Mai Z. Alyazji October, 2016
Logic Gates and Boolean Algebra
Chapter 3 Notes – Part II Review Questions
Logic Gates.
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
Basic Logical Operations (Fascinating)
Digital Signals Digital Signals have two basic states:
Computer Science 210 Computer Organization
Agenda – 2/12/18 Questions? Readings: CSI 4, P
Logic Gates.
Logic Gates.
Digital Logic.
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.
GCSE Computer Science – Logic Gates & Boolean Expressions
Today You are Learning simple logic diagrams using the operations AND, OR and NOT truth tables combining Boolean operators using AND, OR and NOT.
Logic Gates.
Combinational Circuits
Chapter 4 Gates and Circuits.
Truth tables Mrs. Palmer.
Department of Electronics
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

Boolean and Sequential Logic Last week – Basic Gates AND OR NOT NOR XOR NAND

This week Boolean Algebra Combining gates Using truth tables Sequential logic

Boolean Algebra

Combining gates

Truth table for previous slide AB CD EF

Truth table to logic diagram ABCDEFG

Looking at the truth table on the previous slide Output G is only true when the inputs A is false and B is true, or A is true and B is false. The output for an AND gate is only true when both the inputs are true, so if we build a circuit that when the combinations of inputs A is false and B is true, or A is true and B is false we get an true output we have built a circuit to do this logic operation.

A is false and B is true So if we can find a way to make the output from AND be true for this combination – part of the answer. There is no problem with B this is true. A is false so we need to pass it through a device that we A is false the output is true – NOT gate.

We can do a similar operation for when A is true and B is true We also need a way of combining these two parts together so if either combination occurs we get an true (1) output. OR gate

Combining gates

So far we have looked at combinational logic, put these gates together with a certain set of inputs, you always get a known output. Now we are going to consider combination of logic gates where what the previous output is important. This is sequential logic.

This ability to ‘remember’ a previous state extends what can be done with logic gates. Basis of simple memory

R-S Flip-Flop/Latch

For a R-S flip-flop based around the NOR gate. RSQ(time+1unit of time) 000- stays same (e.g. if 1 to starts then stays as 1) 011-Q is set to Q is reset 11X-indeterminate (do not do this !)

D-type

Data (D) only appears at the output Q on a clock pulse. So if D=1 on a clock pulse, R=0,S=1 and Q=1. So if D=0 on a clock pulse R=1,S=0 and Q=0. Otherwise Q stays the same.

Summary Combining gate Using truth tables – Producing them – Using them to get a Boolean expression and logic diagram

Summary  Introduced the concept that an output can be feedback as an input, so the result is dependent on the previous state of the outputs as well as the inputs.  Simple memory (especially D-Type)

Sources for further reading (Boolean) Burrel (2004) Chapter 3 - pages 49 –57 Tanenbaum (2005) page Dick(2003) page

Background reading (Sequential) Chalk et al (2004) pages Tanenbaum (2005) pages