Research on the Approach to Compile Programming Language into VHDL Behavioral Description
- Author
- BiMeiNa
- Advisor
- GuGuoChang
- School
- Harbin Engineering University
- Major
- Computer Software and Theory
- Classification
- TP314 Compiler,interpreter
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 88
- Citations
- 1
Abstract
VHDL is a language for the description of digital hardware system, and C is a high level programming language for coding sequential statements. Because C is well-structured and easily-extended, when C code being compiled to VHDL code, using sequential C language to model circuits in VHDL with concurrent characterization, can reduce time and complexity of designing on digital system. In this thesis, the approach to compile programming language into VHDL behavioral description is studied. The method of making CDFG to be intermediate representation is presented, then the experiment on the method is carried out, the translated VHDL code is performed by simulation, and the result of experiment is analyzed.Firstly, VHDL and the difference of C and VHDL is introduced, compile techniques and its status are given. The overall design plan of this thesis is presented briefly.Secondly, the compiling process of the compiling method in this thesis is discussed in detail. In order to explain the process of the compile techniques, a gradual study process is given: first, lexical analysis and grammar analysis are discussed; second, based on grammar analysis, the processes from AST to CDFG and from CDFG to VHDL code are given. The method of generating CDFG based on AST is studied in detail.Finally, input the C code, the compiling C to VHDL is carried out by using the presented method of this thesis successfully, and the translated VHDL code is evaluated in simulation software. The result of experiment show that the compile method is effective in C to VHDL.
Related dissertations
- Research of VHDL Compiler’s Design Techniques
- The research and design of CAN bus controller based on FPGA
- Parallel Compile Analysis of Ladder Diagram and It’s Implementation on FPGA Platform
- The Automatic Marking Method of Script
- Chaotic Encryption System Research Based on FPGA
- The Design and Implementation of Data Collection System Based on Flash Array
- Sensitivity Analysis for Processor Based on VHDL Fault Injection
- Design and Implementation of32-bit RISC Microprocessor Based on FPGA
- Research on a Doppler Weather Radar Signal Processing
- Design and Research Of Digital Audio Processing System Based on NiosⅡ
- A Based on the Maximum Likelihood Algorithm of Symbol Synchronization and Demoduation of CPM Singal
- High Frequency High Precision Digital Phase Shifting Generator Based on FPGA
- The high school mathematics teaching case preparation and use of problem analysis and countermeasure research
- The Name of Shanxi Wheaten Food and Cultural
- The Development of the Neonatal Nurses' Knowledge and Attitudes Survey Regarding Pain
- Design of Metro Automatic Ticket Machine System Based on FPGA
- Research on the Key Technology of Compiled-typed Cnc System Based on USB Communication Interface
- "History of the Song Dynasty, and clothing Chi" research
- The Design and Implementation of A Miniature Programmable Controller Based on ADuC831Singlechip
- Neural Network Algorithm to Implement Based on FPGA