IPT-C2H-NIOS Altera, IPT-C2H-NIOS Datasheet - Page 85

no-image

IPT-C2H-NIOS

Manufacturer Part Number
IPT-C2H-NIOS
Description
C2H COMPILER FOR NIOS II
Manufacturer
Altera
Series
Nios®IIr
Type
Nios IIr
Datasheet

Specifications of IPT-C2H-NIOS

Function
C to Hardware Compiler
License
Initial License
Software Application
IP CORE, NIOS Processor And Functions
Core Architecture
FPGA
Core Sub-architecture
Cyclone
Rohs Compliant
NA
Lead Free Status / RoHS Status
Not applicable / Not applicable
Example 3–36. Loop-Carried Dependency
int simple_hash(int *data, int len)
{
}
Altera Corporation
November 2009
int hash = 0;
do
{
} while (len--);
return hash;
int data_word = *data++;
hash = hash + data_word;
hash = hash ^ data_word;
Figure 3–22
Example
Figure 3–22. Loop-Carried Dependency
Variables data and hash have loop-carried dependencies, illustrated by
the cyclic arrows in
calculation on State 1 in iteration N is dependent on the result of the
calculation from State 2 in iteration (N-1). The arrow for data in State 0
illustrates the ideal case in which a state depends only on its own output.
The ideal case does not restrict the scheduling of successive iterations.
3–36, which has loop-carried dependencies.
shows the dependency graph for the do loop in
Figure
9.1
3–22. The arrow for hash indicates that the
C-to-Hardware Mapping Reference
Nios II C2H Compiler User Guide
3–45

Related parts for IPT-C2H-NIOS