Parity bit

ImprimirCitar
7 bits of data byte with parity bit
pair odds
0000 0000000001
1010001 1010001110100010
1101001 1101001011010011
1111111 1111111111111110

A parity bit is a binary digit that indicates whether the number of bits with a value of 1 in a set of bits is even or odd. Parity bits are the simplest error detection method.

Even parity is a special case of cyclic redundancy check (CRC), where the CRC bit is generated by the polynomial x+1.

Note that this method detects errors, but does not correct them (except in the case that the transmitted word is 1 bit long (which is not usual)). There are two variants of this method, even bit parity and odd parity bit:

In the case of even parity, the number of ones is counted. If the total is odd, the parity bit is set to one and therefore the sum of the previous total with this parity bit would give even. If the one bit count is even, then the parity (even) bit is left at 0, since it is already even.

In the case of odd parity, the situation is the opposite. The bits whose value is one are added, if it gives an odd number of bits, then the parity (odd) bit is zero. And if the sum of the bits whose value is one is even, then the parity (odd) bit is set to one, making the total bit count one odd.

Contenido relacionado

Turbocharger

A turbocompressor or also called turbo is a supercharging system that uses a centrifugal turbine to drive, through a coaxial shaft with it, a compressor wheel...

Polymorphism

In general, polymorphism describes multiple possible states of a single...

Netscape Navigator

Netscape Navigator was a web browser, the first commercial product of the Netscape Communications company created by Marc Andreessen when he was at the...
Más resultados...
Tamaño del texto:
Copiar