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

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
Language
7–4
Nios II C2H Compiler User Guide
The following example, which passes the address of a as the argument to
the function analyze(), is not supported:
You can substitute the following code, which initializes the pointer
outside of the accelerator:
Logical Expressions
All expressions in logical operations are evaluated. The parser does not
stop evaluation if the first expression of a compound statement is true.
For example, in the following statement, both i and j decrement, even if
i is nonzero:
In the following code fragment, the C2H Compiler evaluates the divide
by 0, which causes an error:
Functions
The following sections list restrictions on functions.
Function Arguments
This section lists restrictions on arguments to functions.
Composite Types (Section 6.2.7)
The C2H Compiler does not support function arguments of different but
compatible types in function declarations that refer to the same entity.
void foo()
{
}
int analyze( int * p );
int *pa = &a;
int foo()
{
}
int analyze( int * p );
if (i-- || j--)
int i = 2 || 1 / 0 ;
int a=0;
int c=analyze(&a);
return analyze(pa);
9.1
Altera Corporation
November 2009

Related parts for IPTR-C2H-NIOS