Automatic Verilog HDL code generator of parallel CRC (Cyclic Redundancy Check) algorithm and method thereof

A CRC algorithm and automatic generation technology, applied in the direction of program control devices, etc., can solve the complex problems of VerilogHDL code generation, and achieve the effect of rapid generation

Inactive Publication Date: 2010-09-08
XIAN KEYWAY TECH
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] The object of the present invention is to provide a kind of parallel CRC algorithm Verilog HDL code automatic generator and met...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automatic Verilog HDL code generator of parallel CRC (Cyclic Redundancy Check) algorithm and method thereof
  • Automatic Verilog HDL code generator of parallel CRC (Cyclic Redundancy Check) algorithm and method thereof
  • Automatic Verilog HDL code generator of parallel CRC (Cyclic Redundancy Check) algorithm and method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The present invention converts the serial CRC circuit into a parallel CRC circuit, that is, obtains the parallel CRC circuit according to the structure or expression (formula 1) of the serial CRC circuit. The parallel CRC circuit can be represented by Verilog code (F.txt); its general form is represented by formula 2, and the specific code will be generated in the file F.txt;

[0054]The core problem in formula 2 is the coefficient Qj[i] of each item, and the specific coefficient will be generated in the file C.txt;

[0055] The file C.txt can be generated by running CG.v in modelsim;

[0056] CG.v is the verilogHDL code representation method of the parallel CRC coefficient generation circuit CRCN_DM_A_INT; the CRC coefficient generation circuit is the core of this patent protection, and its design method is given by the coefficient generation circuit design steps (Appendix 3);

[0057] The parameters to be used in the design step are N, M, A, INT

[0058] The paramet...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to an automatic Verilog HDL code generator of a parallel CRC (Cyclic Redundancy Check) algorithm and a method thereof. The generator comprises a coefficient generation circuit based on a modelsim simulation platform, a coefficient file C.txt generated by operating a coefficient generation circuit code CG.v and a Verilog code file F.txt generated by operating a Verilog code generation file VG.v. The method comprises the following steps of: (1) extracting design parameters of N, M, A and INT; (2) obtaining the coefficient generation circuit by the design parameters of N, M, A and INT according to the design steps of the coefficient generation circuit; (3) expressing the coefficient generation circuit as CG.v by using the Verilog code; (4) obtaining the coefficient file C.txt by operating the CG.v; and (5) obtaining a Verilog code F.txt of the parallel CRC circuit by operating VG.v. In the invention, the Verilog HDL code generation of the parallel CRC algorithm is simplified.

Description

technical field [0001] The invention relates to a code automatic generator and a method thereof, in particular to a parallel CRC algorithm Verilog HDL code automatic generator and a method thereof. Background technique [0002] Because it is superior to the serial CRC algorithm in terms of speed, the parallel CRC algorithm is widely used in the fields of data transmission, storage, communication, encryption and decryption, etc. When implementing the algorithm with an ASIC and FPGA, the CRC algorithm must first be obtained Verilog HDL code, from which the code further obtains the CRC algorithm netlist through a synthesis tool, thereby obtaining the hardware topology of the CRC algorithm. [0003] The serial CRC circuit has a simple structure and slow operation speed; [0004] The structure of the parallel CRC circuit is complex and the operation speed is fast; [0005] In the serial CRC circuit, if the expression formula 1 of G(X) and the initial value INT of the circuit ar...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/44
Inventor 刘升党君礼
Owner XIAN KEYWAY TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products