0% found this document useful (0 votes)
88 views1 page

Code Converter and Parity Converter

The document discusses two digital circuits: 1) A code converter circuit that can convert binary codes like Gray code and BCD between their binary representations. For example, it explains how the Gray code 101 converts to the binary 110. 2) A parity bit generator circuit that generates an extra check bit to detect errors in blocks of data. It adds an even or odd parity bit depending on whether the number of 1s in the data is even or odd.

Uploaded by

awesome123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
88 views1 page

Code Converter and Parity Converter

The document discusses two digital circuits: 1) A code converter circuit that can convert binary codes like Gray code and BCD between their binary representations. For example, it explains how the Gray code 101 converts to the binary 110. 2) A parity bit generator circuit that generates an extra check bit to detect errors in blocks of data. It adds an even or odd parity bit depending on whether the number of 1s in the data is even or odd.

Uploaded by

awesome123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Code Converter

The Code Converter circuit has the ability to convert one type of binary code to another type of

binary code. There are various forms of binary codes, which includes Gray Code, Binary Coded

Decimal, excess-3 codes, etc. Each type of binary code is utilized for a different type of digital

application. In this lab we learned about the conversion of gray code to binary numbers and

implemented this conversion circuit on the ELVIS II board. In the Gray Code system (which is a

binary number system) the difference between two subsequent numbers only a single bit. For 3-

bit values, the gray code sequence is: 000, 001, 011, 010, 110, 111, 101, 100. From this we can

see that 101 in gray code is in 6th decimal number position so its binary equivalent is equal to

110. Then for 100 gray code is equivalent to 111 binary number and so on. A code converter can

convert gray code to binary number.

Parity Bit Generator

A parity bit generator is used for detecting errors to make sure that the data is accurate. The

parity generator is a combinational circuit which generates an additional bit which acts as a

check bit which is inserted to a block of data. There are two types of parity bit: even parity bit

and odd parity bit. In the case of the even parity bit, the parity generator generates an additional

‘0’ bit when there are even number of 1s in the block of data and the parity bit generated is ‘1’ if

there are odd number of 1s in the data block. On the other hand, in the case of the odd parity bit,

the parity generator generates an additional ‘1’ bit when there are even number of 1s in the data

block, and the parity bit generated is ‘0’ when there are odd number of 1s in the data block.

You might also like