Next steps, Next steps –16 – Altera Nios II C2H Compiler User Manual
Page 22

1–16
9.1
Altera Corporation
Nios II C2H Compiler User Guide
November 2009
Next Steps
extent that you analyze the code and understand it. In either case, the
Nios II IDE profiling features can help you determine where the
processor spends most of its time.
Examine the structure of the code for processor-specific or compiler-
specific optimizations written into the structure of the code. These
sections of code might result in poor performance with the
C2H Compiler, and could benefit from refactoring for the C2H Compiler.
It can be difficult to identify the critical loop just by inspecting code,
because programs often spend the majority of time iterating on just a few
lines of code. The only way to know exactly where the processor spends
the most time is to profile the application, and inspect the bottleneck
functions.
f
Refe
Next Steps
Now that you understand the underlying concepts of the Nios II
C-to-Hardware Acceleration Compiler, you are ready for hands-on
experience accelerating designs.
describes the C2H Compiler design flow, and gives step-by-step
instructions to accelerate your first design. Altera also provides tutorials
and application notes to deepen your understanding of the
C2H Compiler.
f
Refer to the Nios II literature page for further C2H Compiler
documentation:
.