a formal semantics for plex
play

A Formal Semantics for PLEX Johan Erikson; johan.erikson@idt.mdh.se - PowerPoint PPT Presentation

A Formal Semantics for PLEX Johan Erikson; johan.erikson@idt.mdh.se Bjrn Lisper; bjorn.lisper@mdh.se Mlardalen University Department of Computer Science and Engineering Vsters Sweden A Formal Semantics for PLEX The AXE telephone


  1. A Formal Semantics for PLEX Johan Erikson; johan.erikson@idt.mdh.se Björn Lisper; bjorn.lisper@mdh.se Mälardalen University Department of Computer Science and Engineering Västerås Sweden

  2. A Formal Semantics for PLEX The AXE telephone exchange system � 1970 – Earliest version � PLEX used in central parts of the AXE system � ~ 10 mil. lines of code AXE APZ APT CPS . . . . . . . . . . . . . . .

  3. A Formal Semantics for PLEX PLEX characteristics � Single-purpose: Exclusively for telephony systems ( Programming Language for EXchanges ) � Event-based with a signal paradigm as its top execution level. � Sequential but ”pseudo-parallel” � A parallel domain!

  4. A Formal Semantics for PLEX PLEX characteristics - signals Direct vs. Buffered Single vs. Combined Unit A Unit B Unit A Unit B Job Buffer Unit A Unit B Unit A Unit B

  5. A Formal Semantics for PLEX PLEX characteristics – execution (buffered signals) PROGRAM; PLEX; block 1 block 2 block 3 ENTER SIGNAL1; Time signal 1 .... enter signal put in a subprogram SEND BUFFERED SIGNAL2; job buffer .... send EXIT; exit enter signal put in signal 2 ENTER SIGNAL3; job buffer a subprogram .... send signal put in SEND DIRECT SIGNAL4; job buffer send ENTER SIGNAL5; .... exit enter a subprogram signal 3 SEND BUFFERED SIGNAL6; .... enter exit SEND DIRECT SIGNAL7; signal 4 signal 5 send ENTER SIGNAL8; a subprogram .... exit EXIT; .... END PROGRAM;

  6. A Formal Semantics for PLEX Problem description � Parallel execution - Unintentional interaction � ~ 10 mil. codelines = > Can’t rewrite the system � Implementation update - No exact documentation Variable A DATA Signal Signal Signal Signal ENTRY 1 ENTRY 2 ENTRY 3 ENTRY 4 Signal ... ... ... ENTRY n

  7. A Formal Semantics for PLEX Motivation � Ericsson wants to introduce parallel processing � Exact documentation when updating the implementation

  8. A Formal Semantics for PLEX An Operational semantics for PLEX � Execution of statements modeled by state transitions � s = < VSC, RM, PS, DS, RS, JBA, JBB, JBC, JBD, JBR> � VSC – Handle unstructured jumps (e.g. GOTO) � < GOTO label , s > ⇒ s [ VSC | → ADR { label } ] � < SEND signal , s > ⇒ s [ VSC + + , JBA: signal ]

  9. A Formal Semantics for PLEX Future work � Verify that the formalism corresponds with actual execution � Formal semantics for parallel PLEX

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