Combinational Logic. Jee-Hwan Ryu. School of Mechanical Engineering Korea University of Technology and Education

Similar documents
UNIT III Design of Combinational Logic Circuits. Department of Computer Science SRM UNIVERSITY

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

Systems I: Computer Organization and Architecture

Combinational Logic. By : Ali Mustafa

Chapter 4: Combinational Logic Solutions to Problems: [1, 5, 9, 12, 19, 23, 30, 33]

Combinational Logic. Mantıksal Tasarım BBM231. section instructor: Ufuk Çelikcan

ELCT201: DIGITAL LOGIC DESIGN

COMBINATIONAL LOGIC FUNCTIONS

Combinational Logic. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C.

Digital System Design Combinational Logic. Assoc. Prof. Pradondet Nilagupta

COMBINATIONAL LOGIC CIRCUITS. Dr. Mudathir A. Fagiri

Combinational Logic. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C.

Combina-onal Logic Chapter 4. Topics. Combina-on Circuit 10/13/10. EECE 256 Dr. Sidney Fels Steven Oldridge

Logic. Combinational. inputs. outputs. the result. system can

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

DESIGN AND IMPLEMENTATION OF ENCODERS AND DECODERS. To design and implement encoders and decoders using logic gates.

CMSC 313 Lecture 18 Midterm Exam returned Assign Homework 3 Circuits for Addition Digital Logic Components Programmable Logic Arrays

CHAPTER1: Digital Logic Circuits Combination Circuits

Why digital? Overview. Number Systems. Binary to Decimal conversion

Combinational Logic Design Combinational Functions and Circuits

Appendix A: Digital Logic. Principles of Computer Architecture. Principles of Computer Architecture by M. Murdocca and V. Heuring

ENGIN 112 Intro to Electrical and Computer Engineering

IT T35 Digital system desigm y - ii /s - iii

Logic Design Combinational Circuits. Digital Computer Design

PG - TRB UNIT-X- DIGITAL ELECTRONICS. POLYTECHNIC-TRB MATERIALS

We are here. Assembly Language. Processors Arithmetic Logic Units. Finite State Machines. Circuits Gates. Transistors

ELCT201: DIGITAL LOGIC DESIGN

DE58/DC58 LOGIC DESIGN DEC 2014

COMBINATIONAL CIRCUITS

Department of Electrical and Computer Engineering University of Wisconsin - Madison. ECE/CS 352 Digital System Fundamentals.

211: Computer Architecture Summer 2016

Module 2. Basic Digital Building Blocks. Binary Arithmetic & Arithmetic Circuits Comparators, Decoders, Encoders, Multiplexors Flip-Flops

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

Sample Test Paper - I

Combinational Logic. Course Instructor Mohammed Abdul kader

Show that the dual of the exclusive-or is equal to its compliment. 7

Part 5: Digital Circuits

UNIT II COMBINATIONAL CIRCUITS:

Chapter 2. Review of Digital Systems Design

MODULAR CIRCUITS CHAPTER 7

Digital Logic Design ENEE x. Lecture 14

CSC9R6 Computer Design. Practical Digital Logic

Review for Test 1 : Ch1 5

Fundamentals of Computer Systems

CPE100: Digital Logic Design I

Learning Objectives. Boolean Algebra. In this chapter you will learn about:

Theory of Logic Circuits. Laboratory manual. Exercise 1

Design of Sequential Circuits

EEL 3701 Fall Multiply out the following logic expressions to obtain the Sum of Products.

Fundamentals of Digital Design

ECE 2300 Digital Logic & Computer Organization

Chapter 3 Ctd: Combinational Functions and Circuits

ELECTRONICS & COMMUNICATION ENGINEERING PROFESSIONAL ETHICS AND HUMAN VALUES

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

Digital- or Logic Circuits. Outline Logic Circuits. Logic Voltage Levels. Binary Representation

Numbers and Arithmetic

Class Website:

Digital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.

Hakim Weatherspoon CS 3410 Computer Science Cornell University

Philadelphia University Student Name: Student Number:

Reg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering

Lecture 2 Review on Digital Logic (Part 1)

Computer Science Final Examination Friday December 14 th 2001

