Forum Discussion
Arggh! Error: Can't find port "ocp_enable" in OpenCore Plus entity "auk_ddr_hp_init".
Hi there I have a really annoying problem on Quartus 8.1 when compiling designs that feature SOPC with DDR
Error: Can't find port "ocp_enable" in OpenCore Plus entity "auk_ddr_hp_init". -- OpenCore Plus specification file is invalid I'm attempting to compile *any* example for the NEEK and so far have managed to follow all getting started guides, built my own Nios2 system etc., but when it comes to any example that uses DDR SDRAM opencore plus IP i get hit with this error whilst Analysing the design... It happens on 2 computers, the only thing I've realised is that all the examples seem to be version 7.2, and SOPC updates all the components to version 8.1 when it opens the SOPC design - could this be causing it? Any help would be much appreciated!! Thanks!17 Replies
- Altera_Forum
Honored Contributor
Try re-generating in SOPC Builder and then re-compiling in Quartus. It's likely that Quartus is being pointed at incorrect and (perhaps) non-existent locations for the DDR IP, probably a Library file for the DDR logic.
If you must use 7.2 IP, then (if possible) stay with 7.2 tools. Best Regards, - Ura - Altera_Forum
Honored Contributor
HI there, thanks for the speedy reply,
I did re-generate the SOPC before recompiling to address a previous error, that seemed unrelated but was fixed by the regeneration. - I have since installed 7.2 and am 55 minutes into compile, so i'm assuming that problem has been overcome, but would still like to find the answer - i have contacted Altera support about it but not heard anything back - only time will tell! Thanks! - Altera_Forum
Honored Contributor
close quartus and delete the db and megacore directories, there may also be an altera directory, delete
it as well. open quartus, regenerate sopc_builder, and compile. --dalon - Altera_Forum
Honored Contributor
Cool, thanks uraslacker,dwesterg!
that didn't fix the issue directly, but gave me the idea of deleting all files in the project directory except Quartus project file and SOPC file, then generating/recompiling worked - Thanks for your help guys! - Altera_Forum
Honored Contributor
Specifically, delete the DB folder and *.ocp *.qip. I'm surprised there is no "clean" function. I lost a day trying to rebuild the files which you have to do just to run one of the supplied demos. So far the out of box experience with the NEEK is horrible.
- Altera_Forum
Honored Contributor
Yeah - i agree. I posted a support ticket about this and got totally ignored. It's a shame as it's a great product, but their support and website (that looks like one big school-boy error!) totally lets them down. If it wasn't for this forum i'd have binned it by now.
- Altera_Forum
Honored Contributor
What's more infuriating is the tutorial and demos don't run until you build the PTF and SOF files. And the tutorial says to start with cycloneIII_3c25_niosII_standard_sopc for Hello World. Great for that, but that default to be used for demos doesn't include Ethernet support. So, you can create a project starting with Sample Socket Server or WEB Server and it doesn't have the logic to do Ethernet! Is this me or did you find the same thing?
- Altera_Forum
Honored Contributor
In my installation i used the Quartus II project in:
C:\altera\72\kits\cycloneIII_3c25_niosII_eval\examples\web_server as a template for Ethernet enabled Nios2 based projects, seems to be a good starting point. Hope this helps! - Altera_Forum
Honored Contributor
I tried that and Simple Socket Server. When you created the project with that as a template, what did you specify for the PTF file for the project?