Understanding the c2h view, Introduction, Overview – Altera Nios II C2H Compiler User Manual
Page 95: Generation/compilation configurations, Project build configurations, Chapter 4. understanding the c2h view, Introduction –1 overview –1, Generation/compilation configurations –1, Chapter 4, understanding the c2h view

Altera Corporation
9.1
4–1
November 2009
4. Understanding the C2H
View
Introduction
This chapter discusses the Altera Nios II C-to-Hardware Acceleration
(C2H) Compiler view available in the Nios II IDE. Understanding the
C2H view allows you to estimate the resource usage and the performance
of the accelerator. You can use this information to perform optimizations
to reduce the logic resource size or increase the performance of the
accelerator.
Overview
You can use the C2H view to do the following:
■
Add or update hardware accelerators
■
Control how the C2H Compiler compiles your C code to hardware
■
Display information about hardware accelerators
The C2H view displays performance information about your accelerated
functions. This information makes it easy to select the best configuration
for the next compile.
The C2H view contains two sections:
■
Generation/Compilation Configurations
– the C2H view allows
you to specify various generation and compilation configurations for
your accelerated functions. The configurations allow you to control
the build flow of the entire software project and the individual
accelerated functions.
■
Build Report
– The C2H Compiler creates the build report during a
software compilation when it analyzes functions or generates
accelerators. Using the build report you can view the resource usage
and scheduling information for each accelerated function.
Generation/Compilation Configurations
The following sections discuss the two levels of configurations that you
can use to control the build flow.
Project Build Configurations
The project build configurations allow you to control linker settings for a
project with multiple accelerators. The project build configurations also
control the integration of the accelerators with SOPC Builder and the
Quartus II software.