Combination Circuits

PARITY GENERATOR (3-bit MESSAGE)

Q-Implement the parity generator (a) Even (b) Odd for 3-bit message Ans: (a) Following is the truth table and K-map for even parity a              b             c             P(even) 0              0             0             0 0              0              1             1 0              1              0             1 0              1              1             0 1              0              0              […]

Combination Circuits

PARITY GENERATOR (4-bit MESSAGE)

Q-Implement the parity generator (a) Even (b) Odd for 4-bit message Ans: (a) Following is the truth table and K-map for even parity Binary number                  Parity (even) 0000                                       0 0001                                       1 0010                                       1 0011                                       0 0100                                       1 0101                                       0 0110                                       0 0111                                       1 1000                                       1 1001                                       0 1010 […]

Binary Code

Example 1: Hamming code & parity bit

Eg. So let’s form hamming code using 4-bit message bits 1101 with parity bits as even parity bit and check how it is able to detect and correct error. As we have already decided parity bit positions and their corresponding message bits for a 4-bit message For the moment we have hamming code as P1    P2    1 P3 1 […]

Binary Code

Parity bit relation with message bits

E.g.  Consider the parity bit P1 and we have to find the position of message bits which we’ll cover with this parity bit. Firstly write the binary equivalents of positions of message bit Bit1        bit2       bit3        bit4        bit5        bit6        bit7 Parity    parity                    parity P1                  P2             M1                P3           M2               M3          M4  001          010         011 […]

Binary Code

Parity bit

A parity bit is an extra bit that is attached to the information that is being sent from one position to the other. This bit is attached just to detect the error if any in the information during the transmission.  This bit is used to make number of 1’s in the message or information either […]