The invention discloses a circuit and a
chip for enabling a CXL protocol to support a low-rate serial link. The circuit provided by the invention comprises a
link management state
machine containing a sending SDS state, a 4-
byte clock skew compensation character SKP4B generation circuit and an analysis circuit, an
encoder and a decoder supporting a
data stream start character SDS, a 128b / 130b
encoder and a decoder, a
data stream start detection circuit, a 40: 1 parallel-serial conversion circuit, a 32: 1 parallel-serial conversion circuit, a
multiplexer, a 1: 40 serial-parallel conversion circuit and a 1: 1 parallel-serial conversion circuit, the output end of the
multiplexer is connected with the input end of the
demultiplexer through a serial link, and the output end of the
demultiplexer is connected with the input end of the
demultiplexer through a serial link. The invention aims to enable the CXL protocol to extend and support PCIe Gen1 and Gen2 rates, so that the
FPGA chip can use the CXL protocol, and the ASIC
chip can use the CXL protocol at a low rate.