Embedded Target for Motorola MPC555 |
 |
Code Analysis Reporting
The Embedded Target for Motorola MPC555 supports an extended version of the Real-Time Workshop Embedded Coder HTML code generation report.
The extended code generation report consists of several sections:
- The Generated Source Files section of the Contents pane contains a table of source code files generated from your model. You can view the source code in the MATLAB Help browser. Hyperlinks within the displayed source code let you view the blocks or subsystems from which the code was generated. Click on the hyperlinks to view the relevant blocks or subsystems in a Simulink model window.
- The Summary section lists version and date information, TLC options used in code generation, and Simulink model settings.
- The Optimizations section lists the optimizations used during the build, and also those that are available. If you chose options that generated less than optimal code, they are marked in red. This section can help you select options that will better optimize your code.
- The report also includes information on other code generation options, code dependencies, and links to relevant documentation.
- The code profile report section includes a detailed itemization of RAM and ROM usage for all code and data sections, and a complete memory map of the generated code.
To generate a code generation report and view the profiling report:
- Select the Real-Time Workshop tab of the Simulation Parameters dialog box. Select
Target configuration
from the Category menu. Make sure that the Generate code only option is not selected.
- The reason for this step is that the Embedded Target for Motorola MPC55 extended code generation report obtains information from MAP files that are created by your cross-compiler during the build process. If the Generate code only option is on, these files are not generated, which prevents the generation of the code generation report.
- Select
General code generation options
from the Category menu.
- Select Generate HTML report, as shown in this picture.

- Follow the usual procedure for generating code from your model or subsystem.
- The Real-Time Workshop writes the code generation report file in the build directory. The file is named
model
_codegen_rpt.html
or subsystem
_codegen_rpt.html
.
- The Real-Time Workshop automatically opens the MATLAB Help browser and displays the code generation report.
- To view the profiling report, click on the Code profile report link in the Contents pane of the report.
Alternatively, you can view the code generation report in your Web browser.
| Algorithm Export Target | | Algorithm Export Target Summary |  |