参数资料
型号: IPT-C2H-NIOS
厂商: Altera
文件页数: 128/138页
文件大小: 0K
描述: C2H COMPILER FOR NIOS II
标准包装: 1
系列: Nios®II
类型: Nios II
功能: C 到硬件编译器
许可证: 初始许可证
Language
The following example, which passes the address of a as the argument to
the function analyze() , is not supported:
void foo()
{
int a=0;
int c=analyze(&a);
}
int analyze( int * p );
You can substitute the following code, which initializes the pointer
outside of the accelerator:
int *pa = &a;
int foo()
{
return analyze(pa);
}
int analyze( int * p );
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:
if (i-- || j--)
In the following code fragment, the C2H Compiler evaluates the divide
by 0, which causes an error:
int i = 2 || 1 / 0 ;
Functions
The following sections list restrictions on functions.
Function Argument s
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.
7–4
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