Modulo 2 long division attempts

  • Thread starter Thread starter fran1942
  • Start date Start date
  • Tags Tags
    Division
AI Thread Summary
The discussion revolves around verifying modulo 2 long division for CRC code words using specific polynomials and information words. The first attempt used the polynomial 1011 with the information word 0101 1001, while the second used polynomial 1101 with information word 0100 1101. There was confusion regarding the final operation in the first calculation, particularly about the XOR operation and the resulting remainder. Participants confirmed that modulo 2 division does indeed utilize XOR, and while one user pointed out an error in the initial calculations, they ultimately deemed the answers acceptable. Clarification on the XOR operation and its application in CRC calculations was provided.
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: 438
  • problem2.jpg
    problem2.jpg
    53.1 KB · Views: 402
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.
 
Back
Top