摘要
循环冗余校验(简称CRC)是一种可靠性很高且实现方式简单的串行数据校验方法,在通信及计算机数据存储中得到了广泛应用。为了将CRC运用到USB数据传输中,本文首先研究了CRC的基本原理;然后根据USB协议的要求,对USB数据传输中CRC码的生成方法进行了特殊的考虑;最后用VerilogHDL硬件描述语言描述了USB数据传输中CRC码的生成算法。仿真结果表明,此算法合理、正确,可以满足USB数据传输的需要。目前此算法已经被成功地运用到自行开发的USBIP核中。
Cyclic redundancy check is widely used in communication and data storage because of high dependability and easy of realization. For using CRC in USB data transfer, the basic principle of CRC is firstly presented in this paper. On the guide of USB Specification, the application of CRC in USB data transfer and CRC Code generation are especially studied in this paper. In the end, the arithmetic of CRC Code generation in USB data transfer is described by using Verilog HDL. Throngh simulation results, it is indicated that the arithmetic is logical and correct, and it can meet the requirement of USB data transfer. At present, the arithmetic has been successfully applied in USB IP Core designed by ourselves.
出处
《电子测量技术》
2007年第1期125-127,共3页
Electronic Measurement Technology