4B/5B Encoder line - Codificador de Linea 4B/5B

4B/5B Encoder line written in Matlab / Codificador de linea 4B/5B escrito en Matlab.
ダウンロード: 1.4K
更新 2010/5/11

ライセンスの表示

Codificador de linea 4B/5B escrito en Matlab, presentado en un GUIDE, codifica longitud sin restriccion y presenta el espectro de la senal.

4B/5B Encoder line written in Matlab, presented in a GUIDE, unrestricted length encoding and presents the spectrum of the signal.

No tiene restricciones en la longitud de la senal, y presenta el espectro.

En telecomunicación, 4B5B es una forma de código de línea de comunicaciones de datos. grupos de mapas 4B5B de cuatro bits en grupos de 5 bits, con una densidad mínima de bits 1 en la salida. Cuando NRZI-codificado, el 1 de ellos permiten transiciones necesarias reloj para el receptor. Por ejemplo, una racha de 4 bits por ejemplo, 0000 no contiene las transiciones y los problemas que causa el reloj para el receptor. 4B/5B resuelve este problema mediante la asignación de cada bloque de 4 bits consecutivos una palabra equivalente de 5 bits. Estas palabras de 5 bits están predeterminados en un diccionario y son elegidos de forma que habrá al menos dos transiciones por bloque de bits.

In telecommunication, 4B5B is a form of data communications line code. 4B5B maps groups of four bits onto groups of 5 bits, with a minimum density of 1 bits in the output. When NRZI-encoded, the 1 bits provide necessary clock transitions for the receiver. For example, a run of 4 bits such as 0000 contains no transitions and that causes clocking problems for the receiver. 4B/5B solves this problem by assigning each block of 4 consecutive bits an equivalent word of 5 bits. These 5 bit words are pre-determined in a dictionary and they are chosen to ensure that there will be at least two transitions per block of bits.

Encoding table

Name 4b 5b Description
0 0000 11110 hex data 0
1 0001 01001 hex data 1
2 0010 10100 hex data 2
3 0011 10101 hex data 3
4 0100 01010 hex data 4
5 0101 01011 hex data 5
6 0110 01110 hex data 6
7 0111 01111 hex data 7
8 1000 10010 hex data 8
9 1001 10011 hex data 9
A 1010 10110 hex data A
B 1011 10111 hex data B
C 1100 11010 hex data C
D 1101 11011 hex data D
E 1110 11100 hex data E
F 1111 11101 hex data F
Q -NONE- 00000 Quiet (signal lost)
I -NONE- 11111 Idle
J -NONE- 11000 Start #1
K -NONE- 10001 Start #2
T -NONE- 01101 End
R -NONE- 00111 Reset
S -NONE- 11001 Set
H -NONE- 00100 Halt

Source; http://en.wikipedia.org/wiki/4B5B

引用

Roberto Herrera-Lara (2024). 4B/5B Encoder line - Codificador de Linea 4B/5B (https://www.mathworks.com/matlabcentral/fileexchange/27566-4b-5b-encoder-line-codificador-de-linea-4b-5b), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0