60 likes | 243 Vues
Example of RTS design. Explain the function of each component in the context of operation of the RTS. . Why is the RTS typically implemented as a kernel? The distinctive feature of a RTOS is that it is typically implemented as a kernel.
E N D
Example of RTS design Explain the function of each component in the context of operation of the RTS.
Why is the RTS typically implemented as a kernel? • The distinctive feature of a RTOS is that it is typically implemented as a kernel. • In this sense the kernel acts as a layer of abstraction between the hardware layer and the applications layer where the tasks are running. In this context it provides the services for the applications requiring access to hardware and also acts in such a way as to hide the activities between the two layers. • While it is possible to implement an embedded program without using a real-time kernel, a well established, proven kernel can save on development time. • There are a large number of RTOS kernels on the market, and in general they all act as an interface between the application software and the system hardware. • At the same time a RTOS kernel provides several categories of services to application software. These include: task management, dynamic memory allocation, and basic timer services
You are responsible for writing the specification for the architecture of a software system that controls the security system in a modern building. Describe the steps that you would take in order to design the architecture for this system. • 1. Identify the stimuli that the system must process and the associated response. • 2. For each stimulus and associated response, identify the timing constraints which apply to both stimulus and response processing. • Integrate the stimulus and response processing (as shown below) into a number of concurrent processes.. • 4. For each stimulus and response pair, design algorithms to carry out the required computations. Algorithm designs often have to be developed relatively early in the design process to give the indication of the amount of processing required and the time required to complete the processing. • 5. Design scheduling systems which will ensure that processes are started in time to meet their deadlines. • 6. Integrate the system under the control of a real time executive.
Produce an architecture diagram for this system and explain your choice of components and their interaction.