Wired logic connection

Open Collector AND gate

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. The limitations are the inability to create a NOT gate and the lack of level restoration.

The wired AND connection

Wired AND connection using diodes and a resistor

The wired AND connection is a form of AND gate. It uses a pull up resistor and one diode per input to create this function.

The positive voltage from the source is directed away from the output C and towards A and B via the diodes connected directed towards the inputs. When positive logic that is equal to or greater than that of the source is applied to all inputs the source voltage is directed to the output. The AND gate is capable of an arbitrary number of inputs.

The wired AND function can be achieved by simply tying gate outputs together to a common-collector pull-up resistor. The wired AND function below is achieved by using open collector TTL gates. This is commonly called Dot OR.

The output C is determined by the inputs at A and B according to the truth table (right).[1]

Truth table for two input AND

The wired OR connection

The wired OR connection electrically performs the Boolean logic operation of an OR gate, using a pull down resistor and one diode per input.

Wired OR connection using diodes and a resistor

Voltage from any input is directed through its corresponding diode directly to the output C. If no voltage/logic exists on any input there will be no output. The positive voltage source that is present in the AND connection is replaced by a ground in the OR connection. Also, notice the positioning of the diodes as compared to the AND gate. Similarly, the OR connection is capable of an arbitrary number of inputs and only one output.

The output C is determined by the inputs at A and B according to the truth table (not shown) and square wave (below).

Logical OR of two signals A and B

Reversed levels

A wired AND can be converted into a wired OR, and vice versa, by using signals with reversed levels. Common examples are signals like INT or RST.

Compatibility of wired AND OR using diodes

With the wired AND or OR using diodes it should be cautioned that the output voltage will be shifted positive or negative by a diode drop so that it is likely not compatible with the primary logic family.


References

  1. M. Morris Mano, Digital Logic and Computer Design, Prentice-Hall, 1979 ISBN 0-13-214510-3, page 571

External links

This article is issued from Wikipedia - version of the Thursday, August 21, 2014. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.