Opentopia Directory Encyclopedia Tools

OR gate

Encyclopedia : O : OR : ORG : OR gate


This article is about OR in the sense of an electronic logic gate (e.g. CMOS 4071). For OR in the purely logical sense, see Logical disjunction, for other uses of similar terms, see OR. For logic gates generally, see Logic Gate

Function

INPUT OUTPUT
A B A OR B
0 0 0
0 1 1
1 0 1
1 1 1

The OR gate is a digital logic gate that behaves according to the truth table to the right. A HIGH output results if one or both the inputs to the gate are HIGH. If neither input is HIGH, a LOW output results.



Symbols

There are two symbols for OR gates: the 'military' symbol and the 'rectangular' symbol. For more information see Logic Gate Symbols

'Military' OR Symbol
'Military' OR Symbol

'Rectangular' OR Symbol
'Rectangular' OR Symbol



Hardware Description and Pinout

OR Gates are basic logic gates, and as such they are recognised in TTL and CMOS ICs. The standard, 4000 series, CMOS IC is the 4071, which includes four independent, two-input, OR gates. The pinout diagram is as follows:

Pinout Diagram of a 4071 Quad OR DIL-format IC
Enlarge
Pinout Diagram of a 4071 Quad OR DIL-format IC

1  Input A1
2  Input B1
3  Output Q1
4  Output Q2
5  Input B2
6  Input A2
7  Vss
8  Input A3
9  Input B3
10 Output Q3
11 Output Q4
12 Input B4
13 Input A4
14 Vdd

This device is available from most semiconductor manufacturers such as Philips. It is usually available in both through-hole DIL and SOIC format. Datasheets are readily available in most Datasheet Databases.

As well as the standard 2-Input OR Gate, 3- and 4-Input OR Gates are also available:

Alternatives

If no specific OR gates are available, one can be made from NAND gates in the configuration shown below. Interestingly, any logic gate can be made from a combination of NAND gates

OR Gate Constructed Using Only NAND Gates
OR Gate Constructed Using Only NAND Gates

 


From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.

Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: