Forum Discussion

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

Project library settings

Quartus II 7.1 SP1 Build 178

I'm trying to build projects that have a directory structure like this:

project1

project2

project3

vhdl_library

At the moment the path to vhdl_library is specified in global user libraries. This means the paths to the vhdl_library must be fixed.

I have tried to set the path to the vhdl_library in each project library setting as ../vhdl_library, but sopc_builder can't find any of the library components. Even if I specify an absolute path in the project library, it doesn't work.

The error message in sopc_builder is :

'the component <xxx> could not be located. Add path to Global User Libraries'

What can I do?

3 Replies

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

    If you are using a sopc builder then you can specify the path in the sopc builder. Go to tools menu and select options and select IP search path. there you specify your IP core which you are using into the design. Also specify your global user library in Quartus II.

    regards,

    Jigar G. Shah
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I can't specify the search path in sopc builder 7.1. It says use the global settings.

    I can't use global settings because the path to the vhdl_library may change depending where the project is located on the local drive.

    Example:

    Let's say I set a global path to c:/vhdl_library.

    I check out branch 1 of the library into c:/vhdl_library.

    I also need to work on branch 2, so I get this version out of the library and it overwrites the changes I've made to branch 1.

    What I need is sopc builder to look in the Quartus project settings to find the library.

    Apparently, V7.1 doesn't do this :mad:
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I would recommend moving away from 7.1. It was really an interim release. I would at least move to 7.2 if not to the new 9.0.

    If you are going to stick with 7.1

    1 - Place your component at or one folder below the level where your SoPC system is located.

    -or-

    2 - Add your component to the altera IP tree:

    "C:\altera\72\ip\sopc_builder_ip\<your_component_folder>"

    Adding the library to the Quartus library path really doesn't do anything for SoPC builder.

    Now for 9.0, please reference the "SoPC Library Search Path" section of the following user's guide:

    http://www.altera.com/literature/hb/qts/qts_qii54004.pdf

    This explains where components can be placed. It is similar to 7.1 but new features have been added.