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

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
One-to-One C-to-Hardware Mapping
Figure 3–8. Shared Subfunction Logic
3–12
Nios II C2H Compiler User Guide
Table 3–5
functions. In this case, functions foo() and bar() both call a
subfunction foobar_sub().
Figure 3–8
from the code in
within both accelerators.
The C2H Compiler does not support external subfunctions. You must
locate the subfunction in the same source file as the accelerated function.
This is because, unlike the #include construct, a C external function
reference requires the presence of a linker. The C2H Compiler has no
linker.
void foo(int *data_in,
{
}
Top-Level Accelerated Function: foo() Top-Level Accelerated Function: bar()
Table 3–5. Shared Subfunction foobar_sub()
int *data_out)
...
foobar_sub();
...
shows an example of a subfunction called by two different
shows the hardware structure of the accelerators resulting
Table
9.1
3–5. Logic for the function foobar_sub() exists
void bar(int *data_in,
{
}
int *data_out)
...
foobar_sub();
...
foobar_sub();
...
Altera Corporation
November 2009

Related parts for IPTR-C2H-NIOS