Title :
Function Call Optimisation in SystemC Hardware Compilation
Author :
Ditmar, Johan ; McKeever, Steve
Author_Institution :
Kellogg Coll., Univ. of Oxford, Banbury
Abstract :
Functions are commonly used in SystemC and other high-level languages to divide code into separate tasks. During synthesis, a hardware compiler can instantiate logic for each function call. Alternatively, a function can be mapped to a separate piece of hardware that is shared between calls to the function. This process, called function exlining, can significantly improve logic usage of a design. This paper investigates the benefits of function exlining in hardware compilation and proposes a method for implementing this optimisation in SystemC. In this method, exlining is described as a source transformation which can be easily implemented in existing compiler frameworks. The method has been implemented in a commercial SystemC hardware compiler and experiments show that exlining function calls can significantly reduce the logic size of a design.
Keywords :
hardware description languages; high level synthesis; logic design; SystemC; function call optimisation; function exlining; hardware compilation; hardware compiler; high-level language; logic design; logic synthesis; Control system synthesis; Costs; Hardware; Laboratories; Logic design; Object oriented modeling; Optimization methods; Production; Program processors; Switches;
Conference_Titel :
Programmable Logic, 2008 4th Southern Conference on
Conference_Location :
San Carlos de Bariloche
Print_ISBN :
978-1-4244-1992-0
DOI :
10.1109/SPL.2008.4547738