2077 8

CSC116 ยท 2077 ยท 5 marks

What is the difference between a serial and parallel transfer? Explain how to convert serial data to parallel and parallel data to serial. What type of register is needed?

What is the difference between a serial and parallel transfer? Explain how to convert serial data to parallel and parallel data to serial. What type of register is needed? [5]

Digital LogicChapter 7: Registers and CountersShift registers

Quick answer

The Shift Register is the fundamental register used for both conversions. It supports the following modes (from ctx3): SISO - Serial In, Serial Out; SIPO - Serial In, Parallel Out; PISO - Parallel In, Serial Out.

Serial vs Parallel Transfer, Conversion Methods, and Required Register Types


1. Difference Between Serial and Parallel Transfer

FeatureSerial TransferParallel Transfer
Data movementOne bit per clock pulse, in sequenceAll bits transferred simultaneously in a single clock pulse
SpeedSlower (n clock pulses for n bits)Faster (only 1 clock pulse needed)
Wires/Lines requiredFewer (single data line)More (one line per bit)
Hardware complexitySimpler connectionsMore complex wiring

From notes (ctx6): "In case of serial operation, digits are put in sequence, one digit for each clock pulse, whereas in case of parallel operation all digits get shifted simultaneously during a single clock pulse."


2. Types of Registers Needed

The Shift Register is the fundamental register used for both conversions. It supports the following modes (from ctx3):

  • SISO - Serial In, Serial Out
  • SIPO - Serial In, Parallel Out
  • PISO - Parallel In, Serial Out
  • PIPO - Parallel In, Parallel Out

3. Converting Serial Data to Parallel (Serial-In Parallel-Out: SIPO)

Register Needed: SIPO Shift Register

Working Principle:

  • Data bits are fed into the register one bit at a time through the serial input line, synchronized with each clock pulse.
  • After n clock pulses (for an n-bit register), all bits are stored in the flip-flops.
  • All stored bits are then read out simultaneously from the parallel output lines.

Example (4-bit SIPO):

Suppose serial input data = 1011 (MSB first)

Clock PulseSerial InputQ3Q2Q1Q0
Initial-0000
CP 111000
CP 200100
CP 311010
CP 411101

After 4 clock pulses, parallel outputs Q3 Q2 Q1 Q0 = 1011 are available simultaneously.

From notes (ctx1): "In SIPO the data is stored serially but output is transferred in parallel."


4. Converting Parallel Data to Serial (Parallel-In Serial-Out: PISO)

Register Needed: PISO Shift Register

Working Principle:

  • All n data bits are loaded simultaneously into the register through parallel input lines using a parallel load control signal (one clock pulse).
  • The bits are then shifted out one at a time through the serial output line, one bit per clock pulse.
  • After n clock pulses, all bits have been transmitted serially.

Example (4-bit PISO):

Suppose parallel input data = 1101

Clock PulseOperationSerial Output
CP 1Parallel Load: 1101 loaded-
CP 2Shift right1 (MSB out)
CP 3Shift right1
CP 4Shift right0
CP 5Shift right1 (LSB out)

Serial output sequence = 1 1 0 1

From notes (ctx1): "In PISO the data inputs are provided in parallel form and the output is transferred in serial sequence."


5. Summary

ConversionRegister TypeInput ModeOutput Mode
Serial to ParallelSIPOSerial (1 bit/clock)Parallel (all bits at once)
Parallel to SerialPISOParallel (all bits at once)Serial (1 bit/clock)

The shift register with appropriate control signals (parallel load, shift right/left, clock pulse) as described in ctx2 is the essential hardware component for both conversions.

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