IPT-C2H-NIOS Altera, IPT-C2H-NIOS Datasheet - Page 132
IPT-C2H-NIOS
Manufacturer Part Number
IPT-C2H-NIOS
Description
C2H COMPILER FOR NIOS II
Manufacturer
Altera
Series
Nios®IIr
Type
Nios IIr
Datasheet
1.IPT-C2H-NIOS.pdf
(138 pages)
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
- Current page: 132 of 138
- Download datasheet (911Kb)
Language
Example 7–3. Nonrecursive Implementation of Factorial Function
int factorial(int x)
{
}
7–8
Nios II C2H Compiler User Guide
int tmp = 1, i;
for (i = 0 ;i<x;i++)
{
}
return tmp;
tmp *= (i+1);
Function Specifiers (Section 6.7.4)
The inline function specifier is ignored in the C2H design flow. The
build process uses the nios2-elf-gcc option –fno-inline.
Functions Declared Without a Return Type
The C2H compiler does not support functions without an explicitly
declared return type. If you are using the implicit int return type, declare
the return type explicitly. If your function has no return value, declare it
as void.
Miscellaneous Unsupported Features
The C2H Compiler does not support the features of ANSI C listed in this
section.
Goto (Section 6.8.6.1)
The goto keyword is not supported.
Identifiers (Section 6.4.2.2)
The predefined identifier __func__ is not supported.
Trigraph Sequences (Section 5.2.1.1)
The use of trigraph sequences to reduce the standard C character set to
the smaller ISO 646 character set is not supported.
The following function call uses unsupported trigraph “??<“ in place of
“{“:
int cmpchar(char *c2)
9.1
Altera Corporation
November 2009
Related parts for IPT-C2H-NIOS
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
CYCLONE II STARTER KIT EP2C20N
Manufacturer:
Altera
Datasheet:
Part Number:
Description:
CPLD, EP610 Family, ECMOS Process, 300 Gates, 16 Macro Cells, 16 Reg., 16 User I/Os, 5V Supply, 35 Speed Grade, 24DIP
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
CPLD, EP610 Family, ECMOS Process, 300 Gates, 16 Macro Cells, 16 Reg., 16 User I/Os, 5V Supply, 15 Speed Grade, 24DIP
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
CPLD, EP610 Family, ECMOS Process, 300 Gates, 16 Macro Cells, 16 Reg., 16 User I/Os, 5V Supply, 30 Speed Grade, 24DIP
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
High-performance, low-power erasable programmable logic devices with 8 macrocells, 10ns
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
High-performance, low-power erasable programmable logic devices with 8 macrocells, 7ns
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
Classic EPLD
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
High-performance, low-power erasable programmable logic devices with 8 macrocells, 10ns
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
CPLD, EP610 Family, ECMOS Process, 300 Gates, 16 Macro Cells, 16 Reg., 16 User I/Os, 5V Supply, 25 Speed Grade, 24DIP
Manufacturer:
Altera Corporation
Datasheet: