Changes between Version 2 and Version 3 of LabassertUserGuide
- Timestamp:
- 05/06/09 09:45:33 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LabassertUserGuide
v2 v3 1 1 = Labassert User Guide = 2 3 Reference: 4 ESA/ESTEC contract n°21166/07/NL/JK -8 Jan. 2008 2 Reference: ESA/ESTEC contract n°21166/07/NL/JK -8 Jan. 2008 5 3 6 4 ''Written by: Jérôme Legrand on 20 Nov. 2008 [[BR]] Checked by: Pierre Dissaux on 21 Nov. 2008'' 7 5 8 EUROPEAN SPACE AGENCY CONTRACT REPORT 9 [[BR]]The work described in this report was done under ESA contract. Responsibility for the contents resides in the author or organisation that prepared it. 10 11 Ellidiss Technologies :[[BR]] 12 [http://www.ellidiss.com www.ellidiss.com][[BR]] 13 24 quai de la douane, 29200 Brest, France[[BR]] 14 Tel. +33 (0) 298 451 870[[BR]] 6 EUROPEAN SPACE AGENCY CONTRACT REPORT [[BR]]The work described in this report was done under ESA contract. Responsibility for the contents resides in the author or organisation that prepared it. 7 8 Ellidiss Technologies :[[BR]] [http://www.ellidiss.com www.ellidiss.com][[BR]] 24 quai de la douane, 29200 Brest, France[[BR]] Tel. +33 (0) 298 451 870[[BR]] 15 9 16 10 == Table Of Content == 17 18 1. [wiki:UserGuide#a1.Installation Installation] 19 2. [wiki:UserGuide#a2.ApplicationsDescription Applications Description] 11 1. [wiki:LabassertUserGuide#a1.Installation Installation] 12 1. [wiki:UserGuide#a2.ApplicationsDescription Applications Description] 20 13 a. [wiki:UserGuide#a2.1Launcher Launcher] 21 14 i. [wiki:UserGuide#a2.1.1.Screenshots Screenshots] 22 b. [wiki:UserGuide#a2.2FunctionalView Functional View]15 a. [wiki:UserGuide#a2.2FunctionalView Functional View] 23 16 i. [wiki:UserGuide#a2.2.1.Screenshots Screenshots] 24 i i.[wiki:UserGuide#a2.2.2.Filemenudescription File Menu Description]25 i ii. [wiki:UserGuide#a2.2.3.EditMenuDescription Edit Menu Description]26 i v. [wiki:UserGuide#a2.2.4.MenuDescription “?” Menu Description]27 c. [wiki:UserGuide#a2.3InterfaceView Interface View]17 i. [wiki:UserGuide#a2.2.2.Filemenudescription File Menu Description] 18 i. [wiki:UserGuide#a2.2.3.EditMenuDescription Edit Menu Description] 19 i. [wiki:UserGuide#a2.2.4.MenuDescription “?” Menu Description] 20 a. [wiki:UserGuide#a2.3InterfaceView Interface View] 28 21 i. [wiki:UserGuide#a2.3.1Screenshots Screenshots] 29 i i. [wiki:UserGuide#a2.3.2FileMenuDescription File Menu Description]30 i ii. [wiki:UserGuide#a2.3.3EditMenuDescription Edit Menu Description]31 i v. [wiki:UserGuide#a2.3.4ToolsMenuDescription Tools Menu Description]32 v. [wiki:UserGuide#a2.3.5MenuDescription “?” Menu Description]33 d. [wiki:UserGuide#a2.4DeploymentView Deployment View]22 i. [wiki:UserGuide#a2.3.2FileMenuDescription File Menu Description] 23 i. [wiki:UserGuide#a2.3.3EditMenuDescription Edit Menu Description] 24 i. [wiki:UserGuide#a2.3.4ToolsMenuDescription Tools Menu Description] 25 i. [wiki:UserGuide#a2.3.5MenuDescription “?” Menu Description] 26 a. [wiki:UserGuide#a2.4DeploymentView Deployment View] 34 27 i. [wiki:UserGuide#a2.4.1Screenshots Screenshots] 35 i i. [wiki:UserGuide#a2.4.2FileMenuDescription File Menu Description]36 i ii. [wiki:UserGuide#a2.4.3EditMenuDescription Edit Menu Description]37 i v. [wiki:UserGuide#a2.4.4ToolsMenuDescription Tools Menu Description]38 v. [wiki:UserGuide#a2.4.5MenuDescription “?” Menu Description]39 3. [wiki:UserGuide#a3.Tutorial Tutorial]28 i. [wiki:UserGuide#a2.4.2FileMenuDescription File Menu Description] 29 i. [wiki:UserGuide#a2.4.3EditMenuDescription Edit Menu Description] 30 i. [wiki:UserGuide#a2.4.4ToolsMenuDescription Tools Menu Description] 31 i. [wiki:UserGuide#a2.4.5MenuDescription “?” Menu Description] 32 1. [wiki:UserGuide#a3.Tutorial Tutorial] 40 33 a. [wiki:UserGuide#a3.1FunctionalViewEditor Functional View Editor] 41 b. [wiki:UserGuide#a3.2InterfaceViewEditor Interface View Editor] 42 c. [wiki:UserGuide#a3.3DeploymentViewEditor Deployment View Editor] 43 34 a. [wiki:UserGuide#a3.2InterfaceViewEditor Interface View Editor] 35 a. [wiki:UserGuide#a3.3DeploymentViewEditor Deployment View Editor] 44 36 45 37 == 1. Installation == 46 47 38 Labassert 1.0 is available on Windows and Linux. Its installation requires no specific platform dependent procedure. The only action that may be required is to uncompress the archive with the appropriate utility if the distribution was provided as a zip or tar.gz file. 48 39 … … 50 41 51 42 An uncompressed distribution of Labassert 1.0 contains the following files: 43 52 44 * labassert.exe: Windows executable file. 53 45 * Labassert.bin: Linux executable file. … … 56 48 * documentation directory: contains this file and the Labassert study report. 57 49 58 The Labassert software is a deliverable of an ESA funded study. As thus its distribution and use rules follow the General Clauses and Conditions for ESA Contracts. Please contact ESA or Ellidiss representative for further information about licensing topics. 50 The Labassert software is a deliverable of an ESA funded study. As thus its distribution and use rules follow the General Clauses and Conditions for ESA Contracts. Please contact ESA or Ellidiss representative for further information about licensing topics. 59 51 60 52 Ellidiss Technologies can provide technical support to users of the Labassert tool. Please use the following address to send technical or commercial inquires: labassert@ellidiss.com 61 53 62 54 == 2. Applications Description == 63 64 55 === 2.1 Launcher === 65 56 The launcher is used to open the functional, the interface and the deployment view editors. … … 69 60 70 61 === 2.2 Functional View === 71 72 62 The Functional View Editor manages the applicative functions that can be referred within the Interface View. 73 63 … … 81 71 [[Image(htdocs:UserGuide/img2.png)]] 82 72 83 84 73 ==== 2.2.2. File menu description ==== 85 86 74 * New Library : create a new functional view. 87 75 * Open Library : load an existing functional view (.lfv extension). … … 90 78 * Load Data View : load a data view (data type from this view is then available for parameters interface creation). 91 79 * Quit : close the application. 80 92 81 ==== 2.2.3. Edit Menu Description ==== 93 94 82 * New Function : create a function (functions appear in “Functions” notebook). 95 83 * Delete Function : delete the selected function. … … 98 86 * New Interface : create an interface (interfaces appear in “interfaces” notebook). 99 87 * Delete Interface : delete the selected interface. 100 * New Parameter : add a parameter to an interface. 88 * New Parameter : add a parameter to an interface. 101 89 * Delete Parameter : remove a parameter from an interface. 90 102 91 ==== 2.2.4. “?” Menu Description ==== 103 104 92 * About : about the Interface View Editor. 105 93 * Help : application description and accelerators available. … … 132 120 * New RI : create a Required Interface on a Container or a Function. 133 121 * New Connection : create a connection between two objects. 134 * Edit Properties : if an object is selected, open a dialog box to edit its properties. 122 * Edit Properties : if an object is selected, open a dialog box to edit its properties. 135 123 * Delete Selection : if an object is selected, remove this object from the diagram. 136 124 * Copy : if objects are selected, copy the selection. … … 143 131 * Generate Interface View : generate the AADL file of the current interface view. 144 132 * Stood : 145 * Set Execution Path : define the actual location of Stood executable on the system146 * Open In Stood : create a Stood model and open Stood147 * Generate Interface View : use Stood AADL code generator to generate the Interface View.148 * Generate Concurrency View : use Stood AADL code generator and ASSERT Vertical Transformation to generate the Concurrency View.149 * Navigation Panel : open the navigation panel in order to scroll and zoom the diagram. 133 * Set Execution Path : define the actual location of Stood executable on the system 134 * Open In Stood : create a Stood model and open Stood 135 * Generate Interface View : use Stood AADL code generator to generate the Interface View. 136 * Generate Concurrency View : use Stood AADL code generator and ASSERT Vertical Transformation to generate the Concurrency View. 137 * Navigation Panel : open the navigation panel in order to scroll and zoom the diagram. 150 138 * Option : launch Interface View Editor option dialog box. 151 139 … … 179 167 * Add Function : create a Function on a Partition (an Interface View file containing function(s) has to be open). 180 168 * New Bus : create a Bus on the work zone. 181 * New Processor Interface : create a Processor Interface on a Processor. 169 * New Processor Interface : create a Processor Interface on a Processor. 182 170 * New Connection : create a connection between a Bus and a Processor/Processor Interface. 183 * Edit Properties : if an object is selected, open a dialog box to edit its properties. 171 * Edit Properties : if an object is selected, open a dialog box to edit its properties. 184 172 * Delete Selection : if an object is selected, remove this object from the diagram. 185 173 * Copy : if objects are selected, copy the selection. … … 190 178 ==== 2.4.4 Tools Menu Description ==== 191 179 * Generate Deployment View : generate the AADL file corresponding to the current deployment view. 192 * Navigation Panel : open the navigation panel in order to scroll and zoom the diagram. 180 * Navigation Panel : open the navigation panel in order to scroll and zoom the diagram. 193 181 * Option : launch Deployment View Editor option dialog box. 194 182 … … 201 189 202 190 === 3.1 Functional View Editor === 203 204 191 1. Launch the Functional View Editor. 205 2. Load a '''Data View''' (File → Load Data View):[[BR]] 206 AADL representation of the Data View files must exist in the workspace. They are usually generated by the Asn2aadlPlus tool. However, a simplistic version of an AADL Data View can be created with any text editor for the purpose of the tutorial. Its contents should be the following: 192 1. Load a '''Data View''' (File → Load Data View):[[BR]] AADL representation of the Data View files must exist in the workspace. They are usually generated by the Asn2aadlPlus tool. However, a simplistic version of an AADL Data View can be created with any text editor for the purpose of the tutorial. Its contents should be the following: 207 193 208 194 {{{ … … 215 201 END Tutorial_Types; 216 202 }}} 217 218 3. Create a '''Function''' named “Calculator” (Edit → New Function) : 219 [[Image(htdocs:UserGuide/img5.png)]] 203 3. Create a '''Function''' named “Calculator” (Edit → New Function) :[[Image(htdocs:UserGuide/img5.png)]] 220 204 221 205 4. Click on the “Interfaces” tab. 222 5. Create 4 '''Interfaces''' named “Add”, “Sub”, “Mul” and “Div” with same attributes (Edit → New Interface) : 223 [[Image(htdocs:UserGuide/img6.png)]] 224 225 6. For each interfaces, create 3 parameters [[BR]] 226 (Select the interface and click on Edit → New Parameter) : 206 4. Create 4 '''Interfaces''' named “Add”, “Sub”, “Mul” and “Div” with same attributes (Edit → New Interface) :[[Image(htdocs:UserGuide/img6.png)]] 207 208 6. For each interfaces, create 3 parameters [[BR]] (Select the interface and click on Edit → New Parameter) : 209 227 210 * o1 : direction “in”, type “Float” and protocol “NATIVE”. 228 211 * o2 : direction “in”, type “Float” and protocol “NATIVE”. 229 * r : direction “out”, type “Float” and protocol “NATIVE”. 230 [[Image(htdocs:UserGuide/img7.png)]] 231 232 Note : the newly created parameters shall appear on the right table application. 212 * r : direction “out”, type “Float” and protocol “NATIVE”.[[Image(htdocs:UserGuide/img7.png)]] 213 214 Note : the newly created parameters shall appear on the right table application. 233 215 234 216 7. Click on the “Functions” tab. 235 8. Select the “Calculator” '''Function''' and add the interfaces (Edit → Add Interface) : 236 [[Image(htdocs:UserGuide/img8.png)]] 237 238 9. Finally, save the current library (File → Save Library) : 239 [[Image(htdocs:UserGuide/img9.png)]] 217 7. Select the “Calculator” '''Function''' and add the interfaces (Edit → Add Interface) :[[Image(htdocs:UserGuide/img8.png)]] 218 219 9. Finally, save the current library (File → Save Library) :[[Image(htdocs:UserGuide/img9.png)]] 240 220 241 221 Note : in the save as dialog box, a default name is proposed for the file : the previously given library name with the “.lfv” extension (Calc.lfv in our example). 242 222 243 223 === 3.2 Interface View Editor === 244 245 224 1. Launch the Interface View Editor. 246 2. Load the previous '''Functional View''' (File → Load Functional View) : “Calc.lfv” file. 247 3. Create a '''Container''' named “Time” (Edit → New Container or right mouse button contextual menu New Container entry) : 248 [[Image(htdocs:UserGuide/img10.png)]] 249 250 4. Create a '''Function''' named “Convert” into the “Time” '''Container''' (Edit → New Function or right mouse button contextual menu New Function entry) : 251 [[Image(htdocs:UserGuide/img11.png)]] 225 1. Load the previous '''Functional View''' (File → Load Functional View) : “Calc.lfv” file. 226 1. Create a '''Container''' named “Time” (Edit → New Container or right mouse button contextual menu New Container entry) :[[Image(htdocs:UserGuide/img10.png)]] 227 228 4. Create a '''Function''' named “Convert” into the “Time” '''Container''' (Edit → New Function or right mouse button contextual menu New Function entry) :[[Image(htdocs:UserGuide/img11.png)]] 252 229 253 230 5. Create 3 '''Provided Interfaces''' on the “Convert” '''Function''' (Edit → New PI or right mouse button contextual menu New PI entry) : 231 254 232 * Day_To_Sec : kind “sporadic”, Inter-arrival time “100”, deadline “5” and “ms” unit. 255 233 * Hour_To_Sec : kind “sporadic”, Inter-arrival time “100”, deadline “5” and “ms” unit. … … 258 236 [[Image(htdocs:UserGuide/img12.png)]] 259 237 260 6. Create 1 '''Required Interfaces''' on the “Convert” '''Function''' (Edit → New RI or right mouse button contextual menu New RI entry) : 238 6. Create 1 '''Required Interfaces''' on the “Convert” '''Function''' (Edit → New RI or right mouse button contextual menu New RI entry) : 239 261 240 * “Mul” : choose the operation “Mul” in the combo box. 262 241 … … 264 243 265 244 7. Connect all '''Provided Interface Implementation''' to the “Mul” '''Required''' Interface. In order to create a connection between 2 objects, you have to : 245 266 246 * Click on Edit → New Connection menu or right mouse button contextual menu New Connection entry or push the “shift” key (don't release the key until the connection has been created). 267 247 * Select the first object by pushing the left mouse button (don't release the button). … … 270 250 [[Image(htdocs:UserGuide/img14.png)]] 271 251 272 Notes : 252 Notes : 253 273 254 * A connection can be created only between item which have the same parent or have a child-parent relationship. 274 255 * There is a real time connection creation consistency check, when a connection can be created, mouse cursor turns into a crossbar. 275 256 * There is an automatic interface(s) creation facility when 2 objects are connected : in our example, a '''Required Interface''' is automatically created on the '''Provided Interface Implementation'''. 276 257 277 8. Create 1''' Required Interfaces''' on the “Convert” '''Function''' and connect all '''Provided Interface Implementation''' to it : 258 8. Create 1''' Required Interfaces''' on the “Convert” '''Function''' and connect all '''Provided Interface Implementation''' to it : 259 278 260 * “Result” : leave the operation field blank. 279 261 … … 285 267 286 268 10. Create a “IO” '''Container''' and in this container create 2 '''Functions''', “Input” and “Output”. 287 11. Create a “sporadic” '''Provided Interface''' named “get_result” on the “Output” '''Function'''. 288 12. Connect the “Input” '''Function''' to “Day_To_Sec” '''Provided Interface''' and the “get_result” '''Provided Interface''' to the “result” '''Required Interface'''. 289 269 10. Create a “sporadic” '''Provided Interface''' named “get_result” on the “Output” '''Function'''. 270 10. Connect the “Input” '''Function''' to “Day_To_Sec” '''Provided Interface''' and the “get_result” '''Provided Interface''' to the “result” '''Required Interface'''. 290 271 291 272 [[Image(htdocs:UserGuide/img17.png)]] 292 273 293 274 13. Save the current interface view as “Time_Conversion.liv” (File → Save). 294 1 4. Double left click on a '''Provided Interface Implementation''' or select Tools → Edit Functional View. A functional view is opened with all the functions and Function's interfaces (open and created in the '''Interface View''') :275 13. Double left click on a '''Provided Interface Implementation''' or select Tools → Edit Functional View. A functional view is opened with all the functions and Function's interfaces (open and created in the '''Interface View''') : 295 276 296 277 [[Image(htdocs:UserGuide/img18.png)]] … … 298 279 Note : this new library can be edited and save for further use. 299 280 300 15.Generate the '''AADL''' file “Time_Conversion.aadl” (Tools → Generate Interface View). You can check the consistency of the result.281 15.Generate the '''AADL''' file “Time_Conversion.aadl” (Tools → Generate Interface View). You can check the consistency of the result. 301 282 302 283 === 3.3 Deployment View Editor === 303 304 284 1. Launch the Deployment View Editor. 305 2. Load the previous '''Interface View''' (File → Load Interface View) : “Time_Conversion.liv” file.306 3. Create 2 '''Processors''' (Edit → New Processor or right mouse button contextual menu New Processor entry) :285 1. Load the previous '''Interface View''' (File → Load Interface View) : “Time_Conversion.liv” file. 286 1. Create 2 '''Processors''' (Edit → New Processor or right mouse button contextual menu New Processor entry) : 307 287 308 288 * cpu1 : type “pentium”, implementation name “others”, processor location “127.0.0.1” and execution platform “Native”. 309 289 * cpu2 : type “athlon”, implementation name “others”, processor location “127.0.0.2” and execution platform “Native”. 310 290 311 312 291 [[Image(htdocs:UserGuide/img19.png)]] 313 292 … … 317 296 318 297 5. Create 2 '''Processor Interfaces''' (Edit → New Processor Interface or right mouse button contextual menu New Processor Interface entry) : 298 319 299 * port_cpu1 on “cpu1” '''Processor''' : interface bus required “VME”. 320 300 * port_cpu2 on “cpu2” '''Processor''' : interface bus required “VME”. 321 322 And connect them to the bus (same process as Interface View Editor).301 302 And connect them to the bus (same process as Interface View Editor). 323 303 324 304 [[Image(htdocs:UserGuide/img21.png)]] … … 327 307 328 308 6. Create 2 '''Partitions''' (Edit → New Partition or right mouse button contextual menu New Partition entry) : 309 329 310 * A1 in “cpu1” '''Processor''' : type “A1”, implementation name “others” and leave port number empty. 330 311 * A2 in “cpu2” '''Processor''' : type “A2”, implementation name “others” and leave port number empty. … … 337 318 338 319 8. Save the current deployment view as “Deployment1.ldv” (File → Save). 339 9. Generate the '''AADL''' file “Deployment1.aadl” (Tools → Generate Deployment View). You can check the consistency of the result.340 10. For one '''Interface View''', one can have several '''Deployment View'''. Remove the previously added '''Functions''' (select a '''Function''' or a group of '''Functions''' and File → Delete Selection or right mouse button contextual menu Delete Selection entry ).320 8. Generate the '''AADL''' file “Deployment1.aadl” (Tools → Generate Deployment View). You can check the consistency of the result. 321 8. For one '''Interface View''', one can have several '''Deployment View'''. Remove the previously added '''Functions''' (select a '''Function''' or a group of '''Functions''' and File → Delete Selection or right mouse button contextual menu Delete Selection entry ). 341 322 342 323 Note : to select a group of items, left clic in an blank space (don't release the button), and release the left mouse button when all items you want to select are in the selection box. … … 348 329 [[Image(htdocs:UserGuide/img25.png)]] 349 330 350 12. Save the current deployment view as “Deployment2.ldv”.[[BR]] 351 13. Generate the '''AADL''' file “Deployment2.aadl”. You can check the consistency of the result. 352 353 354 Ellidiss Technologies :[[BR]] 355 [http://www.ellidiss.com www.ellidiss.com][[BR]] 356 24 quai de la douane, 29200 Brest, France[[BR]] 357 Tel. +33 (0) 298 451 870[[BR]] 358 [[Image(htdocs:logoEllidiss.png)]] 331 12. Save the current deployment view as “Deployment2.ldv”.[[BR]] 13. Generate the '''AADL''' file “Deployment2.aadl”. You can check the consistency of the result. 332 333 Ellidiss Technologies :[[BR]] [http://www.ellidiss.com www.ellidiss.com][[BR]] 24 quai de la douane, 29200 Brest, France[[BR]] Tel. +33 (0) 298 451 870[[BR]] [[Image(htdocs:logoEllidiss.png)]]