Professional Documents
Culture Documents
Design Counter and Shift Register Circuits 01
Design Counter and Shift Register Circuits 01
CIRCUITS
V S IMBULPITIYA
INSTRUCTOR (ELECTRONIC)
TECHNICAL COLLAGE GAMPAHA
DIGITAL LOGIC GATES
A Digital Logic Gate is an electronic circuit which makes logical decisions based on
the combination of digital signals present on its inputs
Digital logic gates can have more than one input, for example, inputs A, B, C, D etc.,
but generally only have one digital output, (Q). Individual logic gates can be
connected or cascaded together to form a logic gate function with any desired
number of inputs, or to form combinational and sequential type circuits, or to
produce differnt logic gate functions from standard gates.
DIGITAL LOGIC GATES
LOGIC Families
Standard commercially available digital logic gates are available in two basic
families or forms,
1. TTL which stands for Transistor-Transistor Logic such as the 7400 series,
TTL logic IC’s use NPN and PNP type Bipolar Junction Transistors
2. CMOS which stands for Complementary Metal-Oxide-Silicon which is the 4000
series of chips.
CMOS logic IC’s use complementary MOSFET or JFET type Field Effect
Transistors for both their input and output circuitry.
As well as TTL and CMOS technology, simple digital logic gates can also be made
by connecting together diodes, transistors and resistors to produce RTL, Resistor-
Transistor logic gates, DTL, Diode-Transistor logic gates or ECL, Emitter-Coupled
logic gates but these are less common now compared to the popular CMOS
family.
DIGITAL LOGIC GATES
Small Scale Integration or (SSI) – Contain up to 10 transistors or a few gates within a single package such as
AND, OR, NOT gates.
Medium Scale Integration or (MSI) – between 10 and 100 transistors or tens of gates within a single
package and perform digital operations such as adders, decoders, counters, flip-flops and multiplexers.
Large Scale Integration or (LSI) – between 100 and 1,000 transistors or hundreds of gates and perform
specific digital operations such as I/O chips, memory, arithmetic and logic units.
Very-Large Scale Integration or (VLSI) – between 1,000 and 10,000 transistors or thousands of gates and
perform computational operations such as processors, large memory arrays and programmable logic devices.
Super-Large Scale Integration or (SLSI) – between 10,000 and 100,000 transistors within a single
package and perform computational operations such as microprocessor chips, micro-controllers, basic PICs and
calculators.
Ultra-Large Scale Integration or (ULSI) – more than 1 million transistors – the big boys that are used in
computers CPUs, GPUs, video processors, micro-controllers, FPGAs and complex PICs.
DIGITAL LOGIC GATES
Moore’s Law
Moore's law is that the number of transistors on integrated circuits doubles about
every two years. Intel executive David House said the period was "18 months". He
predicted that period for a doubling in chip performance:
DIGITAL LOGIC GATES
Most digital logic gates and digital logic systems use “Positive logic”, in which a logic
level “0” or “LOW” is represented by a zero voltage, 0v or ground and a logic level “1”
or “HIGH” is represented by a higher voltage such as +5 volts, with the switching from
one voltage level to the other, from either a logic level “0” to a “1” or a “1” to a “0”
being made as quickly as possible to prevent any faulty operation of the logic circuit.
There also exists a complementary “Negative Logic” system in which the values and
the rules of a logic “0” and a logic “1” are reversed
DIGITAL LOGIC GATES
TTL Input & Output Voltage Levels
DIGITAL LOGIC GATES
BUFFER
A buffer passes its input directly to the output without changing it. The
main purpose of a buffer is to regenerate the input by using strong high
and a strong low signals. This can be required if the input signal is not as
strong and cannot directly be passed on to other components. A buffer
has one input and one output, and its output always equals its input.
DESIGN COUNTER AND SHIFT REGISTER CIRCUITS
NOT Gate
A NOT gate, also referred to as an inverter, produces an output that is the opposite to its
input. Therefore, its behavior is the opposite of a buffer. If the input is high (1), the output is
low (0), and conversely when the input is low (0), the output is high (1.
AND Gate
A 2-input AND gate outputs a high (1) signal only when both inputs are high (1), otherwise it
outputs a low (0).
DIGITAL LOGIC GATES
NAND Gate
A 2-input NAND gate outputs a high (1) so long both inputs are not high (1),
otherwise it outputs a low (0).
OR Gate
The OR gate outputs a high (1) if any of its inputs are high (1), otherwise it
outputs a low (0). Note that the output is also high (1) when both inputs are high
(1), as it is sufficient that at least one input is high (1).
DESIGN COUNTER AND SHIFT REGISTER CIRCUITS
NOR Gate
The NOR gate outputs a high (1) only when both inputs are low (0), otherwise it
outputs a low (0).
DESIGN COUNTER AND SHIFT REGISTER CIRCUITS
XOR Gate
The XOR gate (Exclusive-OR gate) outputs a high (1) only when one of the inputs is
high (1) exclusively, but not both. In other words, it outputs a high (1) only when both
inputs differ. Otherwise it outputs a low (0). This is a difference to the OR gate where
also both inputs can be high (1) in order to turn the output high (1).
XNOR Gate
The XNOR gate (Exclusive-NOR gate) outputs a high (1) when both inputs are the
same, otherwise it outputs a LOW.
DESIGN COUNTER AND SHIFT REGISTER CIRCUITS
DIGITAL LOGIC GATES
Assignment
Design 2-input Transistor Gates for following logic functions
OR Gate
NAND Gate
NOR Gate
Design Ex-OR Function Realization using NAND gates
Ex-NOR Function Realization using NAND gates
DIGITAL LOGIC GATES