Combinational Circuits DC-IV (Part I) Notes

Similar documents
UNIT-IV Combinational Logic

COMBINATIONAL CIRCUIT

Unit 3. Logic Design

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

Combinational Logic Circuits. Combinational Logic

UNIT III. Designing Combinatorial Circuits. Adders

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


SRV ENGINEERING COLLEGE SEMBODAI RUKMANI VARATHARAJAN ENGINEERING COLLEGE SEMBODAI

MSI Design Examples. Designing a circuit that adds three 4-bit numbers

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

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

Function Table of an Odd-Parity Generator Circuit

TABLE 3-2 Truth Table for Code Converter Example

Department of Electronics and Communication Engineering

4:Combinational logic circuits. 3 July

Experiment # 4. Binary Addition & Subtraction. Eng. Waleed Y. Mousa

Subtractor Logic Schematic

Digital Electronics. Functions of Combinational Logic

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

CHW 261: Logic Design

EXPERIMENT NO 1 TRUTH TABLE (1)

Digital Integrated CircuitDesign

Code No: R Set No. 1

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

Satish Chandra, Assistant Professor, P P N College, Kanpur 1

Data output signals May or may not be same a input signals

FUNCTION OF COMBINATIONAL LOGIC CIRCUIT

Digital Electronics 8. Multiplexer & Demultiplexer

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

Digital Logic Design ELCT 201

Digital. Design. R. Ananda Natarajan B C D

BCD Adder. Lecture 21 1

Lecture 3: Logic circuit. Combinational circuit and sequential circuit

;UsetJand : Llto Record the truth. LAB EXERCISE 6.1 Binary Adders. Materials. Procedure

Function Table of 74LS138, 3-to-8 Decoder +5V 6 G1 4 G2A 5 G2B. 4-to-16 Decoder using two 74LS139, 3-to-8 Decoder

DEPARTMENT OF ELECTRICAL & ELECTRONICS ENGINEERING

Adder (electronics) - Wikipedia, the free encyclopedia

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

Fan in: The number of inputs of a logic gate can handle.

Chapter 3 Combinational Logic Design

R.B.V.R.R. WOMEN S COLLEGE (AUTONOMOUS) Narayanaguda, Hyderabad. ELECTRONIC PRINCIPLES AND APPLICATIONS

DESIGN OF MODIFIED AND UNERRING FOUR BIT BINARY SIGNED SUBTRACTOR

Chapter # 1: Introduction

Chapter # 1: Introduction

CHAPTER 5 DESIGN OF COMBINATIONAL LOGIC CIRCUITS IN QCA

COMBINATIONAL LOGIC CIRCUIT First Class. Dr. AMMAR ABDUL-HAMED KHADER

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) SUMMER-16 EXAMINATION Model Answer

Digital Electronics Course Objectives

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.

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

IES Digital Mock Test

Laboratory Manual CS (P) Digital Systems Lab

Computer Arithmetic (2)

Gates and Circuits 1

Chapter 3 Digital Logic Structures

Topic Notes: Digital Logic

DIGITAL ELECTRONICS QUESTION BANK

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

COLLEGE OF ENGINEERING, NASIK

(a) (b) (c) (d) (e) (a) (b) (c) (d) (e)

Introduction. BME208 Logic Circuits Yalçın İŞLER

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

DIGIT SERIAL PROCESSING ELEMENTS. Bit-Serial Multiplication. Digit-serial arithmetic processes one digit of size d in each time step.

Introduction (concepts and definitions)

Practical Workbook Logic Design & Switching Theory

CS302 - Digital Logic Design Glossary By

EEE 301 Digital Electronics

High Performance Low-Power Signed Multiplier

Electronics. Digital Electronics

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

Sr. No. Instrument Specifications. TTL (Transistor-Transistor Logic) based on bipolar junction transistors

On Built-In Self-Test for Adders

Propagation Delay, Circuit Timing & Adder Design. ECE 152A Winter 2012

COMPUTER ARCHITECTURE AND ORGANIZATION

Propagation Delay, Circuit Timing & Adder Design

I. Computational Logic and the Five Basic Logic Gates 1

Department of Electrical and Electronics Engineering Logic Circuits Laboratory EXPERIMENT-5 COMBINATIONAL LOGIC CIRCUITS

DESIGN OF 4 BIT BINARY ARITHMETIC CIRCUIT USING 1 S COMPLEMENT METHOD

