参数资料
型号: IPT-C2H-NIOS
厂商: Altera
文件页数: 132/138页
文件大小: 0K
描述: C2H COMPILER FOR NIOS II
标准包装: 1
系列: Nios®II
类型: Nios II
功能: C 到硬件编译器
许可证: 初始许可证
Language
Example 7–3. Nonrecursive Implementation of Factorial Function
int factorial(int x)
{
int tmp = 1, i;
for (i = 0 ;i<x;i++)
{
tmp *= (i+1);
}
return tmp;
}
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)
7–8
Nios II C2H Compiler User Guide
9.1
Altera Corporation
November 2009
相关PDF资料
PDF描述
IPTR-DSPBUILDER DSP BUILDER SOFTWARE
IR11662SPBF IC CNTROL SMART RECTIFIER 8-SOIC
IR1166STRPBF IC MOSFET DRIVER N-CH 200V 8SOIC
IR11672ASPBF IC MOSFET DRIVER 200V 8-SOIC
IR1167ASTRPBF IC SMART SECONDARY DRIVER 8-SOIC
相关代理商/技术参数
参数描述
IPT-DSPBUILDER 功能描述:开发软件 DSP Builder MATLAB SIMULINK RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
IPTE-75GF-1000-70D 制造商: 功能描述: 制造商:undefined 功能描述:
IPTG06A18-11SZC 制造商:GLENAIR 制造商全称:Glenair, Inc. 功能描述:Straight Plug Connector with Backshell to Accommodate
IPTG06A18-11SZCPH16 制造商:GLENAIR 制造商全称:Glenair, Inc. 功能描述:Straight Plug Connector
IPTG06A18-11SZCPHM18 制造商:GLENAIR 制造商全称:Glenair, Inc. 功能描述:Straight Plug Connector