user7586189
user7586189

Reputation: 1279

Why are 4b5b and 8b10b categorised as line code?

I have been reading https://en.wikipedia.org/wiki/Line_code, but it is not obvious to me why 4b5b and 8b10b are called line code. What is the fundamental difference between line code and more sophisticated hamming code?

Upvotes: 0

Views: 210

Answers (2)

Zac67
Zac67

Reputation: 2910

What is the fundamental difference between line code and more sophisticated hamming code?

They're both serving entirely different purposes.

A line code enables clock recovery on a single, serial bit stream and provides bit-level synchronization. It may also provide byte-level synchronization. On differential electrical cabling, the line code (often in combination with a scrambler) also needs to remove DC bias.

A hamming code adds redundant bits for forward error correction.

Upvotes: 1

Chris Dodd
Chris Dodd

Reputation: 126378

The fundamental difference is the purpose of the code.

A line code is used to condition the data on a transmission line. Generally to balance the number of 0 and 1 bits sent to balance the current (what both 4b5b and 8b10b codes so)

A hamming code is used for error correction -- to detect transmission errors and possibly correct for them.

Upvotes: 1

Related Questions