Real-Time System Modeling
slide credits: H. Kopetz, P. Puschner
Real-Time System Modeling slide credits: H. Kopetz, P. Puschner - - PowerPoint PPT Presentation
Real-Time System Modeling slide credits: H. Kopetz, P. Puschner Overview Model Construction Real-time clusters & components Interfaces Real-time interfaces and observations Real-time images and temporal accuracy
slide credits: H. Kopetz, P. Puschner
2
3
4
5
6
7
Operator (Environment Cluster) Real-Time Computer System (Computational Cluster) Controlled Object (Environment Cluster) Man-Machine Interface Instrumentation Interface
Man-Machine Interface
8
Driver Interface CNI Engine Control CNI
I/O
Assistant System CNI Steering Manager CNI
I/O
Suspen- sion CNI Gateway Outside CNI
Communication Network Interface (CNI) within a node
Brake Manager CNI
I/O Gateway to
(( )) I/O
9
10
11
12
13
14
Hardware OS and Middleware Application Software Component Interface
In Out
API
Interface
In Out
Interface
In Out
15
Hardware OS and Middleware Application Software Component
Interface
In Out
API
FPGA Block
Interface
In Out
Custom Hardware
Interface
In Out
16
17
18
been completed.
inactive and all channels are flushed (no messages in transit) – ideal for reintegration.
19
20
real-time
real-time
21
22
(boundary scan in HW design)
(Composability)
(open component)
23
24
25
26
Example: Write to dual- ported RAM
e.g., queue of event messages
27
Example: telephone call, interrupt
Example: checking email
28
29
30
Hardware OS and Middleware Application Software Interface In Out Hardware OS and Middleware Application Software Interface In Out Shared Hardware
31
32
33
34
Avizienis, FTCS 12, 1982
35
36
37
38
39
40
Input Message compu- tation I Interface state I
Compu tation
Input Interface Output Interface
Output Message compu- tation II Interface state II
41
42
[Transducer (Webster): device that receives energy from one system, and retransmits it, often in a different form, to another].
43
44
45
46
47
48
49
Attribute Explanation Antonym valid A message is valid if its checksum and contents are in agreement. invalid checked A message is checked at source (or, in short, checked) if it passes the output assertion. not checked permitted A msg. is permitted with respect to a receiver if it passes the input assertion of that receiver. not permitted timely A message is timely if it is in agreement with the temporal specification. untimely value- correct A message is value-correct if it is in agreement with the value specification. not value- correct correct A msg. is correct if it is both timely and value- correct. incorrect insidious A msg. is insidious if it is permitted but incorrect. not insidious
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
WCETsend WCCOM WCETrec
WCETsend WCCOM WCETrec
68
69
70
Node A Node B Node C
71
72
Point of Observation at Node A Output Action at Node B Communication and Processing determines required latency
73
74
75
76
77
78
79
is a finite set symbols denoting the possible inputs
is a finite set of symbols denoting the possible outputs
80
81
82
83
84
85
86
87
88