Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

C,C++ support in NIOS

Altera_Forum
Honored Contributor II
1,390 Views

Hi, 

 

Will NIOS processor support all C & C++ instructions?  

 

I have six C++ programs & a Verilog custom program. Each C++ program takes input from files generated by other C++ programs. Finally the data goes to FPGA(custom program)& gets the output. 

 

Is there any restriction on data accessing from files. Each data is a floating number or an integer.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
578 Views

 

--- Quote Start ---  

originally posted by mohana sundaram.s.v@Sep 1 2005, 07:58 AM 

hi, 

 

will nios processor support all c & c++ instructions?  

 

i have six c++ programs & a verilog custom program. each c++ program takes input from files generated by other c++ programs. finally the data goes to fpga(custom program)& gets the output. 

 

is there any restriction on data accessing from files. each data is a floating number or an integer. 

--- Quote End ---  

 

NIOS uses the standard gcc compiler with the newlib library 

 

If all the functions you use are available in the newlib library , then i see no reason why it should not work. 

Check the newlib lib documentaion in your nios install for a list of funcs  

 

 

regards 

Pavan
0 Kudos
Altera_Forum
Honored Contributor II
578 Views

I noticed the IDE doesn't indicate "class" to be a reserved word in a .c or .h file; I had assumed the compiler didn't support C++. 

 

The IDE does indicate "class" as a reserved word in a .cpp file. Is there a ".h-like" extension for which the IDE recognises "class" (.hpp?) ??
0 Kudos
Altera_Forum
Honored Contributor II
578 Views

> Is there a ".h-like" extension for which the IDE recognises "class" (.hpp?) ?? 

 

Right click your project and select properties, then have a look at the "C/C++ File Types". 

 

Regards, 

--Scott
0 Kudos
Reply