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

no-image

IPTR-C2H-NIOS

Manufacturer Part Number
IPTR-C2H-NIOS
Description
IP CORE Renewal Of IPT-C2H-NIOS
Manufacturer
Altera
Datasheet

Specifications of IPTR-C2H-NIOS

Software Application
IP CORE, NIOS Processor And Functions
Core Architecture
Nios II
Features
ANSI C Compliance, Straightforward C-to-Hardware Mapping, Reporting Of Generated Results
Core Sub-architecture
Cyclone
Rohs Compliant
NA
Lead Free Status / RoHS Status
na
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 IPTR-C2H-NIOS