40593 Computer Arithmetic Fall 2003 Damu Radhakrishnan 204 Resnick Engineering Hall Lecture:Tuesday/Thursday.

Slides:



Advertisements
Similar presentations
CML CML CS 230: Computer Organization and Assembly Language Aviral Shrivastava Department of Computer Science and Engineering School of Computing and Informatics.
Advertisements

IS5152 Decision Making Technologies
CSC 4250 Computer Architectures September 12, 2006 Appendix H. Computer Arithmetic.
What is Rounding Error? AiS Challenge STI 2003 Richard Allen.
Chapter 8 Representing Information Digitally.
CS 46101–600/CS Design and Analysis of Algorithms Dr. Angela Guercio Spring 2010.
CS 232 Geometric Algorithms: Lecture 1 Shang-Hua Teng Department of Computer Science, Boston University.
CS 232 Geometric Algorithms: Lecture 1 Shang-Hua Teng Department of Computer Science, Boston University.
CSE 322: Software Reliability Engineering Topics covered: Course outline and schedule Introduction, Motivation and Basic Concepts.
Class 1: What this course is about. Assignments Reading: Chapter 1, pp 1-33 Do in Class 1: –Exercises on pages 13, 14, 22, 28 To hand in in Class 2: –Exercises.
Math 115a– Section 4  Instructor: Kerima Ratnayaka   Phone :  Office : MTL 124B.
PROBABILITY AND STATISTICS FOR ENGINEERS Session 1 Dr Abdelaziz Berrado MTH3301 —Fall 09.
Slide 1 Instructor: Dr. Hong Jiang Teaching Assistant: Mr. Sheng Zhang Department of Computer Science & Engineering University of Nebraska-Lincoln Classroom:
Introduction to Beginning Algebra. Lab only: KLab only: A,B,C,D,K.
Scientific Computing Algorithm Convergence and Root Finding Methods.
CHEMISTRY 10123/10125 Spring 2007 Instructor: Professor Tracy Hanna Phone: Office: SWR 418
Computer Network Fundamentals CNT4007C
MATH 310, FALL 2003 (Combinatorial Problem Solving) MoWeFr 1:20 McGregory 214.
MAT 331 Mathematical solving problem with computers.
1 MSCS 237 Distributed Computing Spring 2006 INSTRUCTOR: Dr. Sheikh Iqbal Ahamed Office: Cudahy Hall 386 Phone: Office Hours: Monday 2:00-3:00pm.
(1) ECE 8823: GPU Architectures Sudhakar Yalamanchili School of Electrical and Computer Engineering Georgia Institute of Technology NVIDIA Keplar.
SE-308 Software Engineering-II 7th Term SE University of Engineering & Technology Taxila, Pakistan Software Engineering Department.
Course Introduction CSCI Software Engineering II Fall 2014 Bill Pine.
CPS120: Introduction to Computer Science Fall: 2002 Instructor: Paul J. Millis.
Problem Solving: Methods, Formats, and Conventions Introduction to Mechanical Engineering The University of Texas-Pan American College of Science and Engineering.
SSE 120 Introduction to Satellites & Space Systems Morehead State University Space Science Center Fall 2011 Instructor: Prof. Bob Twiggs gmail.com.
Prof. Barbara Bernal NEW Office in J 126 Office Hours: M 4pm - 5:30 PM Class Lecture: M 6 PM - 8:30 in J133 Weekly Web Lecture between Tuesday to Sunday.
Geology I (ERTH-1100) Fall, 2009 Syllabus Class Homepage: Instructor:Steven Roecker.
Follow-up Courses. ECE Department MS in Electrical Engineering MS EE MS in Computer Engineering MS CpE COMMUNICATIONS & NETWORKING SIGNAL PROCESSING CONTROL.
Teaching Thermodynamics with Collaborative Learning Larry Caretto Mechanical Engineering Department June 9, 2006.
CS355 Advanced Computer Architecture Fatima Khan Prince Sultan University, College for Women.
Astronomy 114 Lab Section 211, Professor Weigel. Outline for Today About Goals for this class Attendance Syllabus Safety Star Project Apparent vs. Absolute.
CS 140 Computer Programming (I) Second semester (3 credits) Imam Mohammad bin Saud Islamic University College of Computer Science and Information.
Bilgisayar Mühendisliği Bölümü CENG 102 – Computer Programming Melek OKTAY Syllabus Administrative Information.
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
1 CPRE210: Introduction to Digital Design Instructor –Arun K. Somani –Tel: – –Office Hours: MWF 10:00-11:00 Teaching Assistant.
PHY 1405 Conceptual Physics (CP 1) Spring 2010 Cypress Campus.
Course Objectives Discuss fundamental concepts of information technology Show how computers are used as practical tools for solving personal, business,
Advanced Database Course (ESED5204) Eng. Hanan Alyazji University of Palestine Software Engineering Department.
Princess Nora University Faculty of Computer & Information Systems
BIO 132: Anatomy and Physiology II Fall 2015 Dr. Rebecca Pearson Please sign in!
MAT 3730 Complex Variables Spring 2012
CPS120: Introduction to Computer Science Winter 2002 Instructor: Paul J. Millis.
U.S. HISTORY LAND I LOVE OVERVIEW. SCOPE AND SEQUENCE: WEEKS 1-3 UNIT 1: EXPLORATION AND SETTLEMENT IN THE NEW WORLD LAND CHAPTER 1: A NEW WORLD TO EXPLORE.
Please CLOSE YOUR LAPTOPS, and turn off and put away your cell phones, and get out your note- taking materials.
AMERICAN GOVERNMENT OVERVIEW. SCOPE AND SEQUENCE: WEEKS 1-3 UNIT 1: FOUNDATIONS OF AMERICAN GOVERNMENT CHAPTER 1: AMERICA: A UNIQUE NATION CHAPTER 2:
TWO EXAMPLES AS MOTIVATION FOR THE STUDY OF COMPUTER ERRORS
Electronic Drafting DFT 58A&B Cliff Monroe - Instructor.
Mgmt 371 Principles Management Course Introduction August 2008.
Geology I: Earth’s Interior(ERTH-1960) Geology I: Lab (ERTH-1961) Fall, 2015 Syllabus Class Homepage:
CS151 Introduction to Digital Design Noura Alhakbani Prince Sultan University, College for Women.
Introduction to Sport and Exercise Science Lecture 1.
Computer Networks CNT5106C
Orientation to Foundations of Math I and Math I Ms. Edwards Room 513.
St. Mary’s Catholic School, Mayville Mrs. Kaiser, Technology Teacher.
WELCOME TO MANAGERIAL ECONOMICS MT 445 Discussion of Syllabus and Expectations in the Class.
Welcome to Physics 2225! Physics Lab for Scientist & Engineers 2 Fall 2012.
Course Overview - Database Systems
CSE 111 Introduction to Computer Applications
WELCOME (Back) …TO THE CAMPUS OF TOMORROW.
Computer Networks CNT5106C
Floating Point.
Computer Networks CNT5106C
Course Overview - Database Systems
CSE 575 Computer Arithmetic Spring 2002 Mary Jane Irwin (www. cse. psu
Welcome to CS220/MATH 320 – Applied Discrete Mathematics Fall 2018
Computer Organization COMP 210
Computer Networks CNT5106C
Course Overview CSE5319/7319 Software Architecture and Design
CS 232 Geometric Algorithms: Lecture 1
Presentation transcript:

40593 Computer Arithmetic Fall 2003 Damu Radhakrishnan 204 Resnick Engineering Hall Lecture:Tuesday/Thursday – 1.45PM, REH 111 Office Hours:Wednesday PM Prerequisites:Graduate Standing – background in logic design of digital systems and basic computer organization.

What is Computer Arithmetic? Major field in Computer architecture Implementation of arithmetic functions –arithmetic algorithms for firmware/software implementation –Hardware realizations –High-speed circuits for computation Applications –Design of top-of-the-line CPUs –High-performance arithmetic circuits –Designs for embedded application-specific circuits –Arithmetic algorithms for software –Understand what went wrong in the Pentium…

Major Focus –development of high-speed arithmetic algorithms –design of application specific circuits to enhance the speed of numerical calculations –understanding implementation in VLSI technology Course consists of –a detailed study of the theory, specification and design of basic arithmetic algorithms and architectures used in digital systems First a review: digit representation, number systems and digit encoding. Basic arithmetic operations (algorithms and architectures) such as addition, multiplication and division will be presented and discussed. Particular emphasis is given to the actual design and implementation of the logic circuitry associated with the underlying algorithms. Advanced topics like high throughput arithmetic, low power arithmetic, and fault tolerant arithmetic will also be covered. Students will design several arithmetic circuits.

Topics Covered Numbers and arithmetic Representing Signed numbers Redundant number systems, Residue number systems Basic addition and counting Carry-lookahead adders Variations in fast adders Multi-operand addition Basic multiplication schemes, High radix multipliers Tree and array multipliers, Variations in multipliers Basic division schemes, High-radix dividers Floating point representations, Errors and error control

Topics Covered (Contd.) Square rooting methods The cordic algorithms Arithmetic by Table lookup High-throughput arithmetic, Low power arithmetic Fault-tolerant arithmetic, Future challenges Project presentations FINAL EXAM

References Computer Arithmetic: Algorithms and Hardware Designs, Behrooz Parhami, Oxford University Press, 2000Computer Arithmetic: Algorithms and Hardware Designs Computer Arithmetic Algorithms, Israel Koren, Prentice-Hall, 2002.Computer Arithmetic AlgorithmsIsrael Koren Prentice-Hall Journal articles Conference papers

Grading Policy Homework:20% Quiz:10% Midterm exams:30% Project:15% Final exam:25%

Total PointsFinal Grade A 85-89A B B 70-74B C C 55-59C D Below 50F

Course rules and general comments  Examinations are closed book, closed notes and no calculators allowed.  Homework assignments are generally from the text book and are given on a weekly basis; the due date is one week from the distribution date (unless otherwise specified). No late homework solutions will be accepted except under extreme non-academic conditions with the prior approval of the instructor.  There is a course project. Each student is required to give a formal presentation of the project in class.

 Any disputed grade must be resolved within 7 days of the return of the graded item.  You are responsible for all the course materials and lecture contents unless specified otherwise. If you miss a class, it is your responsibility to obtain assignments and other information given on that day.  All your course work (homework, project, and exams) is expected to be your own. Evidence indicating copying of work or other cooperation will be dealt with based on the University academic conduct rules. General instructions such as assisting in problem interpretation, and giving occasional hints on problem attack (i.e., the kind of help you would get from the instructor or the teaching assistant in the course!), however, are permitted. On the other hand, you are encouraged to form informal study groups to solve homework problems.

 If you have questions on course materials, the instructor will be available for consultation. Please try to get answers before serious difficulties in your understanding of course material arise. In particular, it is much better to get your questions answered before an exam than after!  Regular class attendance is very important and attendance will be taken at the beginning of each lecture. A bonus of 50 points will be credited for those who attend classes regularly, and do not miss any lecture. Those who do not miss more than 2 lecture sessions during the whole semester will receive 40 bonus points. No bonus credit will be given otherwise. Those who come to the lecture more than 10 minutes late will be marked as absent. If you come late within the permitted 10 minute time period, it is your responsibility to make sure that your attendance is recorded properly.

 Please pay attention to the following requirements regarding your homework assignment  Always use standard size (81/2  11) paper. Do not use torn-off paper from spiral bound notebooks (max penalty 10%)  Write the course #, homework #, and your name on top of the first page, as shown below (max penalty 10%) Course #Homework # Your Name  Write clearly, neatly and in an orderly fashion (max penalty 10%)  Draw schematics and circuit diagrams (max penalty 20%)  Show steps involved in getting to the final answer, no credit may be given for the work not shown.  Staple all homework pages together before you turn them in (max penalty 10%)

Disasters caused by Numerical Errors Patriot Missile Failure Explosion of the Ariane 5 EURO page: Conversion Arithmetics The Vancouver Stock Exchange Rounding error changes Parliament makeup The sinking of the Sleipner A offshore platform Tacoma bridge failure (wrong design) Collection of software bugs

Patriot Missile Failure – software problem led to system failure Feb. 1991, during Gulf War, an American Patriot Missile battery in Saudi Arabia failed to intercept an incoming Iraqi Scud missile. The Scud struck an American army Barracks and killed 28 soldiers. The cause was an inaccurate calculation of the time since boot due to computer arithmetic errors.

Explosion of the Ariane 5 – software error in the inertial reference system On June 4, 1996 an unmanned Ariane 5 rocket launched by the European Space Agency exploded just forty seconds after lift-off. The rocket was on its first voyage, after a decade of development costing $7 billion. The cause was a software error. A 64 bit floating point number relating to the horizontal velocity of the rocket wrt the platform was converted to a 16 bit signed integer. The number was larger than 32678, the largest integer storeable in a 16 bit signed integer, and thus the conversion failed.

EURO page: Conversion Arithmetics Introduction of EURO and the rounding of currency amounts. The French National Council has calculated that due to the rounding process, all giant supermarkets in France together will gain about 0.5 million EUR extra.

The Vancouver Stock Exchange In 1982 the Vancouver stock exchange instituted a new index initialized to a value of The index was updated after each transaction. Twenty two months later it had fallen to 520. The cause was that the updated value was truncated rather than rounded. The rounded calculation gave a value of

Rounding error changes Parliament makeup On 5 th April 1992 a German election was shattered due to a computer error. German elections are quite complicated to calculate. No party with less than 5% of the vote may be seated in parliament. When the votes were being counted, it looked like the Green party was hanging on by their teeth to a vote percentage of exactly 5%. After midnight someone discovered that the Greens actually only had 4.97% of the vote. The program that prints out the percentages only uses one place after the decimal, and had rounded the count up to 5%! This software had been used for years.