2075 10

CSC116 ยท 2075 ยท 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

A Shift Register is required for both conversions. Specifically: Serial to Parallel; Parallel to Serial; Data bits are shifted in one bit per clock pulse through the serial input (D-input of the first flip-flop).

Serial vs Parallel Transfer, and Serial-Parallel Conversion

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. Type of Register Needed

A Shift Register is required for both conversions. Specifically:

  • Serial to Parallel: A Serial In Parallel Out (SIPO) shift register is used.
  • Parallel to Serial: A Parallel In Serial Out (PISO) shift register is used.

3. Serial to Parallel Conversion (Using SIPO Register)

A SIPO (Serial In, Parallel Out) register accepts data one bit at a time through a single serial input line and makes all bits available simultaneously at the output.

Working:

  • Data bits are shifted in one bit per clock pulse through the serial input (D-input of the first flip-flop).
  • Each flip-flop passes its stored bit to the next on each clock pulse.
  • After n clock pulses (for an n-bit register), all n bits are stored and available simultaneously at the parallel outputs Q1, Q2, ... Qn.

Example (4-bit SIPO):

Suppose serial input is: 1 0 1 1 (MSB first)

Clock PulseSerial InputQ3Q2Q1Q0
Initial-0000
111000
200100
311010
411101

After 4 clock pulses, parallel output = 1 0 1 1 (available all at once).


4. Parallel to Serial Conversion (Using PISO Register)

A PISO (Parallel In, Serial Out) register accepts all data bits simultaneously through parallel input lines and outputs them one bit at a time through a single serial output line.

Working:

  • A parallel load control signal is applied, loading all n bits into the register simultaneously in one clock pulse.
  • Then, on each subsequent clock pulse, bits are shifted out one by one through the serial output (from the last flip-flop).
  • After n clock pulses, all bits have been transmitted serially.

Example (4-bit PISO):

Suppose parallel input loaded = 1 0 1 1

Clock PulseOperationSerial Output
0Parallel Load: 1 0 1 1-
1Shift right1
2Shift right1
3Shift right0
4Shift right1

Serial output sequence: 1, 1, 0, 1 (LSB first in this case).


Summary

ConversionRegister UsedClock Pulses Needed
Serial โ†’ ParallelSIPOn pulses to fill, then read all at once
Parallel โ†’ SerialPISO1 pulse to load, n pulses to shift out

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

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