Prof. An-Yeu Wu Undergraduate VLSI Course Updated: May 24, 2002

Slides:



Advertisements
Similar presentations
Feb. 17, 2011 Midterm overview Real life examples of built chips
Advertisements

Introduction So far, we have studied the basic skills of designing combinational and sequential logic using schematic and Verilog-HDL Now, we are going.
CPE 626 CPU Resources: Adders & Multipliers Aleksandar Milenkovic Web:
EE141 © Digital Integrated Circuits 2nd Arithmetic Circuits 1 Digital Integrated Circuits A Design Perspective Arithmetic Circuits Jan M. Rabaey Anantha.
EE141 Adder Circuits S. Sundar Kumar Iyer.
EE141 © Digital Integrated Circuits 2nd Arithmetic Circuits 1 [Adapted from Rabaey’s Digital Integrated Circuits, ©2002, J. Rabaey et al.]
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture 28: Datapath Subsystems 2/3 Prof. Sherief Reda Division of Engineering,
IMPLEMENTATION OF µ - PROCESSOR DATA PATH
Introduction to CMOS VLSI Design Lecture 11: Adders
Modern VLSI Design 2e: Chapter 6 Copyright  1998 Prentice Hall PTR Topics n Shifters. n Adders and ALUs.
Digital Integrated Circuits© Prentice Hall 1995 Arithmetic Arithmetic Building Blocks.
Adders. Full-Adder The Binary Adder Express Sum and Carry as a function of P, G, D Define 3 new variable which ONLY depend on A, B Generate (G) = AB.
Lec 17 : ADDERS ece407/507.
Abdullah Aldahami ( ) Feb26, Introduction 2. Feedback Switch Logic 3. Arithmetic Logic Unit Architecture a.Ripple-Carry Adder b.Kogge-Stone.
Arithmetic Building Blocks
EE141 © Digital Integrated Circuits 2nd Arithmetic Circuits 1 Digital Integrated Circuits A Design Perspective Arithmetic Circuits Reference: Digital Integrated.
Chapter 14 Arithmetic Circuits (I): Adder Designs Rev /12/2003
Nov 10, 2008ECE 561 Lecture 151 Adders. Nov 10, 2008ECE 561 Lecture 152 Adders Basic Ripple Adders Faster Adders Sequential Adders.
Modern VLSI Design 4e: Chapter 6 Copyright  2008 Wayne Wolf Topics n Shifters. n Adders and ALUs.
Computing Systems Designing a basic ALU.
EE 466/586 VLSI Design Partha Pande School of EECS Washington State University
Digital Integrated Circuits© Prentice Hall 1995 Arithmetic Arithmetic Building Blocks.
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.
EE141 Arithmetic Circuits 1 Chapter 14 Arithmetic Circuits Rev /12/2003 Rev /05/2003.
EE141 Arithmetic Circuits 1 Chapter 14 Arithmetic Circuits Rev /12/2003.
Combinational Circuits
Somet things you should know about digital arithmetic:
Lecture 12 Logistics Last lecture Today HW4 due today Timing diagrams
Prof. An-Yeu Wu Undergraduate VLSI Course Updated: May 24, 2002
Subtitle: How to design the data path of a processor.
Lecture Adders Half adder.
CSE241A VLSI Digital Circuits Winter 2003 Recitation 2
Swamynathan.S.M AP/ECE/SNSCT
Addition and multiplication
Combinational Logic Logic circuits for digital systems may be combinational or sequential. A combinational circuit consists of input variables, logic gates,
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.
Unit5 Combinational circuit and instrumentation system.
Basics Combinational Circuits Sequential Circuits
Topics Number representation. Shifters. Adders and ALUs.
Chap. 8 Datapath Units: Multiplier Design
Combinatorial Logic Design Practices
Combinational Circuits
ECE 331 – Digital System Design
CSE Winter 2001 – Arithmetic Unit - 1
COMBINATIONAL LOGIC.
VLSI Arithmetic Lecture 4
VLSI Arithmetic Adders & Multipliers
FIGURE 4.1 Block diagram of combinational circuit
Lecture 14 Logistics Last lecture Today
Instructor: Alexander Stoytchev
Digital Integrated Circuits A Design Perspective
Instructor: Alexander Stoytchev
Lecture 15 Logistics Last lecture Today HW4 is due today
Instructor: Prof. Chung-Kuan Cheng
Review: Basic Building Blocks
Digital System Design Combinational Logic
Part III The Arithmetic/Logic Unit
EE115C – Winter 2009 Digital Electronic Circuits
Addition and multiplication
Instructor: Mozafar Bag-Mohammadi University of Ilam
Lecture 14 Logistics Last lecture Today
Instructor: Alexander Stoytchev
Combinational Circuits
Lecture 9 Digital VLSI System Design Laboratory
Prof. An-Yeu Wu Undergraduate VLSI Course Updated: May 24, 2002
A 200MHz <insert E #>pJ 6-bit Absolute-Value Detector
Arithmetic Building Blocks
Arithmetic Circuits.
Lecture 2 Adders Half adder.
Presentation transcript:

