Browse > Article
http://dx.doi.org/10.3745/KIPSTD.2010.17D.4.283

Test Case Generation Strategy for Timing Diagram  

Lee, Hong-Seok (아주대학교 전자공학과)
Chung, Ki-Hyun (아주대학교 전자공학부)
Choi, Kyung-Hee (아주대학교 정보통신전문대학원)
Abstract
Timing diagram is a useful tool for describing the specification of system, but there is no study for test case strategy of a timing diagram. To solve this problem, we followed the steps to generate test cases from timing diagram in this paper. 1) We defined a timing diagram formally. 2) We describe the method of transforming from a timing diagram model into a Stateflow model which has an equivalent relationship between a timing diagram model and a transformed Stateflow model. 3) We generated test cases from a transformed Stateflow model using SDV which is plugged in Simulink. To show that our approach is useful, we made an experiment with a surveillance model and arbitrary timing diagram models. In the experiment we transformed timing diagram models into Stateflow models, generated test cases from transformed Stateflow models using SDV, and analyzed the generation results. The conclusion that can be obtained from this study is that timing diagram is not only a specification tool but also a useful tool when users are trying to generate test cases based on model.
Keywords
Automatic Test Case Generation; Stateflow; Timing Diagram; Specification; Embedded System;
Citations & Related Records
연도 인용수 순위
  • Reference
1 The MathWorks Inc, “Simulink design $verifier^{TM}$ 1 User’s Guide”, Available from URL http://www.mathworks.com/access/helpdesk/help/pdf doc/sldv/sldv ug.pdf, 2008.
2 Andersson, G., Bjesse, P., Cook, B., Hanna, Z., ”A proof engine approach to solving combinational design automation problems,” In: Proc. 39th Design Automation Conference (DAC'02), IEEE Computer Society Press, pp.725-730, 2002.
3 C. Chen, T. Lin, and H. Yen, “Modelling and Analysis of Asynchronous Circuits and Timing Diagrams Using Parametric Timed Automata,” in Proc. of the 23rd IASTED Int'l Conf. on Modelling, Identification and Control (MIC 2004), ACTA press, 2004.
4 David Harel, “Statecharts: A visual formalism for complex systems,” Science of Computer Programming, Vol.8, Issue 3, pp.231-274, 1987.   DOI   ScienceOn
5 S. Rayadurgam; M.P.E. Heimdahl, “Coverage based testcase generation using model checkers,” Engineering of Computer Based Systems, 2001. ECBS 2001. Proceedings. Eighth Annual IEEE International Conferenceand Workshop on the , Vol., No., pp.83-91, 2001.
6 Grass, W.; Grobe, C.; Lenk, S.; Tiedemann, W.-D.; Kloos, C.D.; Marin, A.; Robles, T., “Transformation of timing diagram specifications into VHDL code,” Design Automation Conference, 1995. Proceedings of the ASP-DAC '95/CHDL '95/VLSI '95., IFIP International Conference on Hardware Description Languages; IFIP International Conference on Very Large Scale Integration., Asian and South Pacific, Vol., No., pp.659-668, 1995.
7 Kelly Hayhurst, et al, “A Practical Tutorial on Modified Condition/Decision Coverage,” NASA/TM-2001-210876, May, 2001.
8 Davis, M., Logemann, G., and Loveland, D. “A machine program for theorem-proving,” Commun. ACM Vol.5, issue 7, pp.394-397, 1962.   DOI
9 R.E. Bryant, “Graph-Based Algorithms for Boolean Function Manipulation,” IEEE Transactions on Computers, pp.677-691, August, 1986.   DOI   ScienceOn
10 Kirill Bogdanov, “Automated testing of Harel's statecharts,” PhD thesis, The University of Sheffield, Jan., 2000.
11 Jee-Eun Yoo, “Using Model Checking to Generate Data-Flow Oriented Test Case from Statecharts,” Master thesis, KAIST, 2002.
12 John F. Wakerly, “Digital Design-Principles and Practices,” Prentice Hall, 4th ed, pp.682-686, 2005.
13 E. K. Ogoubi, Eduard Cerny “Synthesis of checker EFSMs from Timing diagram specifications”, ISCAS (1), pp.13-18, 1999.
14 Hyoungseok Hong, “Verification and Testing Methods for Statecharts,” PhD thesis, KAIST, 2000.
15 Jungsup Oh, “Automatic Generation of Test Cases based on Requirement Models,” PhD thesis, AJOU University, 2009
16 Nina Amla, “Model Checking Synchronous Timing Diagrams,” LNCS Proceedings of the Third International Conference on Formal Methods in Computer-Aided Design, Vol.1954, pp.283-298, 2000.
17 Moeschler, P.; Amann, H.P.; Pellandini, F., “High-level modeling using extended Timing diagrams - A formalism for the behavioral specification of digital hardware,” Design Automation Conference, EURO-VHDL '93. Proceedings EURO-DAC '93. European, Vol., No., pp.494-499, 20-24 Sep., 1993.
18 Stefan Lenk, “Extended Timing diagrams as a specification language,” European Design Automation Conference, Proceedings of the conference on European design automation, pp.28-33, 1994.