VHDL generation from Yakindu state charts with Xtend
Last month I was introduced to Yakindu, an open-source-toolkit for model-driven development of embedded systems. One component of the Yakindu toolkit supports the graphical development of finite-state machines: the Yakindu Statechart Tools (SCT). Although I'm personally rather skeptical to graphical development tools and prefer textual entry with visualization, the Yakindu Statechart Tools seemed really powerful. For example, SCT supports hierarchical states, parallel states, ... So it was worth giving it a try for VHDL design.
Together with Axel Terfloth from the Yakindu project, Sigasi prototyped a VHDL generator for SCT statecharts that we both will demonstrate at Embededded World 2012 (Hall 4 Stands 109 (Sigasi) and 408 (Itemis)). Please visit us to see a demo of this prototype.
We used Xtend to generate VHDL-code from the statecharts. The Xtend-Yakindu combination did not work out-of-the-box. Yakindu currenlty only works with an older version of Xtext (version 2.01.). So you need to download an older version of Xtend too. Here are some of the required steps to get started developing with Yakindu:
- Download Eclipse for RCP and RAP Developers (These containt the PDE plugins)
- Download Xtend 2.0.1 as an offlline update site from http://www.eclipse.org/modeling/tmf/downloads/
- Start Eclilpse and install Xtend from the offline update site
- Install Yakindu from http://updates.yakindu.com/indigo/milestones