Design a combinational circuit that accepts a 3-bit number and generates a 6-bit binary number output equal to the square of the input number.
A 3-Bit register can only have 23 possible combination of inputs. Let us consider the three bit number where A, B, C are the inputs and, P, Q, R, S, T and U are the outputs.
As you can see in the above Truth Table, We have 3 Bits inputs and 6 Outputs on the left side. We have total of 8 possible inputs. Since square of 8 is 64, so it needs maximum of 6 Bits Spaces.
Now, we’ve to draw the Kmap for P, Q, R, and S. We have excluded T and U because all the outputs are “0” for T, and U because, the input of C and Output U are same.