Wired logic connection

A wired logic connection is a logic gate that implements boolean algebra (logic) using only active and 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.

Open Collector AND gate

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 AND
INPUTOUTPUT
ABA AND B
000
010
100
111

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.


gollark: They can only USB-boot if you configure them to do that... which requires a working OS to poke the firmware or whatever.
gollark: Why does a server have an optical drive in it?
gollark: Of course you need another server. You always need another server.
gollark: z̵̿ͯȧ̈̓l̦̔͑g̫̜̑ŏ̙͑ ̟̅͆t̹̻҉̴̪̉e̷ͦ̑x̏͛͒҉҉͕̜t̥̹̏
gollark: I just have a cheap budgety one running Android, myself.

References

  1. M. Morris Mano, Digital Logic and Computer Design, Prentice-Hall, 1979 ISBN 0-13-214510-3, page 571
  • Digital Techniques, Heathkit Educational Systems,1990
  • Fundamental Physics, K.L Gomber and K.L Gogia,Pradeep Publications, 2005
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.