Forum Discussion
Altera_Forum
Honored Contributor
16 years agomodule cpu not found
hello I am having a problem using C program in NiosII IDE. I am using the hello world template project from nios II. I have used the SRAM controller provided by the University Program. when i'm ...
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- Hi fabmal004, did you ever find the cause of this issue? It turns out that I have just picked up a project made in 7.2sp3 and I have got the same error message. So far I have tried re-installing Quartus, Nios II and the IP megacore incrementally from v7.2 sp1 through to sp3. I have also had a look through the installed sopc folders and I can see that the nios cpu component files definately exist in my install, but for some reason Nios is not finding them. Anyone else have any ideas or a solution?? --- Quote End --- After 2 days of messing about I have finally found the reason for this error, so I shall post my fix for all those who may stumble across the same issue. All you have to do is go into your main project folder and move/delete any pre-compiled *.sof and *.ptf files from it, including any backup versions you may have under the same name. While you are at it you can also delete the .sopc_builder folder as well as the sopc builder will re-generate that file when you run it again. Rebuild the IP in sopc builder, rebuild the hardware in Quartus. Launch Nios II and do a clean and a build. I hope this may help anyone who is stuck with the same compiler error.