DocumentCode
3042917
Title
Enabling automated code transformation and variable tracing
Author
Kerstan, C. ; Bannow, N. ; Rosenstiel, W.
Author_Institution
Corp. Sector Res. & Adv. Eng., Robert Bosch GmbH, Stuttgart
fYear
2008
fDate
23-25 Sept. 2008
Firstpage
209
Lastpage
214
Abstract
To solve the challenge of hardware/software partitioning and the reuse of legacy system models (Bannow et al., 2004) introduced a module adapter (MA) based approach which is considered in section 2. The described transformation/mapping of functional code into a SystemC model still needs heavy code modifications. Besides the parser that has to be nearly as powerful as a C++ compiler the readability suffers from the necessary changes. This paper introduces an approach which reduces the code modifications to a minimum. The primary objective is to provide a solution to enable an automated application. In this novel approach, code readability and transformation effort are improved significantly by using the powerful operator overloading mechanism of C++. The presented implementation can be used to either realize transparent communication over module barriers, trace simulation data or only for debugging purposes. Some examples demonstrate the applicability and give some incitements for expedient use cases. The presented C++ code can be easily extended by inheritance for custom needs.
Keywords
C++ language; program compilers; C++ compiler; SystemC model; automated code transformation; code modification; code readability; functional code mapping; functional code transformation; hardware/software partitioning; legacy system; module adapter; parsing; variable tracing; Communication standards; Computer architecture; Debugging; Design engineering; Hardware; High level synthesis; Object oriented modeling; Power system modeling; Software tools;
fLanguage
English
Publisher
ieee
Conference_Titel
Specification, Verification and Design Languages, 2008. FDL 2008. Forum on
Conference_Location
Stuttgart
Print_ISBN
978-1-4244-2264-7
Type
conf
DOI
10.1109/FDL.2008.4641447
Filename
4641447
Link To Document