Forum Discussion

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

sopc builder comp 6.0 --> 7.1

With conversion of sopc-builder 6.0 --> 7.1 problems occur with existing 6.0 components (based on HDL).

- it's not possible to edit the component in 7.1

- sopc says upgrade. I expect that the component will be converted to 7.1, but when i close the project and re-open it afterwards, it again has the upgrade-option

Does anyone have experience with these problems

Koos

1 Reply

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

    Exactly the same happened to me.

    The way SOPC-builder manages components has changed.

    When creating components in version 6 it created a sub-dir for the component in the project directory and copied the source files there. The source files in version 7.1 are not copied from their original location, instead a *_hw.tcl file is created in the source directory. For SOPC-builder to find these *_hw.tcl files that defines a "7.1-component" you will need to set a path to the source directory in the global libraries assignment. It does not work to have the path in the project libraries definintion.

    I moved all my Nios component files into a common Nios library and mapped it as a global library. Now it works for me.

    The Quartus II, 7.1 handbook volume 4, section I, 4 says:

    --- Quote Start ---

    Each time SOPC Builder starts, it looks searches for component files. Any

    components that it finds are displayed in the list of available components

    on the SOPC Builder System Contents tab. There are several mechanisms

    SOPC Builder uses to populate the list of available components.

    ■ Quartus II project directory and user library paths – SOPC Builder

    identifies component files stored in the current Quartus II project

    directory and user library paths. Placing component files in one of

    these two locations is the primary mechanism to include user HDL

    files as components in an SOPC Builder system.

    If you create a new component library under the Quartus II

    project directory and then add individual components to that

    new component library, for example:

    <Quartus_rootdir>\sopc_builder\my_project\my_project_lib

    \component1\, SOPC Builder will not find the components.

    You will have to add the directory for component1 to your

    library path.

    --- Quote End ---

    /BitBuster