DocumentCode :
2919478
Title :
Automatic enhanced CDFG generation based on runtime instrumentation
Author :
Zhongda Yuan ; Yuchun Ma ; Jinian Bian ; Kang Zhao
Author_Institution :
Dept. of Comput. Sci. & Technol., Tsinghua Univ., Beijing, China
fYear :
2013
fDate :
27-29 June 2013
Firstpage :
92
Lastpage :
97
Abstract :
Control and Data Flow Graph (CDFG) is a universal description of program behavior, which is widely used in the co-design of software and hardware. The derivation of CDFG has been done mostly by manually or automatically analyzing corresponding source code, which makes this process time-consuming, error-prone and incomplete. In this paper, we proposed an automated design flow based on runtime instrumentation to generate Enhanced CDFG (ECDFG) with additional runtime information. Though the approach of runtime instrumentation is widely used in software debugging to analyze the program with the accurate runtime information, it is rarely used in software and hardware co-design due to the huge trace data and processing overhead. To overcome the bottle neck of the runtime instrumentation approach, Parallel Background Event Logger is proposed to compress and save the huge amount of trace data. Hierarchical loop structures are detected by intersecting reachable set and backward reachable set. Precise data dependency information is deducted by an address based analytical method named Shower Line Algorithm. With these algorithms and techniques, a set of automatic design tools are implemented to collect runtime events, identify nested and implicit loops and deduct data dependance between modules. Exemplar results demonstrated that Enhanced CDFGs for various programs can be generated correctly with acceptable overhead.
Keywords :
data flow graphs; hardware-software codesign; instrumentation; parallel processing; program control structures; program debugging; source coding; automatic design tools; automatic enhanced CDFG generation; control and data flow graph; data dependancy; hierarchical loop structures; parallel background event logger; precise data dependency information; reachable set; runtime instrumentation; shower line algorithm; software debugging; software-hardware codesign; source code; universal program behavior description; Algorithm design and analysis; Binary codes; Hardware; Heuristic algorithms; Instruments; Runtime; Software;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Supported Cooperative Work in Design (CSCWD), 2013 IEEE 17th International Conference on
Conference_Location :
Whistler, BC
Print_ISBN :
978-1-4673-6084-5
Type :
conf
DOI :
10.1109/CSCWD.2013.6580945
Filename :
6580945
Link To Document :
بازگشت