Boolean Algebra, Gates and Circuits

CHAPTER VI COMBINATIONAL LOGIC BUILDING BLOCKS

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

UNIVERSITY OF CALIFORNIA, RIVERSIDE

COSC3330 Computer Architecture Lecture 2. Combinational Logic

Overview. Arithmetic circuits. Binary half adder. Binary full adder. Last lecture PLDs ROMs Tristates Design examples

S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques s complement 2 s complement 1 s complement

DIGITAL LOGIC CIRCUITS

CSE140: Components and Design Techniques for Digital Systems. Logic minimization algorithm summary. Instructor: Mohsen Imani UC San Diego

SIR C.R.REDDY COLLEGE OF ENGINEERING ELURU DIGITAL INTEGRATED CIRCUITS (DIC) LABORATORY MANUAL III / IV B.E. (ECE) : I - SEMESTER

9/29/2016. Task: Checking for a Lower-Case Letter. ECE 120: Introduction to Computing. Change C 5 to C 5 to Obtain L(C) from U(C)

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS

KUMARAGURU COLLEGE OF TECHNOLOGY COIMBATORE

CMSC 313 Lecture 19 Combinational Logic Components Programmable Logic Arrays Karnaugh Maps

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

WORKBOOK. Try Yourself Questions. Electrical Engineering Digital Electronics. Detailed Explanations of

University of Toronto Faculty of Applied Science and Engineering Final Examination

CMSC 313 Lecture 19 Homework 4 Questions Combinational Logic Components Programmable Logic Arrays Introduction to Circuit Simplification

Chapter 5 Arithmetic Circuits

ว ตถ ประสงค ของบทเร ยน


CSE 140 Lecture 11 Standard Combinational Modules. CK Cheng and Diba Mirza CSE Dept. UC San Diego

Lecture 10: Synchronous Sequential Circuits Design

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

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CS6201 DIGITAL PRINCIPLES AND SYSTEM DESIGN

Digital Electronics Circuits 2017

ECE 2300 Digital Logic & Computer Organization

UNIT 4 MINTERM AND MAXTERM EXPANSIONS

ELEN Electronique numérique

UNIVERSITI TENAGA NASIONAL. College of Information Technology

Design of Combinational Logic

A B D 1 Y D 2 D 3. Truth table for 4 to 1 MUX: A B Y 0 0 D D D D 3

Section 1A. Introduction & Basic Principles. Engineering Areas

COE 202: Digital Logic Design Combinational Circuits Part 2. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) State any two Boolean laws. (Any 2 laws 1 mark each)

MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Principles of Digital Techniques

Transcription:

MEC5 디지털공학 Combinational Logic Jee-Hwan Ryu School of Mechanical Engineering Combinational circuits Outputs are determined from the present inputs Consist of input/output variables and logic gates inary signal from registers inary signal to registers Sequential Circuits Outputs are determined from the present inputs and the state of the storage elements The state of the storage elements is a function of previous inputs Depends on present and past inputs

nalysis procedure To determine the function from a given circuit diagram nalysis procedure Make sure the circuit is combinational or sequential No Feedback and memory elements Obtain the output oolean functions or the truth table Obtain Procedure-oolean Function oolean function from a logic diagram Label all gate outputs with arbitrary symbols Make output functions at each level Substitute final outputs to input variables

Obtain Procedure-Truth Table Truth table from a logic diagram Put the input variables to binary numbers Determine the output value at each gate Obtain truth table Eample

Design Procedure Procedure to design a combinational circuit. Determine the required number of input and output from specification. ssign a symbol to each input/output. Derive the truth table from the required relationship 4. Obtain the simplified oolean functions 5. Draw the logic diagram and verify design correctness Code conversion eample CD to ecess- code converter Ecess- code : decimal digit+ Design procedure )Determine inputs/outputs Inputs :,,C,D ( ) Outputs : W,X,Y,Z ( )

Code conversion eample ) Derive truth table Code conversion eample ) Obtain simplified oolean functions

Code conversion eample 4) Draw the logic diagram Eample Design a combinational circuit with three inputs and one output. The output is when the binary value of the inputs is less than. The output is otherwise.

inary adder-subtractor inary adder Half adder : performs the addition of -bits (+y) Full adder : performs the addition of -bits (+y+z) Two half adder can be employed to a full adder Realization of inary adder-subtractor Half adder Full adder Cascade of n-full adder Providing a complementing circuit Half dder Sum of binary inputs Input : X(augend), Y(addend) Output : S(sum), C(carry) Sy + y Cy

Half dder Full adder Sum of binary inputs Input : X,Y( significant bits),z( carry bit) Output : S(sum),C(carry)

Full dder S z ( y) C z( y + y) z ( y + y) + z( y + y) y z + yz z ( y + y) + z( y + y ) y z + yz + yz + y z + y + y Full dder with Two Half dders and an OR

inary dder Sum of two n-bit binary numbers 4-bit adder, inary dder i P i i S i G i C i C i

inary Subtractor - equals +( complement of ) When M(act as adder) M(subtractor) Overflow Sum of n digit number occupies n+ digit lways occurs when two numbers are same sign (eamples of overflow)

Decimal dder Calculate binary and represent decimal in binary coded form 9 inputs and 5 outputs 4 bits for each decimal numbers input and output carry Wide variety of decimal adder circuit depending on the code In this Chapter, decimal adder for the CD code inary and CD Sum 9(addend)+9(augend)+(carry)9 (Maimum) CD Suminary Sum CD Sum inary Sum+

CD dder CD digit output of -CD digit sum Correction is needed K ~ CK + Z8Z4 + Z8Z inary Multiplier bit bit 4bit(ma)

(K-bit) (J-bit) (K J) ND gates, (J-) K-bit adder needed inary Multiplier ' ' ' ' ' ) ( ' ' ' ) ( ) ( + + + < + + + > Magnitude Comparator,,, ' ' + i for i i i i i only if the pair of bits in i are equal Compare from the most significant bit

Magnitude Comparator Decoders decoder is a combinational circuit that converts binary information from n input lines to a maimum of ^n unique output. Generate the ⁿ(or less) minterms of n input variables Eg) to 8 line decoder

-to-4-line Decoder With Enable Input Operates with complemented outputs complemented enable input Decoder With Enable InputDemultipleer Demultipleer circuit that receive information from a single line and directs it to one of ^n possible output lines -to-4-line decoder with enable input - to-4-line demultipleer E is taken as a data input line and are taken as the selection inputs

Decoders with enable inputs can be a larger decoder circuit 46 decoder by two 8 decoders w ~ w ~ Combinational Logic Implementation with Decoder ny combinational circuit can be implemented with line decoder and OR gates Eample) full adder S(, y, z) C(, y, z) (,,4,7) (,5,6,7)

Eample combinational circuit is defined by the following three oolean functions: F y z + z F y z + y F y z + y Design the circuit with a decoder and eternal gates. Encoders Inverse operation of a decoder Generate n outputs of ⁿ input values E) octal to binary encoder z D + D y D D 4 + D + D 5 + D 5 + D + D 6 6 + D 7 + D + D 7 7 Only one input can be active at any given time

Priority Encoder Problem happens two or more inputs equal to at the same time Give a priority function to circuit V is valid bit, when one or more inputs are, then inspect D D y D ( means, ) D V Eample Design a 4-input priority encoder with inputs as in Table 4-8, but with input D having the highest priority and input D the lowest priority

Multipleers Select a binary information from many input lines Directs it to a single output line Selection is controlled by a set of selection lines ⁿ input lines have n selection lines -to--line Multipleer I I Y I I MUX Y S S (a) Logic diagram (b) lock diagram

4-to--Line Multipleer Quadruple -to--line Multipleer

oolean Function Implementation with MUX MUX is essentially decoder includes OR gate Minterms of function are generated in a MUX n input variables First n- variables -> input of MUX Remaining variable -> data inputs ( ) ( ),,6,7,, z y F oolean Function Implementation with MUX S S S 4 5 6 7 8 MUX C D F C D F F D F D F D F F F D F F

Three-state Gates Three-state gates Logic, and high-impedance state High-impedance state behaves like an open circuit MUX with Three-state Gates Multipleers can be constructed with three-state gates