Changes between Version 28 and Version 29 of LabassertUserGuide


Ignore:
Timestamp:
05/26/09 11:51:51 (15 years ago)
Author:
pierre
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LabassertUserGuide

    v28 v29  
    6161
    6262=== Screenshots ===
    63 [[Image(htdocs:UserGuide/img1.png)]]
     63[[Image(wiki:LabassertUserGuide:img1.png)]]
    6464
    6565== Functional View ==
     
    7373
    7474=== Screenshots ===
    75 [[Image(htdocs:UserGuide/img2.png)]]
     75[[Image(wiki:LabassertUserGuide:img2.png)]]
    7676
    7777=== File menu description ===
     
    107107
    108108=== Screenshots ===
    109 [[Image(htdocs:UserGuide/img3.png)]]
     109[[Image(wiki:LabassertUserGuide:img3.png)]]
    110110
    111111=== File Menu Description ===
     
    156156
    157157=== Screenshots ===
    158 [[Image(htdocs:UserGuide/img4.png)]]
     158[[Image(wiki:LabassertUserGuide:img4.png)]]
    159159
    160160=== File Menu Description ===
     
    205205END Tutorial_Types;
    206206}}}
    207  3. Create a '''Function''' named "Calculator" (Edit → New Function) :[[BR]][[BR]][[Image(htdocs:UserGuide/img5.png)]]
     207 3. Create a '''Function''' named "Calculator" (Edit → New Function) :[[BR]][[BR]][[Image(wiki:LabassertUserGuide:img5.png)]]
    208208
    209209 4. Click on the "Interfaces" tab.
    210  4. Create 4 '''Interfaces''' named "Add", "Sub", "Mul" and "Div" with same attributes (Edit → New Interface) :[[BR]][[BR]][[Image(htdocs:UserGuide/img6.png)]]
     210 4. Create 4 '''Interfaces''' named "Add", "Sub", "Mul" and "Div" with same attributes (Edit → New Interface) :[[BR]][[BR]][[Image(wiki:LabassertUserGuide:img6.png)]]
    211211
    212212 6. For each interfaces, create 3 parameters [[BR]] (Select the interface and click on Edit → New Parameter) :
     
    214214 * o1 : direction "in", type "Float" and protocol "NATIVE".
    215215 * o2 : direction "in", type "Float" and protocol "NATIVE".
    216  * r : direction "out", type "Float" and protocol "NATIVE".[[BR]][[BR]][[Image(htdocs:UserGuide/img7.png)]]
     216 * r : direction "out", type "Float" and protocol "NATIVE".[[BR]][[BR]][[Image(wiki:LabassertUserGuide:img7.png)]]
    217217
    218218Note : the newly created parameters shall appear on the right table application.
    219219
    220220 7. Click on the "Functions" tab.
    221  7. Select the "Calculator" '''Function''' and add the interfaces (Edit → Add Interface) :[[BR]][[BR]][[Image(htdocs:UserGuide/img8.png)]]
    222 
    223  9. Finally, save the current library (File → Save Library) :[[BR]][[BR]][[Image(htdocs:UserGuide/img9.png)]]
     221 7. Select the "Calculator" '''Function''' and add the interfaces (Edit → Add Interface) :[[BR]][[BR]][[Image(wiki:LabassertUserGuide:img8.png)]]
     222
     223 9. Finally, save the current library (File → Save Library) :[[BR]][[BR]][[Image(wiki:LabassertUserGuide:img9.png)]]
    224224
    225225Note : 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).
     
    228228 1. Launch the Interface View Editor.
    229229 1. Load the previous '''Functional View''' (File → Load Functional View) : "Calc.lfv" file.
    230  1. Create a '''Container''' named "Time" (Edit → New Container or right mouse button contextual menu New Container entry) :[[BR]][[BR]][[Image(htdocs:UserGuide/img10.png)]]
    231 
    232  4. Create a '''Function''' named "Convert" into the "Time" '''Container''' (Edit → New Function or right mouse button contextual menu New Function entry) :[[BR]][[BR]][[Image(htdocs:UserGuide/img11.png)]]
     230 1. Create a '''Container''' named "Time" (Edit → New Container or right mouse button contextual menu New Container entry) :[[BR]][[BR]][[Image(wiki:LabassertUserGuide:img10.png)]]
     231
     232 4. Create a '''Function''' named "Convert" into the "Time" '''Container''' (Edit → New Function or right mouse button contextual menu New Function entry) :[[BR]][[BR]][[Image(wiki:LabassertUserGuide:img11.png)]]
    233233
    234234 5. Create 3 '''Provided Interfaces''' on the "Convert" '''Function''' (Edit → New PI or right mouse button contextual menu New PI entry) :
     
    238238 * Min_To_Sec : kind "sporadic", Inter-arrival time "100", deadline "5" and "ms" unit.
    239239
    240 [[Image(htdocs:UserGuide/img12.png)]]
     240[[Image(wiki:LabassertUserGuide:img12.png)]]
    241241
    242242 6. Create 1 '''Required Interfaces''' on the "Convert" '''Function''' (Edit → New RI or right mouse button contextual menu New RI entry) :
     
    244244 * "Mul" : choose the operation "Mul" in the combo box.
    245245
    246 [[Image(htdocs:UserGuide/img13.png)]]
     246[[Image(wiki:LabassertUserGuide:img13.png)]]
    247247
    248248 7. Connect all '''Provided Interface Implementation''' to the "Mul" '''Required''' Interface.  In order to create a connection between 2 objects, you have to :
     
    252252 * And release the left mouse button on the second object.
    253253
    254 [[Image(htdocs:UserGuide/img14.png)]]
     254[[Image(wiki:LabassertUserGuide:img14.png)]]
    255255
    256256Notes :
     
    264264 * "Result" : leave the operation field blank.
    265265
    266 [[Image(htdocs:UserGuide/img15.png)]]
     266[[Image(wiki:LabassertUserGuide:img15.png)]]
    267267
    268268 9. Create a "Calculator" '''Function''' chosen from the previously loaded '''Functional View''' (choose the Function name in the creation dialog-box list) and connect the "Convert" '''Function''' "Mul" '''Required Interface''' to the "Calculator"''' Function''' "Mul" '''Provided Interface'''. Edit the "Mul" '''Provided Interface''' by double clicking on it and choose "unprotected" kind.
    269269
    270 [[Image(htdocs:UserGuide/img16.png)]]
     270[[Image(wiki:LabassertUserGuide:img16.png)]]
    271271
    272272 10. Create a "IO" '''Container''' and in this container create 2 '''Functions''', "Input" and "Output".
     
    274274 10. Connect the "Input" '''Function''' to "Day_To_Sec" '''Provided Interface''' and the "get_result" '''Provided Interface''' to the "result" '''Required Interface'''.
    275275
    276 [[Image(htdocs:UserGuide/img17.png)]]
     276[[Image(wiki:LabassertUserGuide:img17.png)]]
    277277
    278278 13. Save the current interface view as "Time_Conversion.liv" (File → Save).
    279279 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''') :
    280280
    281 [[Image(htdocs:UserGuide/img18.png)]]
     281[[Image(wiki:LabassertUserGuide:img18.png)]]
    282282
    283283Note : this new library can be edited and save for further use.
     
    293293 * cpu2 : type "athlon", implementation name "others", processor location "127.0.0.2" and execution platform "Native".
    294294
    295 [[Image(htdocs:UserGuide/img19.png)]]
     295[[Image(wiki:LabassertUserGuide:img19.png)]]
    296296
    297297 4. Create a '''Bus'''  named "VME" and "BSD_Sockets" transport API (Edit → New Bus or right mouse button contextual menu New Bus entry) :
    298298
    299 [[Image(htdocs:UserGuide/img20.png)]]
     299[[Image(wiki:LabassertUserGuide:img20.png)]]
    300300
    301301 5. Create 2 '''Processor Interfaces''' (Edit → New Processor Interface or right mouse button contextual menu New Processor Interface entry) :
     
    306306  And connect them to the bus (same process as Interface View Editor).
    307307
    308 [[Image(htdocs:UserGuide/img21.png)]]
     308[[Image(wiki:LabassertUserGuide:img21.png)]]
    309309
    310310Note : as in '''Interface View Editor''', automatic creation services are available. In our example, one can skip the '''Processor Interface''' creation and connect the processors to the bus.
     
    315315 * A2 in "cpu2" '''Processor''' : type "A2", implementation name "others" and  leave port number empty.
    316316
    317 [[Image(htdocs:UserGuide/img22.png)]]
     317[[Image(wiki:LabassertUserGuide:img22.png)]]
    318318
    319319 7. In "A1" '''Partition''', add "Input" and "Output" '''Functions''' (Edit → Add Function or right mouse button contextual menu Add Function entry) and in "A2" '''Partition''', add "Convert" and "Calculator" '''Functions''' :
    320320
    321 [[Image(htdocs:UserGuide/img23.png)]]
     321[[Image(wiki:LabassertUserGuide:img23.png)]]
    322322
    323323 8. Save the current deployment view as “Deployment1.ldv” (File → Save).
     
    327327Note : 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.
    328328
    329 [[Image(htdocs:UserGuide/img24.png)]]
     329[[Image(wiki:LabassertUserGuide:img24.png)]]
    330330
    33133111. In "A1" '''Partition''', add "Input", "Convert" and "Calculator" '''Functions''' and in "A2" '''Partition''', add "Output" '''Functions''' :
    332332
    333 [[Image(htdocs:UserGuide/img25.png)]]
     333[[Image(wiki:LabassertUserGuide:img25.png)]]
    334334
    33533512. Save the current deployment view as "Deployment2.ldv".[[BR]] 13. Generate the '''AADL''' file "Deployment2.aadl". You can check the consistency of the result.