2081 8

CSC116 ยท 2081 ยท 5 marks

Mention different types of shift registers. Explain SIPO with timing diagram.

Mention different types of shift registers. Explain SIPO with timing diagram. [5]

Digital LogicChapter 7: Registers and CountersShift registers

Quick answer

As stated in the notes, a shift register is any register capable of shifting its binary information either to the right or to the left. It consists of a chain of flip-flops connected in cascade, with the output of one flip-flop connected to the input of the next, and all flip-flops sharing a common clock pulse.

Types of Shift Registers and SIPO with Timing Diagram

Types of Shift Registers

The four different types of shift registers are:

TypeFull Form
SISOSerial In Serial Out
SIPOSerial In Parallel Out
PISOParallel In Serial Out
PIPOParallel In Parallel Out

Serial In Parallel Out (SIPO) Shift Register

Definition

In a SIPO shift register, data is entered one bit at a time serially (one bit per clock pulse) through a single input line, and all stored bits are available simultaneously at the output (parallel output) after all bits have been shifted in.

Circuit Diagram (4-bit SIPO using D Flip-Flops)

Serial                                         Parallel Outputs
Input
        +------+     +------+     +------+     +------+
SI ---->| D  Q |---->| D  Q |---->| D  Q |---->| D  Q |
        |  FF0 |     |  FF1 |     |  FF2 |     |  FF3 |
CLK --->| CLK  | --->| CLK  | --->| CLK  | --->| CLK  |
        +------+     +------+     +------+     +------+
           |            |            |            |
           Q0           Q1           Q2           Q3
        (Parallel Output Available at Q0, Q1, Q2, Q3)
  • Data enters at SI (Serial Input) of FF0.
  • At each clock pulse, data shifts from FF0 -> FF1 -> FF2 -> FF3.
  • After 4 clock pulses, all 4 bits are available simultaneously at Q0, Q1, Q2, Q3.

Operation (Loading the 4-bit data: 1 0 1 1, MSB first)

Clock PulseSI (Input)Q0Q1Q2Q3
Initial-0000
CLK 111000
CLK 200100
CLK 311010
CLK 411101

After 4 clock pulses, Q0=1, Q1=1, Q2=0, Q3=1 are available in parallel.


Timing Diagram

CLK  : __|--|__|--|__|--|__|--|__

SI   : __|1111|0000|1111|1111|__
         (bit1)(bit2)(bit3)(bit4)

Q0   : __|1111|0000|1111|1111|__

Q1   : ______|1111|0000|1111|__

Q2   : __________|1111|0000|1111

Q3   : _______________|1111|0000
  • Each bit shifts one stage to the right on every rising edge of the clock.
  • After 4 clock pulses, all outputs Q0 through Q3 hold the complete 4-bit word simultaneously.

Key Characteristics of SIPO

  • Input: Single serial line (1 bit per clock)
  • Output: All bits available simultaneously (parallel)
  • Clock pulses needed: Equal to the number of bits (n pulses for n-bit register)
  • Application: Used in serial-to-parallel data conversion, communication interfaces (e.g., UART receivers)

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.