Contents
Introduction
Chapter 1 Example 1: algorithm, architecture, and adequation
1.1 The main algorithm
1.1.1 Definition of a sensor
1.1.2 Definition of an actuator
1.1.3 Definition of a function
1.1.4 Definition of the main algorithm
1.2 An architecture with one operator
1.2.1 Definition of an operator
1.2.2 Definition of the main architecture
1.3 An architecture with a SAM point-to-point comunication medium
1.3.1 Definition of operators
1.3.2 Definition of a medium
1.3.3 Definition of the main architecture
1.3.4 Connections between the operators and the medium
1.4 An architecture with a SAM multipoint medium
1.5 An architecture with a RAM medium
1.6 The adequation
1.6.1 Without constraint
1.6.2 With constraints
Chapter 2 Example 2: parameters and hierarchy in algorithm
2.1 Definition of the function
A
2.2 Definition of the function
B
2.3 Definition of the algorithm with hierarchy
Chapter 3 Example 3: delay in algorithm
3.1 Definition of the operations
input
,
output
, and
calc
3.2 Definition of the delay
3.3 Definition of the algorithm with delay
Chapter 4 Example 4: repetition and library in algorithm
4.1 An algorithm with repetition without any library
4.1.1 Definition of the scalar
ins
and the function
mul
on scalars
4.1.2 Definition of the vectors
inv
and
outv
4.1.3 Definition of the algorithm
AlgorithmMain1
4.2 An algorithm with repetition with the
int
library
4.2.1 Inclusion of the library
int
4.2.2 Definition of the algorithm
AlgorithmMain2
4.3 An algorithm with repetition with the
float
library
4.3.1 Inclusion of the library
float
4.3.2 Definition of the function
dpacc
4.3.3 Definition of the function
dp
4.3.4 Definition of the function
prodmatvec
4.3.5 Definition of the algorithm
AlgorithmMain3
Chapter 5 Example 5: condition and nested condition in algorithm
5.1 An algorithm with condition
5.1.1 Sensors
x
and
i
, actuator
o
5.1.2 Function
switch1
5.1.3 Algorithm
AlgorithmMain1
5.2 An algorithm with nested condition
5.2.1 Sensors
x
and
i
, actuator
o
5.2.2 Function
switch2
5.2.3 Algorithm
AlgorithmMain2
Chapter 6 Example 6: algorithm, architecture, adequation, and code generation
6.1 The main algorithm
6.2 The main architecture
6.3 The adequation and the code generation
Chapter 7 Example 7: source code associated with an operation
7.1 Definition of the source code into the code editor window
7.1.1 To add parameters to an already defined operation
7.1.2 To edit the code associated with an operation
7.1.3 To generate
m4x
files
Chapter 8 Example 8: a complete realistic application from adequation to execution
8.1 The aim of the example
8.2 The model
8.3 The controllers
8.3.1 Block diagrams of controllers
8.3.2 Source code associated with the functions
8.4 The complete model
8.4.1 The car dynamics
8.4.2 The cars and their controllers
8.4.3 The main algorithm
8.4.4 Source code associated with the sensor and the actuator
8.4.5 The
example8_sdc.m4x
8.4.6 To handwrite the
example8.m4x
file
8.5 Scicos simulation
8.6 SynDEx simulation
8.6.1 In the case of a mono-processor architecture
8.6.2 In the case of a bi-processor architecture
8.6.3 In the case of a multi-processor architecture
Chapter 9 Example 9: a multiperiodic application
9.1 The main algorithm
9.2 The main architecture
9.3 A mono-phase schedule
9.3.1 Durations
9.3.2 Adequation
9.4 A multi-phase schedule
9.4.1 Durations
9.4.2 Adequation