Formalisms For System Design
Formalisms For System Design
SYSTEM DESIGN
01 02 03
Structural Description. Behavioural Description Embedded System Design
Example
Visual language that can be used to capture all the design tasks: the
Unified Modeling Language (UML)
UML is an object-oriented modeling language.
object-oriented design emphasizes two concepts of importance:
■ It encourages the design to be described as a number of
interacting objects, rather than a few large monolithic blocks of
code.
■ At least some of those objects will correspond to real pieces of
software or hardware in the system. We can also use UML to model
the outside world that interacts with our system,in which case the
objects may correspond to people or other machines.
Object-oriented (often abbreviated OO)
specification can be seen in two complementary
ways:
■ Object-oriented specification allows a system to be described in a
way that closely models real-world objects and their interactions.
■ Object-oriented specification provides a basic set of primitives
that can be used to describe systems with particular attributes,
irrespective of the relationships of those systems’components to
real-world objects.
Structural Description
By structural description,we mean the basic components of the
system
The principal component of an object-oriented design is,naturally
enough,the object.An object includes a set of attributes that define
its internal state. When implemented in a programming language,
these attributes usually become variables or constants held in a data
structure.
An object describing a display (such as a CRT screen) is shown in UML notation in Figure.The text in
the folded-corner page icon is a note;it does not correspond to an object in the system and only serves as
a comment.The attribute is, in this case, an array of pixels that holds the contents of the display.
The object is identified in two ways: