Book description
Adopt a diagrammatic approach to creating robust real-time embedded systems
Key Features
- Explore the impact of real-time systems on software design
- Understand the role of diagramming in the software development process
- Learn why software performance is a key element in real-time systems
Book Description
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.
What you will learn
- Differentiate between correct, reliable, and safe software
- Discover modern design methodologies for designing a real-time system
- Use interrupts to implement concurrency in the system
- Test, integrate, and debug the code
- Demonstrate test issues for OOP constructs
- Overcome software faults with hardware-based techniques
Who this book is for
If you are interested in developing a real-time embedded system, this is the ideal book for you. With a basic understanding of programming, microprocessor systems, and elementary digital logic, you will achieve the maximum with this book. Knowledge of assembly language would be an added advantage.
Table of contents
- Preface
-
1. Real-Time Systems – Setting the Scene
- 1.1 Categorizing Computer Systems
- 1.2 Real-Time Computer Systems
-
1.3 The Computing Elements of Real-Time Systems
- 1.3.1 Overview
- 1.3.2 General-Purpose Microprocessors
- 1.3.3 Highly Integrated Microprocessors
- 1.3.4 Single-Chip Microcomputers
- 1.3.5 Single-Chip Microcontrollers
- 1.3.6 Digital Signal Processors
- 1.3.7 Mixed-Signal Processors
- 1.3.8 System-On-Chip Designs – Overview
- 1.3.9 Programmable SOCs – FPGA-Embedded Processors
- 1.3.10 SOC Devices – Single and Multicore
- 1.4 Software for Real-Time Applications – Some General Comments
- 1.5 Review
- 1.6 Useful Reading Material
- 2. The Search for Dependable Software
- 3. First Steps – Requirements Analysis and Specification
-
4. Software and Program Design Concepts
- 4.1 Design Fundamentals
- 4.2 The Elements of Modular Design
- 4.3 Program Control Structures – the Influence of Structured Programming
- 4.4 Structured Software Designs
-
4.5 Object-Oriented Design
- 4.5.1 An Introduction
- 4.5.2 Object-Oriented Design – the Identification Process
- 4.5.3 Relationships and Communication between Objects
- 4.5.4 Object Interfaces
- 4.5.5 Object-Oriented Design – Implementation-Related Issues
- 4.5.6 Reuse and Runtime Flexibility Issues
- 4.5.7 Composite Objects – Aggregation
- 4.5.8 Devising the Object Model – a Responsibility-Based Technique
- 4.6 Functionally Structured Design and Functional Flow Modeling
- 4.7 Design Patterns
- 4.8 Review
- 4.9 Exercises
- 4.10 Useful Reading Material
- 5. Multitasking Systems – an Introduction
- 6. Diagramming – an Introduction
-
7. Practical Diagramming Methods
- 7.1 Introduction
-
7.2 Diagrams for Functionally Structured Methods
- 7.2.1 Context Diagrams
- 7.2.2 Entity-Relationship Diagrams (ERDs)
- 7.2.3 State Transition Diagrams and State Transition Tables
- 7.2.4 Functional and Data Flow Diagrams
- 7.2.5 Specifying Program Structures – Structure Charts, Flowcharts, and Program Description Languages
- 7.2.6 Message Sequence Diagrams
- 7.2.7 SDL (Specification and Description Language) Process Diagrams
- 7.2.8 Event-Response Lists
-
7.3 UML Diagrams for Object-Oriented Designs
- 7.3.1 Use Case Diagrams
- 7.3.2 Deployment Diagrams
- 7.3.3 Packages and Package Diagrams
- 7.3.4 Class Diagrams
- 7.3.5 Object and Object Communication Diagrams
- 7.3.6 Wiring Objects Together – Ports and Interfaces
- 7.3.7 Statecharts
- 7.3.8 Sequence Diagrams
- 7.3.9 Activity Diagrams
- 7.3.10 Components and Component Diagrams
- 7.3.11 Artifacts
- 7.4 Extensions, Variations, and Project-Specific Diagrams
- 7.5 Diagrams and the Design Process
- 7.6 Review
- 7.7 Exercises
- 7.8 References and Further Reading
-
8. Designing and Constructing Software – Code-Related Issues
- 8.1 Fundamental Design and Construction Methods
- 8.2 Code Development and Packaging
-
8.3 Important Features of Programming Languages
- 8.3.1 Introduction
- 8.3.2 Choosing a Programming Language – the Real Questions
- 8.3.3 High-Level Languages – General Requirements
- 8.3.4 Modularity, Encapsulation, and Information Hiding
- 8.3.5 Program Syntax and Layout Rules – the Readability Factor
- 8.3.6 Variable Usage – Scope, Visibility, Lifetime, and Declaration.
- 8.3.7 Data Types – Concepts and Uses
- 8.3.8 Program Flow Control
- 8.3.9 Interfacing to Other Languages
- 8.3.10 Exception Handling
- 8.3.11 Accessing Processor Hardware – Low-Level Facilities
- 8.3.12 Assembly Language Programming
- 8.3.13 Miscellaneous Items
- 8.4 Choosing a High-Level Language for Embedded Systems
- 8.5 Review
- 8.6 Important and Useful Reading
-
9. Software Analysis and Design – Methods and Methodologies
- 9.1 The Development Process
- 9.2 Viewpoint Analysis for Deriving Requirements
- 9.3. Design Implementation Using Functionally Structured Techniques
-
9.4 Object-Oriented Analysis and Design
- 9.4.1 Design Example – Dipmeter Wireline Logging Tool
- 9.4.2 A Practical OOAD Development Process
- 9.4.3 Defining System Usage
- 9.4.4 Developing the Subsystem Structures
- 9.4.5 Developing the Ideal Model Object Structures
- 9.4.6 Developing the Specification Model Object Structures
- 9.4.7 Developing the Individual Processor Object Models
- 9.4.8 Developing the Multitasking Model
- 9.4.9 Developing Individual Tasks
- 9.4.10 Packaging the Software
- 9.5 Model-Driven Architecture
- 9.6 Model-Based Design (MBD)
- 9.7 Agile Software Development
- 9.8 Review
- 9.9 Further Useful Reading
- 10. Analyzing and Testing Source Code
-
11. Development Tools
- 11.1 An Outline of the Modern Development Process for Embedded Systems
- 11.2 The Software Development Process for Embedded Systems
- 11.3 Software Debugging – What and Why?
- 11.4 Software Debugging on the Host
- 11.5 Software Debugging on the Target – Software-Based Techniques
- 11.6 Software Debugging in the Target – Hardware-Based Methods
- 11.7 Software Debugging in The Target – Combined Hardware/Software Techniques
- 11.8 Debugging in Host-As-Target Combinations
- 11.9 Testing Multitasking Software
- 11.10 Installing Code on the Target – Non-Volatile Software (Firmware)
- 11.11 Integrated Development Toolsets
- 11.12 Review
-
12. Mission-Critical and Safety-Critical Systems
- 12.1 Introduction
- 12.2 System Specification Aspects
-
12.3 Numerical Issues
- 12.3.1 Problems in Disguise
- 12.3.2 Making Measurements
- 12.3.3 Basic Number Representation and Arithmetic
- 12.3.4 The Limitations of Finite Number Systems – General Points
- 12.3.5 Infinite Numbers, Model Numbers, and Error Bounds
- 12.3.6 Problems in Floating-Point Working
- 12.3.7 Problems in Fixed-Point Working
- 12.3.8 Internal Representation and Binary Notation
- 12.4 Application Software Aspects
- 12.5 Real-World Interfacing
- 12.6 Operating Systems Aspects
- 12.7 Processor Problems
- 12.8 Hardware-Based Fault Tolerance
- 12.9 Review
- 12.10 References and Further Reading
- 12.11 Some Important Standards
-
13. Performance Engineering
- 13.1 Why Performance Engineering Is Important
- 13.2 Performance Engineering – Requirements, Targets, and Achievables
- 13.3 Top-Down (Requirements-Driven) Performance Modeling
- 13.4 Bottom-Up (Results-Driven) Performance Modeling
- 13.5 Middle-Out (Risk-Driven) Performance Modeling
- 13.6 Some Practical Issues in Performance Engineering
- 13.7 Review
- 13.8 References and Further Reading
- 14. Documentation
- Glossary of terms
Product information
- Title: The Complete Edition – Software Engineering for Real-Time Systems
- Author(s):
- Release date: December 2019
- Publisher(s): Packt Publishing
- ISBN: 9781839216589
You might also like
book
Software Engineering for Embedded Systems, 2nd Edition
Software Engineering for Embedded Systems: Methods, Practical Techniques, and Applications, Second Edition provides the techniques and …
book
Software Architecture with C++
Apply business requirements to IT infrastructure and deliver a high-quality product by understanding architectures such as …
book
C++ Software Design
Good software design is essential for the success of your project, but designing software is hard …
book
Engineering Software Products: An Introduction to Modern Software Engineering
For one-semester courses in software engineering. Introduces software engineering techniques for developing software products and apps …