Book Image

The Complete Edition - Software Engineering for Real-Time Systems

By : Jim Cooling
Book Image

The Complete Edition - Software Engineering for Real-Time Systems

By: Jim Cooling

Overview of this book

From air traffic control systems to network multimedia systems, real-time systems are everywhere. The correctness of the real-time system depends on the physical instant and the logical results of the computations. This book provides an elaborate introduction to software engineering for real-time systems, including a range of activities and methods required to produce a great real-time system. The book kicks off by describing real-time systems, their applications, and their impact on software design. You will learn the concepts of software and program design, as well as the different types of programming, software errors, and software life cycles, and how a multitasking structure benefits a system design. Moving ahead, you will learn why diagrams and diagramming plays a critical role in the software development process. You will practice documenting code-related work using Unified Modeling Language (UML), and analyze and test source code in both host and target systems to understand why performance is a key design-driver in applications. Next, you will develop a design strategy to overcome critical and fault-tolerant systems, and learn the importance of documentation in system design. By the end of this book, you will have sound knowledge and skills for developing real-time embedded systems.
Table of Contents (16 chapters)
Preface
15
Glossary of terms

8.1 Fundamental Design and Construction Methods

8.1.1 Introduction

Software design techniques can be split into three major groups – monolithic, independent, and modular. These, in reality, are not mutually exclusive. Many programmers use combinations of these when writing source code – which probably says more about the rigor and discipline of software design as practiced rather than preached. The concepts behind these methods can be grasped fairly easily by looking at a simple DIY task – the design and build of a kit-car.

Method 1, "monolithic," is illustrated in Figure 8.1. The work begins by producing an all-embracing design plan. That is, the problem is considered as consisting of a single design task. Once the design is complete, the car can be built to the plan's specifications and instructions.

Method 2, "modular," tackles the problem in a different way at the design stage (Figure 8.2). An overall design plan is produced...