0
\$\begingroup\$

1.regarding to logic gate concept i have to design the circuit with 4 bits multiple of 3 detector. but when i trying to make logic gate and truth table it seems to me it's wrong so i have no idea how can i do design circuit with 4 bits multiple 3 detector with truth table and circuit shape. 2.what actually detector do in logic gates and what is the affection of that on truth table? enter image description here

\$\endgroup\$
  • \$\begingroup\$ Can you explain a bit more what you want? I'm guessing a '4 bits multiple of 3 detector' is a circuit that outputs high when the input is a multiple of 3? \$\endgroup\$ – Hearth Apr 27 '17 at 11:28
  • \$\begingroup\$ Following @Felthry's question, is this a 'detect the numbers 0, 3, 6, 9, 12, 15' circuit? \$\endgroup\$ – TonyM Apr 27 '17 at 11:48
  • \$\begingroup\$ This isn't, try with 0011... It gives out 0 \$\endgroup\$ – Simus994 Apr 27 '17 at 11:54
  • \$\begingroup\$ the outputs high when the input is a multiple of 3 \$\endgroup\$ – Pooya Mahmoodi Apr 27 '17 at 11:59
  • \$\begingroup\$ How are you drawing the truth table? \$\endgroup\$ – Hearth Apr 27 '17 at 12:03
0
\$\begingroup\$

You first have to write down the truth table, get the logic function f(x1,x2,x3,x4) and minimize (if possible, but I think in this case is not) it with the Karnaugh Maps method. Then you can draw down the circuit using some AND ports (with 4 inputs) and a OR port (with 6 inputs if the f() is not minizable). Let's try.

Edit: I say 6 inputs because you have 6 multiples of 3 in 0-15 range

\$\endgroup\$
  • \$\begingroup\$ that was in my mind but how to find out the output in truth table?as you know we write the Kharnaug Maps corresponding to the row which we have 1 as out put.this my main problem i don't know where is 1 in truth table \$\endgroup\$ – Pooya Mahmoodi Apr 27 '17 at 13:19
  • \$\begingroup\$ If you have 4 inputs you can have 16 binary combination that correspond to 16 numbers, from 0 to 15. Which of those numbers are 3 multiples? 0,3,6,9,12,15. You have to put 1 for all this numbers. And 0 for others obviously... \$\endgroup\$ – Simus994 Apr 27 '17 at 13:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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