Toggle Toggle

Logic Level 3

Consider the following logic circuit:

When we toggle A, we would like the output to toggle as well. i.e. We would like the signal to propagate from A to X.

How many different ways can we set the remaining inputs so that this happens?


Image credit : https://word-to-html-images.s3.amazonaws.com


The answer is 15.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Geoff Pilling
Aug 23, 2019

B, C, and D must each be set to one.

And E, F, G, H can be set to anything but all ones.

15 \implies 15 ways

David Vreken
Aug 24, 2019

If any of B B , C C , or D D were 0 0 , then A B C D ABCD would be 0 0 no matter what A A is, which would mean A A could not toggle the output. Therefore, B = C = D = 1 B = C = D = 1 .

If E F G H EFGH is 1 1 , then X X would be 1 1 no matter what A A is, which would mean A A could not toggle the output. Therefore, E F G H = 0 EFGH = 0 .

Since E F G H = 0 EFGH = 0 , at least one of E E , F F , G G , and H H is 0 0 , which is all possible combinations except one (when E = F = G = H = 1 E = F = G = H = 1 ), for a total of 2 4 1 = 15 2^4 - 1 = \boxed{15} different ways.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...