Method for converting Verilog codes based on LaTeX arithmetic and trigonometric function hybrid operation formula
The invention discloses a method for converting Verilog codes based on a LaTeX arithmetic and trigonometric function hybrid operation formula, which comprises the following steps: S1, preprocessing aLaTeX mathematical formula, and screening mathematical formulas meeting rules; s2, a mathematical for...
Saved in:
Main Authors | , , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
19.06.2020
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a method for converting Verilog codes based on a LaTeX arithmetic and trigonometric function hybrid operation formula, which comprises the following steps: S1, preprocessing aLaTeX mathematical formula, and screening mathematical formulas meeting rules; s2, a mathematical formula is processed, parameter variables and operation steps are separated, and input variables, output variables, intermediate variables and parameters are classified; s3, sorting the separated operation steps to obtain an operation and register operation sequence; and S4, generating a synthesizableVerilog code according to the operation and register operation sequence. The invention provides a feasible scheme for conversion from software description to hardware description of a four arithmeticand trigonometric function hybrid operation formula, particularly has the advantage of high conversion reliability when the number of formulas is huge, solves the problems of low efficiency and higherror rate of manual sequenc |
---|---|
Bibliography: | Application Number: CN202010081543 |