The Problem: Suggest a design for an XOR/EQU gate using only and gates, nand gates and inverters that develops both XOR and EQU outputs in 3 or fewer gate delays. This can be substituted into the ALU design to reduce the number of delays on the B input.
Part A: Modify the Russian Peasant algorithm to compute the 2*N-bit product of two N-bit numbers by summing the N partial-products starting with the most significant one instead of the least significant.
Note useful in moving to part B: If you view the multiplier as being a fixed-point fraction with N places right of the point and the multiplicand as an integer (N places left of the point), you can view the product as having N places left of the point and N places right of the point.
Part B: Using your answer to part A as a starting point, develop an algorithm to compute the N-bit fixed-point fraction that approximates the reciprocal of a given N-bit number V. In the case where V = 1, your algorithm should generate a reciprocal of .1111...