Unit 4 Program Modeling
Unit 4 Program Modeling
Unit 4 Program Modeling
CONCEPTS
UNIT IV
Introduction
• Modelling processes are used for software analysis and design before
software implementation.
• A software analysis and design helps
– A description of the system requirement
– A description of how system works
– Shows system validation
Graphical modelling languages use a diagram technique with named
symbols that represent concepts and lines that connect the symbols and
represent relationships and various other graphical notation to represent
constraints.
Five Ways of Modelling an Embedded System
Major use:
and efficiency.
concurrent processing
Petri Net as a Graph
:Models static properties of a system
• Graph contains 2 types of nodes
– Circles (Places)
– Bars (Transitions)
• Petri net has dynamic properties that result from its execution
– Markers (Tokens)
– Tokens are moved by the firing of transitions of the net.
we have modelled the above computer program. Here
the events (transitions) are the instructions, and the places
represent the conditions under which an instruction can be
executed.