Electronic – Simple logic gate

digital-logicdiodes

Just a quick question on logic gates – in this case specifically on the diode. I've concluded for the following configurations of A and B (0,0 ; 0,1 ; 1,0) respectively \$V_{out}\$ returns 1, i.e. 5V because the circuit is open. Does the same apply for the case when both A and B have values 1 (meaning \$V_{out}\$ returns 1 too)?

diagram

I'm guessing it's the case since voltage in parallel circuits is the same and they do not sum up upon converging at the next branch.

Best Answer

Because of the two diodes at the inputs, neither A nor B can pull the output low.

Therefore the output is always high.

Assuming the load on Vout is high-impedance, only if A or B were above 6 V or so would they have any effect on the output voltage. In that case they could pull the output above 5 V.