University of Technology

Similar documents
Odd-Prime Number Detector The table of minterms is represented. Table 13.1

Asst. Prof. Thavatchai Tayjasanant, PhD. Power System Research Lab 12 th Floor, Building 4 Tel: (02)

CHAPTER 3 BASIC & COMBINATIONAL LOGIC CIRCUIT

Analysis procedure. To obtain the output Boolean functions from a logic diagram, proceed as follows:

Lecture 15 Analysis of Combinational Circuits

Function Table of an Odd-Parity Generator Circuit

2 Logic Gates THE INVERTER. A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs.

Digital. Design. R. Ananda Natarajan B C D

Logic Design I (17.341) Fall Lecture Outline

Number system: the system used to count discrete units is called number. Decimal system: the number system that contains 10 distinguished

Course Overview. Course Overview

UNIT-2: BOOLEAN EXPRESSIONS AND COMBINATIONAL LOGIC CIRCUITS

(CSC-3501) Lecture 6 (31 Jan 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

Combinational Logic Design CH002

Subject: Analog and Digital Electronics Code:15CS32

Digital Systems Principles and Applications TWELFTH EDITION. 3-3 OR Operation With OR Gates. 3-4 AND Operations with AND gates

Logic diagram: a graphical representation of a circuit

Gates and Circuits 1

Digital Applications (CETT 1415) Credit: 4 semester credit hours (3 hours lecture, 4 hours lab) Prerequisite: CETT 1403 & CETT 1405

EECS 150 Homework 4 Solutions Fall 2008

Logic Circuit Design

Multiple input gates. The AND gate

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 1 Logistics

This Figure here illustrates the operation for a 2-input OR gate for all four possible input combinations.

Name: Class: Date: 1. As more electronic systems have been designed using digital technology, devices have become smaller and less powerful.

BCD Adder. Lecture 21 1

Dr. Nicola Nicolici COE/EE2DI4 Midterm Test #1 Oct 18, 2006

Chapter 1: Digital logic

6.1 In this section, you will design (but NOT build) a circuit with 4 inputs,

Lecture 2: Digital Logic Basis

In this lecture: Lecture 3: Basic Logic Gates & Boolean Expressions

Module 4: Design and Analysis of Combinational Circuits 1. Module-4. Design and Analysis of Combinational Circuits

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

1.) If a 3 input NOR gate has eight input possibilities, how many of those possibilities result in a HIGH output? (a.) 1 (b.) 2 (c.) 3 (d.) 7 (e.

TABLE 3-2 Truth Table for Code Converter Example

Logic Symbols with Truth Tables INVERTER A B NAND A B C NOR C A B A B C XNOR A B C A B Digital Logic 1

EMT1250 LABORATORY EXPERIMENT. EXPERIMENT # 4: Combinational Logic Circuits. Name: Date:

Digital Applications (CETT 1415) Credit: 4 semester credit hours (3 hours lecture, 4 hours lab) Prerequisite: CETT 1403 & CETT 1405

Digital Fundamentals

Chapter 3 Digital Logic Structures

Encoders. Lecture 23 5

Digital Logic Circuits

Digital Logic Design ELCT 201

Digital Electronics Course Objectives

UNIT-IV Combinational Logic

UC Berkeley CS61C : Machine Structures

Digital Electronic Concepts

Combinational Logic. Rab Nawaz Khan Jadoon DCS. Lecturer COMSATS Lahore Pakistan. Department of Computer Science

Combinational Circuits: Multiplexers, Decoders, Programmable Logic Devices

Formal Foundation of Digital Design

Chapter 3 Describing Logic Circuits Dr. Xu

Chapter 4 Combinational Logic Circuits

UC Berkeley CS61C : Machine Structures

Combinational Logic. Combinational Logic Design Process, Three State Buffers, Decoders, Multiplexers, Encoders, Demultiplexers, Other Considerations

De Morgan s second theorem: The complement of a product is equal to the sum of the complements.

Laboratory Manual CS (P) Digital Systems Lab

DEPARTMENT OF ELETRONICS AND COMMUNICATION ENGINEERING COURSE NOTES FACULTY NAME/DESIGNATION: SUGAPRIYAA.THA / LECTURER

DELD UNIT 3. Question Option A Option B Option C Option D Correct Option A B C

2 Building Blocks. There is often the need to compare two binary values.

LOGIC GATES AND LOGIC CIRCUITS A logic gate is an elementary building block of a Digital Circuit. Most logic gates have two inputs and one output.

Chapter 4 Combinational Logic Circuits

Gates and and Circuits

UC Berkeley CS61C : Machine Structures

Department of Electronics and Communication Engineering

LOGIC DIAGRAM: HALF ADDER TRUTH TABLE: A B CARRY SUM. 2012/ODD/III/ECE/DE/LM Page No. 1

Unit 1 Foundations in Electronics - Lesson 1.1 Introduction to Electronics Standards Essential Question Enduring Understandings

B.C.A 2017 DIGITAL ELECTRONICS BCA104T MODULE SPECIFICATION SHEET. Course Outline

DIGITAL ELECTRONICS. Methods & diagrams : 1 Graph plotting : - Tables & analysis : - Questions & discussion : 6 Performance : 3

Combinational logic. ! Regular logic: multiplexers, decoders, LUTs and FPGAs. ! Switches, basic logic and truth tables, logic functions

ELECTRONIC CIRCUITS. Time: Three Hours Maximum Marks: 100

a b y UC Berkeley CS61C : Machine Structures Hello Helo,world!

COMBINATIONAL CIRCUIT

THE UNIVERSITY OF TRINIDAD & TOBAGO

LIST OF EXPERIMENTS. KCTCET/ /Odd/3rd/ETE/CSE/LM

ECE 172 Digital Systems. Chapter 2 Digital Hardware. Herbert G. Mayer, PSU Status 6/30/2018

EEE 301 Digital Electronics

Electronics. Digital Electronics

Digital Electronics 8. Multiplexer & Demultiplexer

Combinational Logic Circuits. Combinational Logic

BOOLEAN ALGEBRA AND LOGIC FAMILIES


DIGITAL ELECTRONICS QUESTION BANK

Syllabus for: Electronics for F Y B Sc (Electronics) Semester- 1 (With effect from June 2014) PAPER I: Basic Electrical Circuits

SYNTHESIS OF COMBINATIONAL CIRCUITS

Larger 5 & 6variable Karnaugh maps

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

SRV ENGINEERING COLLEGE SEMBODAI RUKMANI VARATHARAJAN ENGINEERING COLLEGE SEMBODAI

Unit 3. Logic Design

In this lecture: Lecture 8: ROM & Programmable Logic Devices

3.1 There are three basic logic functions from which all circuits can be designed: NOT (invert), OR, and

Course Outline Cover Page

COMPUTER ORGANIZATION & ARCHITECTURE DIGITAL LOGIC CSCD211- DEPARTMENT OF COMPUTER SCIENCE, UNIVERSITY OF GHANA

CELIA SCHAHCZENSKI. FE Exam Review Computers Oct. 18, 2018

EXPERIMENT NO 1 TRUTH TABLE (1)

SKP Engineering College

QUIZ. What do these bits represent?

Digital Logic and Design (Course Code: EE222) Lecture 14: Combinational Contd.. Decoders/Encoders

ECE380 Digital Logic

JEFFERSON COLLEGE COURSE SYLLABUS ETC255 INTRODUCTION TO DIGITAL CIRCUITS. 6 Credit Hours. Prepared by: Dennis Eimer

CMSC 2833 Lecture 26. Step Expression Justification

Transcription:

University of Technology Lecturer: Dr. Sinan Majid Course Title: microprocessors 4 th year

Lecture 7 & 8 NAND and XOR Implementations Combinational Design Procedure

NAND-NAND & NOR-NOR Networks DeMorgan s Law: (a + b) = a b (a b) = a + b a + b = (a b ) (a b) = (a + b ) = = = = push bubbles or introduce in pairs or remove pairs.

NAND-NAND Networks Mapping from AND/OR to NAND/NAND a b c d a) b) c) d)

