Next: 5. DISTRIBUTED SIMULATION WITH
Up: SVM & SCC TUTORIAL
Previous: 3.4 Reusing the Synthesized
  Contents
SVM can be used as a plugin for AToM
(A Tool for Multi-formalism
Meta-modeling, developed at MSDL, McGill University by Prof. Hans
Vangheluwe). It simulates the DCharts models designed in AToM
on-the-fly, and generates textual model descriptions from the
graphical models. It is also able to generate target code directly
from the graphical models.
The functionality of the SVM simulator and code synthesizer can be
added to an existing AToM
environment. If the user does not have
AToM
installed yet, he/she must download it from the AToM
homepage
and install it manually (simply by extracting the package).
After AToM
is installed, the user should take the following steps
to install the SVM plugin:
- Download and install a recent version of SVM. Though the CVS
version is not stable, it is recommended for AToM
users,
because it has increased compatibility with AToM
and an
improved code generator.
- Add the SVM directory to the PATH environment variable
and PYTHONPATH environment. This is to allow the user and
the AToM
environment to invoke SVM directly from any other
directory.
- Copy the plugins/AToM
/DCharts/ directory (and all
the files in it) to the AToM
directory.
- Start AToM
and select the ``Options'' item in the ``File''
menu. Modify the settings in the ``Options'' dialog according to
Figure 4.1. (Set the ``Dir. for Code
Generation'' to ``DCharts''; Set the ``Initial Meta-Model'' is to
``DCharts''; and click on the ``new'' button to insert ``DCharts''
to the ``Path Directories''.)
Figure 4.1:
Settings in the AToM
``Options'' dialog to enable the DCharts meta-model
|
- Restart AToM
and the DCharts meta-model will be loaded
automatically. It is now possible to design DCharts models in the
AToM
environment.
Next: 5. DISTRIBUTED SIMULATION WITH
Up: SVM & SCC TUTORIAL
Previous: 3.4 Reusing the Synthesized
  Contents
Thomas Huining Feng
2004-04-05