Design

Model-based development & verification toolset updated

15th February 2016
Nat Bowers
0

AdaCore has released the latest version of its model-based development and verification toolset, QGen. QGen provides a qualifiable and customisable code generator from Simulink and Stateflow models to the safety-oriented programming languages SPARK (a formally analysable Ada subset) and MISRA C. QGen 2.1 supports essentially all constructs used for modelling safety-critical control systems.

In addition, QGen 2.1 offers a number of other enhancements including optimisation of code for switch blocks, the ability to add external code for Lookup tables and Prelookup blocks, support for commented-out / commented-through blocks and factoring of code for reference models and model libraries. QGen 2.1 is compatible with MATLAB versions 2008b through 2015b.

As a prototype capability, initial support for model-level debugging is available as a supplement to QGen 2.1. Using the GNAT Programming Studio (GPS) IDE, developers can debug both “pure” Simulink/Stateflow models and applications that combine manually prepared code with the auto-generated code. At the start of a debug session, side-by-side views of the model and the corresponding generated SPARK/Ada or MISRA C code are displayed. The developer can set breakpoints on individual blocks, which will automatically set breakpoints at the corresponding points in the generated code. Other capabilities include stepping execution one block at a time, viewing the values of signal variables, and stepping into or out of model subsystems. Host (native) debugging, and cross-debugging with any target supported by GDB, will be provided in a subsequent release.

Tucker Taft, Product Architect, QGen, Adacore, commented: “We designed QGen from the start to support qualified code generation directly from Simulink and Stateflow models and this has struck a responsive chord with our customers in the automotive and aerospace industries and other safety-critical software-intensive domains. QGen 2.1 will help reduce the effort in model-based development and verification and future releases will continue to broaden the QGen product line. Among the planned enhancements is support for transforming high-level requirements into executable and verifiable assertions at the model and code levels.”

Featured products

Upcoming Events

View all events
Newsletter
Latest global electronics news
© Copyright 2024 Electronic Specifier