









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The slides covers Binary and booth multiplication and how is that implemented on hardware. There is a detailed explanation with example of Flow chart for Multiplication and its representation.
Typology: Study notes
1 / 17
This page cannot be seen from the preview
Don't miss anything!










Hardware Implementation for Signed-Magnitude Multiplication
Multiply Operation Multiplicand in B Multiplier in Q AS โ QS + BS QS โ QS + BS A โ 0, E โ 0 SC โ n โ 1 Qn โ 0 = 0 EA โ A + B Shr EAQ SC โ SC โ 1 SC END (Product is in AQ) = 0 = 1 E A Q SC 0 00000 10011 101 10111 10111 0 01011 11001 100 10111 00010 0 10001 01100 011 1 0 01000 10110 010 0 00100 01011 001 10111 11011 0 01101 10101 000 Add Add Add Shift Shift Shift Shift Shift 23 ร 19 = 437 Q = 19 (10011), B = 23 (10111)
Group Exercise: Group 1: 3 X 7, Group 2: -3 X 7, Group 3: 3 X -7, Group 4: -3 X -
Example: 11 ร 13
Observation
4
3
2
1
n
n-
n-k
n+
5
14 = 01110 = 2^4 โ 2^1 = 16 โ 2 25 = 011001 = - 0
Booth Multiplication Algorithm (2โ complement multiplication) 7 ร 3 = 21 0111 multiplicand = 7 ร 0011(0) multiplier = 3 11111001 bit-pair 10, add -7 in twoโs compl. bit-pair 11, do nothing 000111 bit-pair 01, add 7 bit-pair 00, do nothing 00010101 21
0000001001011000 600 Serial addition Booth algorithm Four partial product additions Two partial product additions
Flowchart for Booth Multiplication Multiply Multiplicand in BR Multiplier in QR AC โ 0 Qn+1 โ 0 SC โ n QnQn+ AC โ AC + BR + 1 AC โ AC + BR ashr (AC & QR) SC โ SC โ 1 SC โ (^0) = 0 = 10 = 01 = 00 = 11 END Comment AC QR Qn+1 SC Example: -9 ร -13 = 117 BR = 10111, BR + 1 = 01001 00000 10011 01001 01001 00100 11001 00010 01100 10111 11001 11100 10110 11110 01011 01001 00111 00011 10101
Subtract BR Add BR Subtract BR Ashr Ashr Ashr Ashr Ashr