• DocumentCode
    610957
  • Title

    The Effect of Compiler Optimizations on High-Level Synthesis for FPGAs

  • Author

    Qijing Huang ; Ruolong Lian ; Canis, Andrew ; Jongsok Choi ; Xi, Ryan ; Brown, Shannon ; Anderson, Jon

  • Author_Institution
    Dept. of Electr. & Comput. Eng., Univ. of Toronto, Toronto, ON, Canada
  • fYear
    2013
  • fDate
    28-30 April 2013
  • Firstpage
    89
  • Lastpage
    96
  • Abstract
    We consider the impact of compiler optimizations on the quality of high-level synthesis (HLS)-generated FPGA hardware. Using a HLS tool implemented within the state-of-the-art LLVM [1] compiler, we study the effect of compiler optimizations on the hardware metrics of circuit area, execution cycles, Fmax, and wall-clock time. We evaluate 56 different compiler optimizations implemented within LLVM and show that some optimizations significantly affect hardware quality. Moreover, we show that hardware quality is also affected by the order in which optimizations are applied. We then present a new HLS-directed approach to compiler optimizations, wherein we execute partial HLS and profiling at intermittent points in the optimization process and use the results to judiciously undo the impact of optimization passes predicted to be damaging to the generated hardware quality. Results show that our approach produces circuits with 16% better speed performance, on average, versus using the standard -O3 optimization level.
  • Keywords
    field programmable gate arrays; network synthesis; FPGA hardware; Fmax; HLS-directed approach; LLVM compiler; circuit area; compiler optimizations; execution cycles; hardware quality; partial high-level synthesis; standard -O3 optimization level; wall-clock time; Benchmark testing; Clocks; Field programmable gate arrays; Hardware; Optimization; Standards; FPGAs; High-level synthesis; algorithms; compilers; computer-aided design; performance;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Field-Programmable Custom Computing Machines (FCCM), 2013 IEEE 21st Annual International Symposium on
  • Conference_Location
    Seattle, WA
  • Print_ISBN
    978-1-4673-6005-0
  • Type

    conf

  • DOI
    10.1109/FCCM.2013.50
  • Filename
    6546001