Previous Topic

Next Topic

Book Contents

Book Index

Simulate the synthesized SDL model

In this exercise we demonstrate how to simulate the synthesized SDL model using the Telelogic Tau Simulator UI.

Simulation of a synthesized SDL model is similar to the direct simulation of the input MSC model, demonstrated earlier. Direct simulation of MSCs allows the author of scenario-based specifications to interactively explore the behavior of the model without dealing with any complexities of state machines or details of SDL notation. However, at more advanced modeling stages, dealing with the SDL model becomes important because it offers a state-machine perspective of the behavior of the input model. Also, simulating the synthesized SDL model gives more advanced control over the process of simulation. Simulation of the synthesized SDL model is the topic of this exercise.

  1. In the Telelogic Tau Organizer, select the synthesized system and, from the Generate menu, choose Make. Ensure that the simulation kernel corresponds to your C programming environment. In the figure that follows, we set the simulation kernel to "gcc-Simulation", which works for our environment. The SDL Make dialog offers several important options. For information on other options in the SDL Make dialog, refer to the Telelogic Tau documentation.
  2. Embedded JPEG 50%

  3. Click the Set button on the SDL Make dialog.
  4. Now we are ready to start simulating the synthesized SDL model. Select the synthesized system and click the Simulate button in the Tau Organizer.
  5. Embedded JPEG 50%

    Telelogic Tau performs the following steps:

  6. SDL-oriented buttons have the SDL button in the Trace group. Click the SDL button to allow single-stepping through individual SDL symbols as you simulate the synthesized SDL model. Run the simulation by clicking the Transition button.
  7. Embedded JPEG 50%

Summary

In this exercise, demonstrated how to simulate the synthesized SDL model using the Telelogic Tau Simulator UI.

In the next exercise, we will modify the InfoServer model and introduce some new behavior.

See Also

Model: Information Server

Create MSC and HMSC diagrams in Telelogic Tau

Analyze MSCs

Simulate MSCs

Synthesize the SDL model

Inspect the synthesized SDL model

Extend the Server model

Validate the extended Server model

Fix the problem and revalidate the MSC model

Add simulation controls from the environment

Run real-time simulation

Simulate system slice