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

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
Altera Corporation
November 2009
Array Initialization (Section 6.7.8, Paragraph 3)
Array initialization is supported; however, the array size must be
established before initializing individual elements of the array.
The following code, which assigns a single element of an array without
establishing its size, is not supported:
The following initialization, which establishes the array size before
initializing a single element, is supported:
It is also possible to initialize the entire array with a single statement, as
follows:
Delayed Declaration
The C2H Compiler does not support delayed declaration of variables.
For example, the following code, which first declares an array of
unspecified size and later provides the size, is not supported:
You can establish the size of the array when it is declared:
Expressions
The C2H Compiler does not support the following C operators.
Unary Operator (Address Operator) (Section 6.5.3.2, Paragraph 1)
The unary & operator used as an address operator is not supported.
int a[] = {[5]=2};
int a[6]; /* establish array size */
a[5]=2; /* assign element 5 */
int a[6]={0,0,0,0,0,2}; /* init a[]*/
int b[]={0,0,0,0,0,2}; /* init b[]*/
int a[];
int a[20];
int a[20];
9.1
ANSI C Compliance and Restrictions
Nios II C2H Compiler User Guide
7–3

Related parts for IPT-C2H-NIOS