The invention discloses a
serial communication protocol controller, which includes a
byte splitting circuit and an 8b10b
encoder. The
byte splitting circuit receives
bus data, transmits it to the 8b10b
encoder, and completes
bus data and 8b / 10b encoding The matching of data with different
clock frequencies and different bit widths between devices. The
byte splitting circuit includes FIFO, controller and register, and the byte splitting circuit extracts 32-bit
bus data byte 0, byte 1, byte 2, byte 3 to form
source data word 1; byte 4, byte 5.
Byte 6 and byte 7 form the
source data word 2, obtain 4 beats of 8-bit output data, then write them into FIFO in turn, and then read them into the register under the action of the controller, and at the same time follow the byte from low to high The sequence is transmitted sequentially to the
encoder input. The invention also provides a byte splitting circuit and an 8b10b encoder adopted by the
serial communication protocol controller. The invention effectively solves the matching problem of the data bandwidth of the sending end of the high-speed
serial communication protocol.