Altera Nios II C2H Compiler User Manual

Page 39

Advertising
background image

Altera Corporation

9.1

2–17

November 2009

Nios II C2H Compiler User Guide

Getting Started Tutorial

more iterations of optimization to produce better results. In either case,
you can continue developing your system software and hardware, and
the accelerator remains in place.

1

It is common to be able to improve first-pass performance
results significantly by optimizing the C code and system
architecture.

If you modify the accelerated C code, the Nios II IDE automatically
regenerates the accelerator hardware with the C2H Compiler the next
time you build the C/C++ application project. Alternatively, you can
disable an accelerator after it is built and relink the original software
implementation, while leaving the hardware accelerator inactive in the
hardware.

f

To get a better understanding of how the C2H Compiler translates C to
hardware, read

Chapter 3, C-to-Hardware Mapping Reference

. After

that, for further information on optimizing C2H Compiler results, refer
to the

Accelerating Nios II Systems with the C2H Compiler Tutorial

.

Advertising