Skip to content

Constrained Response Chain Property Pattern N Stimuli 1 Response

Marc Carwehl edited this page Dec 16, 2021 · 4 revisions

Description

  • Pattern in the original catalog
  • Structured English Specification: Scope, if S[<Chain>] [has occurred], then in response [within Time(0)] P eventually holds without Z_P ever holding.

State-Based Pattern

How to add elements t4, z4 to the chain:
1. Make END a committed state.
2. Add states 1, 2.
3. Add transitions from END to 1, one with guard T4_holds == 0 && Z4_holds == 0, and one with guard T4_holds == 0 && Z4_holds == 1 and update Z_Flag = 1.
4. Add transition from END to 2 with guard T4_holds == 1.
5. Add transition from 1 to 2 with sync T4_reached?.
6. Add transition from 1 to 1 with sync Z4_reached? and update Z_Flag = 1.
7. Rename END.
8. Rename 2 to END.
9. If the observer is timed, update timeguards on added transitions and states.
10. Follow scope-specific instructions.

Untimed

Globally

Nothing forther to do for adding elelemts to the chain.

Chain_Finished --> (END and Z_Flag == 0)

Constrained Response Chain Globally untimed observer

Before R

To add an element to the chain, do the following:
Update the transitions to EVALUATE and ERROR.

A[] not ERROR

Constrained Response Chain Before untimed observer

After Q

Nothing forther to do for adding elelemts to the chain.

Chain_Finished --> (END and Z_Flag == 0)

Constrained Response Chain After untimed observer

Between Q and R

To add an element to the chain, do the following:
Update the transitions to EVALUATE and ERROR.

A[] not ERROR

Constrained Response Chain Between untimed observer

After Q Until R

To add an element to the chain, do the following:
Update the transition to EVALUATE.
Chain_Finished --> (END and Z_Flag == 0)
A[] not ERROR

Constrained Response Chain Until untimed observer

Timed

Globally

Nothing forther to do for adding elelemts to the chain.

Chain_Finished --> (END and Z_Flag == 0)

Constrained Response Chain Globally timed observer

Before R

To add an element to the chain, do the following:
Update the transitions to EVALUATE and ERROR.

A[] not ERROR

Constrained Response Chain Before timed observer

After Q

Nothing forther to do for adding elelemts to the chain.

Chain_Finished --> (END and Z_Flag == 0)

Constrained Response Chain After timed observer

Between Q and R

To add an element to the chain, do the following:
Update the transitions to EVALUATE and ERROR.

A[] not ERROR

Constrained Response Chain Between timed observer

After Q Until R

To add an element to the chain, do the following:
Update the transition to EVALUATE.
Chain_Finished --> (END and Z_Flag == 0)
A[] not ERROR

Constrained Response Chain Until timed observer

Clone this wiki locally