Information Redundancy. Flashcards
What are the requirements of a code ? 3 answers.
Detects all likely errors
• Achieves the desired degree of error detection using minimum redundancy
• The encoding and decoding process is fast and simple
The kind of errors to be expected is application and technology dependent. Explain the types of errors shortly.
Symmetric errors: Both 0->1 and 1->0 can occur with equal probability.
Asymmetric errors: Only 0 -> 1 or 1 -> 0 occur.
Unidirectional: Both 0->1 and 1->0 can occur, but not in the same CW.
Burst errors: affects contiguous series of bits.
What are the 3 key characteristics of a code
Number of errors that can be corrected
Number of errors that can be detected
Types of errors that can be corrected.
What are the overheads of a code?
Redundancy required
Time to encode/decode.
What is the main advantage of a separable code.
Allows to process the incoming data, while its integrity is been checked.
Unordered codes are capable of detecting …
all unidirectional errors.
It is a code where any codeword is not covered by any other cw.
The Hamming relationship determines the minimum number of parity check bits required for single‐error correction. Describe the relation between the number of check bits and code length to correct one single error.
The c check bits allow us to distinguish 2^c cases.
2^c >= n +1.
What is the idea bihing a HSIAO Code
Use syndromes with an odd number of ones for the check matrix.
Double bit errors lead to a syndrome with an even number of 1’s and can be detected.
Properties of a HSIAO code
Corrects 1 bit errors and detects 2 bit errors.
All columns of H have odd weight (optimized wrt. the number of 1s)
reduced overhear and increased encoding/decoding performance.
Types of checksum codes
Single precision - sum word with same length
Double Precision - sum word has twice the length of word
Residue Checksum - same as single prec. but carry bit is added again.
Honeywell Checksum - Concatenates two words to add (overcome stuck at faults)
M‐of‐N Codes characteristics
M bits out of N are 1. (N-M are 0) Non linear Detects all unidirectial errors (n ) codewords (m) Optimal case is N = 2M
Principle of the Berger Code
Count the number of 1s (or 0s) of a word and add this info to the cw.
A linear code is a cyclic code if for any code word the rotated word is …
also a codeword.
An (n,k) cyclic code can detect multiple adjacent bits errors as long as …
fewer than n-k bits are affected by the error.
Properties of the generator polynomial g(x) of a cyclic code.
Degree r = n - k.
There exists no other non zero poly with order lower or equal to r.
Constant coefficient g0 is 1
All 2^k multiples of g(x) are codewords