Question: You are to design a full logic unit that can compute any of the possible functions of 3 variables (A, B and C). Your job
You are to design a full logic unit that can compute any of the possible functions of 3 variables (A, B and C). Your job is to provide a circuit that will accept the 3 variables A, B, C and the operation code of the operation to perform. Every function (e.g. A+B+C) should have a code associated with it.
a) Based on the total number of possible functions of A, B, C, how many different function codes will you need and how many bits will you need to specify each function code?
# of function codes = ________
# of bits to select a particular function = ______
b) In order for your design to be optimal, what should the operation code be for the following functions: Make sure you specify which bit is Most Significant and which is Least Significant.
i) F(A,B,C) = A OR B OR C -> code = ______________________
ii) F(A,B,C) = A AND B AND C -> code = ____________________
c) In general, how do you determine what the operation code is for any function in the circuit you designed? Explain your answer in words.
d) Draw your circuit. Make sure you specify all inputs and outputs. Make sure you specify the type of module you are using (encoder, decoder, demultiplexer, etc). If need be, specify the order of the inputs(Most Significant Bit, Least Significant Bit).
Please explain this question in as much detail as possible.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
