2.10. Debugging the system

After the model successfully built, it can be executed and debugged with Model Debugger:

  1. Click the Debug button in the System Canvas Toolbar to launch Model Debugger.

  2. The Configure Model Parameters dialog displays the instantiation parameters for the top-level components in the model as shown in Figure 2.18.

    You can display parameter sets either by either:

    • selecting a Parameter category in the left side of the dialog

    • clicking on a + next to a component name in the right hand side.

    You can select the List View or Tree View tabs for a different view of the system parameters.

    No changes are required in this tutorial, so click OK to close the dialog.

    Figure 2.18. Configuring Model Parameters dialog

    Configuring Model Parameters dialog

  3. The Select Target dialog opens and displays the components to use in Model Debugger as shown in Figure 2.19. The ARM processor component is selected by default.

    You can select additional targets to load in their own instances of Model Debugger. This is not required for the tutorial.

    Figure 2.19. Select Targets dialog

    Select Targets dialog

  4. Click OK to start Model Debugger.

    The debugger loads the model library from the build directory of the active configuration. One instances of Model Debugger starts.

    If the Load Application Code dialog is not automatically displayed, select Load Application Code from the File menu.

    Select %PVLIB_HOME%\images\dhrystone.axf as the application.


    You must have installed the Third Party IP add-on for the Fast Model Portfolio. This is available as a separate download from the ARM ESL Support website.

  5. Click Run to start the simulation.

  6. A Model Debugger Application Input pop-up window appears. Type 1000000 into the Application input field. See Figure 2.20.

    Figure 2.20. Model Debugger Application Input window

    Model Debugger Application Input window

    Click OK. After a short pause, the results of the benchmark are shown in the StdIO tab of Model Debugger.

This tutorial used existing library components to create a system. Creating new components is described in Chapter 6 Creating a New Component.

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