Hello, if I want the output to be 0 when the input combination is 00000 which logic gate should I use? I was thinking either a 5 input OR gate or 5 input AND gate. Does matter which one I use? Please explain.
-
You need to list what the output is for the other combinations of the 5 inputs. If the output is to be 1 for all other inputs, then this is just a 5 input low true AND gate, which translates into a 5 input high true OR gate.
7432: Quad 2-input OR gate is the only one I know of, but these 4 gates can be combined into one 5 input OR gate.
If you can't decide between an OR and an AND gate, and, worse yet, you think they are the same, you need to do a lot more studying.
7432: Quad 2-input OR gate is the only one I know of, but these 4 gates can be combined into one 5 input OR gate.
If you can't decide between an OR and an AND gate, and, worse yet, you think they are the same, you need to do a lot more studying.
-
OR (almost like additon):
1+1+1 = 1
1+1+0 = 1
1+0+0 = 1
0+0+0 = 0
AND (almost like multiplication):
(1)(1)(1)=1
(1)(1)(0) = 0
(1)(0)(0) =0
Therefore, you a 5-input AND gate.
You can use OR gate if you have an inverter which makes it a NAND gate (OR with output inverter = NAND gate).
1+1+1 = 1
1+1+0 = 1
1+0+0 = 1
0+0+0 = 0
AND (almost like multiplication):
(1)(1)(1)=1
(1)(1)(0) = 0
(1)(0)(0) =0
Therefore, you a 5-input AND gate.
You can use OR gate if you have an inverter which makes it a NAND gate (OR with output inverter = NAND gate).
-
If that is the only condition you have to satisfy then either could be used
-
OR....that would be 100%
With the AND you have a chance of not getting getting not getting what you want, which would wreck your outcome.
With the AND you have a chance of not getting getting not getting what you want, which would wreck your outcome.