ECE 301 – Digital Electronics

Slides:



Advertisements
Similar presentations
L23 – Adder Architectures. Adders  Carry Lookahead adder  Carry select adder (staged)  Carry Multiplexed Adder  Ref: text Unit 15 9/2/2012 – ECE 3561.
Advertisements

Lecture Adders Half adder.
DPSD This PPT Credits to : Ms. Elakya - AP / ECE.
Addition (2). Outline Full Adder 3-Bit Adder 2’s Complement Subtraction.
Binary Addition. Binary Addition (1) Binary Addition (2)
ECE 331 – Digital System Design
ECE 301 – Digital Electronics
ECE 331 – Digital System Design Single-bit Adder Circuits and Adder Circuits in VHDL (Lecture #12) The slides included herein were taken from the materials.
ECE 301 – Digital Electronics
Combinational circuits
ECE 331 – Digital System Design
Adders, subtractors, ALUs
XOR, XNOR, and Binary Adders
Binary Addition CSC 103 September 17, 2007.
Logical Circuit Design Week 8: Arithmetic Circuits Mentor Hamiti, MSc Office ,
Binary Addition Section 4.5. Binary Addition Example.
ECE 3130 – Digital Electronics and Design
ADDERS Half Adders Recall that the basic rules of binary addition are as indicated below in Table 2-9. A circuit known as the half-adder carries out these.
Fall 2004EE 3563 Digital Systems Design EE 3563 Comparators  Comparators determine if two binary inputs are equal  Some will signal greater than/less.
WEEK #10 FUNCTIONS OF COMBINATIONAL LOGIC (ADDERS)
1 Adders & Subtractors Adders –An adder is a combinational logic circuit that performs the addition of 2 binary numbers (A & B) to generate the sum (S)
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Adders, subtractors, ALUs.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
Logic Gates Logic gates are electronic digital circuit perform logic functions. Commonly expected logic functions are already having the corresponding.
Nov 10, 2008ECE 561 Lecture 151 Adders. Nov 10, 2008ECE 561 Lecture 152 Adders Basic Ripple Adders Faster Adders Sequential Adders.
درس مدارهای منطقی دانشگاه قم مدارهای منطقی محاسباتی تهیه شده توسط حسین امیرخانی مبتنی بر اسلایدهای درس مدارهای منطقی دانشگاه.
CHAPTER 4 Combinational Logic Design- Arithmetic Operation (Section 4.6&4.9)
ECE 3110: Introduction to Digital Systems Chapter 5 Combinational Logic Design Practices X-OR gates and Parity circuits Comparators Adders, subtractors,
Computer Organization Department of CSE, SSE Mukka Chapter 6 : ARITHMETIC | Website for students | VTU NOTES.
Logic Design CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
9/15/09 - L15 Decoders, Multiplexers Copyright Joanne DeGroat, ECE, OSU1 Decoders and Multiplexer Circuits.
ECE 331 – Digital System Design Single-bit Adder Circuits and Adder Circuits in VHDL (Lecture #11) The slides included herein were taken from the materials.
1 Lecture 12 Time/space trade offs Adders. 2 Time vs. speed: Linear chain 8-input OR function with 2-input gates Gates: 7 Max delay: 7.
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 8 Arithmetic.
Number Systems and Circuits for Addition Lecture 5 Section 1.5 Thu, Jan 26, 2006.
Digital Design Module –II Adders Amit Kumar Assistant Professor SCSE, Galgotias University, Greater Noida.
Computer Architecture Lecture 16 Fasih ur Rehman.
ECE 331 – Digital System Design Multi-bit Adder Circuits, Adder/Subtractor Circuit, and Multiplier Circuit (Lecture #12)
Computer Architecture
1 Carry Lookahead Logic Carry Generate Gi = Ai Bi must generate carry when A = B = 1 Carry Propagate Pi = Ai xor Bi carry in will equal carry out here.
Copied with Permission from prof. Mark PSU ECE
Combinational Logic Design
Number Systems and Circuits for Addition – Binary Adders Lecture 6 Section 1.5 Fri, Jan 26, 2007.
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits
Addition and multiplication Arithmetic is the most basic thing you can do with a computer, but it’s not as easy as you might expect! These next few lectures.
How does a Computer Add ? Logic Gates within chips: AND Gate A B Output OR Gate A B Output A B A B
ECE 3110: Introduction to Digital Systems Chapter 5 Combinational Logic Design Practices Adders,subtractors, ALUs.
Electrical Engineering Engineering the Future Digital Circuits Fundamentals Hands-on Full-Adder Simulation (afternoon)
Programming for GCSE Topic 9.2: Circuits for Adding T eaching L ondon C omputing William Marsh School of Electronic Engineering and Computer Science Queen.
ETE 204 – Digital Electronics Combinational Logic Design Single-bit and Multiple-bit Adder Circuits [Lecture: 9] Instructor: Sajib Roy Lecturer, ETE,ULAB.
Addition and multiplication1 Arithmetic is the most basic thing you can do with a computer, but it’s not as easy as you might expect! These next few lectures.
Combinational Circuits
ECE 3130 Digital Electronics and Design
Combinational Circuits
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.
XOR, XNOR, and Binary Adders
ECE 331 – Digital System Design
CSE Winter 2001 – Arithmetic Unit - 1
XOR, XNOR, & Binary Adders
Boolean Algebra.
ECE 301 – Digital Electronics
Digital Logic.
Number Systems and Circuits for Addition
Digital Logic.
COMS 361 Computer Organization
DIGITAL ELECTRONICS B.SC FY
XOR, XNOR, and Binary Adders
Combinational Circuits
XOR Function Logic Symbol  Description  Truth Table 
XOR, XNOR, and Binary Adders
Presentation transcript:

ECE 301 – Digital Electronics Single-bit Adder Circuits and Multi-bit Adder Circuits (Lecture #10)

Single-bit Adder Circuits The Half Adder (HA) ECE 301 - Digital Electronics

ECE 301 - Digital Electronics Binary Addition 0 0 1 1 + 0 + 1 + 0 + 1 0 1 1 10 Sum Carry ECE 301 - Digital Electronics

ECE 301 - Digital Electronics The Half Adder ECE 301 - Digital Electronics

ECE 301 - Digital Electronics The Half Adder ECE 301 - Digital Electronics

Single-bit Adder Circuits The Full Adder (FA) ECE 301 - Digital Electronics

ECE 301 - Digital Electronics Binary Addition 0 0 0 0 0 0 1 1 + 0 + 1 + 0 + 1 0 1 1 10 Carry-in 1 1 1 1 0 0 1 1 + 0 + 1 + 0 + 1 1 10 10 11 Carry-out Sum ECE 301 - Digital Electronics

ECE 301 - Digital Electronics The Full Adder Cin Cout ECE 301 - Digital Electronics

ECE 301 - Digital Electronics The Full Adder Cin S Cout S = X xor Y xor Cin Cout = X.Y + X.Cin + Y.Cin ECE 301 - Digital Electronics

ECE 301 - Digital Electronics The Full Adder X Y Cin S Cout ECE 301 - Digital Electronics

ECE 301 - Digital Electronics The Full Adder Half Adder Cin Cin + xy ECE 301 - Digital Electronics

Multi-bit Adder Circuits ECE 301 - Digital Electronics

Implementations of Multi-bit Adders: 1. Ripple Carry Adder 2. Carry Lookahead Adder ECE 301 - Digital Electronics

Multi-bit Adder Circuits Ripple Carry Adder ECE 301 - Digital Electronics

ECE 301 - Digital Electronics Ripple Carry Adder Carry ripples from one column to the next 1 1 1 Carry-in 1 1 + 1 1 Carry-out 1 1 ECE 301 - Digital Electronics

ECE 301 - Digital Electronics Ripple Carry Adder Carry-out Carry-in Carry ripples from one stage to the next ECE 301 - Digital Electronics

ECE 301 - Digital Electronics Ripple Carry Adder n-bit Ripple Carry Adder Composed of n 1-bit Full Adders Carries ripple from LSB stage to MSB stage Delay ~ (n)*(delay of single FA stage) Area required is linear in n 4-bit Ripple Carry Adder Composed of 4 1-bit Full Adders ECE 301 - Digital Electronics

The Ripple Carry Adder is slow! Why? How can the speed of the adder be increased? ECE 301 - Digital Electronics

Increasing the speed of the Adder Method A: Include all inputs and outputs in the design Inputs = Xi, Yi, Cin,i; Outputs = Si, Cout,i 1-bit 3 inputs 2 outputs 2-bit 5 inputs 3 outputs 4-bit 9 inputs 5 outputs n-bit 2n+1 inputs n+1 outputs Large number of operands, but only 2 logic levels Increase in speed Increase in area required Use Truth Table and K-Map to derive logic functions decrease propagation delay increase # of logic gates ECE 301 - Digital Electronics

Increasing the speed of the Adder Method B: Manipulate the Boolean Algebra (results in the design of the Carry Lookahead Adder) ECE 301 - Digital Electronics

Multi-bit Adder Circuits Carry Lookahead Adder ECE 301 - Digital Electronics