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.

NIOS II IDE BUG

Altera_Forum
Honored Contributor II
1,212 Views

I thought I'd post this in case other people are having a similar problem. It appears that there is a problem with the C Development Tools that ship with the Eclipse IDE. If code of the following structure appears in a source file and the environment tries to parse the file (just saving or opening it is enough) then the java virtual machine starts to consume 99% of CPU resources. 

 

typedef struct 

} FirstStruct; 

 

struct SecondStruct 

FirstStruct *FirstStruct; 

}; 

 

void TestFunc(void) 

FirstStruct *Dummy; 

 

Although this is an artificial example, it occured with some real life code that I had ported to NIOS II. Renaming the line "FirstStruct *FirstStruct;" to "FirstStruct *pFirstStruct;" solves the problem. 

 

Can anyone else confirm that this is a problem? 

 

Alistair
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
551 Views

I fully reproduced this issue, and Altera is now looking into the problem.  

 

Thanks!
0 Kudos
Reply