-
Notifications
You must be signed in to change notification settings - Fork 0
/
interfaceview.xml
99 lines (82 loc) · 5.14 KB
/
interfaceview.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<InterfaceView asn1file="taste-workshop.acn">
<Function name="tmtc_handler" is_type="NO" language="SDL" default_implementation="default" fixed_system_element="NO" required_system_element="NO" FPGA_Configurations="" startup_priority="1">
<Property name="Taste::coordinates" value="35300 29300 61400 42000"/>
<Required_Interface name="deploy_parachute" kind="Sporadic" layer="default" required_system_element="NO" priority="1" wcet="0" stack_size="1024" queue_size="1" miat="0">
<Property name="Taste::coordinates" value="44600 42000"/>
<Property name="Taste::InheritPI" value="true"/>
<Property name="Taste::Autonamed" value="true"/>
</Required_Interface>
<Required_Interface name="get_acceleration" kind="Unprotected" layer="default" required_system_element="NO" wcet="0">
<Output_Parameter name="acceleration" type="Acceleration" encoding="NATIVE"/>
<Property name="Taste::coordinates" value="61400 30400"/>
<Property name="Taste::InheritPI" value="true"/>
<Property name="Taste::Autonamed" value="true"/>
</Required_Interface>
<Required_Interface name="get_velocity" kind="Unprotected" layer="default" required_system_element="NO" wcet="0">
<Output_Parameter name="velocity" type="Velocity" encoding="NATIVE"/>
<Property name="Taste::coordinates" value="61400 35800"/>
<Property name="Taste::InheritPI" value="true"/>
<Property name="Taste::Autonamed" value="true"/>
</Required_Interface>
<Required_Interface name="get_altitude" kind="Unprotected" layer="default" required_system_element="NO" wcet="0">
<Output_Parameter name="altitude" type="Altitude" encoding="NATIVE"/>
<Property name="Taste::coordinates" value="61400 40700"/>
<Property name="Taste::InheritPI" value="true"/>
<Property name="Taste::Autonamed" value="true"/>
</Required_Interface>
<Implementations>
<Implementation name="default" language="SDL"/>
</Implementations>
</Function>
<Function name="gnc_controller" is_type="NO" language="Simulink" default_implementation="default" fixed_system_element="NO" required_system_element="NO" FPGA_Configurations="" startup_priority="1">
<Property name="Taste::coordinates" value="85100 31100 110700 40200"/>
<Provided_Interface name="get_altitude" kind="Unprotected" layer="default" required_system_element="NO" wcet="0">
<Output_Parameter name="altitude" type="Altitude" encoding="NATIVE"/>
<Property name="Taste::coordinates" value="85100 39000"/>
</Provided_Interface>
<Provided_Interface name="get_velocity" kind="Unprotected" layer="default" required_system_element="NO" wcet="0">
<Output_Parameter name="velocity" type="Velocity" encoding="NATIVE"/>
<Property name="Taste::coordinates" value="85100 35800"/>
</Provided_Interface>
<Provided_Interface name="get_acceleration" kind="Unprotected" layer="default" required_system_element="NO" wcet="0">
<Output_Parameter name="acceleration" type="Acceleration" encoding="NATIVE"/>
<Property name="Taste::coordinates" value="85100 32200"/>
</Provided_Interface>
<Implementations>
<Implementation name="default" language="Simulink"/>
</Implementations>
</Function>
<Function name="parachute_deployer" is_type="NO" language="C" default_implementation="default" fixed_system_element="NO" required_system_element="NO" FPGA_Configurations="" startup_priority="1">
<Property name="Taste::coordinates" value="38500 55300 58500 65800"/>
<Provided_Interface name="deploy_parachute" kind="Sporadic" layer="default" required_system_element="NO" priority="1" wcet="0" stack_size="1024" queue_size="1" miat="0">
<Property name="Taste::coordinates" value="42400 55300"/>
</Provided_Interface>
<Implementations>
<Implementation name="default" language="C"/>
</Implementations>
</Function>
<Connection required_system_element="NO">
<Source func_name="tmtc_handler" ri_name="get_velocity"/>
<Target func_name="gnc_controller" pi_name="get_velocity"/>
<Property name="Taste::coordinates" value="62000 35800 84800 35800"/>
</Connection>
<Connection required_system_element="NO">
<Source func_name="tmtc_handler" ri_name="get_altitude"/>
<Target func_name="gnc_controller" pi_name="get_altitude"/>
<Property name="Taste::coordinates" value="62000 40700 73400 40700 73400 39000 84800 39000"/>
</Connection>
<Connection required_system_element="NO">
<Source func_name="tmtc_handler" ri_name="get_acceleration"/>
<Target func_name="gnc_controller" pi_name="get_acceleration"/>
<Property name="Taste::coordinates" value="62000 30400 73400 30400 73400 32200 84800 32200"/>
</Connection>
<Connection required_system_element="NO">
<Source func_name="tmtc_handler" ri_name="deploy_parachute"/>
<Target func_name="parachute_deployer" pi_name="deploy_parachute"/>
<Property name="Taste::coordinates" value="44600 42600 44600 48800 42400 48800 42400 55000"/>
</Connection>
<Comment name="Welcome to TASTE!\n============\n\nRight click to add a function, and use Ctrl-Click to connect functions together.\n\nYou can split the screen in multiple windows using Ctrl-E-3" required_system_element="NO">
<Property name="Taste::coordinates" value="4800 5100 46100 20700"/>
</Comment>
<Layer name="default"/>
</InterfaceView>