0
\$\begingroup\$

In a question, I'm asked to implement the below using a 2x4 Decoder with Negated Outputs and a Negated Enable

Truth table for the decoder was:

The given answer was the top diagram, mine the bottom:

How could it be the top? S3 = 1 when BC = 10 not 01?

How do you go about deciphering such logic, I find myself very confused when there are negated inputs/outputs

Kevin Vermeer
20.2k9 gold badges60 silver badges103 bronze badges
asked Oct 14, 2011 at 6:45
\$\endgroup\$

1 Answer 1

0
\$\begingroup\$

I may be wrong, but it looks like the A and B of the decoder truth table corresponds with B and C in the top table (A being wired to the enable)
In other words, the top tables A, B and C should be seen as signal names, rather than the names of pins on the decoder.
So signal B goes to pin A, signal C goes to pin B, and signal A goes to enable pin.
Maybe the original question was badly set out.

answered Oct 14, 2011 at 12:59
\$\endgroup\$
5
  • \$\begingroup\$ Ok I updated my question as shown in the question. \$\endgroup\$ Commented Oct 14, 2011 at 13:19
  • \$\begingroup\$ @jiewmeng - thanks, it looks to me like there is a mistake in the question or supplied answer, as input A high and B low is the only combination (when enabled) that can produce a 1 at S3. \$\endgroup\$ Commented Oct 14, 2011 at 14:23
  • \$\begingroup\$ so my answer (bottom blue one) correct? btw, how would you go about solving this problem? I find myself very confused when theres negated inputs/outputs. what would you use to test these circuits out? \$\endgroup\$ Commented Oct 14, 2011 at 14:35
  • \$\begingroup\$ @jiewmeng - no, your answer doesn't work for the lower half of the first table when enable (A) is high. For testing, I would probably just simulate in Verilog or another suitable tool (e.g. a mixed SPICE simulator should be fine) For solving this I would probably just think a bit, but you could apply things like karnaugh maps and/or logic reduction software. \$\endgroup\$ Commented Oct 14, 2011 at 17:23
  • \$\begingroup\$ Sorry, I meant to include that I think the solution mentioned in my answer is the correct one (i.e. just the given answer with B and C swapped) \$\endgroup\$ Commented Oct 14, 2011 at 20:16

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.