Electrical – How to implement 8×1 multiplexer using 3×8 decoder and 3-state buffer

bufferdecodertri-state

Suppose that AB and CD are 2-bit unsigned binary numbers

(a) Find the truth table for the function F with 4 inputs A, B, C, D to satisfy the following condition

if AB >= CD, then F = 1, otherwise F = 0
enter image description here

(b) implement 8×1 multiplexer using 3×8 decoder and 3-state buffers

enter image description here

Am I right?

Best Answer

a) You are wrong. Your truth table has several wrong entries, e.g. 0001 should be 0, not 1.

b) The drawn in OR gate though is wrong. With all but one input floating it is anyones guess what the output of an OR gate would be. Simply connect all the outputs together without further logic.

c) Your idea of connecting 1 and NOT D input signals to the 3-state buffers though is right. Except your bad truth table makes the result wrong. You also need 0 input for some.