Modulo 2 long division attempts

  • Thread starter Thread starter fran1942
  • Start date Start date
  • Tags Tags
    Division
Click For Summary
SUMMARY

The forum discussion centers on the calculation of CRC code words using modulo 2 division with specific CRC polynomials. The user attempted to find the CRC code for the information word 0101 1001 using the polynomial 1011 and for 0100 1101 using 1101. A participant confirmed that the user's calculations were incorrect, particularly in the XOR operation, leading to an incorrect remainder. The correct approach involves careful attention to the binary subtraction rules inherent in modulo 2 division.

PREREQUISITES
  • Understanding of CRC (Cyclic Redundancy Check) concepts
  • Familiarity with modulo 2 division
  • Knowledge of binary arithmetic, specifically XOR operations
  • Ability to convert binary numbers to decimal for verification
NEXT STEPS
  • Study the CRC polynomial 1011 and its application in error detection
  • Learn about binary subtraction and its rules in modulo 2 arithmetic
  • Explore CRC calculation methods using different polynomials
  • Practice converting binary numbers to decimal and back for verification purposes
USEFUL FOR

This discussion is beneficial for students and professionals in computer science, particularly those involved in data transmission, error detection, and coding theory. It is also useful for software engineers working with CRC implementations in networking protocols.

fran1942
Messages
80
Reaction score
0
Hello, could someone please confirm if have done the modulo 2 division in order to find the CRC code word for these two correctly.

1) using the CRC polynominal 1011, for the information word 0101 1001
(attached image 1 is my attempt)

2) using the CRC polynominal 1101, for the information word 0100 1101
(attached image 2 is my attempt)

Thank you kindly for any confirmation.
 

Attachments

  • problem1.jpg
    problem1.jpg
    63.9 KB · Views: 442
  • problem2.jpg
    problem2.jpg
    53.1 KB · Views: 408
Physics news on Phys.org
fran1942 said:
Hello, could someone please confirm if have done the modulo 2 division in order to find the CRC code word for these two correctly.

1) using the CRC polynominal 1011, for the information word 0101 1001
(attached image 1 is my attempt)

2) using the CRC polynominal 1101, for the information word 0100 1101
(attached image 2 is my attempt)

Thank you kindly for any confirmation.

You can check these by converting to decimal. For the first one, 1011001000 is 712, 1011 is 11. 712/11 is 64 remainder 8. You got 65 remainder 3. I'll give you a hint where you went wrong. 1000-1011 isn't 11. It's negative.
 
hello, thanks kindly for your help.
However, I just can't see what I have done wrong with that final operation on the first question.
I ended up with remainder 11 after I performed the XOR operation on 1000 and 1011.
How could I get another result. I thought the rule with modulo 2 division was to use XOR ?


Thanks for any clarification.
 
fran1942 said:
I thought the rule with modulo 2 division was to use XOR?
It is, and CRC's use the same type of math. Your answers look OK to me.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
16K
  • · Replies 25 ·
Replies
25
Views
12K
  • · Replies 1 ·
Replies
1
Views
7K