0
\$\begingroup\$

I need to implement the function below using 3x8 decoder (74LS138) and a minimum number of gates but I did not see 74LS138 before.

F = (A.B)'

I implement the function using a normal 3x8 decoder but I think it is not the best way to do that and I also need to use 74LS138.

My Solution:

enter image description here

Do you have any idea about the solution?

Thanks in advance.

asked Oct 23, 2013 at 13:26
\$\endgroup\$
3
  • \$\begingroup\$ I don't know if any dedicated part is available; But the NOT gate can be implemented easily by common emitter switch. \$\endgroup\$ Commented Oct 23, 2013 at 13:51
  • \$\begingroup\$ You have two inputs labelled 'A' and no labels on your outputs. Can you draw a proper schematic for us? \$\endgroup\$ Commented Oct 23, 2013 at 15:26
  • \$\begingroup\$ Its is my solution and it is not correct. \$\endgroup\$ Commented Oct 23, 2013 at 15:40

1 Answer 1

0
\$\begingroup\$

The function can implemented using only the 74LS138. Look at the data sheet (for example at http://www.alldatasheet.com/datasheet-pdf/pdf/51039/FAIRCHILD/74LS138.html , truth table and logic diagram on page 2). The pins are G1, G2A, G2B, A, B, C, Y0, ... Y7. Functionality it can be described as:

Y[7:0] = (!G1 || G2A || G2B) ? 8'hFF : ~(1'b1 << {C,B,A})

There are may possible solutions. Pick a Y pin and choose an input configuration that matches your function. For example: A and B pins will connect to the corresponding names from your function. Set G1 high, G2A low, and G2B low. If C is set to low, then F will be Y3. If C is set to high, then F will be Y7.

answered Oct 23, 2013 at 15:45
\$\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.