SynDEx is launched by running the SynDEx executable, located in the directory bin of your installation directory. Some options can be specified on the command line, for example :
The complete list of options can be obtained by running the SynDEx executable
with the --help option.
For example write the command line:
> /syndex-7.0.x/bin/syndex-7.0.x -libs /syndex-7.0.x/libs -html /usr/bin/firefox appli.sdx
In this example the libraries directory and the web browser used to display the manuals are specified on the command line. In addition, the name of an application to open is also specified, otherwise only the principal window is opened.
To create an application workspace, run the SynDEx executable without the name of an application. It opens the principal window of SynDEx (cf. figure 2.1).
To load an existing application in the workspace, from the File menu, choose the Open option and select a SynDEx file (cf. figure 2.2). For example load the /syndex-7.0.x/examples/basic/basic.sdx example.
Loading a SynDEx application will open:
Opening another application will replace the current one by the new one in the
Warning: some application may require libraries (cf. Chapter 3).
In the algorithm window, the adress bar displays AlgorithmMain (main) meaning that the main algorithm is viewed in the main mode (cf. section 5.1.2). Double left click on AlgorithmMain in the Definition list. The algorithm is now viewed in its definition mode and the adress bar displays [Function] AlgorithmMain. See section 5.1.2 for more information.
Note that you can create several algorithms and architectures but only one main algorithm and one main architecture on which the adequation will be applied.
To launch the adequation of the main algorithm (cf. Main mode in section 5.1.2) onto the main architecture (cf. section 6.3.2), from the Adequation menu of the principal window, choose the Launch Adequation option. To save the result of the adequation, from the Options menu, check Save Adequation with Application. Then save your application. To view the computed schedule, from the Adequation menu, choose the Display Schedule option. See chapter 9 for more information.
To generate the code of the application, from the Code menu, choose the Generate Executive(s) option. The generated .m4 files are saved in the example’s directory. To view theses files from the SynDEx workspace, from the Code menu, choose the Display Executive(s) option. See chapter 10 for more information.
To save the current application, from the File menu, choose the Save option. To save it with a new name, choose the Save as option and type the new name in the dialog window. The file will be suffixed by .sdx.
To close the current application, from the File menu, choose the Close option. It closes all the application windows and leaves the workspace empty.
To quit SynDEx from the File menu, choose the Quit option.