Module 10
BASICS OF REGISTERS
10.1 Introduction:
Registers and counters are examples of MSI (Medium Scale Integration) sequential logic circuits. Since
both counters and registers are made up of a cascaded arrangement of several flip flops, either with or
without combinational logic devices, they have a similar design. Both are crucial components of
sequential logic and a variety of digital systems use the many counter and register kinds that are
available in integrated circuit (IC) form. A flip-flop is a type of one-bit memory cell that can be used to
store digital information. We must utilize a set of flip-flops to improve the storage capacity in terms of
bits. A register is a set of flip-flops like this one. An n-bit word can be stored in the n-bit register, which is
made up of n flip-flops. The register is employed in a variety of procedures. The CPU uses these registers
to carry out the operations. The system's faded inputs will be stored in the registers. The system's
output will be stored in the registers. Three fundamental procedures were carried out by registers. Get
the facts i.e. fetching, interpret it means decoding, then put it into action i.e. execution.
10.2 Shift Register
It is possible to transfer the binary data between flip-flops inside a register. Shift registers are the
registers that permit these kinds of data transfers means will shift the bits to the right direction. A digital
device called a shift register is used to store and transport data. The information that has to be saved
may be found at the output of an encoding matrix prior to being transmitted to the primary digital
system for processing, or it could be found at the output of a microprocessor prior to being delivered to
the output devices' driver circuitry. A shift register is essentially made up of multiple single-bit "D Type
Data Latches," one for each data bit, which can be either logic "0" or “1". These latches are connected in
a serial fashion so that the output from one data latch is used as the input for the latch after that, and so
forth.
An illustration of a 4-bit shift register may be found below. These configurations are quite helpful,
especially when converting parallel to serial and serial to parallel data. Every clock cycle in the circuit
below, a pulse that appears at "serial in" would be transferred from one flip-flop's output to the next.
Therefore, after four clock cycles, a serial bit pattern at the input—four bits long in our example—would
manifest as four parallel bits in the outputs, Q0–Q3. This is an example of a serial-to-parallel scenario.
Fig: Diagram of Shift Register
In addition, the shift registers can be set up to provide unique counter types that can be utilized for a
variety of arithmetic operations, including complementation, division, multiplication, and subtraction. A
shift register's storage capacity is equal to the total number of digital data bits it can hold, which is
determined by how many flip-flops were employed in the shift register's construction. Since each flip-
flop has a single bit of data storage capacity, the shift register's storage capacity is equal to the number
of flip-flops that are employed.