Loading simulator…
Complete the predefined template in the following order.
1. Connect the widened multiplicand paths
Create the 6-bit signed forms:
Mext = {M3, M3, M3, M2, M1, M0}
2Mext = {M3, M3, M2, M1, M0, 0}
Connect Mext to the first MUX bank and 2Mext to the second MUX bank.
2. Complete the Booth-control logic
Generate:
SEL_M = Q0 ⊕ Q-1
SEL_2M = (Q1 ⊕ Q0) · SEL_M'
NEG = Q1 · (Q0 · Q-1)'
Connect:
SEL_M to all first-stage MUX select inputs.SEL_2M to all second-stage MUX select inputs.NEG to all six XOR gates.The two MUX stages then select:
000,111 → 0
001,010,101,110 → Mext
011,100 → 2Mext
3. Complete conditional negation
Connect NEG to the Cin of the least-significant Full Adder PP_FA0.
The XOR and Full Adder stages implement:
X = Selected ⊕ {6{NEG}}
PP = X + NEG
Therefore:
NEG = 0 → PP = Selected
NEG = 1 → PP = Selected' + 1
So the circuit produces the required 0, +M, -M, +2M, or -2M.
For example, if:
M = 0101
Q1 Q0 Q-1 = 100
then:
Selected = 2M = 001010
NEG = 1
PP = 110101 + 1
PP = 110110 = -10
Thus Booth code 100 correctly generates -2M.