Previous Topic

Next Topic

Book Contents

Book Index

Run real-time simulation

In this exercise we show how to use the KLOCwork MSC to SDL Synthesizer and real-time simulation of the Telelogic Tau to explore behavior of the MSC scenario models.

  1. Use the Telelogic Preference Manager to set the default simulator to the real-time mode. To do this, from the Organizer Tools menu, choose Preference Manager. The Preference Manager window appears.
  2. Embedded JPEG 50%

  3. Double-click on the Organizer icon in the Preference Manager to see the Organizer preferences.
  4. Embedded JPEG 50%

  5. Select Default Simulator and choose SCTDEBCLCOM the pop-up menu.
  6. Embedded JPEG 50%

  7. Save the preferences.
  8. Embedded JPEG 50%

  9. To restart the simulation in real-time mode, from the MSC to SDL menu, choose Simulate MSC. When the Simulator UI starts, click the MSC button in the Trace group, then click the Go button in the Execute group. Simulation starts.
  10. Embedded JPEG 50%

  11. Click the Send boo button in the Synthesized_Model group before the timer T expires, then click Go again.
  12. In real-time simulation, the timeout of the timer T occurs after the corresponding delay of 10 timer units. This allows us to send the signal boo to the Server and fail it, so that the Failure signal arrives before the timer expires. The model behaves correctly.

  13. Restart the Simulator UI. Select the MSC Trace again and click the Go button to start simulation.
  14. Click the Send go button to let the User do a data request, then send the boo signal to the Server to fail it.
  15. Embedded JPEG 50%

Summary

In this exercise, we showed how to use the KLOCwork MSC to SDL Synthesizer and real-time simulation of the Telelogic Tau to explore behavior of the MSC scenario models.

In the final exercise, we will demonstrate how to use the KLOCwork MSC to SDL Synthesizer to produce slices of MSC models.

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

Simulate 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

Simulate system slice