Copyright 2008 Koren ECE666/Koren Sample Mid-term 2.1 Israel Koren Spring 2008 UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Digital.

Slides:



Advertisements
Similar presentations
CENG536 Computer Engineering department Çankaya University.
Advertisements

Copyright 2008 Koren ECE666/Koren Part.4b.1 Israel Koren Spring 2008 UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Digital Computer.
Princess Sumaya Univ. Computer Engineering Dept. Chapter 3:
Princess Sumaya Univ. Computer Engineering Dept. Chapter 3: IT Students.
UNIVERSITY OF MASSACHUSETTS Dept
CS 447 – Computer Architecture Lecture 3 Computer Arithmetic (2)
Computer ArchitectureFall 2007 © September 5, 2007 Karem Sakallah CS 447 – Computer Architecture.
Copyright 2008 Koren ECE666/Koren Part.6b.1 Israel Koren Spring 2008 UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Digital Computer.
Copyright 2008 Koren ECE666/Koren Part.9b.1 Israel Koren Spring 2008 UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Digital Computer.
Copyright 2008 Koren ECE666/Koren Part.1.1 Israel Koren Spring 2008 UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Digital Computer.
Chapter 6 Arithmetic. Addition Carry in Carry out
UNIVERSITY OF MASSACHUSETTS Dept
UNIVERSITY OF MASSACHUSETTS Dept
UNIVERSITY OF MASSACHUSETTS Dept
Copyright 2008 Koren ECE666/Koren Sample Mid-term 1.1 Israel Koren Spring 2008 UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Digital.
Copyright 2008 Koren ECE666/Koren Part.4c.1 Israel Koren Spring 2008 UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Digital Computer.
Copyright 2008 Koren ECE666/Koren Part.6a.1 Israel Koren Spring 2008 UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Digital Computer.
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Winter 2004 Lecture 7.
DIGITAL SYSTEMS TCE1111 Representation and Arithmetic Operations with Signed Numbers Week 6 and 7 (Lecture 1 of 2)
Copyright 2008 Koren ECE666/Koren Part.5a.1 Israel Koren Spring 2008 UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Digital Computer.
Computer ArchitectureFall 2008 © August 27, CS 447 – Computer Architecture Lecture 4 Computer Arithmetic (2)
Chapter 3 Data Representation part2 Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2010.
ECE 645 – Computer Arithmetic Lecture 10: Fast Dividers ECE 645—Computer Arithmetic 4/15/08.
Chapter3 Fixed Point Representation Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
Simple Data Type Representation and conversion of numbers
Data Representation – Binary Numbers
Computer Organization and Architecture Computer Arithmetic Chapter 9.
Computer Arithmetic Nizamettin AYDIN
Computer Arithmetic. Instruction Formats Layout of bits in an instruction Includes opcode Includes (implicit or explicit) operand(s) Usually more than.
Computer Architecture Lecture 3: Logical circuits, computer arithmetics Piotr Bilski.
ECE232: Hardware Organization and Design
Chapter 8 Problems Prof. Sin-Min Lee Department of Mathematics and Computer Science.
Introduction to Computer Engineering ECE/CS 252, Fall 2010 Prof. Mikko Lipasti Department of Electrical and Computer Engineering University of Wisconsin.
CH09 Computer Arithmetic  CPU combines of ALU and Control Unit, this chapter discusses ALU The Arithmetic and Logic Unit (ALU) Number Systems Integer.
Oct. 18, 2007SYSC 2001* - Fall SYSC2001-Ch9.ppt1 See Stallings Chapter 9 Computer Arithmetic.
Fixed and Floating Point Numbers Lesson 3 Ioan Despi.
CSC 221 Computer Organization and Assembly Language
Princess Sumaya Univ. Computer Engineering Dept. Chapter 3:
1 Floating Point Operations - Part II. Multiplication Do unsigned multiplication on the mantissas including the hidden bits Do unsigned multiplication.
Computer Arithmetic See Stallings Chapter 9 Sep 10, 2009
Chapter 3 Arithmetic for Computers. Chapter 3 — Arithmetic for Computers — 2 Arithmetic for Computers Operations on integers Addition and subtraction.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CE-321: Computer.
Copyright 2008 Koren ECE666/Koren Part.7b.1 Israel Koren Spring 2008 UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Digital Computer.
Numbers in Computers.
Computer Architecture Lecture 11 Arithmetic Ralph Grishman Oct NYU.
Chapter 8 Computer Arithmetic. 8.1 Unsigned Notation Non-negative notation  It treats every number as either zero or a positive value  Range: 0 to 2.
By Wannarat Computer System Design Lecture 3 Wannarat Suntiamorntut.
William Stallings Computer Organization and Architecture 8th Edition
UNIVERSITY OF MASSACHUSETTS Dept
William Stallings Computer Organization and Architecture 7th Edition
UNIVERSITY OF MASSACHUSETTS Dept
Data Representation and Arithmetic Algorithms
ECEG-3202 Computer Architecture and Organization
Data Representation and Arithmetic Algorithms
UNIVERSITY OF MASSACHUSETTS Dept
UNIVERSITY OF MASSACHUSETTS Dept
UNIVERSITY OF MASSACHUSETTS Dept
UNIVERSITY OF MASSACHUSETTS Dept
UNIVERSITY OF MASSACHUSETTS Dept
UNIVERSITY OF MASSACHUSETTS Dept
UNIVERSITY OF MASSACHUSETTS Dept
Presentation transcript:

Copyright 2008 Koren ECE666/Koren Sample Mid-term 2.1 Israel Koren Spring 2008 UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Digital Computer Arithmetic ECE 666 Mid-Term II Sample Exam

Copyright 2008 Koren ECE666/Koren Sample Mid-term To speed-up the SRT algorithm for fast division (for divisors in the range [0.5,1]) it has been suggested to use the first two bits of the divisor as a comparison constant K. For example, for D= the most significant bits of the partial remainder will be compared to K=0.11. (a) Will the number of add/subtract operations in the suggested method be smaller than, equal to, or greater than the number of these operations in the original SRT method (with K=0.1) in the following three cases: (i) D= and X= ; (ii) D= and X=

Copyright 2008 Koren ECE666/Koren Sample Mid-term (iii) D= and X= (b) Would you recommend the use of the above algorithm?

Copyright 2008 Koren ECE666/Koren Sample Mid-term For single-precision floating-point operands in the IEEE format a 24  24 significand multiplier has to be designed using 8  8 multiplier library cells (with 16- bit result), (5,5,4) counters and a carry look-ahead adder. (a) If all 48 bits have to be generated, how many 8  8 multipliers and (5,5,4) counters are needed?

Copyright 2008 Koren ECE666/Koren Sample Mid-term (b) Assuming that the cell library includes 4-bit adder and a 4-bit carry-look- ahead module, how many such cells are needed to design the fastest carry look- ahead adder?

Copyright 2008 Koren ECE666/Koren Sample Mid-term (c) If the product has to be represented in the single-precision IEEE floating- point format after rounding (to nearest-even), can some of the 8  8 multipliers and (5,5,4) counters be deleted? If your answer is negative explain why. If it is positive repeat part (a).

Copyright 2008 Koren ECE666/Koren Sample Mid-term Prove that the arrangement of partial product bits shown below produces the correct product of two 5-bit two's complement operands, where x_i = 1-x_i and similarly a_i = 1-a_i. Briefly compare this multiplier to alternative two's complement array multipliers considering the amount of hardware and execution time.