Wired logic connection
A wired logic connection is a logic gate that implements boolean algebra (logic) using only passive components such as diodes and resistors. A wired logic connection can create an AND or an OR gate. Limitations include the inability to create a NOT gate, the lack of amplification to provide level restoration, and its constant ohmic heating for most logic which indirectly limits density of components and speed.
Wired logic works by exploiting the high impedance of open collector outputs by just adding a pull-up or pull-down resistor to a voltage source, or can be applied to push-pull outputs by using diode logic.
Active-high wired AND connection
See also:The wired AND connection is a form of AND gate. When using open collector or similar outputs, wired AND only requires a pull up resistor on the shared output wire. In this example, 5V is considered HIGH, and 0V is LOW. This gate can be easily extended with more inputs.
When all inputs are HIGH, they all present high impedance, and the pull-up resistor pulls output voltage HIGH, but if any input is LOW, they pull the output LOW:
When driving a load, the HIGH output is reduced by the pull-up's voltage drop, though the LOW output is almost 0V. But if diode logic is used, each input requires a diode, and the LOW output voltage will additionally be raised by the diode's forward voltage. Care should be taken to ensure the output still lies within valid voltage levels.
Active-high wired OR connection
See also:The wired OR connection electrically performs the Boolean logic operation of an OR gate using open emitter or similar inputs connected to a shared output with a pull-down resistor. This gate can also be easily extended with more inputs.
When all inputs are LOW, they all present high impedance, and the pull-down resistor pulls the output voltage LOW, but if any input is HIGH, they pull the output HIGH:
When driving a load, the LOW output is raised by the pull-down's voltage drop, though the HIGH output is almost the supply voltage. But if diode logic is used, each input requires a diode, and the HIGH output voltage will additionally be lowered by the diode's forward voltage.