Fall 2012: FCM 708 Foundation I Lecture 2 Prof. Shamik Sengupta

Slides:



Advertisements
Similar presentations
CT455: Computer Organization Logic gate
Advertisements

Cosc 2150: Computer Organization Chapter 3: Boolean Algebra and Digital Logic.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 3 Dr. Shi Dept. of Electrical and Computer Engineering.
1 COMP541 Combinational Logic Montek Singh Jan 16, 2007.
Lecture 14 Today we will Learn how to implement mathematical logical functions using logic gate circuitry, using Sum-of-products formulation NAND-NAND.
10/22/2004EE 42 fall 2004 lecture 221 Lecture #22 Truth tables and gates This week: Circuits for digital devices.
Boolean Algebra and Digital Logic
Lecture 8 Topics –Switch –Transistor –CMOS transistor –Logic gates AND, OR, NOT Universal gates: NAND, NOR XOR.
22C:19 Discrete Math Boolean Algebra & Digital Logic Fall 2010 Sukumar Ghosh.
Boolean Algebra and Digital Logic Chapter 3. Chapter 3 Objectives  Understand the relationship between Boolean logic and digital computer circuits. 
Boolean Algebra and Digital Logic Nizamettin AYDIN
1 CHAPTER 4: PART I ARITHMETIC FOR COMPUTERS. 2 The MIPS ALU We’ll be working with the MIPS instruction set architecture –similar to other architectures.
CS101 Introduction to Computing Lecture 8 Binary Numbers & Logic Operations.
CS 1308 – Computer Literacy and the Internet. It’s Not Magic  The goal of the next series of lectures is to show you exactly how a computer works. 
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
COMPUTER SYSTEM ARCHITECTURE By Sohaib.  The digital computer is a digital system that performs various computational tasks.  The word digital implies.
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.
ELE22MIC Lecture 3 Paul Main’s Office Location has moved to Pysical Sciences 2 Room 107 Will be available for 2 hours consultation 10am - 12am after Tuesday.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Lecture 7 Topics –Boolean Algebra 1. Logic and Bits Operation Computers represent information by bit A bit has two possible values, namely zero and one.
CSC Intro. to Computing Lecture 5: Boolean Logic, Gates, & Circuits.
The Digital Logic Level
Digital Logic. 4 Why is 32-bit or 64-bit significant in terms of speed, efficiency? 4 Difference between OR and XOR 4 What is a mux for? PLA 4 Two kinds.
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
Binary Number System & Logic Operations. The focus of the last lecture was on the microprocessor During that lecture we learnt about the function of the.
Discrete Mathematics and Its Applications.  The English mathematician George Boole ( ) sought to give symbolic form to Aristotle's system of.
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.
Lecture 22: 11/19/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
IT253: Computer Organization Lecture 7: Logic and Gates: Digital Design Tonga Institute of Higher Education.
Chapter 3 Boolean Algebra and Digital Logic. 2 Chapter 3 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn.
CS 1308 – Computer Literacy and the Internet Building the CPU.
CS/COE0447 Computer Organization & Assembly Language
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
Boolean Algebra Computer Architecture. Digital Representation Digital is an abstraction of analog voltage –Voltage is a continuous, physical unit Typically.
ECE DIGITAL LOGIC LECTURE 6: BOOLEAN ALGEBRA Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 02/01/2016.
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.
Logic Simplification-Using Boolean Laws Logic Design Laboratory EE 2121 Lectures By Manesh T EE2121-In Charge
DIGITAL ELECTRONICS. Everything in digital world is based on binary system. Numerically it involves only two symbols 0 or 1. –0 = False = No –1 = True.
NAND, NOR, and EXOR (more primitive logical gates) CS Computer Architecture David Mayer.
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
1 CS/COE0447 Computer Organization & Assembly Language Logic Design Appendix C.
Dr. ClincyLecture Slide 1 CS6020- Chapter 3 (3A and ) Dr. Clincy Professor of CS First Exam - Tuesday, September 6th Coverage: All subjects up to.
Logic gates.
Computer Architecture & Operations I
Boolean Algebra & Logic Gates
Digital Logic.
Morgan Kaufmann Publishers
Boolean Algebra and Digital Logic
Computer Science 210 Computer Organization
CS Chapter 3 (3A and ) Part 1 of 8
Digital Logic.
CS Chapter 3 (3A and ) Part 1 of 8
Dr. Clincy Professor of CS
Fundamentals & Ethics of Information Systems IS 201
Boolean Algebra and Digital Logic
Computer Science 210 Computer Organization
Dr. Clincy Professor of CS
Agenda – 2/12/18 Questions? Readings: CSI 4, P
Schematics 201 Lecture Topic: Electrical Symbols
Dr. Clincy Professor of CS
CS Chapter 3 (3A and ) Part 3 of 8
CS Chapter 3 (3A and ) – Part 2 of 5
ECB2212-Digital Electronics Boolean algebra
Lab Instructors will overview the MSP430
Digital Circuits and Logic
Boolean Algebra S.SADHISH PRABHU.
Presentation transcript:

