CS151 Introduction to Digital Design Chapter 2: Combinational Logic Circuits Lecture 5: Binary Logic and Gates.

Slides:



Advertisements
Similar presentations
Sahar Mosleh PageCalifornia State University San Marcos 1 Introductory Concepts This section of the course introduces the concept of digital circuits and.
Advertisements

08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
Chapter 2 – Combinational Logic Circuits Part 1 – Gate Circuits and Boolean Equations Logic and Computer Design Fundamentals.
Overview Part 1 – Gate Circuits and Boolean Equations
Chapter 4 Gates and Circuits.
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 4 Gates and Circuits.
SYEN 3330 Digital SystemsJung H. Kim Chapter SYEN 3330 Digital Systems Chapter 2 – Part 1.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Edited by Dr. Muhamed Mudawar for COE 202 & EE 200 at KFUPM) Boolean Algebra and Logic Gates.
Gates CS105. Electrical Signals Transmission of data Any electrical signal has a level of voltage – Interpretation of 1s and 0s Generally speaking: –
Lecture 3. Boolean Algebra, Logic Gates
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 2 – Combinational Logic Circuits Part 1.
Boolean Algebra. Binary Logic and Gates Binary variables take on one of two values. Logical operators operate on binary values and binary variables. Basic.
Binary Logic and Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh
Gate Circuits and Boolean Equations BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
Logic Gate A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs. The output signal appears only.
UNIT-8 LOGIC GATES.
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
Chapter 3 Digital Logic Structures. 3-2 Transistor: Building Block of Computers Microprocessors contain millions of transistors Intel Pentium 4 (2000):
Chapter 4 Gates and Circuits. Integrated Circuits aka CHIPS What’s in this thing???? 4–2.
Boolean Algebra and Logic Gates 1 Computer Engineering (Logic Circuits) Lec. # 3 Dr. Tamer Samy Gaafar Dept. of Computer & Systems Engineering Faculty.
Binary Logic and Gates Binary variables take on one of two values.
Digital Electronics. Introduction to Number Systems & Codes Digital & Analog systems, Numerical representation, Digital number systems, Binary to Decimal.
Boolean Algebra and Digital Circuits
1 Representation of Logic Circuits EE 208 – Logic Design Chapter 2 Sohaib Majzoub.
Logic Design Computer Architecture and Design Lecture 1.
Introduction to Digital Logic and Circuits EE 101, Fall 2015 University of Kentucky.
CS/EE 3700 : Fundamentals of Digital System Design Chris J. Myers Lecture 2: Intro. to Logic Circuits Chapter 2.
Course contents Chapter 1 - section 1.6 Chapter 2 - all sections Chapter – 4.7, and 4.12 Chapter , Chapter 6 - all sections.
Overview Part 1 – Gate Circuits and Boolean Equations
Week 6: Gates and Circuits: PART I READING: Chapter 4.
ACOE1611 Combinational Logic Circuits Reference: M. Mano, C. Kime, “Logic and Computer Design Fundamentals”, Chapter 2.
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.
1 BOOLEAN ALGEBRA Basic mathematics for the study of logic design is Boolean Algebra Basic laws of Boolean Algebra will be implemented as switching devices.
Lecture 4 Boolean Algebra. Logical Statements °A proposition that may or may not be true: Today is Monday Today is Sunday It is raining °Compound Statements.
Boolean Algebra and Logic Gates CSE-1108 Ahsanullah University of Science and Technology (AUST)
Binary Logic and Gates Boolean Algebra Canonical and Standard Forms Chapter 2: Boolean Algebra and Logic Gates.
Chapter-3: BOOLEAN ALGEBRA & LOGIC GATES Analysis and logical design.
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,
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 2 – Combinational Logic Circuits Part 1.
ECE DIGITAL LOGIC LECTURE 5: BINARY LOGIC AND DIGITAL LOGIC GATES Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 01/28/2016.
Boolean Algebra. BOOLEAN ALGEBRA Formal logic: In formal logic, a statement (proposition) is a declarative sentence that is either true(1) or false (0).
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
L OGIC G ATES Computer Organization – week 3. W HAT ’ S ALU? 1. ALU stands for: Arithmetic Logic Unit 2. ALU is a digital circuit that performs Arithmetic.
Creating logic gates with Minecraft
Basics of Logic gates - Part 1
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Overview Part 1 – Gate Circuits and Boolean Equations
Unit 2 Boolean Algebra.
ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture)
Gate Circuits and Boolean Equations
CSCI-100 Introduction to Computing
Overview Part 1 – Gate Circuits and Boolean Equations
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
ECE/CS 352 Digital Systems Fundamentals
Dr. Clincy Professor of CS
How Boolean logic is implemented
CS105 Introduction to Computer Concepts GATES and CIRCUITS
JC Technology Logic Gates.
Logic Gates.
Lecture 5 Binary Operation Boolean Logic. Binary Operations Addition Subtraction Multiplication Division.
Introductory Concepts
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Boolean Algebra and Gate Networks
What are Logic Gates?.
Lecture 4 – Binary Logic and Logic Gates
SYEN 3330 Digital Systems Chapter 2 – Part 1 SYEN 3330 Digital Systems.
Presentation transcript:

CS151 Introduction to Digital Design Chapter 2: Combinational Logic Circuits Lecture 5: Binary Logic and Gates

CS 151 Chapter Overview Binary Logic and Gates Boolean Algebra Standard Forms Map Simplification Map Manipulation Other Gate Types Exclusive-OR Operator and Gates Integrated Circuits

CS 151 Binary Logic & Gates Logic Gate: electronic circuit that operates on one or more input signals to produce an output signal  Processes binary information  Implemented using transistors and interconnections  Each gate performs a specific operation  Outputs of one gate are applied to the inputs of other gates to form a digital circuit

CS 151 Integrated Circuits Gate(s) 2-1 Binary Logic & Gates Transistors & Interconnections

CS 151 Binary Logic and Gates Binary variables take on one of two values. Logical operators operate on binary values and binary variables. Basic logical operators are the logic functions AND, OR and NOT. Boolean Algebra: a useful mathematical system for specifying and transforming logic functions. We study Boolean algebra as foundation for designing and analyzing digital systems!

CS 151 Binary Variables Recall that the two binary values have different names:  True/False  On/Off  Yes/No  1/0 We use 1 and 0 to denote the two values. Variable identifier examples:  A, B, y, z, or X 1 for now  RESET, START_IT, or ADD1 later

CS 151 Logical Operations The three basic logical operations are:  AND  OR  NOT AND is denoted by a dot (·). OR is denoted by a plus (+). NOT is denoted by an overbar ( ¯ ), a single quote mark (') after, or (~) before the variable.

CS 151 Examples:  is read “Y is equal to A AND B.”  is read “z is equal to x OR y.”  Notation Examples  Note: The statement: = 2 (read “one plus one equals two”) is not the same as = 1 (read “1 or 1 equals 1”).  BAY  yxz   AX  is read “X is equal to NOT A.”

CS 151 Operator Definitions  Operations are defined on the values "0" and "1" for each operator: AND 0 · 0 = 0 0 · 1 = 0 1 · 0 = 0 1 · 1 = 1 OR = = = = 1 NOT 10  01 

CS X NOT XZ  Truth Tables Truth table  a tabular listing of the values of a function for all possible combinations of values on its arguments Example: Truth tables for the basic logic operations: Z = X·Y YX AND OR XYZ = X+Y

CS 151 Using Switches  For inputs: logic 1 is switch closed logic 0 is switch open  For outputs: logic 1 is light on logic 0 is light off. NOT uses a switch such that: logic 1 is switch open logic 0 is switch closed Logic Function Implementation Switches in series => AND Switches in parallel => OR C Normally-closed switch => NOT

CS 151 Example: Logic Using Switches Light is on (L = 1) for L(A, B, C, D) = and off (L = 0), otherwise. Useful model for relay circuits and for CMOS gate circuits, the foundation of current digital logic technology Logic Function Implementation (Continued) B A D C

CS 151 Logic Gates In the earliest computers, switches were opened and closed by magnetic fields produced by energizing coils in relays 1. The switches in turn opened and closed the current paths. Later, vacuum tubes that open and close current paths electronically replaced relays. Today, transistors are used as electronic switches that open and close current paths. Relay: electrical device such that current flowing through it in one circuit can switch on/off a current flowing in a second circuit.

CS 151 Logic Gates (continued) Implementation of logic gates with transistors (See Reading Supplement  CMOS Circuits)  Transistor or tube implementations of logic functions are called logic gates or just gates  Transistor gate circuits can be modeled by switch circuits

CS 151 Logic Gates Logic Gates are electronic circuits that operate on one or more input signals to produce an output signal Input terminals:  Accept binary signals within the allowable range Output terminals:  Respond with binary signals that fall within a specified range Transitions:  From 0 to 1  From 1 to 0 Intermediate Region (Transition Region)

CS 151 Logic gates have special symbols: And waveform behavior in time as follows : Logic Gate Symbols and Behavior (b) Timing diagram X 0011 Y0101 X · Y(AND)0001 X1 Y(OR)0111 (NOT)X 1100 (a) Graphic symbols OR gate X Y Z= X1 Y X Y Z= X · Y AND gate X Z= X NOT gate or inverter

CS 151 Logic Gates AND & OR gates may have more than two input signals