Digital Electronics. A. I can list five basic safety rules for electronics. B. I can properly display large and small numbers in proper notation,

DESIGN AND IMPLEMENTATION OF AREA EFFICIENT, LOW-POWER AND HIGH SPEED 128-BIT REGULAR SQUARE ROOT CARRY SELECT ADDER

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

Lab Report: Digital Logic

Linear & Digital IC Applications (BRIDGE COURSE)

Structural VHDL Implementation of Wallace Multiplier

Digital Fundamentals

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) MODEL ANSWER

CHAPTER 1 INTRODUCTION

Logic Design I (17.341) Fall Lecture Outline

Experiment # 3 Combinational Circuits (I) Binary Addition and Subtraction

Gates and and Circuits

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

Gujarat University B. Sc. Electronics Semester I: ELE (Effective from: )

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

COURSE LEARNING OUTCOMES AND OBJECTIVES

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

Unit level 4 Credit value 15. Introduction. Learning Outcomes

DESIGN OF BINARY MULTIPLIER USING ADDERS

Chapter 11. Digital Integrated Circuit Design II. $Date: 2016/04/21 01:22:37 $ ECE 426/526, Chapter 11.

An Optimized Implementation of CSLA and CLLA for 32-bit Unsigned Multiplier Using Verilog

Transcription:

Combinational Circuits DC-IV (Part I) Notes Digital Circuits have been classified as: (a) Combinational Circuits: In these circuits output at any instant of time depends on inputs present at that instant of time. This means that output is dependent at all times on the combination of its inputs.these circuits have no memory or feedback loops. Given Fig gives lock Diagram representation for combinational circuits. n input variables Combinational Logic Circuit m output variables (b) Sequential Circuits: In these circuits output at any instant of time depends upon the present inputs as well as past inputs/outputs. These have memory. Given Figure gives block diagram representation for Sequential Circuits. There can be more than one feedback paths. input Combinational Logic Circuit output M Feedback This part of note discusses combinational circuits which are classified as Arithmetic Circuits and comparators, other combinational circuits will be considered in Part II. Combinational circuits: They are made up from basic logic gates and are building blocks of combinational circuits.they are classified as (i) (ii) (iii) Arithmetic and logical functions: Like, adders, subtractors, comparators, etc. Data transmission: Like Multiplexers, De Multiplexers, Encoders, Decoders, etc. Code converters: Like Gray to inary, inary to CD, CD to binary, etc. These circuits can be designed using gates and can be implemented using small scale integrated circuits (SSIs). Design procedure: Any combinational circuit can be designed as per following procedure (classical approach). They can be designed using gates and can be implemented using small scale integrated circuit (SSIs) (i) (ii) (iii) From the word statement identify and draw the block diagram. Write the truth table. Write down the oolean Expression

(iv) (v) Simplify the oolean Expression using theorems or K-Map. Implement the expression using logic gates. Above classical approach of design says that if the two circuits perform the same function then the one with less number of gates is preferable since it will cost less. This is not true when ICs are used. Since several gates are included in a single IC, so it is economical to use as many Gates as possible from an already used package.also in some ICs the interconnection of gates are internal, so it is always better to use connections which are internal for better reliability. So with ICs it is not the number of gates that determine the cost but the number and type of ICs. So the design should consider that whether the function is available in IC package. The selection of MSI components in preference to SSI gates is extremely important since it would result in considerable reductionof IC packages and interconnecting wires. Many combinational circuits are available in MSI (Medium scale Integrated Circuits).Components such as adders, subtractors,comparators,decoders and encoders,multiplexers de multiplexers etc. Part I of notes discusses Arithmetic circuit such as adders/subtractors, multipliers and comparators. Part II will discuss other combinational circuits such as decoders, encoders, multiplexers, demultiplexers etc. Arithmetic Circuits: Computers and calculators perform arithmetic operations. They are performed in arithmetic logic unit (ALU) of computer. They need to be performed at a high speed. The basic unit of arithmetic circuit is adder. Half adder: It adds two 1 bit values and produce a sum and carry output. The half part of the name comes from the lack of carry input. Full adder: It adds two 1 bit values plus a carry and produces a sum and a carry output. The full part of the name comes from carry input bit. As an illustration, truth table and logic diagram for half adder are given: Truth Table Inputs Outputs A SUM (S) CARRY (C) 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1

