Font Size: a A A

Research Of Methods For Pointer Mapping In C2VHDL Compiling

Posted on:2012-02-04Degree:MasterType:Thesis
Country:ChinaCandidate:J YangFull Text:PDF
GTID:2218330368483189Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
FPGA-CPU heterogeneous cooperative systems based on reconfigurable technology has a better speed-up ratio in the field of High Performance Computing. The reconfigurable technology of transferring computation-intense C code to VHDL code oriented FPGA is gradually becoming an important trend. How Pointers in C are transferred to VHDL will affect the performance of compiler and scope of application.Nowadays, research ahievements have been acquired in the C2VHDL compiling at home and abroad. But the relevant theoretical works on pointers'C2VHDL transfer are lack. The function of C2VHDL compiling of variable pointers and array pointers based on ASCRA reconfigurable compiler is designed and realized in this thesis. According to the principle of symbols analysis in compiling pointers, a direct hardware mapping method is proposed in the thesis. Flow-Sensitive Context-Sensitive pointer analysis based on Control Data Flow Graph is used, point-to targets of pointers are encoded and an abstract symbol table is constructed in order to reduce unreachable circuit generation. Then, a way of a memory accessing is used, control rights are transferred, pointer memory access channels are constructed and pointer control signals are generated. The memory access times can be reduced and the efficiency also can be improved in a certain degree by the way of a memory accessing. Finally, the layout of storage space is constructed, an address generator is designed. The experiment results show that variable pointers and array pointers can be transferred to VHDL successfully through the direct hardware mapping method and has a better feasibility and expandability. Contrasted with other compilers supporting array pointers, the same hardware effect in hardware resource and running speed can be achieved in this thesis.
Keywords/Search Tags:C2VHDL, pointer analysis, abstract symbol table, pointer control, a memory accessing
PDF Full Text Request
Related items