Fall 2012: FCM 708 Foundation I Lecture 2 Prof. Shamik Sengupta

Quick Recap…  Intro to Computer Architecture: –Number system –Decimal, Binary, Hexadecimal –Unsigned and signed representations –Hardware architecture –A simplified model of the microprocessor structure –Central Processing Unit (CPU) –Arithmetic & Logic Unit (ALU) –Control Unit (CU) –Register Array –System Bus –Memory –Overview of Instruction Execution Cycle FCM 708: Sengupta

A quick look at a microprocessor architecture  Let us have some hand-on experience of what we have learnt so far  We will use a simple microprocessor simulator –Motorola 68HC11 FCM 708: Sengupta

Boolean algebra and Logic gates

Objectives  Understand the relationship between Boolean logic and digital computer circuits  Learn how to design simple logic circuits.  Understand how digital circuits work together to form complex computer systems. FCM 708: Sengupta

Introduction  In the latter part of the nineteenth century, George Boole showed that logical thought could be represented through mathematical equations  Computers, as we know them today, are implementations of Boole’s Laws of Thought –John Atanasoff and Claude Shannon were among the first to see this connection FCM 708: Sengupta

What is Boolean algebra  Boolean algebra is an algebra for the manipulation of objects that can take on only two values, typically true and false  Why Boolean algebra is so useful in computers? –Because computers are built as collections of gates that are either “on” or “off,” Boolean algebra is a very natural way to represent digital information or compute information  Boolean functions are implemented in digital computer circuits called gates (logic gates) –A gate is an electronic device that produces a result based on two or more input values –All the microprocessor components are combinations of such logic gates FCM 708: Sengupta

Boolean Operators  Most common Boolean operators are AND, OR and NOT  A Boolean operator can be completely described using a truth table  The truth table for the Boolean operators AND, OR and NOT are shown here FCM 708: Sengupta

 The three simplest gates are the AND, OR, and NOT gates.  They correspond directly to their respective Boolean operations, as you can see by their truth tables  And these representations map exactly into the electric circuits of a digital system Logic Gates FCM 708: Sengupta

Detailed implementation picture of a Logic Gate Voltage inverted from input Voltage from input This is the logic for an AND gate 74LS08 Quad 2-input AND FCM 708: Sengupta

 The output of the XOR operation is true only when the values of the inputs differ. Logic Gates Note the special symbol  for the XOR operation. Symbols for NAND and NOR, and truth tables are shown at the right. FCM 708: Sengupta  Three other logic gates:

Logic Gates  NAND is known as universal gate because they are inexpensive to manufacture and any Boolean function can be constructed using only NAND gates. FCM 708: Sengupta

Boolean Functions  Boolean functions are composed of Boolean variables and multiple logic operators  NOT has the precedence over AND  AND has the precedence over OR FCM 708: Sengupta

Boolean Functions  Digital computers contain circuits that implement Boolean functions.  The simpler that we can make a Boolean function, the smaller the circuit that will result. –Simpler circuits are cheaper to build, consume less power, and run faster than complex circuits.  With this in mind, we always want to reduce our Boolean functions to their simplest form. –Boolean identities FCM 708: Sengupta

 Most Boolean identities have an AND (product) form as well as an OR (sum) form.  We show our identities using both forms. Our first group is rather intuitive: Boolean identities FCM 708: Sengupta

 Our second group of Boolean identities should be familiar to you from your study of algebra: Boolean identities FCM 708: Sengupta

 Our last group of Boolean identities are perhaps the most useful. Boolean identities FCM 708: Sengupta

Simplification of Boolean Functions  Let’s try some of these identities to simplify Boolean Functions:  F = AB + BBC + BCC  F = A + B(A+C) + AC FCM 708: Sengupta

 Simplify the function: Simplification of Boolean Functions FCM 708: Sengupta

Hand-on Practice  Multimedia Logic Simulator  Can be downloaded from  We will implement some of the simplest logic circuits FCM 708: Sengupta

Digital Circuits and Boolean Algebra  Using Boolean algebra to design various important digital circuits implementation –Designing a Burglar alarm –Designing an adder FCM 708: Sengupta

Reading Assignment 1.Boolean Algebra (In Blackboard) FCM 708: Sengupta