to become literate in most common concepts and terminology of digital electronics

Similar documents
Logic Design. Digital Logic. Goal: to become literate in most common concepts and terminology of digital electronics

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

CHAPTER1: Digital Logic Circuits Combination Circuits

XOR - XNOR Gates. The graphic symbol and truth table of XOR gate is shown in the figure.

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

ECE 545 Digital System Design with VHDL Lecture 1. Digital Logic Refresher Part A Combinational Logic Building Blocks

In Module 3, we have learned about Exclusive OR (XOR) gate. Boolean Expression AB + A B = Y also A B = Y. Logic Gate. Truth table

Chapter 2 (Lect 2) Canonical and Standard Forms. Standard Form. Other Logic Operators Logic Gates. Sum of Minterms Product of Maxterms

EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits)

Outline. EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) Combinational Logic (CL) Defined

Additional Gates COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals

Fundamentals of Digital Design

Boolean Algebra, Gates and Circuits

UNIVERSITI TENAGA NASIONAL. College of Information Technology

Boolean Algebra & Logic Gates. By : Ali Mustafa

Chapter 2: Switching Algebra and Logic Circuits

MC9211 Computer Organization

Chapter 2 Boolean Algebra and Logic Gates

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

Total Time = 90 Minutes, Total Marks = 50. Total /50 /10 /18

Circuits & Boolean algebra.

ELCT201: DIGITAL LOGIC DESIGN

CS61c: Representations of Combinational Logic Circuits

Cs302 Quiz for MID TERM Exam Solved

EEE130 Digital Electronics I Lecture #4

Experiment 7: Magnitude comparators

ELCT201: DIGITAL LOGIC DESIGN

UC Berkeley College of Engineering, EECS Department CS61C: Representations of Combinational Logic Circuits

Logic Design. Chapter 2: Introduction to Logic Circuits

Combinational Logic. By : Ali Mustafa

Digital Logic. Lecture 5 - Chapter 2. Outline. Other Logic Gates and their uses. Other Logic Operations. CS 2420 Husain Gholoom - lecturer Page 1

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

EGC221: Digital Logic Lab

Lecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions

Chapter 2. Boolean Algebra and Logic Gates

Systems I: Computer Organization and Architecture

Digital Logic (2) Boolean Algebra

Review: Additional Boolean operations

Gate-Level Minimization

Chapter 2: Princess Sumaya Univ. Computer Engineering Dept.

ENGIN 112 Intro to Electrical and Computer Engineering

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Chapter 7 Logic Circuits

Lecture 2 Review on Digital Logic (Part 1)

ECE 545 Digital System Design with VHDL Lecture 1A. Digital Logic Refresher Part A Combinational Logic Building Blocks

UNIT 8A Computer Circuitry: Layers of Abstraction. Boolean Logic & Truth Tables

CS 121 Digital Logic Design. Chapter 2. Teacher Assistant. Hanin Abdulrahman

Boolean Algebra. Philipp Koehn. 9 September 2016

University of Toronto Faculty of Applied Science and Engineering Final Examination

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table.

Computer organization

Unit 2 Boolean Algebra

Digital Circuit And Logic Design I. Lecture 3

Combinational Logic. Review of Combinational Logic 1

Combinational Logic. Course Instructor Mohammed Abdul kader

Signals and Systems Digital Logic System

Implementation of Boolean Logic by Digital Circuits

COSC 243. Introduction to Logic And Combinatorial Logic. Lecture 4 - Introduction to Logic and Combinatorial Logic. COSC 243 (Computer Architecture)

Unit 2 Session - 6 Combinational Logic Circuits

Chapter 2 Combinational Logic Circuits

Chapter 4. Combinational: Circuits with logic gates whose outputs depend on the present combination of the inputs. elements. Dr.

Building a Computer Adder

Chapter 3 Combinational Logic Design

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT):

Slide Set 3. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

Logic and Boolean algebra

Week-I. Combinational Logic & Circuits

Logic Gates and Boolean Algebra

EEA051 - Digital Logic 數位邏輯 吳俊興高雄大學資訊工程學系. September 2004

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev

Chap 2. Combinational Logic Circuits

Floating Point Representation and Digital Logic. Lecture 11 CS301

CSC9R6 Computer Design. Practical Digital Logic

MODULAR CIRCUITS CHAPTER 7

Unit 8A Computer Organization. Boolean Logic and Gates

Projects about Quantum adder circuits Final examination June 2018 Quirk Simulator

Boolean Algebra and Logic Gates

