Introduction
How to convert C language code into Verilog HDL or VHDL?
2.1 Online Conversions:
Http://c-to-verilog.com/online.html
C-to-verilog.com is a Web site created by an academic study in the High level synthesis field of the University of Haifa (HAIFA).
The compiler used for this site is a modified version of the Systemracer integrated system. The source code for this compiler is available for research purposes and has been distributed to a number of compiler research organizations.
In addition, there are some articles for reference, these articles introduce the implementation of the integrated device principle.
2.2 Download the source code, and then install, and then use.
Source code, I have uploaded, GPL3 license, as well as introduction to the implementation of the principle of the article, I have also uploaded (these articles are published in the top journals or meetings of the outstanding paper, need to pay to download), and source stacking together:
http://download.csdn.net/detail/rill_zhen/4797683
2.3 Note
Need LLVM 2.5 support. The LLVM is a framework compiler (compiler) frame system,
Written in C + + to optimize compilation time (compile-time), Link time (link-time), elapsed time (run-time), and Idle Time (idle-time) of programs written in any programming language.
Keep open to developers and compatible with existing scripts.
The LLVM program was launched in 2000 and was initially conducted by Chris Lattner of University of Illinois at Urbana-champaign.
2006 Chris Lattner joined Apple Inc. and is committed to LLVM's application in the Apple development system.
Apple is also a major sponsor of the LLVM program.
2.4 Test:
Put a screenshot first: