[Solved] COL216 Assignment11- Floating Point Addition

$25

File Name: COL216_Assignment11-_Floating_Point_Addition.zip
File Size: 414.48 KB

SKU: [Solved] COL216 Assignment11- Floating Point Addition Category: Tag:
5/5 - (1 vote)

In this assignment you will do a software implementation of the Floating Point Adder whose algorithm was covered in class, and is outlined in Figure 3.14 (Page 205 of the textbook). Assume that each of the boxes numbered 1, 2, 3, and 4 require one clock cycle, and the condition checks require zero time.

Inputs to the program will be:

  1. A text file with each line containing a pair of floating point numbers to be added, in binary representation (a string of 0 and 1 characters in the file). See sample below.

Outputs from the program will be:

  1. A sequence of addition results, each line containing one result (a string of 0 and 1 characters) and the number of clock cycles required for performing the addition.

Deliverables:

  1. Software implementation of the floating point adder referred to above.
  2. Test files used to verify your program. Remember to test for special cases such as Overflow, Underflow, Normalised result, etc.
  3. A document explaining the different test cases.

Sample Input File (each line contains the representation for 2 floating point numbers, both 32 bits wide):

11001100110011001111110011001100 11001100110011001111110011001100 01001110110011001111110011001101 11001100110111001101110011001110

Sample Output File (just examples. These are not be the computed outputs for the above input file):

11001110110011001111110011001101 01001110110011001111110011001101 4

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] COL216 Assignment11- Floating Point Addition
$25