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

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
Language
7–2
Nios II C2H Compiler User Guide
Bit-Field Declarations (Section 6.7.2.1)
Structs are supported; however, bit-field declarations used in packed
structs are not supported.
For example, the following packed struct defining a 3-bit field is not
supported:
You can use a mask of appropriate length to identify the significant bits:
Escape character sequences in character constants are supported if
they are used as string literals rather than character constants.
The following declaration is supported because it employs a string
literal:
The following declaration is not supported because it employs a
character constant:
Composite concatenation is not supported in initialization
statements.
The C2H Compiler does not support the initialization statement
which concatenates two strings, such as the following:
The following declaration is supported:
struct my_struct
{
} ms;
ms.tbits = 0xFF;
struct my_struct
{
} ms;
ms.tbits = 0xFF & 7;
unsigned int tbits:3;
unsigned int tbits;
char *newline = "\n";
char newline = '\n';
char s[] = "this" " string";
char s[] = "this string";
9.1
Altera Corporation
November 2009

Related parts for IPT-C2H-NIOS