Professional Documents
Culture Documents
com
TargetLink
n High-quality
n Built-in
n AUTOSAR
n Certified
support
n NEW: TargetLink
n Model
3.3
1)
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Model Compare1)___________________________________________________ 46
1)
2012
TargetLink
Automatic productioncodegenerator
Highlights
n High-quality production code generation directly
from Simulink/Stateflow
n Built-in simulation and testing
n AUTOSAR support
n Certified for IEC 61508 and ISO 26262
n NEW: TargetLink 3.3 (p. 7)
Application Area
Model-based design has become the established development method across many industries. And production code
generation is the logical step for turning models into efficient,
production ready code. TargetLink is a software system that
generates production code (C code) straight from the MATLAB/Simulink/Stateflow graphical development environment.
Code generation options range from plain ANSIC code to
optimized fixed- or floating-point code for certain processors. Versatile code configuration options ensure that the
production code copes with processor constraints.
Key Benefits
Converting graphical models directly into production code
ensures perfect consistency between model and code at all
times. Since the same model will always result in the same
proven code, TargetLinks code generation is deterministic
and thus guarantees the highest software quality. Every
step can be tested against the specification via the built-in
simulation features. This allows early verification and translates directly into cost reduction, for example, by avoiding
expensive ECU software defects.
Efficient Coding
Efficiency is the key to production-quality code. Efficient
code means that a minimum of execution time and resources
is required to run the code on a cost-efficient embedded
processor. Code generated by TargetLink is proven to be
as efficient as handwritten code. Other factors also make
TargetLink such a useful tool: code readability, traceable
model/code dependency, and last but not least, the ability
to generate optimized code for specific target microcontrollers.
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Description
Benefit
Code efficiency
Code reliability
Target optimizations
Human readability
Automatic scaling
process
n Malfunctions are found at earliest stage
Multirate code
communication
dSPACE Data Dictionary
TargetLink Blockset
AUTOSAR support
your projects
n Simplified software integration and integration testing
Support of OSEK/VDX-compliant
operating systems
Documentation
features
file for calibration tools
development
n Access to SystemDesk simulation for proper software
integration testing
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Order Information
Classification
Type
Order Number
Base Suite
n TBS
Freescale HCS12/Cosmic
n TOM_HCS12/Cosmic
Freescale HCS12/Metrowerks
n TOM_HCS12/Metrowerks
n TOM_MPC5xx/Diab
n TOM_MPC5xx/GREEN
n TOM_MPC55xx/Diab
n TOM_C16x/Tasking
n TOM_TriCore/Tasking
Renesas M32R/GAIO
n TOM_M32R/GAIO
Renesas SH-2/Renesas
n TOM_SH2/SHC
n TSM
n TMOS_OSEK
n TAS
n DSDD_MANAGER
Other modules
Relevant Software
Software
Included
Required
n TargetLink blockset
Data dictionary
n MathWorks MATLAB/Simulink/Stateflow
n Compiler for host simulation included in MATLAB
Optional
Operating system
n www.dspace.com/goto?os_compatibility
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Detailed Description
n Improved incremental code generation for subsystems (simplifying code generation for large
models)
n Extended support for model referencing
n More powerful function reuse for flexible merging of variables
file/package partitioning during AUTOSAR import/export, better handling for structures, etc.
n Improved SWC container exchange between SystemDesk and TargetLink
n Support for multiple Data Dictionary workspaces in order to load, visualize, and edit multiple
n Modeling multirate systems without generating tasks and messages (as required by Standard
documentation
Testing improvements
n M-API for the TargetLink Data Server to access simulation data of MIL/SIL/PIL simulation runs
n More powerful parameter modification API to run SIL/PIL simulations with different sets of
simulations
n Separate option sets for compiling production code and compiling S-functions
Miscellaneous
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
TargetLink
Base Suite
TargetLink
1)
Blockset
Data
2)
Dictionary
Document
Generator
Autoscaling
ASAM-MCD 2MC
file generation
Target Simulation
Module
Target Optimization
Modules
AutomotiveSpecific
Modules
Freescale
MC56F83xx
Freescale
HCS12
Freescale
HCS12
Freescale
MPC55xx
Freescale
MPC5xx
Freescale
MPC5xx
Freescale
Renesas
Infineon
Renesas
MPC560xB
SH-2
C16x
V850
Infineon
Renesas
Freescale
Infineon
TriCore
M32R
S12X
XC2000
Freescale
MPC55xx
Infineon
C16x
OSEK/VDX module
Infineon
TriCore
Renesas
M32R
Renesas
SH-2
AUTOSAR module
1)
2)
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Compiler Supported by
Target Optimization Module
Freescale 56F83xx
Freescale HCS12
Freescale S12X
Freescale MPC5xx
Freescale MPC55xx
Freescale MPC560xB
Processor Family
Infineon C16x
Infineon TriCore
Infineon XC2000
Renesas V850
Renesas M32R
Renesas SH-2
1)
Evaluation Boards
Supported by TargetLink
Freescale MC56F8367EVM
MCT HCS12 T-Board and
Freescale M68EVB912DP512
dSPACE DS1603
Freescale MPC5604BEVB
Tasking compilers
Tasking compilers
Tasking compilers
Tasking compilers
SK-EB XC2287
GAIO compilers
Renesas M3A2154
Renesas compilers3)
Renesas compilers
2)
3)
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Modeling Approach
Reference
Single-Rate and
Multi-Rate
Modeling
Prepare Simulink
model for
TargetLink
Typical Task
Behavior Validity Checks
Code Generation Settings
Scaling1)
Simulink
Model Exchange
in Workgroups
MIL
Production Code
Host Simulation
Typical Task
Host-PC
Scaling/Discretization Analysis1)
1)
Saturation and Overflow Detection
Code Coverage Analysis
SIL
Software-in-the-Loop
Validation / Verification
Precision
Model-in-the-Loop
Optimization
Create
TargetLinkModel
from Scratch
Production Code
Target Simulation
Evaluation Board
Typical Task
Memory Measurement
Execution Time Profiling
Target Code Verification
PIL
Code Information
Function Calls
Tasks
...
Processor-in-the-Loop
Calibration
Generating
ASAM-MCD 2MC
Descriptions
Automatic Model
and Code
Documentation
Calibration Tools
Generating
AUTOSAR Software
Component
Descriptions
RTOS
HandWritten
Code
Legacy
Code
I/O
Code
ECU
1)
10
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Workflow
Control Design and Function Prototyping
Control design starts with creating a control model in the
integrated design environment MATLAB/Simulink/Stateflow.
Before production code generation with TargetLink, you
could use dSPACE prototyping systems to carry out convenient function prototyping and validation of your new ECU
control algorithms.
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
11
Code Generation
The TargetLink Base Suite generates highly efficient ANSI
C code for a controller model at the click of a button. This
code efficiency can be increased even further by generating
code for a specific compiler/processor combination using a
Target Optimization Module (p. 8-9, p. 27).
12
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
13
Software Development
Function Development
1
in
1
in
same model
pictrl
plant model
Simulink Coder
MicroAutoBox
Real-time hardware
pictrl
plant model
TargetLink
ECU
Function development (including rapid control prototyping) with the TargetLink Blockset stand-alone and
software development with a full TargetLink installation.
Block Overview
TargetLink Block Library
14
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Multirate Blocks
The TargetLink multirate blocks make multirate operating
system objects available in block diagrams. There are even
OSEK-specific blocks like the CounterAlarm.
AUTOSAR Blocks
Model-based design for AUTOSAR ECUs (p. 30) is supported
by blocks for structural elements such as runnables, ports,
and certain communication elements.
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
15
Block Configurations
Handling Large Models with the Property
Manager
Since it is time-consuming to change the properties of large models via block dialogs manually,
TargetLink provides the Property Manager. This is
a graphical user interface that displays the properties of TargetLink blocks and Stateflow objects in a
model. The Property Manager allows you to view,
filter, and modify several properties simultaneously.
For Stateflow objects this includes charts, events,
states and data. The Property Manager provides a
tree view of the models subsystem hierarchy, a list
of blocks in each subsystem, and a configurable
list of properties for each block.
The Property Manager for handling models with numerous blocks.
16
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Model-in-the-Loop
Controller model
Software-in-the-Loop
Processor-in-the-Loop
C code on host PC
Evaluation
board
TargetLink performs the three different simulation modes without any changes to the model or the generated code.
Software-in-the-Loop Simulation
Software-in-the-loop means the code is generated and
replaces the controller blocks in the same simulation model
(for example, same plant and stimulus signals). TargetLink
does this automatically in the background. You still see,
though it is the code that is executed on the host PC instead.
Processor-in-the-Loop Simulation
Finally, the generated code runs on an embedded processor. Code that runs correctly on the host PC can still cause
trouble on the target processor. To check that this does not
happen, TargetLink offers processor-in-the-loop simulation.
An off-the-shelf evaluation board is connected to the host
PC, and the generated code is compiled with the target com-
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
17
Display Results
Compare Plots
The simulation results are automatically plotted in the same
plot window that was used by the other simulation modes.
This is a convenient way to compare the results of simulations in different modes directly. For example, if plots from
processor-in-the-loop simulation deviate from software-inthe-loop simulation, the most likely cause is a bug in the
target compiler or a problem with the processor.
Efficient Approach
This 3-step approach, using model-, software- and processorin-the-loop simulation, is easy, intuitive, and quick. As a
result, tests can be carried out more frequently, which
increases software quality.
Signals from MIL and SIL simulation are displayed and can be analyzed to measure deviations.
18
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Result Plotting
TargetLink directly visualizes the simulation results of
logged signals. Simulation results from different simulation runs, no matter which simulation mode, are plotted
one above the other in the same plot window, using diffe-
Signal Analysis
In the Detailed Signal Window, you can zoom signals to
inspect deviations visually and get a clear picture of the signal
behavior. Constraints can be displayed to show immediately
whether signals are within defined ranges, which is especially
important for scaling. You can use a cursor to scroll through
the signal histories and display signal values numerically. The
Signal Deviation Window gives you a graph of the deviation
between two signals. These tools are all available at a click
for convenient analysis.
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
19
Run-Time Analysis
Profiling the Code
Processor-in-the-loop simulation can also be used to profile
the generated code. During simulation, TargetLink automatically measures execution time and stack consumption
directly on the target processor. A code summary lists RAM
and ROM usage for each function. These features allow you
Model-Code Traceability
For improved traceability and simplified code reviews, code files
can be optionally generated in HTML format, with hyperlinks
for navigation from model to code and vice versa at a click.
20
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Scaling of Variables
Fixed-Point Accuracy
Quick and Accurate Scaling
If TargetLink is to generate only floating-point code, scaling
is not necessary. However, if TargetLink is used to generate
fixed-point code, autoscaling can be a huge time-saver. It
takes away the tedious and error-prone task of manually
scaling each variable and each operation in the software.
What took days and weeks in the past can now be done in
minutes and hours.
Overflow Detection
Another big advantage: fixed-point overflows no longer
entail hour-long debugging sessions. With TargetLink, scaling
can be checked during simulation. If an overflow occurs,
TargetLink shows the exact location in the block diagram.
The problem can be corrected right away.
Scaling Choices
Scaling Properties
TargetLink offers a two-coefficient linear scaling method, which
is widely used in embedded control applications. The properties
for specifying fixed-point scalings in TargetLink are:
n Data type
n Power-of-two scaling factor or arbitrary scaling factor
n Offset value
n Constraint values
n Bit safety margins
n Saturation options
Automatic Scaling
These scaling properties give ample choices to fine-tune
fixed-point code to the conflicting requirements of low
execution time, high computational precision, and overflow
avoidance. Fixed-point scaling can be done manually by a
software engineer, but in most instances it is left to the
autoscaling tools from TargetLink.
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
21
Worst-Case Autoscaling
When simulation is not possible or deemed unfeasible,
TargetLink offers the method of autoscaling based on a
worst-case range calculation. This method requires value
range information for inports and some specific blocks
inside the model. TargetLink propagates these value ranges
through the model and calculates the best scaling. Theadvantages of this scaling method are that it does not require
a plant model and that overflows will be prevented.
22
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Code Coverage
Total Branches
Reached Branches
Unreached Branches
Fuel system
61.87%
139
86
53
58.91%
129
76
53
56.56%
122
69
53
Correction redundancy
100%
Airflow controller
100%
10
10
Airflow calculation
100%
Airflow subsystem
100%
Annotated code listing with execution counts for each code block.
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
23
24
2012
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
25
Code Optimization
Highly efficient production code
Optimized ANSI C Code
TargetLink generates highly efficient ANSI C code as a standard. This is achieved by various optimization techniques,
which roughly fall into 3 categories:
n Standard optimizations
n Interblock optimization
n Code pattern libraries
Standard Optimizations
TargetLink uses many of the optimization techniques that
are also used by C compilers. These are optimizations like
constant folding, algebraic transformations, dead code elimination, and lifespan analysis of variables, to name just
a few. They are standard optimization techniques and are
used by TargetLink whenever applicable.
Interblock Optimization
Interblock optimization combines the code of several blocks
in one C code line. TargetLinks interblock optimization gives
the generated code a human touch, because TargetLink
combines code in a very similar way to what a skilled software engineer would do. For instance, a string of arithmetical, logical, and relational blocks is usually combined in
26
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Target-Optimized Code
Optimized Assembly Code
With the optional target optimization modules (p. 8-9),
processor- and compiler-specific language extensions can
also be used for code optimizations. This further increases
the efficiency of the generated code. For every processor/
compiler combination supported by TargetLink, there is a
library containing highly optimized code patterns. Compiler-
ANSI-C
Cycles
1232
45
Code size
100 byte
54 byte
Customized Code
Code According to Customer Standards
Readability
TargetLink code is easily readable and has many comments.
Unnecessary macros, function calls, cryptic naming, etc. are
avoided. Comprehensive configuration options give you full
control over variable, function, and file naming, as well as
the flexibility of partitioning the code into functions and files
to keep the structure logical and manageable.
Variable Classes
You also have full control of how TargetLink generates variables and, as a consequence, full control of how the RAM and
processor stack are utilized. The scope and storage class of
a variable can be specified, as well as other C attributes like
volatile or const. Even PRAGMA directives can be generated
before and after each declaration or block of declarations. To
keep things simple, TargetLink bundles all these properties into
variable classes. They are selectable in block dialogs, which
saves you a lot of repetitive specification work.
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
27
28
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
mated, while at the same time providing options for intervention in the individual process phases. For example, hook
functions allow user tasks to be performed at all stages
of the build process.
TargetLink
TargetLink
ASAM-MCD 2MC file
controller(vod)
{
...
}
Code files
External
ASAM-MCD 2MC files
/beginn MODULE
/begin CHARACTERISTIC
...
/begin MESUREMENT
...
/begin RECORD_LAYOUT
...
*.a2l
*.a2l
*.C
Calibration
System
ECU
/include module
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
29
Functionality
n Model-based design for AUTOSAR software components
(SWCs)
n Code generation for AUTOSAR SWCs
n Importing, exporting and merging software component
descriptions
n Simulating and testing SWCs
n AUTOSAR frame model generation
n Round trips with other AUTOSAR tools based on SWC
description files
n Convenient round trips with SystemDesk based on SWC
container exchange
30
Benefits
n Efficient and easy modeling by using proven workflows
for AUTOSAR
n Code generation compliant with AUTOSAR standard
n Easy migration of existing TargetLink models to
AUTOSAR
n Testing and verifying SWCs in early design phases
n No tedious manual creation of software component
description files
n Easy integration of TargetLink in an AUTOSAR tool chain
(p. 34)
In brief: You go from model to AUTOSAR-compliant code
faster.
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
31
32
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
33
SWC Container
...
.arxml .doc
Container
Manager
SystemDesk
SWC Container
.h
34
TargetLink
Developing AUTOSAR
software with SystemDesk
and TargetLink based on
the exchange of SWC
containers.
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Benefits
This combination of TargetLink and the OSEK/VDX standard gives you huge advantages. A whole real-time system
can be described in one environment. Control algorithms
and operating system objects are specified entirely on the
block diagram level. This means you can specify real-time
properties in your familiar environment. Consistency checks
OSEK
Configurator
Data Dictionary
TargetLink
Model
import/
export
edits
edits
*.mdl
input to
TargetLink
generates
*.oil
OSEK System
Generator
generates
Legacy Code
1)
*.C
*.C
*.C
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
35
Intertask Communication
TargetLink InPort and OutPort blocks allow you to completely specify communication between different tasks. Data
can be exchanged using OSEK messages or global variables. The code optionally works with local copies of global
variables. Critical code sections can be protected from being
preempted. If you do not specify intertask communication
manually, TargetLinks intelligent interblock optimization
finds the best setup automatically.
36
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
n
n
n
n
Description
The dSPACE Data Dictionary is a data container that centrally holds the relevant information for a models design,
code generation, and implementation on an ECU. Data
dictionary objects can be referenced from TargetLink models.
You can define and manage variables and corresponding
properties, and you can specify structured data types and
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
37
Benefits
The dSPACE Data Dictionary is the perfect tool for defining and handling project-related code specifics, even for
workgroups. It provides access to a wealth of additional
information, for example, specifics on C modules, function
calls, tasks, variable classes, data variants and so forth. The
Subsystem A
Subsystem B
Model X
Subsystem C
Model Y
Subsystem D
Model Z
ASAM-MCD 2MC
XML
Data Dictionary Manager
Data
Dictionary
API
OIL
AUTOSAR SWC
descriptions
.....
38
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Data Structure
The dSPACE Data Dictionary has specific main areas where
you can set the configuration data, the pool data for models
(pre-code generation data), and the subsystem and application data (post-code generation data). Selected branches of
the Data Dictionary can be loaded from separate include files,
which are maintained centrally for a whole workgroup.
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
39
Share Data
Import and Export
The dSPACE Data Dictionary supports various import/export
formats, including
n Variables and Simulink data objects from/to MATLAB
workspace and files
n XML (Extensible Markup Language)
n ASAM-MCD 2MC (Standardized Description Data,
formerly ASAP2)
n AUTOSAR software component descriptions
n OIL (OSEK Implementation Language)
40
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Order Information
Product
Order Number
dSPACE Data Dictionary (for separate use without TargetLink Base Suite)
n DSDD_MANAGER
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
41
1)
42
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
MISRA C
The British MISRA1) C standard is a widely accepted C subset
for projects in the automotive industry. Its aim is to define
rules for avoiding common software errors that can occur
when software engineers write software by hand. Most of
these rules also make sense for machine-generated code.
Certified Code
TargetLink is in production in a large number of applications,
some of which are safety-related. TargetLink-generated code
has been successfully deployed in automotive systems classified as IEC 61508 SIL32) and ISO 26262 ASIL D3) and certified
for avionics systems according to RTCA4) DO-178B Level A,
the highest safety level, meaning that a software failure
would have catastrophic consequences for the aircraft.
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
43
Description
BTC EmbeddedTester
Certified TargetLink test environment BTC EmbeddedTester provides a test environment for
BTC Embedded Systems AG
automatic test generation and execution to verify TargetLink www.btc-es.de
code. Back-to-back test execution is performed on MIL, SIL,
and PIL level, and comes with advanced code coverage
capabilities. BTC EmbeddedTester has been certified by
TV SD as fit for purpose according to ISO 26262 and
IEC 61508.
Company
MXAM ensures that your Simulink models and TargetLink Model Engineering
models are consistent with established modeling guidelines Solutions GmbH
such as MAAB, dSPACE TargetLink Modeling Guidelines and www.model-engineers.de
MISRA AC TL, and with your own in-house requirements.
The optional Strong Data Typing Toolbox ensures that your
TargetLink models are checked for functional safety aspects,
as required in ISO 26262 and DO-178B. With its clearly
structured reports, MXAM makes the model review process
fast and easy to handle.
M-XRAY
MTest Classic
1)
44
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
Product
Description
Company
Reactis
TPT
PikeTec GmbH
www.piketec.com
StyleChecker
MEDKit - Motor-Control
Education Kit
Emerge-Engineering
www.emerge-engineering.
de/en
To purchase or get technical support for third-party products, please contact the third-party product vendor directly.
There are other third-party tools that can also be used in combination with TargetLink in addition to the TargetLink
partner products.
2012
dSPACE GmbH Rathenaustrae 26 33102 Paderborn Germany info@dspace.de www.dspace.com
45
Model Compare1)
Comparison of Simulink, Stateflow, and TargetLink models
Highlights
n Graphical display of differences
n Generation of difference reports
n Built-in support for TargetLink
n Flexible difference filters
n Review support
n Merge support for models
n Command line interface for tool automation
n NEW: 32/64-bit MATLAB support
Application Areas
Automatic comparison is a must whenever you work with
multiple versions of a model. Model Compare from dSPACE
can be used with any TargetLink, MathWorks Simulink or
Stateflow model, and also supports libraries. There is a broad
range of use cases for Model Compare, for example:
n Managing different model versions or model variants
n Merging parallel development branches
n Verifying and reviewing model changes
TargetLink Support
Model Compare has built-in support for all TargetLink blocks
and properties. They are displayed and handled like ordinary
Simulink/Stateflow elements, so you do not have to bother
with TargetLink implementation details. Since the semantics
of TargetLink properties are known, they are also intelligently
handled by the predefined filter options.
46
2012
1)
Key Benefits
Model Compare finds all the changes in a model. Even
large models can be compared in minutes, which would
be practically impossible without tool support. You can use
filters to focus on relevant differences and ignore unimportant ones such as layout changes or simulation settings. The
support for review sessions also enables reliable, safe, and
controlled reviews of model changes. The merge support
simplifies the synchronization of changes in different versions of a model.
Description
Benefit
n Model
implementation details.
n Conversion and upgrade problems can be addressed.
n Comments can be associated with individual blocks and n Reviews are performed in a reliable, controlled and
n You
Merge support
n The
Report generation
n Comparisons
Order Information
Product
Order Number
Model Compare1)
n MOC
Relevant Software
Software
Required
Optional
1)
Operating system
n www.dspace.com/goto?os_compatibility
n MathWorks MATLAB/Simulink/Stateflow
n TargetLink (p. 4)
2012
47
www.dspace.com
Company Headquarters
in Germany
United Kingdom
France
dSPACE GmbH
Rathenaustrae 26
33102 Paderborn
Tel.: +49 5251 1638-0
Fax: +49 5251 16198-0
info@dspace.de
dSPACE Ltd.
Unit B7 . Beech House
Melbourn Science Park
Melbourn
Hertfordshire . SG8 6HB
Tel.: +44 1763 269 020
Fax: +44 1763 269 021
info@dspace.co.uk
dSPACE SARL
7 Parc Burospace
Route de Gisy
91573 Bivres Cedex
Tel.: +33 169 355 060
Fax: +33 169 355 061
info@dspace.fr
China
Japan
dSPACE Inc.
50131 Pontiac Trail
Wixom . MI 48393-2020
Tel.: +1 248 295 4700
Fax: +1 248 295 2950
info@dspaceinc.com
02/2012