Prof. An-Yeu Wu Undergraduate VLSI Course Updated: May 24, 2002 Chap. 8 Datapath Units Prof. An-Yeu Wu Undergraduate VLSI Course Updated: May 24, 2002

Several Implementations of Adders One-Bit Full Adder (Cell) Carry-Ripple Adder Transmission-Gate Adder Carry lookahead Adder Bit-Serial Adder Carry-Select Adder Conditional- Sum Adder Manchester Adder Very wide Adder A. Y. Wu

One-Bit Full Adder (Cell) A and B are the adder inputs, C is the carry input, SUM is the sum output, and CARRY is the carry output. A. Y. Wu

Boolean Function A. Y. Wu

Implementation A. Y. Wu

Implementation (Cont.) A. Y. Wu

Carry-Ripple Adder Simple & Slow One stage delay time Tc n stages delay time nTc A. Y. Wu

Bit-Parallel Adder A. Y. Wu

Subtractor A. Y. Wu

Bit-Serial Adder A. Y. Wu

Carry-Save Adder Use register to store CARRY A. Y. Wu

CPA A. Y. Wu

Transmission-Gate Adder Use T-G to Implement XOR Gate A. Y. Wu

Transmission-Gate Adder (Cont.) Total 24 Transistors SUM and CARRY have the same delay time A. Y. Wu

Reduced Tx numbers Don’t care speed A. Y. Wu

Carry-Lookahead Adders The linear growth of adder carry-delay with the size of the input word for n-bit adder maybe improved by calculation the carries to each stage in parallel. A. Y. Wu

Carry-Lookahead Adders (Cont.) Carry of the ith stage --- Ci=Gi + PiCi-1 Gi=AiBi generate signal Pi=Ai + Bi propagate signal Expanding Ci= Gi + PiCi-1 + PiPi-1Gi-2 + ….. + Pi…P1P0 For four stages, the appropriate term : C0= G0 + P0CI C1= G1 + P1G0 + P1P0CI C2= G2 + P2G1 + P2P1G0 + P2P1P0CI C3= G3 + P3G2 + P3P2G1 + P3P2P1G0 + P3P2P1P0CI Fig1. Generic carry-lookahead adder A. Y. Wu

A. Y. Wu

Carry-Lookahead Adders (Cont.) The size and fan-in of the gates needed to implement this carry-lookahead scheme can clearly get out of hand  the number of stages of lookahead is usually limited to about 4. The circuit and layout are quite irregular. A. Y. Wu

Dynamic Carry Gates The worst-case delay path in this circuit has six n-transistor in series. A. Y. Wu

High-speed Carry Lookahead Logic Use pseudo-nMos to achieve high-speed static operation. A. Y. Wu

Manchester Adder Circuits A. Y. Wu

Manchester Adder Circuits (Cont.) Dynamic stage When CLK is low, the output node is pre-charged by the p pull-up transistor. When CLK goes high, the pull-down transistor turns on. If carry generate G=AB is true  the output node discharges. If carry propagate P=A+B is true  a previous carry may be coupled to the output node, conditionally discharging it. Static stage This requires P to be generated as AB The Manchester adder stage improves on the carry-lookahead implementation. A. Y. Wu

Manchester Adder Circuits (Cont.) The control signals T1,T2,and T3 shown in Fig6(b) are generated by: T1 = -(P0P1P2)P3 T2 = -P3 T3 = P0P1P2P3 Fig6. Manchester adder with carry bypass: (a) simple (b) conflict free A. Y. Wu

Manchester Adder Circuits (Cont.) The worst case propagation time of a Manchester adder can be improved by bypassing the four stages if all carry-propagate signals are true. Fig. 6(b) uses a “conflict -free” bypass circuit, which improves the speed by using a 3-input multiplexer that prevents conflicts at the wired OR node in the adder. In Fig. 6(b), the inverter presented on the Cin signal has been moved to the center of the carry chain to improve speed. A. Y. Wu

Carry-Select Adder Fig7. Carry-select adder:(a) basic architecture (b) 32-bit carry-select adder example A. Y. Wu

Conditional-Sum Adder A. Y. Wu

Conditional-Sum Adder (Cont.) A. Y. Wu

Very Wide Adders A. Y. Wu

Very Wide Adders (Cont.) A. Y. Wu

Very Wide Adders with Bypass A. Y. Wu

Homework #5 利用Conditional Sum Adder做一個8-bit的加法 Draw the schematic diagram of your design. Verify your idea first using C or Matlab programs. Write down the Verilog code to verify your design.Check your results with the C/Matlab results. Due date: June 14, 2002 A. Y. Wu