//code to choose one of the operations depending on if..else logic Input 3 7-bits variables P,Q,R and a Choice.
//based on the Option do one of the following begin if
if (Choice==1)
//Output value of Q-2
else if (Choice==2)
// Output value of P++
else if (Choice==4)
//Output 1's complement of Q
else if (Choice==6)
//Output value of P-(2*R)
a. List the combinational circuit elements you will use if you have to build a logic circuit for the above operation.
b. Design an equivalent combinational circuit which can do the same operation as that of the pseudocode above (Use Logisim).
answer step by step
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here