Professional Documents
Culture Documents
L3 Logic Gate
L3 Logic Gate
Logic Gates
1
An introduction to logic
gates and their uses
Opening and closing gates
A gate is a simple electronic circuit that has a
single output voltage that corresponds to one of
the two binary values. These gates are often
referred to as ‘logic gates’ and the output voltages
as ‘logic 0’ or ‘logic
1’ instead of binary 0 and 1
Binary zero is a voltage close to 0 V and binary
one by a voltage close to +5 V
An introduction to logic
gates and their uses
What decides the output voltage?
We connect one or more voltages to the input of the
gate.These input voltages are either logic 0 or logic
1 levels. The logic gate looks at the input voltages
‘decides’, the output depending on its design, what
voltage to produce at the output of the circuit.
There are only four basic designs of gate. They are
called the NOT gate, the AND gate, the OR gate and
the XOR gate.
An introduction to logic
gates and their uses
The NOT gate
• It has only one input and performs a very simple
function. It simply reverses the binary value. If we
put a logic 1 into it, we get a logic 0 at the output.
An introduction to logic
gates and their uses
enablein
Device Bus
enableout
34
Same idea as the tri-state buffer
• This circuit has the essential ingredients to make a
tri-state buffer.
• Recall that tri-state buffers are used in conjunction
with buses.
• When one has several devices that could place their
information on the bus (“drive the bus”) only one of
them should.
– If two devices attempt to drive the bus to opposite voltage
levels, there will be a short.
A E Output
0 0 Z (High impedance)
0 1 0
1 0 Z (High impedance)
1 1 1