1
\$\begingroup\$

I'm required to implement a function

F = ~ABC~D + ~A~B~C~D + ~ABC + B~CD

using a 3x8 Decoder and any other additional combinational logic.

How can I implement this function if there are 4 variables (ABCD) in the expression but only 3 inputs in my 3x8 Decoder?

If I take only ABC as my 3 inputs on my decoder how can I include D to complete my function.

Mike
2,6192 gold badges17 silver badges31 bronze badges
asked Jan 11, 2018 at 9:40
\$\endgroup\$
4
  • 3
    \$\begingroup\$ For a start you can reduce the function to a more basic form. I can see that one part can be removed straight away. Then maybe draw a truth table to see if anything else drops out. "other additional combinational logic" gives you a lot of flexibility to combine terms also. \$\endgroup\$ Commented Jan 11, 2018 at 9:49
  • \$\begingroup\$ I drew a truth table and K-map to reduce the expression but just got back the same expression. I think the function is already minimised? I don't know where to start really \$\endgroup\$ Commented Jan 11, 2018 at 11:10
  • 2
    \$\begingroup\$ Reread the first comment and try again. \$\endgroup\$ Commented Jan 11, 2018 at 13:55
  • 1
    \$\begingroup\$ Actually, simplifying the function is a distraction. The ~A~B~C~D and B~CD terms make it impossible to use a single 3x8 decoder. \$\endgroup\$ Commented Nov 26, 2018 at 20:23

2 Answers 2

1
\$\begingroup\$

If you cant reduce the equation to a simpler one that only has two variables you need to use two 3:8 decoders and the MSB variable assign it to the enable of both decoders, connect it to the first decoder enable pin inverted and directly to the second decoder enable pin. This way you divide the truth table in half activating the first decoder when A is 0 and deactivating it and activating the second decoder when A is 1

answered Nov 26, 2018 at 18:11
\$\endgroup\$
0
\$\begingroup\$

There is a few simplifications, ~ABC~D is redundant to ~ABC, so we can remove the first term outright,

Next all but the B~CD term is true only when A="0", so we use an AND gate to remove it needing to be on the decoder, and OR the B~CD term with the output as it is true no matter what A is.

The Reduced Equation would be F = A'(B'C'D' + BC) + BC'D

In the original notation would be F = ~A(~B~C~D + BC) + B~CD

enter image description here

enter image description here

answered Sep 9, 2019 at 12:26
\$\endgroup\$

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.