Thread Links Date Links
Thread Prev Thread Next Thread Index Date Prev Date Next Date Index

64B/66B Control Codes Mapping & Bit Order




Hi,

We have a question regarding the bit order when we map the control codes
into the 64B/66B frame.
For example, when we have 0x1E in the type field for C0,C1,C2,C3,C4,C5,C6,C7
pattern and 
we want to send 0x78 (reserved 5) for C0..C7, we have two interpretions on
how we map these
codes and the bit order of the bits shifting out.

Interpretion 1 : C0 to C7 all have a value of "1111000" which will form a
pattern of
                 "00011110_1111000_1111000_11110000.....". After swapping
lsb and msb of
                 each octet, the pattern shifting out will be
"01111000_10001111_11000111..".

Interpretion 2 : C0 to C7 all have a value of reversed 0x78 of "0001111",
                 the pattern shifting out will be
"01111000_00011110_00111100..".

Which one is the correct? Thanks.

Thomas Tang
Newport Communication.