2.2.2 Setting up the Fast Model Portfolio

How to manually configure the libraries.

This step is only necessary if you are using non-standard libraries or if your system has been modified. The Fast Model Portfolio installation typically updates the system variables and paths to use the standard libraries.
To incorporate existing components in a system, System Canvas requires information about these components such as their ports, protocols and library dependencies. For convenience, multiple components are grouped together in model repositories such as the Fast Model Portfolio (sglib.sgrepo).
Repositories contain lists of components with details of all the LISA files and Linux or Microsoft Windows libraries required to build systems. System Canvas can be configured to use default repositories if a new project is started. The project files store the references to the repositories that are used for the assembled system.
In addition to using the default repository, you can include more components. These are typically newly created custom components and previously-assembled hierarchical systems.
Use the Preferences dialog to select the required components:

Procedure

  1. Select Setup Default Repository... from the Project menu. The Preferences dialog appears.
    Figure 2-2 Preferences dialog, Setup Default Model Repository
    Preferences dialog, Setup Default Model Repository

  2. The default model repository at %PVLIB_HOME%\etc\sglib.sgrepo is always present in the list of available default files. It is the only library required by the example covered in this tutorial.

    Note

    The default model repository does not influence the repositories used by the currently loaded project. This dialog only determines the repositories added by default to new projects. To add a new repository to an existing project, you add a file using the Component window context menu.
    Although the %PVLIB_HOME%\etc\sglib.sgrepo entry cannot be edited or deleted, if the repository is not used by your new system, you can uncheck the entry to exclude the repository from your new project file.
    You can also add new repositories for use with your project, though this is not required for the tutorial:
    • Click the Add button, in the Default Model Repository view of the Preferences dialog, to display the Add Model Repository File dialog.
      Figure 2-3 Add Model Repository File dialog
      Add Model Repository File dialog

    • Browse to the required model repository file.
    • Click Select.
    • The Preferences window shows the added repository.
When a new project is created, the component window is filled with the collection of peripherals, processor components, and memories that are present in the repository list.
Related reference
4.3 Add Existing Files and Add New File dialogs (Component window)
Non-ConfidentialPDF file icon PDF versionARM DUI0370S
Copyright © 2007-2014 ARM. All rights reserved.