Other Definitions
parity bit (dict)

Parity Bit

In computing and telecommunication, a parity bit is a binary digit that takes on the value zero or one to satisfy a constraint on the overall parity of a binary number. The parity scheme in use must be specified as even or odd. There are several confusing names for these schemes, but there are actually only two schemes. In serial data transmission, a common format is 7 data bits, an even parity bit, and one or two stop bits. Even parity means that the total number of 1 bits must be even. This format neatly accommodates all the 7-bit ASCII characters in a convenient 8-bit byte. Other formats are possible; 8 bits of data plus a parity bit can convey all 8-bit byte values. In serial communication contexts, parity is usually generated and checked by interface hardware (eg, a UART) and, on reception, the result made available to the CPU (and so to, for instance, the operating system) via a status bit in a register in the interface hardware. Recovery from the error is usually done by retransmitting the data, the details of which are usually handled by software (eg, the operating system I/O routines). Parity bits are mainly used as a very simple form of redundancy check. A single parity bit can detect the alteration of any odd number of bits (including the most common case of one bit), but cannot detect the alteration of an even number of bits. Nor does it include enough information to correct any error. Because of its simplicity, parity is used in many hardware applications where an operation can be repeated in case of difficulty, or where simply detecting the error is helpful. For example, the SCSI bus uses parity to detect transmission errors, and many microprocessor instruction caches include parity protection. Because the I-cache data is just a copy of main memory, it can be thrown away and re-fetched if it is found to be corrupted. Even parity is actually a special case of a cyclic redundancy check, where the 1-bit CRC is generated by the polynomial x+1.

See also

  • Hamming code error-correction code, the usual "next step up" from parity.

 

<< PreviousWord BrowserNext >>
per borten
john lyng
oscar torp
pierre louis prieur
claude antoine, comte prieur duvernois
bigboard
xerox 820
ball lightning
single board computer
mycro 1
mycron
typewriter keyboard
henry ireton
non bank
tiki 100
evangelical lutheran church of finland
siberian stonechat
charles lucas
jiffy
william cavendish, 1st duke of newcastle
swtpc
richard flecknoe
ole gunnar solskjr
barry sheene
bix
delta v
tauno palo
common redstart
simant
faisal i of iraq
raymond fraser
long now foundation
piano sonata no. 11 (mozart)
mispronunciation
hyposensibilization
anhalt zerbst
black redstart
edward montagu, 2nd earl of manchester
richard baxter
frederick cavendish
edward whalley
eastwood lane
william goffe
metal health