首页>
外国专利>
Code generation system to construct an asynchronous real-time controller for a real-time system
Code generation system to construct an asynchronous real-time controller for a real-time system
展开▼
机译:代码生成系统,用于为实时系统构造异步实时控制器
展开▼
页面导航
摘要
著录项
相似文献
摘要
A code generation system to construct an asynchronous real- time controller for a real-time system with asynchronous subsystems is described. The system includes a software user interface to specify a functional description of a real-time system with asynchronous subsystems. The software user interface includes code construction elements selected from a functional library with a corresponding menu. The menu includes a start-up procedure selection option used to initialize parameters associated with the real-time system, a background procedure selection option to specify a control action to be executed in relation to the real- time system, and an interrupt procedure selection option to specify an operation to be performed in response to an asynchronous interrupt signal. Each of the selection options include a variable block definition tool to read and write values to global variables. The system also includes an automatic code generator that relies upon the code construction elements to generate an asynchronous real-time controller. The asynchronous real- time controller includes a start-up procedure that initializes parameters associated with the real-time system, an interrupt procedure that specifies an operation to be performed in response to an asynchronous interrupt signal from the real-time system, and a background procedure that continuously loops through a set of instructions and periodically generates a control action instruction, derived from the interrupt procedure, to be executed by the real-time system.
展开▼