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

Request the full text

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

  1. Research of VHDL Compiler’s Design Techniques
    QiXingGang ·Sichuan University ·2005 ·Master's thesis
  2. The research and design of CAN bus controller based on FPGA
    ZhaoCheng ·Yangzhou University ·2013 ·Master's thesis
  3. Parallel Compile Analysis of Ladder Diagram and It’s Implementation on FPGA Platform
  4. The Automatic Marking Method of Script
    LiuXia ·Donghua University ·2014 ·Master's thesis
  5. Chaotic Encryption System Research Based on FPGA
    CaiPengFei ·Tianjin University of Technology ·2013 ·Master's thesis
  6. The Design and Implementation of Data Collection System Based on Flash Array
    WangXiaoSheng ·University of North ·2014 ·Master's thesis
  7. Sensitivity Analysis for Processor Based on VHDL Fault Injection
    WuZhenPing ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Design and Implementation of32-bit RISC Microprocessor Based on FPGA
    ZhengYongGui ·Hebei University of Technology ·2012 ·Master's thesis
  9. Research on a Doppler Weather Radar Signal Processing
    LuXiaoJia ·Anhui University ·2014 ·Master's thesis
  10. Design and Research Of Digital Audio Processing System Based on NiosⅡ
    SongNing ·Lanzhou Jiaotong University ·2013 ·Master's thesis
  11. A Based on the Maximum Likelihood Algorithm of Symbol Synchronization and Demoduation of CPM Singal
  12. High Frequency High Precision Digital Phase Shifting Generator Based on FPGA
    HuangJun ·Zhejiang Normal University ·2013 ·Master's thesis
  13. The high school mathematics teaching case preparation and use of problem analysis and countermeasure research
    CuiHengMiao ·Shandong Normal University ·2014 ·Master's thesis
  14. The Name of Shanxi Wheaten Food and Cultural
  15. The Development of the Neonatal Nurses' Knowledge and Attitudes Survey Regarding Pain
    XieXiaoZuo ·Central South University ·2013 ·Master's thesis
  16. Design of Metro Automatic Ticket Machine System Based on FPGA
  17. Research on the Key Technology of Compiled-typed Cnc System Based on USB Communication Interface
    RenYanHai ·Harbin Institute of Technology ·2013 ·Master's thesis
  18. "History of the Song Dynasty, and clothing Chi" research
    WangBing ·Shanghai Normal University ·2013 ·Master's thesis
  19. The Design and Implementation of A Miniature Programmable Controller Based on ADuC831Singlechip
    LaJunFei ·Taiyuan University of Technology ·2012 ·Master's thesis
  20. Neural Network Algorithm to Implement Based on FPGA