A S C Logic diagram for half adder Adders and subtractors have been described in most of the text books. MCQs on combinational circuit on the website have included them. These notes will summaries the related equations for binary adders and subtractors. Key points are highlighted. They may be helpful in problem solving. Comparative study for adders and subtractors: Adders Half S = A C = A. Subtractors D = A out = A. Full S = A C in C out = C in + AC in + A = (A + )C in + A S = A in out = A + A in +. in = in (A + ) + A Key Points: Half adders/subtractors: They are implemented using Ex-OR gate for sum (S) and AND gate for carry/borrow. Full adders/subtractors: Sum and difference implemented using 3 input EX-OR gates. Cout and out expressions are the same except input variable A is complemented n bit adder requires (n-1) full adders and one half adder Full adder can be implemented using two half adders. An n bit adder can be built by cascading n full adders. Full adders can be converted to full subtractors by complementing input A prior to its applications to gates that form the carry output.

A HA SUM CARRY HA CARRY SUM CARRY IN CARRY OUT Full Adder inary Parallel Adder (Or Ripple carry Adder): It has full adders connected in cascade with the output carry from one full adder connected to input carry of next full adders. A 3 3 A 2 2 A 1 1 A 0 0 C 4 C 3 C 3 C 2 C 2 C 1 C 1 C 0 C in C out 2 3 2 2 2 1 2 0 S 3 S 2 S 1 S 0 4 bit binary parallel adder Speed is limited due to carry propagations delay. 4 bit adder output is generated after 4 propagation delays. IC adders such as 74LS83 can be used to construct high speed parallel adders and subtractors. Two or more parallel adders can be connected in cascade to perform addition for larger numbers. A parallel binary subtractor can also be implemented by cascading several full subtractors. y using EX-OR gate as controlled inverter adder/subtractor can be implemented in the same circuit. Fast Adder: Carry propagation delay can be reduced by a look ahead logic circuit.

Serial Adder: The disadvantage of parallel adder is that it requires large amount of circuitry. An alternation is serial addition, the operation is performed bit by bit, thus simpler circuitry but low speed. Serial Adder 1. Low in speed 2. Requires less component 3. Performed bit by bit Parallel Adder High speed More hardware All bits added at the same time CD Adder: It adds two CD digits in parallel and produces sum in CD form Add two CD numbers using binary addition. If 4 bit sum is less than 9 sum is in CD form. If it is greater than 9 a correction of 0110 (6 10 ) should be added to sum to produce the proper CD result. This will produce carry to be added to next decimal position. Multiplication of inary Numbers: It can be carried out by the following methods. (i) (ii) Partial product addition and shifting Parallel multipliers or carry multipliers 4 bit multiplier using shift method requires 4 cycles of addition and shifting operations, but it requires only a single 4 bit parallel adder. The speed of multiplication process can be increased considerable in parallel multiplier at extra cost of increased hard ware. Parallel multiplier is discussed here with an example of 2 bit numbers. a1 a0 Multiplicand b1 b0 Multiplier a1 b0 a 0 b0 Partial product a1 b1 a0 b1 Partial product O3 O2 O1 O0 Product or output Note that each product bit or output bit (Ox) is formed by adding partial product cols. Each product is formed by AND gates. Also note that binary multiplication is same as AND truth table. So such multiplier can be implemented using AND gates and adders. O 0 = a 0 b 0 O 1 = a 1 b 0 + a 0 b 1 + c0

O 2 = a 1 b 1 + c1 O 3 = c 2 Also note that binary multiplication is same as AND truth table. So such multiplier can be implemented using AND gates and adders. Magnitude Comparators: A binary magnitude comparator is a logic circuit that provides output information indicating relative magnitude of two inputs. These output conditions exist as a result of comparison of two inputs. lock diagram for single bit comparator and logical implementation is given in the figures A Single-bit Magnitude Comparator A > A = A < lock Diagram Truth Table From the truth table the equation for each output is A = A > A A = A > A < 0 0 1 0 0 0 1 0 0 1 1 0 0 1 0 1 1 1 0 0 Logic equation A + A = (A ) Logic equation A A < Logic equation A

A ( A= ) ( A > ) ( A < ) A truth table can be generated for 2 bit comparator. eyond 2 bit size of truth table becomes unwieldy