Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21602 Discussions

Arggh! Error: Can't find port "ocp_enable" in OpenCore Plus entity "auk_ddr_hp_init".

Altera_Forum
Honored Contributor II
4,565 Views

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!
0 Kudos
17 Replies
Altera_Forum
Honored Contributor II
2,391 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
2,391 Views

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!
0 Kudos
Altera_Forum
Honored Contributor II
2,391 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
2,391 Views

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!
0 Kudos
Altera_Forum
Honored Contributor II
2,391 Views

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.

0 Kudos
Altera_Forum
Honored Contributor II
2,391 Views

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.

0 Kudos
Altera_Forum
Honored Contributor II
2,391 Views

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?

0 Kudos
Altera_Forum
Honored Contributor II
2,391 Views

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!
0 Kudos
Altera_Forum
Honored Contributor II
2,391 Views

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?

0 Kudos
Altera_Forum
Honored Contributor II
2,391 Views

The NEEK 8.0 kit contains only: 

 

cycloneiii_3c25_niosii_standard_sopc.ptf 

cycloneiii_3c25_niosii_application_selector_sopc.ptf 

cycloneiii_3c25_niosii_video_sopc.ptf 

 

Now it's clear why I lost almost 3 days trying to create something that should have been included in this version. I sure hope someone from the Altera support group monitors this forum!!! 

 

Thank you for clearing up was not obvious to me!
0 Kudos
Altera_Forum
Honored Contributor II
2,391 Views

Ahh yes sorry about that mate, i didn't make it clear i was using the original 7.2 examples from the bundled CD -

0 Kudos
Altera_Forum
Honored Contributor II
2,391 Views

I use both Altera and Xilinx products actively. I've found the development kit experience to be shoddy from both vendors. I suppose this is because they typically contract out the creation of these kits to third parties. 

However, once you get into doing your own designs, you are going to feel like you've died and gone to Heaven using the Altera tools. Altera's software tools and documentation put Xilinx to shame. You can use XPS and SoPC builder as a comparison point. I experience a lack of motivation every time I have to switch back over to a Xilinx design for this reason alone. 

The funny thing is that every other Xilinx user I've spoken with (including Xilinx employees) agrees. 

 

Anyway, don't hesitate to post again if you get stuck on something. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
2,391 Views

@dine909 - Don't apologize - I saw you were using 7.2 from an earlier post. I didn't install it because the WEB site clearly showed a later version. Had I known files were missing, then it wouldn't have been nearly as bad. The learning curve is sharp enough - I didn't need the extra frustration to add to the slow start of simply running a demo app. 

 

I'm moving along starting to put the foundations in for our application. Now it's not too bad, but I find many things annoying about Eclipse and more, the debugger. I wasn't thrilled with CodeWarrior which I just finished a project with, but now I see how much better a debugger it was, and yes, it too had several annoyances but several features that will be much harder to work productively without them in Ecliipse. 

 

Thanks!
0 Kudos
Altera_Forum
Honored Contributor II
2,391 Views

You need to delete all the files generated in your project directory by the DDR MegaWizard, then regenerate from SOPC builder.

0 Kudos
Altera_Forum
Honored Contributor II
2,391 Views

yep we figured it out in post# 5! 

 

cheers anyway!
0 Kudos
Altera_Forum
Honored Contributor II
2,391 Views

#metoo 

 

 

other files I found which are probably a good candidate 

for deletion:  

 

.sopc_builder 

 

Other filetypes from previous posts to be deleted: 

 

*.qip 

*.ptf 

*.ocp 

 

 

I am just trying to rebuild the MP3 example for my 10 year old 

evaluation kit 

http://www.alterawiki.com/wiki/mp3_player 

https://www.altera.com/products/boards_and_kits/dev-kits/altera/kit-cyc3-embedded.html?f=hp&k=t0&clientid=no 

 

It is quite a mess. 

 

I finally figured out to download quartus 8.1  

Now I rerun sopc and I see that  

 

*.ocp 

*.qip 

*.ptf are re-generated. 

That looks good. 

 

I am curious what will happen when I run compile again on quartus.
0 Kudos
Reply