Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

SOPC Builder - Error: Top-level design entity is undefined

I have Quartus II 10.1sp1 installed on an Ubuntu Server. I can get the tools to run, but when attempting to compile a project originally created on a Windows machine, SOPC Builder throws the following errors for each of the VIP components:

Error: Top-level design entity "cpr" is undefined
Error: Unable to generate simulation model for cpr

I'm wondering if I'm missing an environment variable or something. Here's what I have in my bashrc:

QUARTUS="/opt/altera/10.1/quartus/bin"
QUARTUS_ROOTDIR="/opt/altera/10.1/quartus"
SOPC_BUILDER="/opt/altera/10.1/quartus/sopc_builder/bin"
SOPC_KIT_NIOS2="/opt/altera/10.1/nios2eds"
SOPC_BUILDER_PATH_100="/opt/altera/10.1/nios2eds
QUARTUS_64BIT=1

Any ideas what could be missing?

How does everyone typically set their environment variables?

Any other ideas on what the problem might be?

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    you can get case sensitivity issues going from Windows to Linux. take a look at the case of the files in the project, custom components, etc

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks for the heads up. I'll have to check on that.

    I discovered that SOPC Builder will generate the system without error if I do NOT have the "create project simulator files" checkbox checked. Strange. That sounds like the issue in Windows where you have to run as Administrator.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Confirmed that this is a bug in 10.1 that has been fixed in 11.0 and beyond.