Implementations of Two-level Logic Sum-of-products AND gates to form product terms (minterms) OR gate to form sum Product-of-sums OR gates to form sum terms (maxterms) AND gates to form product

Two-level Logic using NAND Gates Replace minterm AND gates with NAND gates Place compensating inversion at inputs of OR gate

Two-level Logic using NAND Gates (cont d) OR gate with inverted inputs is a NAND gate de Morgan's: A' + B' = (A B)' Two-level NAND-NAND network Inverted inputs are not counted In a typical circuit, inversion is done once and signal distributed

Conversion Between Forms Convert from networks of ANDs and ORs to networks of NANDs and NORs Introduce appropriate inversions ("bubbles") Each introduced "bubble" must be matched by a corresponding "bubble" Conservation of inversions Do not alter logic function Example: AND/OR to NAND/NAND A B C D Z A B C D NAND NAND NAND Z

Conversion Between Forms (cont d) Example: verify equivalence of two forms A B C D Z A B C D NAND NAND NAND Z Z = [ (A B)' (C D)' ]' = [ (A' + B') (C' + D') ]' = [ (A' + B')' + (C' + D')' ] = (A B) + (C D)

Exclusive-OR and Exclusive-NOR Circuits Exclusive-OR (XOR) produces a HIGH output whenever the two inputs are at opposite levels.

