Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/freehos1/public_html/projectus/core/open_close_dbase_connection.php on line 0

Deprecated: Function split() is deprecated in /home/freehos1/public_html/projectus/Floating-point-ALU/index.php(0) : eval()'d code on line 22

Deprecated: Function split() is deprecated in /home/freehos1/public_html/projectus/Floating-point-ALU/index.php(0) : eval()'d code on line 35

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/freehos1/public_html/projectus/scripts/get_ad_type_position.php on line 0

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/freehos1/public_html/projectus/scripts/load_ads.php on line 0

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/freehos1/public_html/projectus/scripts/sponsor_found.php on line 0

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/freehos1/public_html/projectus/scripts/load_links.php on line 0

Deprecated: Function split() is deprecated in /home/freehos1/public_html/projectus/Floating-point-ALU/index.php(0) : eval()'d code on line 161

Deprecated: Function split() is deprecated in /home/freehos1/public_html/projectus/Floating-point-ALU/index.php(0) : eval()'d code on line 164

Deprecated: Function split() is deprecated in /home/freehos1/public_html/projectus/Floating-point-ALU/index.php(0) : eval()'d code on line 167
baugh wooley multiplier
projectus.freehost7.com:UG and PG level projects,mini projects and many more here ...



 

 

 

Baugh-Wooley Multiplier 

 

In case of signed or 2’s complement floating point multiplication the multiplicand and multiplier is represented as follows. Considering the sign magnitude, then the numbers can be represented as

X=(  -  x0   +  ∑i=1n-1  xi 2-I   ) and  Y=(  -  y0   +  ∑j=1n-1  xj 2-j   )

Now, the multiplication of X & Y gives:

P = XY  =(  -  x0   +  ∑i=1n-1  xi 2-i  )(  -  y0   +  ∑j=1n-1  xj 2-j   )

           =   - x0y0 + ∑i=1n-1  ∑j=1n-1 xi yj 2-i-j  –  x 0j=1n-1  yj 2-j  –  y0i=1n-1  x2-i

While generating P by combining the partial products the sign of the partial products must be taken into consideration. Here (– x0j=1n-1 yj2-j) and (– y0i=1n-1  xi2-i) are two partial product terms that represents negative quantities. Each of two negative terms can be rewritten as 2’s complement form. The partial products with negative terms are written at the end rows as shown in Fig. 1. The partial product row in Fig. 1 (5 x 5 floating point multiplication) containing the row {1   1    x0y1    x0y2   x0y3    x0y4     1    1     1    1} is added with ‘1’ to get the 2’s complement form of (– x0 j=1n-1 yj 2-j) Similarly to get the 2’s complement form of (– y0i=1n-1  xi 2-i) the row of the partial product terms {1  1    x1y0    x2y0   x3y0    x4y0     1    1     1    1} shown in Fig. 4.1,is again added with ‘1’.  

The Baugh-Wooley’s algorithm is relatively straight forward way of doing signed digit floating multiplier. Fig. 4.2 representing the algorithm for an 5 bit case, (For simplification we are considering 5 bit cases, higher number of bit array can be designed  from the similar  manner) where the partial product bits have been recognized according to Hatamain’s scheme. The creation of the partial product array comprises two steps.

I.  The most significant bit (MSB) of the first N-1 partial and all bits

of the last partial product rows except its MSB, are inverted.

II. ‘1’ is added to the (N+1) th and 2N th column.

 

              

Fig.4.1 Conventional approach 2’s complements floating point multiplication