The invention discloses an
SERDES verification method and device, and the method comprises the steps: obtaining a protocol type and a configuration mode supported by a to-be-tested
SERDES, generating a first compiling
simulation script according to the protocol type, and enabling the script to comprise the
clock frequency, the
data rate, the parameter configuration of a coding mode, the generation rule of
simulation excitation, and a result output path; based on the test requirement and the protocol type, a test top layer file and a file
list are determined, and the file
list comprises paths of the to-be-tested design file and the test excitation file; calling a script, executing first compiling
simulation, and generating a waveform file and a log file; switching to a second protocol type, updating the test top layer file and the file
list, and generating a second compiling simulation script; executing secondary compiling simulation to generate a waveform file and a log file corresponding to the second protocol; the log file is analyzed, the
bit error rate, the function coverage rate and the
time sequence violation are counted, and a comprehensive
test report is generated. The method can accelerate the
verification speed and reduce the development time.