Abstract
We address the problem of the automatic design of automata to translate between different protocols, and we reduce it to the solution of equations defined over regular languages and finite automata (FA)/finite state machines (FSMs). The largest solution of the defined language equations includes all protocol converters that solve the problem; this is a strong advantage over computational techniques that deliver only one or a few solutions, which might lead to suboptimal implementations (e.g., as sequential circuits). Our model is versatile, because it can handle different topologies and constraints on the solutions. We propose a fully automatic procedure implemented inside a software package BALM-II which solves language equations. For illustration we show examples of setting up and solving language equations for classical protocol mismatch problems, aiming at the design of protocol converters to interface an alternating-bit (AB) sender and a non-sequenced (NS) receiver. Our automatic converter synthesis procedure yields a complete solution for automata and FSMs, and may serve as a core engine to embed into any full-fledged interface synthesis tool.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Sinha, R., Roop, P.S., Salcic, Z., Basu, S.: Correct-by-construction multi-component SoC design. In: Proceedings of the Conference on Design, Automation and Test in Europe, DATE 2012, San Jose, CA, USA. EDA Consortium, pp. 647–652 (2012)
Martin, G., Bailey, B., Piziali, A.: ESL Design and Verification: A Prescription for Electronic System Level Methodology. Morgan Kaufmann, San Mateo (2007)
Passerone, R., Rowson, J.A., Sangiovanni-Vincentelli, A.: Automatic synthesis of interfaces between incompatible protocols. In: Proceedings of the 35th Annual Design Automation Conference, DAC 1998. ACM, New York (1998). http://doi.acm.org/10.1145/277044.277047
Petrenko, A., Yevtushenko, N.: Solving asynchronous equations. In: Budkowski, S., Cavalli, A., Najm, E. (eds.) FORTE XI/PSTV XVIII 1998, pp. 231–247. Kluwer Academic Publishers, Dordrecht (1998)
Yevtushenko, N., Villa, T., Brayton, R., Petrenko, A., Sangiovanni-Vincentelli, A.: Solution of parallel language equations for logic synthesis. In: The Proceedings of the International Conference on Computer-Aided Design, pp. 103–110, November 2001
Yevtushenko, N., Villa, T., Brayton, R., Petrenko, A., Sangiovanni-Vincentelli, A.: Solution of synchronous language equations for logic synthesis. In: The Biannual 4th Russian Conference with Foreign Participation on Computer-Aided Technologies in Applied Mathematics, September 2002
Yevtushenko, N., Villa, T., Brayton, R., Petrenko, A., Sangiovanni-Vincentelli, A.: Sequential synthesis by language equation solving, Tech. Report No. UCB/ERL M03/9, Berkeley, CA, April 2003
Yevtushenko, N., Villa, T., Zharikova, S.: Solving language equations over synchronous and parallel composition operators. In: Kunc, M., Okhotin, A. (eds.) Proceedings of the 1st International Workshop on Theory and Applications of Language Equations, TALE 2007, Turku, Finland, 2 July 2007, pp. 14–32. Turku Centre for Computer Science (2007)
Villa, T., Yevtushenko, N., Brayton, R., Mishchenko, A., Petrenko, A., Sangiovanni-Vincentelli, A.: The Unknown Component Problem: Theory and Applications. Springer, New York (2012)
Castagnetti, G., Piccolo, M., Villa, T., Yevtushenko, N., Mishchenko, A., Brayton, R.K. : Solving parallel equations with BALM-II, EECS Department, University of California, Berkeley, Tech. Report UCB/EECS-2012-181, July 2012. http://www.eecs.berkeley.edu/Pubs/TechRpts/2012/EECS-2012-181.html
Castagnetti, G., Piccolo, M., Villa, T.: BALM-II. http://esd.scienze.univr.it/index.php/it/balm-ii.html
B. R. Group.: BALM, website and User’s Manual. http://embedded.eecs.berkeley.edu/Respep/Research/mvsis/balm.html
Androutsopoulos, V., Brookes, D., Clarke, T.: Protocol converter synthesis. Comput. Digital Tech. IEE Proc. 151(6), 391–401 (2004)
Jiang, Y., Jin, Y.: Protocol converter sysnthesis: an application of control synthesis, EE219C Class Project Report, December 1999
Passerone, R., Rowson, J.A., Sangiovanni-Vincentelli, A.L.: Automatic synthesis of interfaces between incompatible protocols. In: DAC, pp. 8–13 (1998)
Passerone, R., de Alfaro, L., Henzinger, T.A., Sangiovanni-Vincentelli, A.L.: Convertibility verification and converter synthesis: two faces of the same coin. In: ICCAD, pp. 132–139 (2002)
Passerone, R.: Semantic foundations for heterogeneous systems, Ph.D. dissertation, EECS Department, University of California, Berkeley, Tech. Report No. UCB/ERL M98/30 (2004). http://www.eecs.berkeley.edu/Pubs/TechRpts/1998/3445.html
Passerone, R.: Interface specification and converter synthesis. In: Zurawski, R. (ed.) Embedded Systems Handbook. CRC Press, Taylor and Francis Group, Boca Raton (2005)
Watanabe, S., Seto, K., Ishikawa, Y., Komatsu, S., Fujita, M.: Protocol transducer synthesis using divide and conquer approach. In: Design Automation Conference, 2007, ASP-DAC 2007, Asia, South Pacific, pp. 280–285, January 2007
Bhaduri, P., Ramesh, S.: Interface synthesis and protocol conversion. Formal Aspects Comput. 20, 205–224 (2008)
Avnit, K., Sowmya, A.: A formal approach to design space exploration of protocol converters. In: The Proceedings of the Design, Automation and Test in Europe Conference, pp. 129–134, April 2009
Kumar, R., Nelvagal, S., Marcus, S.: A discrete event systems approach for protocol conversion. Discrete Event Dyn. Syst. Theory Appl. 7(3), 295–315 (1997)
Sinha, R., Girault, A., Goessler, G., Roop, P.S.: A formal approach to incremental converter synthesis for system-on-chip design. ACM Trans. Des. Autom. Electron. Syst. 20(1), 13:1–13:30 (2014). http://doi.acm.org/10.1145/2663344
Buffalov, S., El-Fakih, K., Yevtushenko, N., Bochmann, G.: Progressive solutions to a parallel automata equation. In: König, H., Heiner, M., Wolisz, A. (eds.) FORTE 2003. LNCS, vol. 2767. Springer, Heidelberg (2003)
El-Fakih, K., Buffalov, S., Yevtushenko, N., Bochmann, G.: Progressive solutions to a parallel automata equation. Theoret. Comput. Sci. 362, 17–32 (2006)
DiBenedetto, M.D., Sangiovanni-Vincentelli, A., Villa, T.: Model matching for finite state machines. IEEE Trans. Autom. Control 46(11), 1726–1743 (2001)
Cao, J., Nymeyer, A.: Formal model of a protocol converter. In: Downey, R., Manyem, P. (eds.) Fifteenth Computing: The Australasian Theory Symposium (CATS 2009), CRPIT, vol. 94. ACS, Wellington, pp. 107–117 (2009)
Sinha, R., Roop, P., Basu, S.: A model checking approach to protocol conversion. In: Workshop on Model-driven High-level Programming of Embedded Systems (2007)
Sinha, R., Roop, P.S., Basu, S.: SoC design approach using convertibility verification. EURASIP J. Emb. Sys. 2008 (2008)
Sinha, R., Roop, P.S., Basu, S., Salcic, Z.: Multi-clock SoC design using protocol conversion. In: Proceedings of the Conference on Design, Automation and Test in Europe, DATE 2009. European Design and Automation Association, pp. 123–128 (2009)
Sinha, R.: Automated techniques for formal verification of SoCs, Ph.D. dissertation, University of Auckland, New Zealand (2009)
Autili, M., Inverardi, P., Mignosi, F., Spalazzese, R., Tivoli, M.: Automated synthesis of application-layer connectors from automata-based specifications. In: Dediu, A.-H., Formenti, E., Martín-Vide, C., Truthe, B. (eds.) LATA 2015. LNCS, vol. 8977, pp. 3–24. Springer, Heidelberg (2015)
Ciancia, V., Martin, J., Martinelli, F., Matteucci, I., Petrocchi, M., Pimentel, E.: Automated synthesis and ranking of secure BPMN orchestrators. Int. J. Secur. Softw. Eng. 5(2), 44–64 (2014). http://dx.doi.org/10.4018/ijsse.2014040103
Hopcroft, J., Motwani, R., Ullman, J.: Introduction to Automata Theory, Languages, and Computation. Addison-Wesley Publishing Company, Reading (2001)
Lynch, N., Tuttle, M.: An introduction to input/output automata. CWI-Q. 2(3), 219–246 (1989)
M. R. Group: MVSIS, software package. http://embedded.eecs.berkeley.edu/Respep/Research/mvsis/software.html
Hallal, H., Negulescu, R., Petrenko, A.: Design of divergence-free protocol converters using supervisory control techniques. In: 7th IEEE International Conference on Electronics, Circuits and Systems, ICECS 2000, vol. 2, pp. 705–708, December 2000
Avnit, K., D’Silva, V., Sowmya, A., Ramesh, S., Parameswaran, S.: A formal approach to the protocol converter problem. In: DATE, pp. 294–299 (2008)
D’Silva, V., Ramesh, S., Sowmya, A.: Bridge over troubled wrappers: Automated interface synthesis. In: Proceedings of the 17th International Conference on VLSI Design, VLSID 2004. IEEE Computer Society, Washington, D.C., p. 189 (2004). http://dl.acm.org/citation.cfm?id=962758.963411
Tivoli, M., Fradet, P., Girault, A., Gößler, G.: Adaptor synthesis for real-time components. In: Grumberg, O., Huth, M. (eds.) TACAS 2007. LNCS, vol. 4424, pp. 185–200. Springer, Heidelberg (2007)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Castagnetti, G., Piccolo, M., Villa, T., Yevtushenko, N., Brayton, R., Mishchenko, A. (2015). Automated Synthesis of Protocol Converters with BALM-II. In: Bianculli, D., Calinescu, R., Rumpe, B. (eds) Software Engineering and Formal Methods. SEFM 2015. Lecture Notes in Computer Science(), vol 9509. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-49224-6_23
Download citation
DOI: https://doi.org/10.1007/978-3-662-49224-6_23
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-662-49223-9
Online ISBN: 978-3-662-49224-6
eBook Packages: Computer ScienceComputer Science (R0)