In the following truth table, if and only if the input is valid.
What function does the truth table represent?
View worked solution
Answer: A
The given truth table represents a Priority Encoder (specifically, a 4-to-2 priority encoder).
Analysis of the Truth Table:
- Inputs:
- Outputs: (binary representation of the active input index) and (valid bit indicator).
Let us observe the priority behavior from the rows of the table:
- If , the output is (binary for 3) regardless of the states of (indicated by don't cares 'x'). This shows has the highest priority.
- If and , the output is (binary for 2) regardless of .
- If and , the output is (binary for 1) regardless of .
- If and , the output is (binary for 0).
- If all inputs are (), the valid bit , indicating that no input is active. For all other cases, .
Since the circuit encodes the index of the active input line with the highest priority into a binary code, it is a Priority Encoder.
Free practice · Your answers on this page are not saved.
