introducing safe jumps in esterel
play

Introducing Safe Jumps in Esterel Olivier Tardieu Schizophrenia and - PowerPoint PPT Presentation

Introducing Safe Jumps in Esterel Olivier Tardieu Schizophrenia and Reincarnation Schizophrenia and Reincarnation


  1. Introducing Safe Jumps in Esterel Olivier Tardieu

  2. Schizophrenia and Reincarnation Schizophrenia and Reincarnation ���� ���� ����������� ����������� ����������� �������������������������� ������������ ������������ ; ������ ������ ������ ������ ������ ������ ��� ��� ��� ��� ���

  3. Efficient Reincarnation? ���� ���� ����������� ����������� ����������� �������������������������� ������������ ������������ ������������ ; ������ ������ ������ ������ ������ ������ ������ ��� ��� ��� ��� ���

  4. Non-instantaneous Goto Goto ���� ���� ����������� ����������� ����������� �������������������������� ������������ ������������ ������������ ; ������ ���� �� ��������� ������ ������ ������ ������ ��� ��� ��� ��� ���

  5. Outline • Esterel • Goto – formal semantics – restrictions • Applications – Automata – Schizophrenia

  6. Syntax • nothing ������������������ • pause • p ; q �������� • p || q �������������������� • loop p end ������������� • signal S in p end ����������������� – emit S – present S then p else q end

  7. Logical Semantics • Reaction: • p = program • E = inputs + outputs b p, E → p’, E’ • b = terminates? • p’ = residual • E’ = outputs • Execution: ����� • p, I ∪ O → p’, O O O’ iff p ⇒ p’ ⇒ • ���� • p’, I’ ∪ O’ → p’’, O’ I I’

  8. Rules – 1/2 ��������� → ���������� ��� → ����� ��� → ����� true b b’ �������� → �� �������� ∪ �� b ∧ b’ ����� � �� → ���������� false ��� → ����� false � ∈ � ������������ → ����������������� false ��������� → ����������� true ��� → ����� ��� → ����� ��� → ����� true false b ������ → ����� ∪ �� ������ → �������� b false

  9. Rules – 2/2 ��� → ����� �� ∈ ∈ ∈ ∈ � b ����������������������������� → ����� b ��� → ����� �� ∉ ∉ � ∉ ∉ b ����������������������������� → ����� b ��� ∪ ��� → ����� �� ∈ ∈ ∈ �� ∈ b ������������������� → �������������� ������ ��� b ��� ��� → ����� �� ∉ ∉ ∉ ∉ �� b ������������������� → �������������� ������ b

  10. Examples �� ∈ ����� ���� �� ∈ ����� ������������� → ����������� �� ∈ ����� ���� ���� ������������� → ����������� �������������������������������� → ����������� ���� ���������������������������������������� → ������������� �� ∈ ����� �������������������������� ������������������������� → ������ �������������������� ���� �� ∈ ��� ���� ����� ������������ → ������������ ����������� → ����������� ������������������� → ������������ ����� ����� ���������������������������� → ������������������������������������

  11. Goto? • Syntax – goto label – pause label (pairwise distinct labels) • Semantics – Collect labels reached by the reaction – Compute residual by combining: • initial statement p’ ≡ < p | L > • with labels

  12. Labeled Logical Semantics Labeled Logical Semantics ��������� → ���������� ��������� → ������������� ��� → ����� ��� → ������! ��� → ����� ��� → ������!� true true b b b’ b’ �������� → �� �������� ∪ ���! ∪ !� �������� → �� �������� ∪ ���! ∪ !� b ∧ b’ b ∧ b’ ����� � �� → �������������� ����� � �� → ���������� ����� � �� → �������������� false false ���� � �� → �������������� false ��� → ����� ��� → ������! false false � ∈ � � ∈ � ������������ → ������������������! ������������ → ����������������� false false ��������� → �������������� ��������� → ����������� true true ��� → ����� ��� → ������! ��� → ������! ��� → ������! ��� → ������!� ��� → ����� true true false false b b ������ → ����� ∪ �� ������ → ����� ∪ ���! ∪ !� ������ → ���������! ������ → �������� b b false false

  13. Example – Part 1 �������������"���������� # ���������� � ���������� # ���� ����� $ ���� ������� # ���� → ��������� ���� ������� # ������� ����� $ ���� ������� # ��"�� → ��������� ���� ������� # �����#� $ %����&�������������'����� $ (�)�������)����������*�'������+

  14. State Semantics • p ⇒ p’ ⇒ p’’ ⇒ ... O O’ I I’ ����� – p, I ∪ O → p’, O ����� – p’, I’ ∪ O’ → p’’, O’ • p ⇒ p’ ⇒ p’’ ⇒ ... O O’ I I’ – p, I ∪ O → p’, O, L ����� p’ ≡ < p | L > and – p’, I’ ∪ O’ → p’’, O’, L’ and ����� p’’ ≡ < p | L’ >

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend