The invention provides a low-
delay real-time analysis architecture and
analysis method of a PCIe protocol, belongs to the technical field of
integrated circuit chip design, and aims at solving the problems that a traditional
software analysis scheme is low in
throughput and high in
delay, and a special protocol analyzer is high in cost and poor in integration level. The analysis architecture comprises a data preprocessing module, a parallel 8b / 10b decoding module, a parallel descrambling module and an analysis state
machine. The
analysis method comprises the following steps: S1, data preprocessing; s2, decoding the data in parallel; s3, descrambling the data in parallel; s4, data
clock synchronization; and S5,
data analysis. According to the method, PCIe 2.0 full
protocol stack analysis can be realized, real-time analysis of 5GT / s
physical layer,
data link layer and transaction layer data is supported, the end-to-end
processing delay is only 70 ns, the
low delay characteristic enables engineers to observe protocol behaviors in real time and locate data packet errors in time in the debugging process, and the debugging efficiency and accuracy are greatly improved.