Category: DHD

Digital Hardware Design

Logic Levels in Digital Circuits

In digital systems, any signal value is represented in binary form (either logic ‘0’ state or logic ‘1’ state). To represent these two logic states, two different levels of voltage or two different levels of current are considered. Here, we…

Hamming Codes

Hamming Code is yet another error detection and correction code. In this code, the parity bits are added to increase the Hamming distance between the valid code words. Here, the parity bits are arranged in a way that different error…

Hamming Distance

Hamming distance between two bit-strings of equal length is the number of bit positions at which they are different. In other words, Hamming distance is the number of mismatches at the same bit position between two same-length words. For example:…

Parity Code for Error Detection

One of the most common ways to achieve error detection is by means of parity code. A parity code is generated by adding an extra parity bit (information redundancy) to the string of data bits. There are two types of…

Error Detection and Correction Codes

Data errors in a digital system can happen due to faults in the transceiver system or noise during the transmission. Such errors need to be detected and corrected, as digital systems are sensitive to such errors. The presence of data…

Applications of Gray Code

Gray code is considered beneficial for multiple electromechanical applications due to its error resilience property. This is achieved due to the single-bit change from one code word to the adjacent next code word. This article lists down a few more…

Use of Gray code in a Mechanical Encoding Disc

Gray code is beneficial for multiple electromechanical applications of digital systems, such as shaft position encoders, autonomous braking systems, copiers etc. In all these applications, an input sensor produces a digital value that indicates a mechanical position. When continuous or…

All about Gray Code

Gray code is a digital code, which is neither arithmetic nor weighted. There are no weights assigned to the bit positions of a Gray code. Moreover, we do not use Gray code for arithmetic operations. The advantage of Gray code…