This project provides an open-source framework for the generation of high quality source code which is suitable for safety-critical applications and certification (e.g DO-178B). Currently a Simulink and Stateflow front-end and a C-language back-end are included.
Some of the strengths of UCGN:
- Clearly readable source-code
- Separation of functionality and parameters ("tunable parameters")
- Robust data storage (compile-time static structures in favor of pointer run-time constructs)
- Clear software architecture, direct correspondence to the model architecture
- Separation of reusable library code
- Simplicity and uniformity of software interfaces (for testing etc.)
The following features are supported by the Simulink/UCGN
- Discrete single-rate Simulink models and libraries
- Block library with 50+ standard Simulink blocks
- Periodic, condition-driven Stateflow charts (including flowgraphs, loops)
- Structured data types through bus objects
- Simulink native enumer