next up previous contents index
Next: 8.4 Example Up: 8. SCC - A Previous: 8.2.5 Importation   Contents   Index

8.3 Space Efficiency and Speed Efficiency


Table 8.1: Trade-offs between SVM and SCC
Tool Achieve Sacrifice
SVM functionality and extensibility space and speed
SCC speed space, modularity and functionality


Several aspects and concerns affect the design of SVM and SCC (Table 8.1). There are different emphases of these tools:

The design of SCC reflects the above concerns. The numbering of states and events reduces string comparison to integer comparison. Tables are statically generated, which records the parent-children relations and leaf states.

However, history still requires complex computation at run-time. This is because the behavior of models with history is statically unpredictable. For this reason, the use of history (whether it is common history or deep history) is discouraged, if the designer intends to synthesize really efficient code for his/her model.


next up previous contents index
Next: 8.4 Example Up: 8. SCC - A Previous: 8.2.5 Importation   Contents   Index
Thomas Huining Feng 2004-04-28