2.2.1. Setting up the Fast Model Portfolio


The Fast Model Portfolio installation typically updates the system variables and paths to use the standard libraries. This section describes how to manually configure the libraries. This step is only necessary if you are using non-standard libraries or if you system has been modified.

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 Windows libraries required to build systems. System Canvas can be configured to use default repositories if a new project is started. The project files stores the references to the repositories that are used for the assembled system.

In addition to using the default repository, you can include further components. These are typically newly created custom components and previously assembled hierarchical systems.

Use the Preferences dialog to select the required components:

  1. Select Setup Default Repository... from the Project menu. The Preferences dialog is displayed as shown in Figure 2.2:

    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.

    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 shown in Figure 2.3.

      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 is updated to show the added repository.

When a new project is created, the component window is filled with the collection of peripherals, core components, and memories that are present in the repository list.

Copyright © 2007-2009 ARM Limited. All rights reserved.ARM DUI 0370H