2082 9

BIT254 ยท 2082 ยท 5 marks

A bit stream 11011001 is transmitted using a standard CRC method. The generator polynomial is x3 + x - 1. Show the actual bit string transmitted and show the error checking on the receiver side.

A bit stream 11011001 is transmitted using a standard CRC method. The generator polynomial is $x^3 + x - 1$. Show the actual bit string transmitted and show the error checking on the receiver side. [5]

Network and Data CommunicationsChapter 5: Error Detection and ControlCRC transmitted frame encodingNumerical: CRC error detection

CRC (Cyclic Redundancy Check) - Worked Solution

Given

  • Message bit stream (M): 11011001 (8 bits)
  • Generator polynomial: $x^3 + x - 1$
  • In modulo-2 (GF(2)) arithmetic, $-1 \equiv +1$, so $x^3 + x - 1 = x^3 + x + 1$
  • Generator (G): 1011 (4 bits, degree $r = 3$)

Solution

Step 2.1: Append $r = 3$ zeros to the message

$$M' = 11011001 ,|, 000 = 11011001000$$

Step 2.2: Sender-side XOR division of 11011001000 by 1011

        10000101   <-- quotient
      ______________
1011 ) 11011001000
       1011
       ----
        1101
        1011
        ----
         01100
          1011
          ----
           01110
            1011
            ----
             01011
              1011
              ----
               00000
                 000  <-- remainder (CRC)

Step trace (leading-bit alignment, XOR when leading bit = 1):

Working segmentXOR withResultBring down
110110110110+1 โ†’ 1101
110110110110+0 โ†’ 1100
110010110111+0 โ†’ 1110
111010110101+1 โ†’ 1011
101110110000+0 โ†’ 0000
0000(leading 0, no XOR)000end

Remainder (CRC) = 000

Step 2.3: Actual transmitted bit string

$$\text{Transmitted} = M ,|, \text{CRC} = 11011001 ,|, 000$$

$$\boxed{11011001000}$$

Step 2.4: Receiver-side error checking

Receiver divides the received frame 11011001000 by the same generator 1011:

1011 ) 11011001000
       ... (identical division) ...
                 000  <-- remainder

Remainder = 000

Step 2.5: Decision

RemainderDecision
000No error - accept the frame
non-zeroError detected - reject / retransmit

Since the remainder is 000, the receiver concludes the frame was received without error.


Summary

ParameterValue
Message11011001
Generator ($x^3+x+1$)1011
Appended message11011001000
CRC (remainder)000
Transmitted frame11011001000
Receiver remainder000 โ†’ No error

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