ELECTRONIC GATES :
To build a functionally complete logic system, relays, valves (vacuum
tubes), or transistors can be used. The simplest family of logic gates
using bipolar transistors is called resistor-transistor logic (RTL). Unlike
simple diode logic gates (which do not have a gain element), RTL gates
can be cascaded indefinitely to produce more complex logic functions.
RTL gates were used in early integrated circuits. For higher speed and
better density, the resistors used in RTL were replaced by diodes resulting
in diode-transistor logic (DTL). Transistor-transistor logic (TTL) then
supplanted DTL. As integrated circuits became more complex, bipolar
transistors were replaced with smaller field-effect
transistors (MOSFETs); see PMOS and NMOS. To reduce power
consumption still further, most contemporary chip implementations of
digital systems now use CMOS logic. CMOS uses complementary (both
n-channel and p-channel) MOSFET devices to achieve a high speed with
low power dissipation.
For small-scale logic, designers now use prefabricated logic gates from
families of devices such as the TTL 7400 series by Texas Instruments,
the CMOS 4000 series by RCA, and their more recent descendants.
Increasingly, these fixed-function logic gates are being replaced
by programmable logic devices, which allow designers to pack a large
number of mixed logic gates into a single integrated circuit. The fieldprogrammable nature of programmable logic devices such as FPGAs has
removed the 'hard' property of hardware; it is now possible to change the
logic design of a hardware system by reprogramming some of its
components, thus allowing the features or function of a hardware
implementation of a logic system to be changed.
Electronic logic gates differ significantly from their relay-and-switch
equivalents. They are much faster, consume much less power, and are
much smaller (all by a factor of a million or more in most cases). Also,
there is a fundamental structural difference. The switch circuit creates a
continuous metallic path for current to flow (in either direction) between
its input and its output. The semiconductor logic gate, on the other hand,
acts as a high-gain voltage amplifier, which sinks a tiny current at its
input and produces a low-impedance voltage at its output. It is not
possible for current to flow between the output and the input of a
semiconductor logic gate.
Another important advantage of standardized integrated circuit logic
families, such as the 7400 and 4000 families, is that they can be
cascaded. This means that the output of one gate can be wired to the
inputs of one or several other gates, and so on. Systems with varying
degrees of complexity can be built without great concern of the designer
for the internal workings of the gates, provided the limitations of
each integrated circuit are considered.
The output of one gate can only drive a finite number of inputs to other
gates, a number called the 'fanout limit'. Also, there is always a delay,
called the 'propagation delay', from a change in input of a gate to the
corresponding change in its output. When gates are cascaded, the total
propagation delay is approximately the sum of the individual delays, an
effect which can become a problem in high-speed circuits. Additional
delay can be caused when a large number of inputs are connected to an
output, due to the distributed capacitance of all the inputs and wiring and
the finite amount of current that each output can provide.
Boolean ALGEBRA
Boolean Algebra is the mathematics we use to analyse digital gates and
circuits. We can use these Laws of Boolean to both reduce and
simplify a complex Boolean expression in an attempt to reduce the
number of logic gates required. Boolean Algebra is therefore a system
of mathematics based on logic that has its own set of rules or laws
which are used to define and reduce Boolean expressions.
The variables used in Boolean Algebra only have one of two possible
values, a logic 0 and a logic1 but an expression can have an
infinite number of variables all labelled individually to represent inputs
Symbol
Truth Table
A
A.B
1
Boolean Expression Q = A.B
The OR gate is an electronic circuit that gives a high output only if one
or more of its input are high. The Plus (+) is used to show the OR
operation.
Symbol
Truth Table
A+B
Read as A OR B gives Q
NOT Gate
The NOT gate is an electronic circuit that produces an inverted version of
the output at its input. It is also known as inverter. If the input variable is
A, the inverted output is known as NOT A.
Symbol
Truth Table
Distinctive shape
c
Rectangular shape
(IEEE Std 91/91a-
1991
Truth table
INPUT OUTPUT
A AND B
AN
D
INPUT OUTPUT
A OR B
OR
NO
T
INPUT
OUTPUT
NOT A
AND
NAND
OR
NOR
EX-OR
EX-NOR
The following table gives a list of the common logic functions and their
equivalent Boolean notation.
Application of OR Gates :
Wherever the occurrence of any one or more than one event is needed
to be detected or some actions are to be taken after their occurrence, in
all those cases OR gates can be used. It can be explained with an
example. Suppose in an industrial plant if one or more than one
parameter exceeds the safe value, some protective measure is needed to
be done. In that case OR gate is used. We are going to show this with
the help of a diagram.
are commonly used to build square wave oscillators which are used for
generating clock signals. The advantage of using these is they consume
low power and their interfacing is very easy compared to other logic
gates.
The above figure shows the most fundamental circuit made of ring
configuration to generate square wave oscillator. The frequency of this
type generator is given by
Where n represents the number of
inverters and tp shows the propagation delay per gate.
De-Morgan's theorems:
Before discussing De-Morgan's theorems we should know about
complements. Complements are the reverse value of the existing value.
We are trying to say that as there are only two digits in binary number
system 0 & 1. Now if A = 0 then complement of A will be 1 or A = 1
There are actually two theorems that were put forward by De-Morgan.
De Morgans theorem can be stated as follows:-
Theorem 1:
The compliment of the product of two variables is equal to the
sum of the compliment of each variable.
Thus according to De-Morgan's laws or De-Morgan's theorem if A and
B are the two variables or Boolean numbers.
The left hand side (LHS) of this theorem represents a NAND gate
with inputs A and B, whereas the right hand side (RHS) of the
theorem represents an OR gate with inverted inputs.
This OR gate is called as Bubbled OR.
Theorem 2:
The compliment of the sum of two variables is equal to the
product of the compliment of each variable.
Thus according to De Morgans theorem if A and B are the two variables
then.
The LHS of this theorem represents a NOR gate with inputs A and
B, whereas the RHS represents an AND gate with inverted inputs.