1
The Embedded System lifecycle
Embedded System lifecycle: series of steps /
phases, through which Embedded System is produced
can take months or years to complete
Phase Output
Requirements analysis Embedded System
Requirements
Specification
Design
Design Document,
Implementation Design Classes
Code
Test
Test Report,
Change Requests
One view of Life cycle phases
Implemented
By
Expressed in Structured By Realized By Verified
Terms Of
By
Hardware
&Software
?
?
Design Requirement Solution
specification Subsystems Source Test
Document Domain
Code Cases
Objects
5
Models
Different projects may interpret these phases
differently.
Single-Version Models
Incremental Models
Single-Version with Prototyping
Iterative Models
Code First
Version
Modify until
Client is satisfied
Operations Mode
Retirement
10
Problems with code-and-fix
What are some reasons not to use the code-
and-fix model?
Req. Change
Rapid Prototype
Verify
Redesign
Verify
Re-implementation
Test
Operations
Retirement
13
Advantages of Rapid Prototyping Model
Req. Change
Requirements
Verify
Preliminary Design
Verify
Detailed Design
Test
Implementation
Retirement
16
Waterfall / Prototyping issues
The waterfall models (with or without
prototyping) are perhaps the most common
model for project development
What are some positives and negatives about
this method?
+ formal, standard, has specific phases with clear goals
+ good feedback loops between adjacent phases
- rigid, too linear; not very adaptable to change in the product
- requires a lot of planning up front (not always easy / possible)
- assumes that requirements will be clear and well-understood
17
Disadvantages of Waterfall Model
Requirements Performance
Analysis / Test
Specification
Implementation
V Model
V model is similar to waterfall except that it has
more emphasis on testing activities initially
instead of later stage.
Every stage associates with test or validation at
the same level.
Each development activity builds a detailed
model and each verification step tests a more
complete implementation at that phase.
20
The Spiral Model
Planning
Risk Analysis
Development
Evaluation
Spiral model (Boehm)
22
Advantages of the Spiral Model
Test
Adds a Risk Analysis
step to each phase
Operations
28
Functional Design
The purpose is to find an appropriate internal
functional architecture for the system. Through this
analysis, a somewhat loose understanding can be
converted into precise description.
The functional design should be written to be
understand in application domain and by those who
will do Hardware and software development.
First functional decomposition is carried out by
identifying events or variables. Successive refinements
is made such that elementary or leaf function is
obtained. It is called functional model.
29
Architectural Design
In executing an architectural design, the goal is to
select most appropriate solution to the original
problem.
It also gives choice of best suited hardware- software
partitioning and allocation of functionality.
The internal organization depends on many
components and interconnections.
The architectural model describes the physical
architecture of the system based on real components
such as microprocessors, programmable memories,
analog and digital components.
30
Both functional and architectural model are
necessary to be able to represent and build,
evaluate hardware/ software system.
31