SPP Tool Chain
3 SPML Tools

1.    SPML Tool Chain

File:

SPPToolChainGUI.dll

Description:

This tool provides a GUI for user to run the SPML tool chain on the SPML model. In the GUI as shown below, the left panel "SPP Tool Chain" shows the sequence of the tool chain, the middle panel "File Status" shows the status of generated/updated files by each tool, the right panel "Operations" lists buttons and check box for each tool,  user can run each tool by pressing down the tool's button, or she/he can run the batched execution by marking the tools' check box and then pressing down the button "Batched Execution", the output messages will be shown in the bottom panel "Output Messages".

Usage:

Invoke this interpreter by clicking the icon:

2.    SPML2DESERT

File:

spml2desert.exe

Description:

This tool generates the Desert input interface xml file from the SPML model. The translator needs to validate the XML output document against DesertIface.xsd.

To launch this translator, UdmDll.dll and xerces-c_2_5_0.dll must be in your PATH.

Usage:

Command line:
            spml2desert.exe <SPML_file.mga> [<DesertIface_file.xml>]

3.    DESERT2SPML

File:

desert2spml.exe

Description:

This tool reads the Desert output interface xml file and the input SPML model to generate a new output SPML model based on the selection of configuration.

After the Desert2SPML translator is launched, a GUI will show the Desert configuration info in which user can choose which configuring is to be used.

The figure below shows an example. The input SPML model is t0.mga file, the Desert output file contains four configuration objects and the first configuration Conf. no: 1 is chosen with its detail is shown in the right hand side panel, when click the button "Run Desert2SPML", the output SPML model is t0_c1.mga will be generated.

             

To launch this translator, UdmDll.dll and xerces-c_2_5_0.dll must be in your PATH.

Usage:

Command line:
        spml2desert.exe [<DesertIfaceBack_file.xml>] [<SPML_file.mga>] [<configuration no.>]

4.    SPML2CoActive

File:

spml2coactive.exe

Description:

This tool generates the CoActive xml file from the SPML model. The translator needs to validate the XML output document against CoActive.xsd.

To launch this translator, UdmDll.dll and xerces-c_2_5_0.dll must be in your PATH.

Usage:

Command line:
            spml2coactive.exe <SPML_file.mga> [<CoActive_file.xml>]

5.    CoActive

File:

coactive.exe

Description:

This tool generates the run time artifacts from the CoActive xml file. These include a configuration file (build.cfg) for deploying the application on the processor network, a VHDL file for deploying on FPGA resources, and some initialization codes.

To launch this translator, xerces-c_2_5_0.dll must be in your PATH.

Usage:

Command line:
            coactive.exe <build.xml> [-d <project_root_dir>]

6.    WrapperGen

File:

WrapperGen.exe

Description:

This tool generates platform integration wrapper files in the designated/default output directory for the SPML model.

To launch this translator, xerces-c_2_5_0.dll must be in your PATH.

Usage:

Command line:
            WrapperGen.exe [output_directory] <SRML_file.mga>

7.    SPML2Wrappers

File:

SPMLWrapperGenComponent.dll

Description:

This tool generates platform integration wrapper files in the designated/default output directory for the SPML model. By invoking this interpreter, a dialog will show up:

Usage:

Invoke this interpreter by clicking the icon:

8.    SPML2ML

File:

SPML2ML.dll

Description:

This tool generates the Matlab .m files for the SPML model.

Usage:

Invoke this interpreter by clicking the icon:

9.    SPML2CC

File:

SPMLCCGen.dll

Description:

This tool generates the conditional classifier files in the designated folder.

Usage:

Invoke this interpreter by clicking the icon:

10.    SPML_Replicator

File:

SPML_Replicator.dll

Description:

This tool is provided to automatically perform the replication for the model repetitive constructs based on the ReplicationCount attribute value of Replicator atom.

Usage:

Invoke this interpreter by clicking the icon:

11.    SPML_CSGE

File:

CSGE.dll

Description:

This is a model optimization tool. It eliminates redundant processing on data , by employing a technique similar to common  subexpression elimination  in optimizing compilers. 

Usage:

Invoke this interpreter by clicking the icon:

12.    SPML_ID

File:

SPML_ID.dll

Description:

This tool generates unique identifier for each component.

Usage:

Invoke this interpreter by clicking the icon:

13.    SPML_DT

File:

SPML_DT.dll

Description:

This tool will set the data type of type polymorphic components given the application description.

Usage:

Invoke this interpreter by clicking the icon:

14.    SPML_DS

File:

SPML_DS.dll

Description:

This tool will set the data block sizes of components. The components are expected to operate on data blocks of variable sizes. The interpreter ensures block size conformance across interacting components.

Usage:

Invoke this interpreter by clicking the icon:

Next Up: 4 CoActive Runtime