In: Computer Science
Design a combinational logic circuit that takes a single digit decimal number as its input and also detects if the input is an odd number.
Design a combinational circuit that accepts a 3-bit number and generates an output binary number equal to the square of the input number.
Notice that every other bit in the input is multiple of 2 except the Least Significant Bit. SO the number is odd if LSB is 1 and is even if LSB is 0.
Let the imput be where i0 is the LSB
So if i0 is 1 even bit should be 0 and odd bit should be 1
and if i0 is odd even bit should be 1 and odd bit should be 0
The circuit is:
squuare of 3 bit number is a 6 bit number. ssuppose the input is and output is .
steps to be taken are:
1. find the truth table
2. minimize the boolean function using K-map (or any other technique)
3. build the minimized circuit.
1.
The truth table is: