Module 2 - Modelling Timing Constraints
Module 2 - Modelling Timing Constraints
constraints
Types of Real Time Tasks
Depending on consequences of a task missing its
deadline,
• Examples:
– Robot
– Anti missile system
• Unlike hard real time task, a firm real time task does
not complete within its deadline, the system does
not fail
• Minimum type
– Once the event starts, the event must not end before a
certain minimum duration
• Maximum type
– Once the event starts, the event must end before a
certain maximum duration elapses
Further Types
• Deadline
– Stimulus-Stimulus (SS)
– Stimulus-Response (SR)
– Response – Stimulus (RS)
– Response – Response (RR)
• Delay
– SS
…Continued
Modeling Timing Constraints
• Based on FSM
• In an FSM model, at any point of time a system can be in
any one of a (possibly infinite) number of states
• A state is represented by a circle
• The system changes state due to events that change the
values of, or relations among the state variables
• A transition causing event may either be an interface
event that are transmitted between the environment and
the computer system or it could also be an internal event
that is generated and consumed solely within the system.
Extended Finite State Machine (EFSM)