Gates and Circuits. Three Main Gates  AND  OR  NOT.

Slides:



Advertisements
Similar presentations
(CSC 102) Discrete Structures Lecture 5.
Advertisements

Digital Circuits. Review – Getting the truth table The first step in designing a digital circuit usually is to get the truth table. That is, for every.
Digital Circuits.
Hardware Implementations Gates and Circuits. Three Main Gates  AND  OR  NOT.
CS61C L16 Representations of Combinatorial Logic Circuits (1) Beamer, Summer 2007 © UCB Scott Beamer Instructor inst.eecs.berkeley.edu/~cs61c CS61C :
CS 61C L22 Representations of Combinatorial Logic Circuits (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
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.
1 CSE 20: Lecture 7 Boolean Algebra CK Cheng 4/21/2011.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
CS61C L25 Representations of Combinational Logic Circuits (1) Garcia, Spring 2013 © UCB Android Brain on Robots!  “Half the weight of some robots is.
GK-12 Student designed project (AP physics) Digital logic and Boolean algebra exercise. IC logic gates brought from Stevens were used in making simple.
Gates and Circuits Monday/Wednesday Week 7. Electronic Circuits  Two types of circuit diagrams See pp. 238 in The Analytical Engine by Decker and Hirshfield.
Binary Numbers.
BUILDING COMPUTER CIRCUITS prepared by Burak Galip ASLAN September, 2006 BOOLEAN LOGIC AND GATES CONTROL CIRCUITS.
Binary Addition CSC 103 September 17, 2007.
XOR and XNOR Logic Gates. XOR Function Output Y is TRUE if input A OR input B are TRUE Exclusively, else it is FALSE. Logic Symbol  Description  Truth.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Copyright © Curt Hill Using Propositional Logic Several applications.
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.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
Digital Electronics Lecture 6 Combinational Logic Circuit Design.
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.
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.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
Digital Logic. 2 Abstractions in CS (gates) Basic Gate: Inverter IO IO GNDI O Vcc Resister (limits conductivity) Truth Table.
Logic Design CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
Conditional Statements
Universal college of engineering & technology. .By Harsh Patel)
1 Ethics of Computing MONT 113G, Spring 2012 Session 5 Binary Addition.
How do I show that two compound propositions are logically equivalent?
If a quadrilateral is a square, then it has 4 right angles. What is p? A quad is a square What is the conclusion? It has 4 right angles What is the converse?
Simplifying Boolean Expressions. Boolean Operators (T/F) xyx AND y FFF FTF TFF TTT xyx OR y FFF FTT TFT TTT xyx XOR y FFF FTT TFT TTF xNOT x FT TF.
CEC 220 Digital Circuit Design Boolean Algebra I Wed, Sept 2 CEC 220 Digital Circuit Design Slide 1 of 13.
1 GCSE Computing Binary Logic. GCSE Computing 2 Candidates should be able to understand and produce simple logic diagrams using the operations NOT, AND,
R. Johnsonbaugh Discrete Mathematics 5 th edition, 2001 Chapter 9 Boolean Algebras and Combinatorial Circuits.
Fundamental Logic Gates And, Or, Not. Logic Gates: The Basics Regulate the flow of electricity within circuits to perform desired functionalities Each.
Conditional Statements Lecture 2 Section 1.2 Fri, Jan 20, 2006.
Minute Paper 4/4/04 Z=50+j86.7=100
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.
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.
Revisão de Circuitos Lógicos PARTE III. Review Use this table and techniques we learned to transform from 1 to another.
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.
Discrete Structures for Computer Science Presented By: Andrew F. Conn Slides adapted from: Adam J. Lee Lecture #1: Introduction, Propositional Logic August.
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Eng. Mai Z. Alyazji October, 2016
Logic Gates and Boolean Algebra
Senior Lecturer SOE Dan Garcia
Logic Gates.
Computer Architecture CST 250
Fundamentals & Ethics of Information Systems IS 201
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.
Agenda – 2/12/18 Questions? Readings: CSI 4, P
Boolean Algebra.
ECE 301 – Digital Electronics
Week 7: Gates and Circuits: PART II
Inst.eecs.berkeley.edu/~cs61c UC Berkeley CS61C : Machine Structures Lecture 23 – Representations of Combinatorial Logic Circuits TA/Punner.
Logic Gates.
Digital Logic.
Number Systems and Circuits for Addition
Logic Gates.
Logic Gates.
Digital Logic.
DIGITAL ELECTRONICS B.SC FY
Lecturer SOE Dan Garcia
XOR Function Logic Symbol  Description  Truth Table 
Truth tables Mrs. Palmer.
Adder Circuits By: Asst Lec. Basma Nazar
Digital Circuits.
Presentation transcript:

Gates and Circuits

Three Main Gates  AND  OR  NOT

NAND Gates  NOT AND TFF TTF TFT FTT A NAND BBA

Gate Diagrams  Example: MR + S

Gate Diagrams  Example:

Gate Diagrams  Example: (MR + S) (RS)’

Gate Diagrams  Exercise:

Truth Table (to Expression) to Gates  First, build the Boolean algebra expression that gives Z Z = AB + A’B’ TFF FTF FFT TTT ZBA

Truth Table to Gates  Z = AB + A’B’  Next, build the circuit that goes with the Boolean algebra expression Z TFF FTF FFT TTT ZBA

Z = AB + A’B’

Boolean Expression to Gates  Exercise: (A + B’) A

Boolean Expression to Gates  Exercise: (A + B’) A

Multi-input AND and OR  What circuit corresponds to ABC?  A+B+C?

Binary Addition  The first step in building our computer…

Binary Addition TrueFalse True False Sum Carry

Binary Addition CarryBA SumBA

Sum Circuit SumBA Sum = AB’ + A’B

Carry Circuit CarryBA Carry = AB

Half Adder - Sum and Carry

Full Adder

4 Bit Adder  Computers represent numbers in parallel.

Exercises  Give Boolean expressions and construct circuits with the following properties (using AND, OR or NOT gates):

Exercises A)B)‏ ZBA ZCBA

Exercises  2 - Fill in a truth table and give a Boolean expression for the following circuit.