Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Introduction
The logic gates are building blocks at digital electronics. They are used
in digital electronics to change on voltage level (input voltage) into
another (output voltage) according to some logical statement relating
them. A logic gate may have one or more inputs, but it has only one
output. The relationship between the possible values of input and output
voltage is expressed in the form of a table called
BOOLEAN ALGEBRA
Page 1 of 9
etc. The two values of logic statements one denoted by the binary
number 1 and 0. The binary number 1 is used to denote the high
value. The logical statements that logic gates follow are called
Boolean expressions
LOGIC STATES 10 HIGH OW +ve , -ve , ON , OFF , CLOSE , OPEN , RIGHT &
WRONG
(c) THE NOT GATE is a device that inverts the inputs. The NOT is a
one input and one output. The logic gate of NOT gate with A and Y
output is shown below :In Boolean algebra, bar symbol ( _ ) is referred
as the NOT. The Boolean expression: X’ =Y, indicates Y equals NOT A
Page 2 of 9
The Logic OR Gate is a type of digital logic circuit whose output goes
HIGH to a logic level 1 only when one or more of its inputs are HIGH.
Page 3 of 9
Digital Logic “OR” Gate Types
B A Q
0 0 0
0 1 1
2-input OR Gate 1 0 1
1 1 1
C B A Q
0 0 0 0
Page 4 of 9
3-input OR Gate 0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
Like the AND gate, the OR function can have any number of individual
inputs. However, commercial available OR gates are available in 2, 3, or 4
inputs types. Additional inputs will require gates to be cascaded together
for example.
Multi-input OR Gate
Page 5 of 9
The Boolean Expression for this 6-input OR gate will therefore be:
Q = (A+B)+(C+D)+(E+F)
In other words:
A OR B OR C OR D OR E OR F gives Q
If the number of inputs required is an odd number of inputs any “unused”
inputs can be held LOW by connecting them directly to ground using
suitable “Pull-down” resistors.
Commonly available digital logic OR gate IC’s include:
TTL Logic OR Gates
Page 6 of 9
In the next tutorial about Digital Logic Gates, we will look at the digital
logic NOT Gate function as used in both TTL and CMOS logic circuits as
well as its Boolean Algebra definition and truth table.
The OR Gate.
Page 7 of 9
1. The output Y is voltage at C with respect to earth.
(i) If the switch A and B are kept open(A=1, B=0), then bulb does
not glow , hence Y=0
(ii) If switch A is kept closed and B is kept open (A=1, B=0), then bulb
does not glow, hence Y=0
(iii) If switch A is kept open and B is kept closed (A=0, B=1), then bulb
does not glow, hence Y=0
Page 8 of 9
(iv) If switch A and B both are kept closed(A=1, B=1), then bulb glows,
hence Y=1
TRUTH TABLE:
Page 9 of 9