0
\$\begingroup\$

I have found this problem in my textbook.

The system has 3 inputs. The first two, A and B, represent a number in the range 0 to 2 (3 is not used). The third input, C represents a second number in the range 0 to 1. The output, f, is to be 1 if and only if the two numbers equal to each other.

(1) Create the truth table of the system.

(2) Create the k-maps of the system

(3) Get the express f(A, B, C) in minimum SOP form.

(4) Get the express f(A, B, C) in minimum POS form.

I have tried this way:

c A B f

0 0 0 1

0 0 1 0

0 1 0 0

0 1 1 x

1 0 0 0

1 0 1 0

1 1 0 0

1 1 1 x

As f=1 when AB == C .

What does it mean by "The output, f, is to be 1 if and only if the two numbers equal to each other." ? What will be the truth table?

\$\endgroup\$
23
  • \$\begingroup\$ It means that if AB == C then f=1. Otherwise it is 0. What is not clear? \$\endgroup\$
    – Eugene Sh.
    Commented Mar 24, 2017 at 17:42
  • 1
    \$\begingroup\$ LOL could hey have written that any more confusing... \$\endgroup\$
    – Trevor_G
    Commented Mar 24, 2017 at 17:43
  • 1
    \$\begingroup\$ @Trevor Indeed that is very confusing. I'm still stuck at the part that says "range 0 to 2 (3 is not used)"... So does that mean you only have 00, 01, 10, and you take out 11 in terms of binary for A and B \$\endgroup\$
    – 12Lappie
    Commented Mar 24, 2017 at 17:45
  • 1
    \$\begingroup\$ It's one of those questions where you have to start out your answer with "ASSUMING A is Binary Bit 1, and B is Binary Bit 0, and C is a single Binary bit... THEN..." \$\endgroup\$
    – Trevor_G
    Commented Mar 24, 2017 at 17:49
  • 1
    \$\begingroup\$ @Trevor Which is perfectly legit for self-learning. \$\endgroup\$
    – Eugene Sh.
    Commented Mar 24, 2017 at 17:50

1 Answer 1

0
\$\begingroup\$

What does it mean by "The output, f, is to be 1 if and only if the two numbers equal to each other." ?

All that means is that AB == C, then f=1. So if AB=1 & C=1, f=1. Same thing happens if AB=0 & C=0, f=1.

So from the question, I gathered that 0 to 2 means that you have A and B in terms of Binary as 00, 01, 10, and 11 is a don't care. With that being said, the truth table would look as follows:

  • AB | C | f
  • 00 | 0 | 1
  • 01 | 0 | 0
  • 10 | 0 | 0
  • 11 | 0 | X
  • 00 | 1 | 0
  • 01 | 1 | 1
  • 10 | 1 | 0
  • 11 | 1 | X

You can very easily extract the K-maps parameter from the truth table as it is essentially the same thing.

\$\endgroup\$
9
  • \$\begingroup\$ I'd forgotten all about k-maps.. Did then at the U... never used them since. \$\endgroup\$
    – Trevor_G
    Commented Mar 24, 2017 at 18:08
  • \$\begingroup\$ @Trevor You want me to include it in there as well? \$\endgroup\$
    – 12Lappie
    Commented Mar 24, 2017 at 18:11
  • \$\begingroup\$ Yes it will be very helpful \$\endgroup\$
    – Leolime
    Commented Mar 24, 2017 at 18:12
  • 1
    \$\begingroup\$ The person asking the question wants the answer but I think you have all you need in the truth table. K-maps are simply truth tables reorganized \$\endgroup\$
    – 12Lappie
    Commented Mar 24, 2017 at 18:13
  • 1
    \$\begingroup\$ Oh that's what I was doing all these time... thanks a lot \$\endgroup\$
    – Leolime
    Commented Mar 24, 2017 at 18:31

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.