Exclusive-NOR Circuits Exclusive-NOR (XNOR) : Exclusive-NOR (XNOR) produces a HIGH output whenever the two inputs are at the same level.

Exclusive-NOR Circuits XNOR gate may be used to simplify circuit implementation.

XOR Function XOR function can also be implemented with AND/OR gates (also NANDs).

XOR Function Even function even number of inputs are. Odd function odd number of inputs are.

Parity Generation and Checking FIGURE 4-25 XOR gates used to implement the parity generator and the parity checker for an even-parity system.

Design Procedure (Mano) Design a circuit from a specification.. Determine number of required inputs and outputs. 2. Derive truth table 3. Obtain simplified Boolean functions 4. Draw logic diagram and verify correctness A B C R S S = A + B + C R = ABC

Previously, we have learned Boolean algebra can be used to simplify expressions, but not obvious: how to proceed at each step, or if solution reached is minimal. Have seen five ways to represent a function: Boolean expression truth table logic circuit minterms/maxterms Karnaugh map

Combinational logic design Use multiple representations of logic functions Use graphical representation to assist in simplification of function. Use concept of don t care conditions. Example - encoding BCD to seven segment display. Similar to approach used by designers in the field.

BCD to Seven Segment Display Used to display binary coded decimal (BCD) numbers using seven illuminated segments. BCD uses s and s to represent decimal digits - 9. Need four bits to represent required digits. Binary coded decimal (BCD) represents each decimal digit with four bits a b c g e d f 9 8 7 2

BCD to seven segment display List the segments that should be illuminated for each digit. a,b,c,d,e,f b,c 2 a,b,d,e,g 3 a,b,c,d,g 4 b,c,f,g 5 a,c,d,f,g 6 a,c,d,e,f,g 7 a,b,c 8 a,b,c,d,e,f,g 9 a,b,c,d,f,g f e a g d b c

BCD to seven segment display. 9 8 7 2 Dec....... e d c b a z y x w Derive the truth table for the circuit. Each output column in one circuit. Inputs Outputs

BCD to seven segment display Find minimal sum-of-products representation for each output For segment a : yz wx Note: Have only filled in ten squares, corresponding to the ten numerical digits we wish to represent.

Don t care conditions (BCD display)... Fill in don t cares for undefined outputs. Note that these combinations of inputs should never happen. Leads to a reduced implementation For segment a : yz wx X X X X Put in X (don t care), and interpret as either or as desired. X X

Don t care conditions (BCD display)... Circle biggest group of s and Don t Cares. Leads to a reduced implementation For segment a : yz wx X X X X F a = y X X

Don t care conditions (BCD display) Circle biggest group of s and Don t Cares. Leads to a reduced implementation For segment a : yz wx X X X X F a2 = w X X

Don t care conditions (BCD display)... Circle biggest group of s and Don t Cares. All s should be covered by at least one implicant For segment a : yz yz wx wx X X X X X X X X X X X X F a3 = xz F a4 = xz

Don t care conditions (BCD display)... Put all the terms together Generate the circuit For segment a : yz wx X X X X F = y + w + xz + xz X X

Summary Need to formulate circuits from problem descriptions. Determine number of inputs and outputs 2. Determine truth table format 3. Determine K-map 4. Determine minimal SOP o There may be multiple outputs per design o Solve each output separately