Model Advisor Report for 'quantis_filter_1'

Model version: 1.21

Generated on: 07-Mar-2005 19:37:22


Identify unconnected lines, input ports, and output ports

Passed


Check root model Inport block specifications

Passed


Check solver for code generation

Sample times for this model are currently unconstrained. Consider specifying the sample times explicitly.


Identify questionable blocks within the specified system

Skipped for non-ERT targets.


Check the hardware implementation

Your current system target file is grt.tlc.  Consider using ert.tlc or an ERT-based target, such as mpc555_exp.tlc, for final production deployment of the code.

Embedded hardware settings are unspecified. This may lead to incorrect generated code.

Simulink and Real-Time Workshop require two sets of target specification. The first set describes the final intended production target. The second set describes the currently selected target. If the configurations do not match, Real-Time Workshop generates extra code to emulate the behavior of the production target. This allows you, for example, to emulate the behavior of a 16-bit production microprocessor on a 32-bit rapid-prototyping microprocessor.

It is extremely important that the two sets are the same for final production deployment of the code.

You are using the following specification
Embedded Hardware
(simulation and code generation)
Emulation Hardware
(code generation only)
C Type char (bits) 8 8
C Type short (bits) 16 16
C Type int (bits) 32 32
C Type long (bits) 32 32
Shift right on signed integer is implemented as arithmetic shift? on on


Check optimization settings

It is recommended to turn on the following optimization(s):

  • Inline parameters
  • Ignore integer downcast in folded expressions


  • Identify questionable software environment specifications

    You selected support for continuous time. It is recommended to disallow this option for production code generation.

    You selected support for non-finite numbers. It is recommended to disallow this option for production code generation.

    You selected support for non-inlined S-functions. It is recommended to disallow this option for production code generation.


    Identify questionable code instrumentation (data I/O)

    You selected MAT-file logging option, which results in significant increase in code size. Consider disabling MAT-file logging option in the Real-Time Workshop Interface settings.


    Check for parameter tunability information ignored by Simulink

    Passed


    Check for implicit signal resolution

    The following models try to resolve all named signals and states to Simulink signal objects. Click on the links to turn off implicit signal resolution and enforce resolution for each of the signals and states that currently resolve successfully.

    quantis_filter_1


    Check for optimal bus virtuality

    Passed


    Identify questionable fixed-point operations

    Integer division generated code could be more efficient. The rounding behavior of signed integer division is not fully specified by the C language standards. When faced with this lack of specification, the code generated for division can be large in order to ensure bit-true agreement between simulation and code generation. The Hardware Implementation pane of the Configuration Parameters dialog allows you to specify the rounding behavior of signed integer division for the Embedded Hardware. For this model, the rounding behavior is currently set to 'Undefined'. You can reduce the size of the code generated for division by determining and setting this information. The most common behavior is that signed integer division rounds to Zero.

    quantis_filter_1


    Identify blocks that generate expensive saturation and rounding code

    Passed


    Check sample times and tasking mode

    Passed


    Check for Mux blocks used as Bus Creator blocks

    Mux blocks in this model are properly used. To eliminate any modeling error in future, please enable strict bus modeling by entering the following command at the MATLAB prompt:
    set_param('quantis_filter_1', 'StrictBusMsg', 'ErrorLevel1')