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

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
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 IPT-C2H-NIOS