If your introduction to digital electronics came more years ago than you’d care to mention, the chances are you did so with 5V TTL ... on this circuit that use diodes instead of a resistor ...