The First lesson on Digital Logic Rachaen M. Huq1 Rachaen Huq. Dept. of EEE, BRACU.

Slides:



Advertisements
Similar presentations
ENGIN112 L7: More Logic Functions September 17, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 7 More Logic Functions: NAND, NOR,
Advertisements

Logic Gates.
Basic Logic Gates Discussion D5.1 Section Sections 13-3, 13-4.
CT455: Computer Organization Logic gate
Lecture 6 More Logic Functions: NAND, NOR, XOR and XNOR
Boolean Algebra and Logic Gate
CS 151 Digital Systems Design Lecture 7 More Logic Functions: NAND, NOR, XOR.
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
1 Boolean Algebra & Logic Design. 2 Developed by George Boole in the 1850s Mathematical theory of logic. Shannon was the first to use Boolean Algebra.
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.
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.
Digital Systems Presented by Prof Tim Johnson
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:
NOCTI Review Lesson 4 Objectives:
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.
Logic Design A Review. Binary numbers Binary numbers to decimal  Binary 2 decimal  Decimal 2 binary.
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.
LOGIC GATES AND CIRCUITS Digital systems are said to be constructed by using logic gates. These gates are the AND, OR, NOT, NAND, NOR, EXOR and EXNOR gates.
ACOE1611 Combinational Logic Circuits Reference: M. Mano, C. Kime, “Logic and Computer Design Fundamentals”, Chapter 2.
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
1 EG 32 Digital Electronics Thought for the day You learn from your mistakes..... So make as many as you can and you will eventually know everything.
CHAPTER 1 SETS, FUNCTIONs, ELEMENTARY LOGIC & BOOLEAN ALGEBRAs
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
5 - Digital Logic with Boolean Algebra
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
CHAPTER 5 Combinational Logic Analysis
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
Dept. of Electrical and Computer Eng., NCTU 1 Lab 2. NAND and XOR Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
Digital logic representation In digital logic system,events are described as either 0 or 1 Two logic states 1= logic High 0 = logic Low.
1’S COMPLEMENT REPRESENTATION 1’s complement of a number (binary) is obtained by changing all 1’s to 0 and all 0’s to 1. If one of these numbers is positive.
Logic Gates and Boolean Algebra Introduction to Logic II.
CSE 461. Binary Logic Binary logic consists of binary variables and logical operations. Variables are designated by letters such as A, B, C, x, y, z etc.
Digital Logic. Boolean Algebra to Logic Gates Logic circuits are built from components called logic gates. The logic gates correspond to Boolean operations.
Number Systems with special emphasis on Binary Last lecture Spring 2016 BRAC University Dept. of EEE. 24/01/2016 Rachaen M. Huq1.
DATA REPRESENTATION IN COMPUTER MEMORY.  Describe the coding system:  Sign and magnitude  1’s Complement and 2’s Complement  Binary Coded Decimal.
Hoda Roodaki Boolean Algebra Hoda Roodaki
Computer Architecture & Operations I
Morgan Kaufmann Publishers
Logic Gates and Boolean Algebra
Combinational Logic Circuits
Boolean Algebra & De Morgan's Theorems
Logic Gates and Boolean Algebra
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
EI205 Lecture 5 Dianguang Ma Fall 2008.
CHAPTER 3 SETS AND BOOLEAN ALGEBRA
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Circuits, Truth Tables & Boolean Algebra
Logic Gates.
Logic Gates.
Boolean Algebra.
KS4 Electricity – Electronic systems
De Morgan’s laws presentation
GCSE Computer Science – Logic Gates & Boolean Expressions
Logic Gates.
Chapter 4 Gates and Circuits.
Chapter 2 Gates.
Circuits, Truth Tables & Boolean Algebra
Truth tables Mrs. Palmer.
Department of Electronics
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
ECE 352 Digital System Fundamentals
Dept. of Electrical and Computer Eng., NCTU
Logic Gates By: Asst Lec. Besma Nazar Nadhem
DIGITAL ELECTRONICS AND LOGIC GATES. ANALOG SIGNAL:- Analog signal is continuous time varying current or voltage signal.
SYEN 3330 Digital Systems Chapter 2 – Part 1 SYEN 3330 Digital Systems.
Presentation transcript:

The First lesson on Digital Logic Rachaen M. Huq1 Rachaen Huq. Dept. of EEE, BRACU

Binary LOGIC, Boolean variables Rachaen M. Huq2 “A”, “B”, and “Lamp” are Binary Variables, i.e. can take values only 1 and 0 (only two states) See the table for ALL Possible combinations of A, B, and Lamp A practical example ABLamp Its called a Binary AND Logic

Representation of AND Rachaen M. Huq3 Note the symbol of an AND Logic, a.k.a. AND Gate. There are other symbols for other kind of logics. Its called a GATE because the inputs are given to the “gates” of the MOSFETS. Hence, the logic gate symbols exist in reality as a combination of MOSFETS. The inputs are either a Low, (0V or -5V) or High(5V). Low =0, High = 1. Expressed as: Output = A.B The expression is a Boolean algebraic equation, driven by Boolean variables “output”, “B” and “B”. This logical relationship table is called a truth table

Inside an AND GATE Rachaen M. Huq4 Apply 5V in Both A and B, you will get 5V in “Out” directly from Vdd biasing (5V). Any of them is 0V, the line disconnects, but below, one line is activated which makes OUT to be connected to Vss- (0V).

Practical Example of an OR Gate Rachaen M. Huq5 Expressed as: Output = A + B

NOT gate (inverter) Rachaen M. Huq6 Note that a NOT gate can have only ONE input and only ONE output Expressed as: C = A’

Summary of Basic gates Rachaen M. Huq7 AND/OR Gates may have more than two inputs… Depending one How many MOSFETS are in series/parallel! Guess the truth tables

Other gates Rachaen M. Huq8 Output = ??

Rachaen M. Huq9 NAND Negative OR Invert First Then OR ABCOut = C’ ABAB Out ABAB AA’BB’Out C

Do the same for NOR and Neg. AND You will find that they eventually lead to Boolean algebraic identities. (A+B)’ = A’. B’ (AB)’ = A’ + B’ Its called De Morgan’s Law. This is just an identity which applies in Boolean Algebra, just like the (a+b)^2 identity applies in traditional algebra. Rachaen M. Huq10

Exclusive (X-__) gates Rachaen M. Huq11 Symbol? Output = A__?__B Symbol? Output = A__?__B

A summary of all the gates are available at Section 2-7 Morris Mano Page 57 Rachaen M. Huq12

Boolean Equations A Boolean variable (which can have the values of 0 or 1 only), represented as a result of (multiple) Boolean operations. Boolean variables: a,b,c,x,y,z, just like any variable. Booleans operations: AND, OR, NOT Examples: Rachaen M. Huq13

Connected logic gates, more complex functions See blackboard for examples. Rachaen M. Huq14