




















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





















2
voltage
4
n-bit message, where k < < n
message
algorithm
5
Valid Codes Parity encoding: gray dots are invalid and indicate errors
If only 1 bit flips, it can be detected
7
2-bit Erasure Correction With Voting
Remaining bit in a 2-erasure plane is not ambiguous
Cannot correct 1-error and 1-erasure
8
code words
10
11
13
1011110 1
1101001 0
(^0101001 )
1011111 0
0110100 1
0001110 1
1111011 0
Parity bits
Parity byte
Data
14
16
View message as a sequence of 16-bit integers; sum using 16-bit ones-complement arithmetic ; take ones-complement of the result.
**u_short cksum(u_short buf, int count) { register u_long sum = 0; while (count--) { sum += buf++; if (sum & 0xFFFF0000) { / carry occurred, so wrap around / sum &= 0xFFFF; sum++; } } return ~(sum & 0xFFFF); }
17
Theory
arithmetic
polynomial to generate CRC
Practice
19
20
101 Remainder