Chapter 2 Boolean Algebra and Logic Gates

Chapter 2. Digital Logic Basics

CSE 140L Spring 2010 Lab 1 Assignment Due beginning of the class on 14 th April

Logic Gate Level. Part 2

Every time has a value associated with it, not just some times. A variable can take on any value within a range

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA (CONT.)

ENG2410 Digital Design Combinational Logic Circuits

2009 Spring CS211 Digital Systems & Lab CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS

Chapter 2 Boolean Algebra and Logic Gates

1 Boolean Algebra Simplification

Number System conversions

EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive

Digital Techniques. Figure 1: Block diagram of digital computer. Processor or Arithmetic logic unit ALU. Control Unit. Storage or memory unit

Adders - Subtractors

Computer Organization: Boolean Logic

Boolean Algebra and Digital Logic

2 Application of Boolean Algebra Theorems (15 Points - graded for completion only)

ELCT201: DIGITAL LOGIC DESIGN

Chapter 2 Combinational Logic Circuits

Lecture (02) NAND and NOR Gates

Simplifying Logic Circuits with Karnaugh Maps

CMSC 313 Lecture 17. Focus Groups. Announcement: in-class lab Thu 10/30 Homework 3 Questions Circuits for Addition Midterm Exam returned

CHAPTER 12 Boolean Algebra

Transcription:

Logic Design 1 Goal: to become literate most common concepts and termology of digital electronics Important concepts: - use abstraction and composition to implement complicated functionality with very simple digital electronics - keep thgs as simple, regular, and small as possible Thgs we will not explore: - physics - chip fabrication - layout - tools for chip specification and design

Motivation Consider the external view of addition: 2 x y Adder??? x + y What kd of circuitry would go to the "black box" adder to produce the correct results? How would it be designed? What modular components might be used?

Basic Logic Gates 3 Fundamental buildg blocks of circuits; mirror the standard logical operations: NOT gate AND gate OR gate A Out 0 1 1 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 0 0 1 1 1 0 1 1 1 1 Note the outputs of the AND and OR gates are commutative with respect to the puts. Multi-way versions of the AND and OR gates are commonly assumed design.

Multi-way Gates 4 Multi-way versions of the AND and OR gates are commonly assumed design. They may be trivially implemented usg the basic 2-put versions: 5-way AND gate We will generally assume the availability of n-put AND and OR gates for arbitrary values of n.

Combational and Sequential Circuits 5 A combational circuit is one with no "memory". That is, its output depends only upon the current state of its puts, and not at all on the current state of the circuit itself. A sequential circuit is one whose output depends not only upon the current state of its puts, but also on the current state of the circuit itself. For now, we will consider only combational circuits.

From Function to Combational Circuit 6 Given a simple Boolean function, it is relatively easy to design a circuit composed of the basic logic gates to implement the function: z : x 0 y 0 x0 y0 This circuit implements the exclusive or (XOR) function. This is often represented as a sgle logic gate:

Additional Common Logic Gates 7 XOR gate NAND gate NOR gate 0 0 0 0 1 1 1 0 1 1 1 0 0 0 1 0 1 1 1 0 1 1 1 0 0 0 1 0 1 0 1 0 0 1 1 0 XNOR gate 0 0 1 0 1 0 1 0 0 1 1 1

Efficiency of Expression 8 While the sum-of-products form is arguably natural, it is not necessarily the simplest way form, either : - number of gates (space) - depth of circuit (time) F( x, y, z) x y z x y z x y z x y z Gxyz (,, ) xy yz xz

1-bit Half Adder 9 Let's make a 1-bit adder (half adder) we can thk of it as a Boolean function with two puts and the followg defg table: A B Sum 0 0 0 0 1 1 1 0 1 1 1 0 Here's the resultg circuit. It's equivalent to the XOR circuit seen earlier. But the fal row of the truth table above, we've ignored the fact that there's a carry-out bit.

Dealg with the Carry 10 The carry-out value from the 1-bit sum can also be expressed via a truth table. However, the result won't be terribly useful unless we also take to account a carry-. A B C Sum C out 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 1 The resultg sum-of-products expressions are: Sum A A A A C ABC ABC ABC ABC out ABC ABC AB C C ABC ABC AB ACBC AB

1-bit Full Adder 11 The expressions for the sum and carry lead to the followg unified implementation: Sum A A A A CarryOut AC AB This implementation requires only two levels of logic (ignorg the verters as customary). Is there an alternative design that requires fewer logic gates? If so, how many levels does it require?