|
|
|
|
|
|
|
|
Code Generation Advisor Report - Blinky.slx | |
Simulink version: 10.1 | Model version: 1.145 |
System: Blinky | Current run: 26-Nov-2022 13:09:13 |
Treat as Referenced Model: off |
Pass | Fail | Warning | Not Run | Total |
---|---|---|---|---|
|
|
|
|
12 |
Passed
Current Objectives: Execution efficiency
The following parameters have been checked and confirmed with the recommended value
Check for constructs in the model that are not recommended for production code generation
Identify blocks that are not recommended to be used for code generation.
Passed
Constructs that are not recommended for production code generation were not found in the model or subsystem
_________________________________________________________________________________________
Check for usage of Gain blocks
Identify Gain blocks whose value equals 1
Passed
There are no Gain blocks whose value equals 1 in the model or subsystem
Check 'Byte ordering' and 'Signed integer division rounds to' parameters
Identify inconsistencies or underspecification of hardware attributes that can lead to incorrect and inefficient generated code.
Passed
Target specification is consistent.
_________________________________________________________________________________________
Check whether 'Production hardware' and 'Test hardware' match
Search for 'Test hardware is the same as production hardware' in the Configuration Parameters dialog box and check if it is selected. If it is cleared, identify whether target specifications match.
Passed
'Test hardware is the same as production hardware' is selected or is cleared and the target specifications match.
Check for expensive rounding operations in multiplication and division
Passed
_________________________________________________________________________________________
Check Optimization and Hardware Implementation settings (Lookup Blocks)
Passed
_________________________________________________________________________________________
Check for expensive rounding in a data type conversion
Passed
_________________________________________________________________________________________
Check for expensive rounding modes in the model
Passed
_________________________________________________________________________________________
Check for multiword operations
Passed
_________________________________________________________________________________________
Check for expensive multiplication code
Passed
_________________________________________________________________________________________
Check for expensive division code
Passed
_________________________________________________________________________________________
Identify lookup blocks with uneven breakpoint spacing
Passed
_________________________________________________________________________________________
Check for expensive pre-lookup division
Passed
_________________________________________________________________________________________
Check for expensive data type conversions
Passed
_________________________________________________________________________________________
Check for fixed-point comparisons with predetermined results
Passed
_________________________________________________________________________________________
Check for expensive binary comparison operations
Passed
_________________________________________________________________________________________
Check for expensive fixed-point types
Passed
_________________________________________________________________________________________
Check the model for blocks configured for one-based indexing
Passed
All blocks in the model use zero-based indexing.
_________________________________________________________________________________________
These settings can lead to inefficient code generation when inputs always fall within the range of valid breakpoint values for lookup table blocks, including Lookup Table blocks, Prelookup blocks and Interpolation blocks.
Passed
The lookup table blocks have been configured to generate range-checking free code.
Identify logic blocks that are outputting non-Boolean data types.
Passed
There are no logic blocks in the model or subsystem.
Identify Sum blocks for questionable fixed-point operations
Passed
_________________________________________________________________________________________
Identify Relational Operation blocks for questionable fixed-point operations
Passed
_________________________________________________________________________________________
Identify Data Type Conversion Inherited blocks for questionable fixed-point operations
Passed
_________________________________________________________________________________________
Identify Switch blocks for questionable fixed-point operations
Passed
_________________________________________________________________________________________
Identify Logic blocks for questionable fixed-point operations
Passed
_________________________________________________________________________________________
Identify Saturate blocks for questionable fixed-point operations
Passed
_________________________________________________________________________________________
Identify Min Max blocks for questionable fixed-point operations
Passed
_________________________________________________________________________________________
Identify Discrete Integrator blocks for questionable fixed-point operations
Passed
_________________________________________________________________________________________
Identify Compare To Constant blocks for questionable fixed-point operations
Passed
_________________________________________________________________________________________
Identify Lookup Table blocks for questionable fixed-point operations
Passed
_________________________________________________________________________________________
Identify blocks that will invoke net slope computation
Passed
_________________________________________________________________________________________
Identify Product blocks that are less efficient
Passed
_________________________________________________________________________________________
Check for expensive saturation code
Passed
_________________________________________________________________________________________