Logic Gates. Transistors as Switches ¡EB voltage controls whether the transistor conducts in a common base configuraiton. ¡Logic circuits can be built.

Slides:



Advertisements
Similar presentations
Chapter 4 Gates and Circuits.
Advertisements

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, every.
Logic Gates. Transistors as Switches ¡V BB voltage controls whether the transistor conducts in a common base configuration. ¡Logic circuits can be built.
Chapter 4 Gates and Circuits.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
Henry Hexmoor--SIUC One bit Equality Comparator XNOR X Y Z Z = !(X $ Y) X Y Z
Chapter 4 Gates and Circuits.
Lecture 3. Boolean Algebra, Logic Gates
CSCI 1412 Logic Gates Parminder Kang Home: Phones OFF Please.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
Logic Gates Combinational Circuits
Lecture 3. Boolean Algebra, Logic Gates Prof. Sin-Min Lee Department of Computer Science 2x.
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 4 Gates and Circuits.
Lecture 3. Error Detection and Correction, Logic Gates Prof. Sin-Min Lee Department of Computer Science 2x.
LOGIC GATES Logic generally has only 2 states, ON or OFF, represented by 1 or 0. Logic gates react to inputs in certain ways. Symbol for AND gate INPUT.
Binary Numbers.
Chapter 4 Gates and Circuits. Integrated Circuits aka CHIPS What’s in this thing???? 4–2.
Binary Addition CSC 103 September 17, 2007.
Transistors and Logic Circuits. Transistor control voltage in voltage out control high allows current to flow -- switch is closed (on) control low stops.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Quiz What are the results of the following 4-bit bitwise logical operations? NOT OR NOR AND
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.
Week 6: Gates and Circuits: PART I READING: Chapter 4.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Computer Science 101 Circuit Design - Examples. Sum of Products Algorithm Identify each row of the output that has a 1. Identify each row of the output.
IT253: Computer Organization Lecture 7: Logic and Gates: Digital Design Tonga Institute of Higher Education.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
Logic Design CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
Universal college of engineering & technology. .By Harsh Patel)
Logic Gates Informatics INFO I101 February 3, 2003 John C. Paolillo, Instructor.
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
1 GCSE Computing Binary Logic. GCSE Computing 2 Candidates should be able to understand and produce simple logic diagrams using the operations NOT, AND,
COMBINATIONAL LOGIC.
Digital Computers Logic Gates & Applications. Digital Computers Types of Material (Electric Conductivity) – Insulator Rubber / wood – Conductor Copper.
Introduction to Computing Systems and Programming Digital Logic Structures.
Chapter 3 Digital Logic Structures
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
Department of Preparatory Year, Umm Al Qura University CSCI 240 Digital Logic.
1 Ethics of Computing MONT 113G, Spring 2012 Session 4 Binary Addition.
How does a Computer Add ? Logic Gates within chips: AND Gate A B Output OR Gate A B Output A B A B
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
Winter 2016CISC101 - Prof. McLeod1 Today How transistors can carry out commands in a CPU. For example, how to add two integers in an integrated circuit.
US Demonstrate knowledge of the practical applications of logic circuits.
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.
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.
Digital Logic. Boolean Algebra to Logic Gates Logic circuits are built from components called logic gates. The logic gates correspond to Boolean operations.
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.
Week 1: Introduction and Logic gates IT3002 – Computer Architecture
Computer Architecture & Operations I
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Combinational Circuits
ECE 3130 Digital Electronics and Design
Transistors and Logic Circuits
Exclusive OR Gate.
Summary Half-Adder Basic rules of binary addition are performed by a half adder, which has two binary inputs (A and B) and two binary outputs (Carry out.
Chapter 4 Gates and Circuits.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Fundamentals of Computer Science Part i2
Number Systems Decimal (base 10) { }
Logic Gates.
Boolean Algebra.
Week 7: Gates and Circuits: PART II
Logic Gates.
Logic Gates.
DIGITAL ELECTRONICS B.SC FY
Logic Gates.
XOR Function Logic Symbol  Description  Truth Table 
LOGIC Circuits.
Presentation transcript:

Logic Gates

Transistors as Switches ¡EB voltage controls whether the transistor conducts in a common base configuraiton. ¡Logic circuits can be built

AND ¡In order for current to flow, both switches must be closed ¤Logic notation A  B = C ABC

OR ¡Current flows if either switch is closed ¤Logic notation A + B = C ABC

Properties of AND and OR ¡Commutation ¤A + B = B + A ¤A  B = B  A Same as

Properties of AND and OR ¡Associative Property ¤A + (B + C) = (A + B) + C ¤A  (B  C) = (A  B)  C =

Properties of AND and OR ¡Distributive Property ¤A + B  C = (A + B)  (A + C) ¤A + B  C ABCQ

Distributive Property ¡(A + B)  (A + C) ABCQ

Binary Addition ABSC(arry) Notice that the carry results are the same as AND C = A  B

Inversion (NOT) AQ Logic:

Exclusive OR (XOR) Either A or B, but not both This is sometimes called the inequality detector, because the result will be 0 when the inputs are the same and 1 when they are different. The truth table is the same as for S on Binary Addition. S = A  B ABS

Getting the XOR ABS Two ways of getting S = 1

Circuit for XOR Accumulating our results: Binary addition is the result of XOR plus AND

Half Adder Called a half adder because we haven’t allowed for any carry bit on input. In elementary addition of numbers, we always need to allow for a carry from one column to the next (plus a carry)

Full Adder INPUTSOUTPUTS ABC IN C OUT S

Full Adder Circuit

Chaining the Full Adder Possible to use the same scheme for subtraction by noting that A – B = A + (-B)

Binary Counting Use 1 for ON Use 0 for OFF = Binary Counter So our example has = = 43

NAND (NOT AND) ABQ

NOR (NOT OR) ABQ

Exclusive NOR ABQ Equality Detector

Summary Summary for all 2-input gates InputsOutput of each gate A B ANDNAND OR NORXORXNOR