Difference between revisions of "Kazoo Templates Documentation"

From TASTE
Jump to: navigation, search
(Created page with "== Templates == === templates/skeletons/makefile.tmplt === This template is evaluated only once. The output is saved to the Makefile within output directory. {| class="wikita...")
 
(9 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
|-
 
|-
 
|Language
 
|Language
|... and corresponding implementation language
+
|↳ and corresponding implementation language
 
|-
 
|-
 
|Is_Type
 
|Is_Type
|... and flag if it is a function type
+
|↳ and flag if it is a function type
 
|-
 
|-
 
|Has_Context_Param
 
|Has_Context_Param
|... and flag to indicate if function has context parameters
+
|↳ and flag to indicate if function has context parameters
 
|-
 
|-
 
|CP_Files
 
|CP_Files
Line 33: Line 33:
 
|ASN1_Modules
 
|ASN1_Modules
 
|List of all ASN.1 modules
 
|List of all ASN.1 modules
 +
|-
 +
|Skeletons
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Timer_Resolution
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Other_Files
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Target
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Output_Dir
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Shared_Types
 +
|List of available component types
 +
|-
 +
|Check_Data_View
 +
|DOCUMENTATION MISSING
 +
|-
 +
|No_Stdlib_Flag
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Shared_Lib_Dir
 +
|Folder hosting the shared component types
 +
|-
 +
|Binary_Path
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Data_View
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Deployment_View
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Debug_Flag
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Interface_View
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Use_POHIC
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Glue
 +
|DOCUMENTATION MISSING
 +
|-
 +
|CPU_Platform
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Is_FPGA
 +
|DOCUMENTATION MISSING
 
|}
 
|}
 
=== templates/skeletons/context-parameters.tmplt ===
 
=== templates/skeletons/context-parameters.tmplt ===
Line 47: Line 101:
 
|-
 
|-
 
|Module_Set
 
|Module_Set
|... corresponding module (needed for ASN.1 "IMPORTS")
+
|↳ corresponding module (needed for ASN.1 "IMPORTS")
 
|-
 
|-
 
|CP_Name
 
|CP_Name
Line 53: Line 107:
 
|-
 
|-
 
|CP_Sort
 
|CP_Sort
|... corresponding ASN.1 type
+
|↳ corresponding ASN.1 type
 
|-
 
|-
 
|CP_ASN1_Module
 
|CP_ASN1_Module
|... in ASN.1 module
+
|↳ in ASN.1 module
 
|-
 
|-
 
|CP_Value
 
|CP_Value
|... with default value
+
|↳ with default value
 +
|-
 +
|Is_Type
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Instance_Of
 +
|DOCUMENTATION MISSING
 
|}
 
|}
 
=== templates/skeletons/sub/trigger.tmplt ===
 
=== templates/skeletons/sub/trigger.tmplt ===
Line 95: Line 155:
 
|-
 
|-
 
|List_Of_PIs
 
|List_Of_PIs
|DOCUMENTATION MISSING
+
|List of all provided interfaces (names only)
 
|-
 
|-
 
|ASync_RI_Param_Type
 
|ASync_RI_Param_Type
Line 107: Line 167:
 
|-
 
|-
 
|Debug_Flag
 
|Debug_Flag
|DOCUMENTATION MISSING
 
|-
 
|ASync_PI_Param_Name
 
 
|DOCUMENTATION MISSING
 
|DOCUMENTATION MISSING
 
|-
 
|-
Line 116: Line 173:
 
|-
 
|-
 
|Property_Names
 
|Property_Names
|DOCUMENTATION MISSING
+
|Vector tag: AADL Property name
 +
|-
 +
|Property_Values
 +
|  ↳ corresponding AADL property value
 
|-
 
|-
 
|Skeletons
 
|Skeletons
Line 123: Line 183:
 
|Interface_View
 
|Interface_View
 
|Interface view filename
 
|Interface view filename
|-
 
|ASync_PI_Param_Type
 
|DOCUMENTATION MISSING
 
 
|-
 
|-
 
|ASync_RI_Param_Name
 
|ASync_RI_Param_Name
Line 131: Line 188:
 
|-
 
|-
 
|CP_Asn1Modules
 
|CP_Asn1Modules
|DOCUMENTATION MISSING
 
|-
 
|Property_Values
 
 
|DOCUMENTATION MISSING
 
|DOCUMENTATION MISSING
 
|-
 
|-
Line 149: Line 203:
 
|-
 
|-
 
|List_Of_ASync_PIs
 
|List_Of_ASync_PIs
 +
|Vector tag: list of async Provided interfaces
 +
|-
 +
|ASync_PI_Kind
 +
|  ↳ CYCLIC_OPERATION or SPORADIC_OPERATION
 +
|-
 +
|ASync_PI_Is_Connected
 +
|  ↳ Flag set to true if PI is connected
 +
|-
 +
|ASync_PI_Param_Name
 +
|DOCUMENTATION MISSING
 +
|-
 +
|ASync_PI_Param_Type
 
|DOCUMENTATION MISSING
 
|DOCUMENTATION MISSING
 
|-
 
|-
Line 201: Line 267:
 
|Target
 
|Target
 
|Value of command line flag --target=Target
 
|Value of command line flag --target=Target
 +
|-
 +
|Shared_Types
 +
|List of available component types
 +
|-
 +
|Shared_Lib_Dir
 +
|Folder hosting the shared component types
 
|}
 
|}
 
=== templates/skeletons/sub/makefile-filename.tmplt ===
 
=== templates/skeletons/sub/makefile-filename.tmplt ===
Line 210: Line 282:
 
|Name
 
|Name
 
|The name of the function
 
|The name of the function
 +
|-
 +
|Language
 +
|DOCUMENTATION MISSING
 
|}
 
|}
 
=== templates/skeletons/sub/function-filename.tmplt ===
 
=== templates/skeletons/sub/function-filename.tmplt ===
Line 219: Line 294:
 
|Name
 
|Name
 
|The name of the function
 
|The name of the function
 +
|-
 +
|Language
 +
|DOCUMENTATION MISSING
 +
|}
 +
=== templates/skeletons/sub/function.tmplt ===
 +
Template for a function in the skeleton or glue folder
 +
{| class="wikitable"
 +
!Parameter name
 +
!Description
 +
|-
 +
|Name
 +
|The name of the function
 +
|-
 +
|Language
 +
|Implementation language
 +
|-
 +
|List_Of_PIs
 +
|List of all provided interfaces (names only)
 +
|-
 +
|List_Of_RIs
 +
|List of all required interfaces (names only)
 +
|-
 +
|Provided_Interfaces
 +
|Generated from interfaces.tmplt
 +
|-
 +
|Required_Interfaces
 +
|Generated from interfaces.tmplt
 +
|-
 +
|RIs_Have_Params
 +
|True if at least one RI has an ASN.1 parameter
 +
|-
 +
|PIs_Have_Params
 +
|True if at least one PI has an ASN.1 parameter
 +
|-
 +
|Zip_File
 +
|Path to optional zip file containing the code of the function
 +
|(deprecated functionality)
 +
|-
 +
|Is_Type
 +
|True if it is a function type
 +
|-
 +
|Instance_Of
 +
|Name of the function type if it is an instance
 +
|-
 +
|Has_Context
 +
|True if function has context parameters
 +
|-
 +
|CP_Names
 +
|Vector tag: context parameters (names)
 +
|-
 +
|CP_Types
 +
| ↳ corresponding ASN.1 type
 +
|-
 +
|CP_Values
 +
| ↳ corresponding value
 +
|-
 +
|CP_Asn1Modules
 +
| ↳ corresponding ASN.1 module containing the type
 +
|-
 +
|CP_Asn1Filenames
 +
| ↳ corresponding ASN.1 filename
 +
|-
 +
|Property_Names
 +
|Vector tag: user defined AADL property names
 +
|-
 +
|Property_Values
 +
| ↳ corresponding value
 +
|-
 +
|List_Of_ASync_PIs
 +
|List of asynchronous provided interfaces
 +
|-
 +
|ASync_PI_Param_Name
 +
| ↳ name of the parameter
 +
|-
 +
|ASync_PI_Param_Type
 +
| ↳ ASN.1 typename of the parameter
 +
|-
 +
|ASync_PI_Kind
 +
| ↳ CYCLIC_OPERATION or SPORADIC_OPERATION
 +
|-
 +
|ASync_PI_Is_Connected
 +
|  ↳ Flag set to true if PI is connected
 +
|-
 +
|Timers
 +
|List of timers (names)
 +
|-
 +
|List_Of_Sync_RIs
 +
|List of synchronous required interfaces
 +
|-
 +
|List_Of_Sync_PIs
 +
|List of synchronous provided interfaces
 +
|-
 +
|Sync_RIs_Parent
 +
| ↳ and corresponding parent function name
 +
|-
 +
|ASN1_Modules
 +
|List of ASN.1 modules containing types used in this function
 +
|-
 +
|ASN1_Files
 +
|List of ASN.1 files containing types used in this function
 +
|-
 +
|List_Of_ASync_RIs
 +
|vector tag: list of asynchronous required interfaces
 +
|-
 +
|Async_RIs_Parent
 +
| ↳ Corresponding parent function name
 +
|-
 +
|ASync_RI_Param_Name
 +
| ↳ parameter name of the required interface
 +
|-
 +
|ASync_RI_Param_Type
 +
| ↳ ASN1 typename of the parameter
 +
|-
 +
|Data_View
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Shared_Lib_Dir
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Binary_Path
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Timer_Resolution
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Skeletons
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Other_Files
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Check_Data_View
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Shared_Types
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Output_Dir
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Use_POHIC
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Debug_Flag
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Target
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Interface_View
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Glue
 +
|DOCUMENTATION MISSING
 +
|-
 +
|No_Stdlib_Flag
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Deployment_View
 +
|DOCUMENTATION MISSING
 
|}
 
|}
 
=== templates/skeletons/sub/interface.tmplt ===
 
=== templates/skeletons/sub/interface.tmplt ===
Line 233: Line 468:
 
|-
 
|-
 
|Kind
 
|Kind
|The RCM Kind
+
|The RCM Kind (SPORADIC|CYCLIC|PROTECTED|UNPROTECTED_OPERATION)
 
|-
 
|-
 
|Parent_Function
 
|Parent_Function
Line 245: Line 480:
 
|-
 
|-
 
|Property_Values
 
|Property_Values
|... and corresponding values
+
|↳ and corresponding values
 
|-
 
|-
 
|Param_Names
 
|Param_Names
Line 251: Line 486:
 
|-
 
|-
 
|Param_Types
 
|Param_Types
| |_ Corresponding parameter types
+
| ↳ Corresponding parameter types
 
|-
 
|-
 
|Param_Directions
 
|Param_Directions
| |_ Corresponding direction
+
| ↳ Corresponding direction
 
|-
 
|-
 
|Param_Encodings
 
|Param_Encodings
| |_ Corresponding ASN.1 encoding
+
| ↳ Corresponding ASN.1 encoding
 
|-
 
|-
 
|Is_Timer
 
|Is_Timer
Line 290: Line 525:
 
|-
 
|-
 
|Param_Basic_Types
 
|Param_Basic_Types
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Interface_View
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Check_Data_View
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Shared_Lib_Dir
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Use_POHIC
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Skeletons
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Debug_Flag
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Output_Dir
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Timer_Resolution
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Target
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Binary_Path
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Other_Files
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Deployment_View
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Shared_Types
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Data_View
 +
|DOCUMENTATION MISSING
 +
|-
 +
|No_Stdlib_Flag
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Glue
 
|DOCUMENTATION MISSING
 
|DOCUMENTATION MISSING
 
|}
 
|}
Line 316: Line 599:
 
|Has_CP
 
|Has_CP
 
|True if context parameters are defined for this function
 
|True if context parameters are defined for this function
 +
|-
 +
|Property_Names
 +
|Function user-defined property names (goes in pair with Property_Values)
 +
|-
 +
|Property_Values
 +
|Function user-defined property values (goes in pair with Property_Names)
 +
|-
 +
|Is_Shared_Type
 +
|True if component is an instance of a function in the shared types folder
 +
|-
 +
|Language
 +
|Implementation language of the function
 +
|-
 +
|Shared_Lib_Dir
 +
|Path to the shared component type folder
 +
|-
 +
|List_Of_PIs
 +
|List of all provided interfaces (names only)
 
|}
 
|}
 
=== templates/concurrency_view/sub/trigger.tmplt ===
 
=== templates/concurrency_view/sub/trigger.tmplt ===
Line 378: Line 679:
 
|-
 
|-
 
|CPU_Classifier
 
|CPU_Classifier
|DOCUMENTATION MISSING
+
|AADL CPU Classifier (e.g. ocarina_processors_x86::x86.linux)
 +
|-
 +
|Shared_Types
 +
|List of available component types
 +
|-
 +
|Shared_Lib_Dir
 +
|Folder hosting the shared component types
 +
|-
 +
|Is_Distributed
 +
|True if the system contains at least one bus
 
|}
 
|}
 
=== templates/concurrency_view/sub/thread.tmplt ===
 
=== templates/concurrency_view/sub/thread.tmplt ===
Line 411: Line 721:
 
|-
 
|-
 
|Remote_PIs
 
|Remote_PIs
| |_ Associated PI Name
+
| ↳ Associated PI Name
 
|-
 
|-
 
|Remote_PI_Sorts
 
|Remote_PI_Sorts
| |_ Optional param type of the remote thread
+
| ↳ Optional param type of the remote thread
 
|-
 
|-
 
|Remote_PI_Modules
 
|Remote_PI_Modules
| |_ Asn1 module of the optional param type
+
| ↳ Asn1 module of the optional param type
 
|-
 
|-
 
|Name
 
|Name
Line 471: Line 781:
 
|-
 
|-
 
|Language
 
|Language
|DOCUMENTATION MISSING
+
|Implementation language of the function
 
|-
 
|-
 
|Binary_Path
 
|Binary_Path
Line 529: Line 839:
 
|Stack_Size_In_Bytes
 
|Stack_Size_In_Bytes
 
|DOCUMENTATION MISSING
 
|DOCUMENTATION MISSING
 +
|-
 +
|Shared_Types
 +
|List of available component types
 +
|-
 +
|Shared_Lib_Dir
 +
|Folder hosting the shared component types
 
|}
 
|}
 
=== templates/concurrency_view/sub/pi.tmplt ===
 
=== templates/concurrency_view/sub/pi.tmplt ===
Line 550: Line 866:
 
|-
 
|-
 
|Param_Types
 
|Param_Types
| |_ Corresponding parameter types
+
| ↳ Corresponding parameter types
 
|-
 
|-
 
|Param_Directions
 
|Param_Directions
| |_ Corresponding direction
+
| ↳ Corresponding direction
 
|-
 
|-
 
|Is_Timer
 
|Is_Timer
Line 571: Line 887:
 
|-
 
|-
 
|Language
 
|Language
|DOCUMENTATION MISSING
+
|Implementation language of the function
 
|-
 
|-
 
|Protected_Block_Name
 
|Protected_Block_Name
Line 701: Line 1,017:
 
|-
 
|-
 
|List_Of_PIs
 
|List_Of_PIs
|DOCUMENTATION MISSING
+
|List of all provided interfaces (names only)
 +
|-
 +
|List_Of_ASync_RIs
 +
|Vector tag: name of asynchronous RIs
 +
|-
 +
|ASync_RI_Param_Name
 +
|  ↳ corresponding parameter Name
 
|-
 
|-
 
|ASync_RI_Param_Type
 
|ASync_RI_Param_Type
|DOCUMENTATION MISSING
+
| ↳ corresponding parameter ASN.1 type
 
|-
 
|-
 
|RIs_Have_Params
 
|RIs_Have_Params
Line 710: Line 1,032:
 
|-
 
|-
 
|List_Of_Sync_RIs
 
|List_Of_Sync_RIs
|DOCUMENTATION MISSING
+
|List of synchronous RIs
 +
|-
 +
|List_Of_ASync_PIs
 +
|Vector tag: name of asynchronous PIs
 +
|-
 +
|ASync_PI_Kind
 +
|  ↳ CYCLIC_OPERATION or SPORADIC_OPERATION
 
|-
 
|-
|Debug_Flag
+
|ASync_PI_Is_Connected
|DOCUMENTATION MISSING
+
| ↳ Flag set to true if PI is connected
 
|-
 
|-
 
|ASync_PI_Param_Name
 
|ASync_PI_Param_Name
|DOCUMENTATION MISSING
+
| ↳ corresponding parameter Name
 +
|-
 +
|ASync_PI_Param_Type
 +
|  ↳ corresponding parameter ASN.1 type
 
|-
 
|-
 
|Timer_Resolution
 
|Timer_Resolution
Line 722: Line 1,053:
 
|-
 
|-
 
|Property_Names
 
|Property_Names
|DOCUMENTATION MISSING
+
|Vector tag: AADL Property name
 +
|-
 +
|Property_Values
 +
|  ↳ corresponding AADL property value
 
|-
 
|-
 
|Skeletons
 
|Skeletons
|DOCUMENTATION MISSING
+
|Command line flag (--gw)
 
|-
 
|-
 
|Interface_View
 
|Interface_View
 
|Interface view filename
 
|Interface view filename
 
|-
 
|-
|ASync_PI_Param_Type
+
|Binary_Path
 
|DOCUMENTATION MISSING
 
|DOCUMENTATION MISSING
 
|-
 
|-
|ASync_RI_Param_Name
+
|CP_Names
|DOCUMENTATION MISSING
+
|Vector tag: context parameter names
 +
|-
 +
|CP_Values
 +
|  ↳ value
 
|-
 
|-
 
|CP_Asn1Modules
 
|CP_Asn1Modules
|DOCUMENTATION MISSING
+
| ↳ ASN.1 module
 
|-
 
|-
|Property_Values
+
|CP_Asn1Filenames
|DOCUMENTATION MISSING
+
| ↳ ASN.1 file name
 
|-
 
|-
|Binary_Path
+
|CP_Types
|DOCUMENTATION MISSING
+
| ↳ Context parameter ASN.1 type
|-
 
|CP_Values
 
|DOCUMENTATION MISSING
 
 
|-
 
|-
 
|Deployment_View
 
|Deployment_View
|DOCUMENTATION MISSING
+
|Path/name of Deployment view file
 
|-
 
|-
 
|No_Stdlib_Flag
 
|No_Stdlib_Flag
|DOCUMENTATION MISSING
+
|command line flag --no-stdlib
|-
 
|List_Of_ASync_PIs
 
|DOCUMENTATION MISSING
 
 
|-
 
|-
 
|Glue
 
|Glue
|DOCUMENTATION MISSING
+
|command line flag --glue
 
|-
 
|-
 
|Partition_Name
 
|Partition_Name
|DOCUMENTATION MISSING
+
|Name of the partition containing this function
 
|-
 
|-
 
|Async_RIs_Parent
 
|Async_RIs_Parent
Line 770: Line 1,101:
 
|-
 
|-
 
|Node_Name
 
|Node_Name
|DOCUMENTATION MISSING
 
|-
 
|CP_Names
 
 
|DOCUMENTATION MISSING
 
|DOCUMENTATION MISSING
 
|-
 
|-
 
|List_Of_Sync_PIs
 
|List_Of_Sync_PIs
|DOCUMENTATION MISSING
 
|-
 
|List_Of_ASync_RIs
 
 
|DOCUMENTATION MISSING
 
|DOCUMENTATION MISSING
 
|-
 
|-
 
|Has_Context
 
|Has_Context
|DOCUMENTATION MISSING
+
|True if function has context parameters
 
|-
 
|-
 
|Output_Dir
 
|Output_Dir
|DOCUMENTATION MISSING
+
|Output folder (by default: work)
|-
 
|Instance_Of
 
|DOCUMENTATION MISSING
 
 
|-
 
|-
 
|PIs_Have_Params
 
|PIs_Have_Params
|DOCUMENTATION MISSING
 
|-
 
|CP_Asn1Filenames
 
 
|DOCUMENTATION MISSING
 
|DOCUMENTATION MISSING
 
|-
 
|-
Line 804: Line 1,123:
 
|Use_POHIC
 
|Use_POHIC
 
|Value of command line flag --polyorb-hi-c (or -p)
 
|Value of command line flag --polyorb-hi-c (or -p)
|-
 
|CP_Types
 
|DOCUMENTATION MISSING
 
 
|-
 
|-
 
|Other_Files
 
|Other_Files
Line 815: Line 1,131:
 
|-
 
|-
 
|List_Of_RIs
 
|List_Of_RIs
|DOCUMENTATION MISSING
+
|List of required interface
|-
 
|Is_Type
 
|DOCUMENTATION MISSING
 
 
|-
 
|-
 
|Data_View
 
|Data_View
Line 825: Line 1,138:
 
|Target
 
|Target
 
|Value of command line flag --target=Target
 
|Value of command line flag --target=Target
 +
|-
 +
|Shared_Types
 +
|List of available component types
 +
|-
 +
|Shared_Lib_Dir
 +
|Folder hosting the shared component types
 +
|-
 +
|Is_Type
 +
|True if function is a function type
 +
|-
 +
|Instance_Of
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Debug_Flag
 +
|if -g is set in the command line
 +
|-
 +
|Is_Shared_Type
 +
|True if component is an instance of a function in the shared types folder
 
|}
 
|}
 
 
 
 
 
  
 
=== templates/concurrency_view/sub/partition.tmplt ===
 
=== templates/concurrency_view/sub/partition.tmplt ===
Line 893: Line 1,219:
 
|-
 
|-
 
|Thread_Dst_Name
 
|Thread_Dst_Name
|Vector tag : connection thread name (dest)
+
| ↳ connection thread name (destination)
 
|-
 
|-
 
|Thread_Src_Port
 
|Thread_Src_Port
|Vector tag : connection port name (source)
+
| ↳ connection port name (source)
 
|-
 
|-
 
|Thread_Dst_Port
 
|Thread_Dst_Port
|Vector tag : connection port name (dest)
+
| ↳ connection port name (dest)
 
|-
 
|-
 
|In_Port_Names
 
|In_Port_Names
Line 905: Line 1,231:
 
|-
 
|-
 
|In_Port_Thread_Name
 
|In_Port_Thread_Name
| |_ corresponding thread inside the partition
+
| ↳ corresponding thread inside the partition
 
|-
 
|-
 
|In_Port_Type_Name
 
|In_Port_Type_Name
| |_ corresponding parameter type name (optional)
+
| ↳ corresponding parameter type name (optional)
 
|-
 
|-
 
|Out_Port_Names
 
|Out_Port_Names
Line 914: Line 1,240:
 
|-
 
|-
 
|Out_Port_Type_Name
 
|Out_Port_Type_Name
| |_ corresponding parameter type name (optional)
+
| ↳ corresponding parameter type name (optional)
 
|-
 
|-
 
|Part_Out_Port_Name
 
|Part_Out_Port_Name
Line 920: Line 1,246:
 
|-
 
|-
 
|Connected_Threads
 
|Connected_Threads
| |_ Corresponding thread connected to it
+
| ↳ Corresponding thread connected to it
 
|-
 
|-
 
|Block_Instance_Of
 
|Block_Instance_Of
Line 938: Line 1,264:
 
|-
 
|-
 
|Block_Languages
 
|Block_Languages
|DOCUMENTATION MISSING
+
|For each block: implementation language
 
|-
 
|-
 
|VP_Duration
 
|VP_Duration
Line 995: Line 1,321:
 
|-
 
|-
 
|Out_Port_Queue_Size
 
|Out_Port_Queue_Size
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Block_Is_Shared_Type
 +
|True if parent of the instance is a shared component
 +
|-
 +
|Shared_Lib_Dir
 +
|Folder hosting the shared component types
 +
|-
 +
|Property_Names
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Property_Values
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Block_Default_Codegen
 
|DOCUMENTATION MISSING
 
|DOCUMENTATION MISSING
 
|}
 
|}
Line 1,019: Line 1,360:
 
|-
 
|-
 
|VP_Package_Names
 
|VP_Package_Names
| |_ Corresponding package name
+
| ↳ Corresponding package name
 
|-
 
|-
 
|VP_Platforms
 
|VP_Platforms
| |_ Corresponding platform name
+
| ↳ Corresponding platform name
 
|-
 
|-
 
|VP_Classifiers
 
|VP_Classifiers
| |_ Corresponding aadl classifier
+
| ↳ Corresponding aadl classifier
 
|-
 
|-
 
|Package_Name
 
|Package_Name
Line 1,034: Line 1,375:
 
|-
 
|-
 
|CPU_Classifier
 
|CPU_Classifier
|DOCUMENTATION MISSING
+
|AADL CPU Classifier (e.g. ocarina_processors_x86::x86.linux)
 
|-
 
|-
 
|CPU_Name
 
|CPU_Name
Line 1,082: Line 1,423:
 
|-
 
|-
 
|Device_Init
 
|Device_Init
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Timer_Resolution
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Interface_View
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Data_View
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Shared_Lib_Dir
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Check_Data_View
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Other_Files
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Target
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Output_Dir
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Deployment_View
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Binary_Path
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Use_POHIC
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Debug_Flag
 +
|DOCUMENTATION MISSING
 +
|-
 +
|No_Stdlib_Flag
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Shared_Types
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Skeletons
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Glue
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Block_Instance_Of
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Block_Languages
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Block_Names
 
|DOCUMENTATION MISSING
 
|DOCUMENTATION MISSING
 
|}
 
|}
Line 1,098: Line 1,496:
 
|-
 
|-
 
|Node_CPU
 
|Node_CPU
|Corresponding CPU name (eg x86_linux)
+
| ↳ Corresponding CPU name (e.g. x86_linux)
 +
|-
 +
|Node_Platform
 +
| ↳ Corresponding platform (e.g. PLATFORM_AIR)
 
|-
 
|-
 
|Node_CPU_Classifier
 
|Node_CPU_Classifier
|CPU Classifier (ocarina...::x86_linux)
+
| ↳ Corresponding CPU Classifier (ocarina...::x86_linux)
 
|-
 
|-
 
|Node_Major_Frame
 
|Node_Major_Frame
|Time in milliseconds allocated to the CPU (TSP only)
+
| ↳ Corresponding Time in milliseconds allocated to the CPU (TSP only)
 
|-
 
|-
 
|Partition_Names
 
|Partition_Names
Line 1,110: Line 1,511:
 
|-
 
|-
 
|Partition_Node
 
|Partition_Node
|Corresponding node name
+
| ↳ Corresponding node name
 
|-
 
|-
 
|Partition_CPU
 
|Partition_CPU
|Corresponding CPU name
+
| ↳ Corresponding CPU name
 
|-
 
|-
 
|Partition_Duration
 
|Partition_Duration
|Corresponding time allocation (TSP only)
+
| ↳ Corresponding time allocation (TSP only)
 
|-
 
|-
 
|Partition_VP
 
|Partition_VP
|Virtual processor binding (TSP only)
+
| ↳ Corresponding Virtual processor binding (TSP only)
 
|-
 
|-
 
|Threads
 
|Threads
|Code generated for the threads
+
|Code generated for the threads (from thread.tmplt)
 
|-
 
|-
 
|Thread_Names
 
|Thread_Names
Line 1,134: Line 1,535:
 
|-
 
|-
 
|Part_Source_Port
 
|Part_Source_Port
| |_ Corresponding port name
+
| ↳ Corresponding port name
 
|-
 
|-
 
|Part_Dest_Name
 
|Part_Dest_Name
| |_ Corresponding name of the remote partition
+
| ↳ Corresponding name of the remote partition
 
|-
 
|-
 
|Part_Dest_Port
 
|Part_Dest_Port
| |_ Corresponding name of the port on the remote partition
+
| ↳ Corresponding name of the port on the remote partition
 
|-
 
|-
 
|Bus_Names
 
|Bus_Names
Line 1,146: Line 1,547:
 
|-
 
|-
 
|Bus_AADL_Package
 
|Bus_AADL_Package
| |_ corresponding AADL Package
+
| ↳ Corresponding AADL Package
 
|-
 
|-
 
|Bus_Classifier
 
|Bus_Classifier
| |_ corresponding AADL classifier
+
| ↳ Corresponding AADL classifier
 
|-
 
|-
 
|Device_Node_Name
 
|Device_Node_Name
Line 1,187: Line 1,588:
 
|-
 
|-
 
|Unique_Dev_ASN1_Mod
 
|Unique_Dev_ASN1_Mod
| |_ corresponding asn1 module
+
| ↳ corresponding asn1 module
 
|-
 
|-
 
|Unique_Dev_ASN1_Sorts
 
|Unique_Dev_ASN1_Sorts
| |_ type name
+
| ↳ type name
 
|-
 
|-
 
|Connect_From_Part
 
|Connect_From_Part
Line 1,196: Line 1,597:
 
|-
 
|-
 
|Connect_Via_Bus
 
|Connect_Via_Bus
| |_ bus name
+
| ↳ bus name
 
|-
 
|-
 
|Connect_Port_Name
 
|Connect_Port_Name
| |_ port name
+
| ↳ port name
 
|-
 
|-
 
|Debug_Flag
 
|Debug_Flag
Line 1,256: Line 1,657:
 
|-
 
|-
 
|Device_Init
 
|Device_Init
 +
|DOCUMENTATION MISSING
 +
|-
 +
|Shared_Types
 +
|Complete list of available component types
 +
|-
 +
|Shared_Lib_Dir
 +
|Folder hosting the shared component types
 +
|-
 +
|Used_Shared_Types
 +
|List of actually used shared component types
 +
|-
 +
|Block_Languages
 
|DOCUMENTATION MISSING
 
|DOCUMENTATION MISSING
 
|}
 
|}

Revision as of 08:59, 3 March 2021

Templates

templates/skeletons/makefile.tmplt

This template is evaluated only once. The output is saved to the Makefile within output directory.

Parameter name Description
Function_Names Combined table: list of fuction names...
Language ↳ and corresponding implementation language
Is_Type ↳ and flag if it is a function type
Has_Context_Param ↳ and flag to indicate if function has context parameters
CP_Files List of all context parameters ASN.1 files
Unique_Languages List of all languages used in the system
ASN1_Files List of all ASN.1 files
ACN_Files List of all ACN files
ASN1_Modules List of all ASN.1 modules
Skeletons DOCUMENTATION MISSING
Timer_Resolution DOCUMENTATION MISSING
Other_Files DOCUMENTATION MISSING
Target DOCUMENTATION MISSING
Output_Dir DOCUMENTATION MISSING
Shared_Types List of available component types
Check_Data_View DOCUMENTATION MISSING
No_Stdlib_Flag DOCUMENTATION MISSING
Shared_Lib_Dir Folder hosting the shared component types
Binary_Path DOCUMENTATION MISSING
Data_View DOCUMENTATION MISSING
Deployment_View DOCUMENTATION MISSING
Debug_Flag DOCUMENTATION MISSING
Interface_View DOCUMENTATION MISSING
Use_POHIC DOCUMENTATION MISSING
Glue DOCUMENTATION MISSING
CPU_Platform DOCUMENTATION MISSING
Is_FPGA DOCUMENTATION MISSING

templates/skeletons/context-parameters.tmplt

This template is evaluated for every function which has context parameters. The output is saved to the file Context-<function name>.asn

Parameter name Description
Name Function name
Sort_Set Set of types used for this Context Parameter file
Module_Set ↳ corresponding module (needed for ASN.1 "IMPORTS")
CP_Name Table of context parameter names
CP_Sort ↳ corresponding ASN.1 type
CP_ASN1_Module ↳ in ASN.1 module
CP_Value ↳ with default value
Is_Type DOCUMENTATION MISSING
Instance_Of DOCUMENTATION MISSING

templates/skeletons/sub/trigger.tmplt

This template is evaluated to trigger processing of other files from given directory. If the result of evaluation is equal to "TRUE", then other files will be processed. This template is identical for Skeleton and Glue subfolders.

Parameter name Description
Name The name of the function
Is_Type True if function type
Instance_Of Name of instance or empty string
Language Implementation language for the function
Filename_Is_Present True if target function output already exists
Makefile_Is_Present True if target build script already exists
Zip_File Optional path to zip file
Use_POHIC Value of command line flag --polyorb-hi-c (or -p)
List_Of_PIs List of all provided interfaces (names only)
ASync_RI_Param_Type DOCUMENTATION MISSING
RIs_Have_Params DOCUMENTATION MISSING
List_Of_Sync_RIs DOCUMENTATION MISSING
Debug_Flag DOCUMENTATION MISSING
Timer_Resolution DOCUMENTATION MISSING
Property_Names Vector tag: AADL Property name
Property_Values ↳ corresponding AADL property value
Skeletons DOCUMENTATION MISSING
Interface_View Interface view filename
ASync_RI_Param_Name DOCUMENTATION MISSING
CP_Asn1Modules DOCUMENTATION MISSING
Binary_Path DOCUMENTATION MISSING
CP_Values DOCUMENTATION MISSING
Deployment_View DOCUMENTATION MISSING
No_Stdlib_Flag DOCUMENTATION MISSING
List_Of_ASync_PIs Vector tag: list of async Provided interfaces
ASync_PI_Kind ↳ CYCLIC_OPERATION or SPORADIC_OPERATION
ASync_PI_Is_Connected ↳ Flag set to true if PI is connected
ASync_PI_Param_Name DOCUMENTATION MISSING
ASync_PI_Param_Type DOCUMENTATION MISSING
Glue DOCUMENTATION MISSING
Async_RIs_Parent DOCUMENTATION MISSING
CP_Names DOCUMENTATION MISSING
List_Of_Sync_PIs DOCUMENTATION MISSING
List_Of_ASync_RIs DOCUMENTATION MISSING
Has_Context DOCUMENTATION MISSING
Output_Dir DOCUMENTATION MISSING
PIs_Have_Params DOCUMENTATION MISSING
CP_Asn1Filenames DOCUMENTATION MISSING
Timers DOCUMENTATION MISSING
Check_Data_View Value of command line flag --check-dataview
CP_Types DOCUMENTATION MISSING
Other_Files List of AADL files passed to the command line
Sync_RIs_Parent DOCUMENTATION MISSING
List_Of_RIs DOCUMENTATION MISSING
Data_View Data view filename
Target Value of command line flag --target=Target
Shared_Types List of available component types
Shared_Lib_Dir Folder hosting the shared component types

templates/skeletons/sub/makefile-filename.tmplt

This file is optional, if exists the result of parsing of this file is a name of output file for makefile.tmplt, otherwise this template will not be processed.

Parameter name Description
Name The name of the function
Language DOCUMENTATION MISSING

templates/skeletons/sub/function-filename.tmplt

This file is optional, if exists the result of parsing of this file is a name of output file for function.tmplt, otherwise this template will not be processed.

Parameter name Description
Name The name of the function
Language DOCUMENTATION MISSING

templates/skeletons/sub/function.tmplt

Template for a function in the skeleton or glue folder

Parameter name Description
Name The name of the function
Language Implementation language
List_Of_PIs List of all provided interfaces (names only)
List_Of_RIs List of all required interfaces (names only)
Provided_Interfaces Generated from interfaces.tmplt
Required_Interfaces Generated from interfaces.tmplt
RIs_Have_Params True if at least one RI has an ASN.1 parameter
PIs_Have_Params True if at least one PI has an ASN.1 parameter
Zip_File Path to optional zip file containing the code of the function (deprecated functionality)
Is_Type True if it is a function type
Instance_Of Name of the function type if it is an instance
Has_Context True if function has context parameters
CP_Names Vector tag: context parameters (names)
CP_Types ↳ corresponding ASN.1 type
CP_Values ↳ corresponding value
CP_Asn1Modules ↳ corresponding ASN.1 module containing the type
CP_Asn1Filenames ↳ corresponding ASN.1 filename
Property_Names Vector tag: user defined AADL property names
Property_Values ↳ corresponding value
List_Of_ASync_PIs List of asynchronous provided interfaces
ASync_PI_Param_Name ↳ name of the parameter
ASync_PI_Param_Type ↳ ASN.1 typename of the parameter
ASync_PI_Kind ↳ CYCLIC_OPERATION or SPORADIC_OPERATION
ASync_PI_Is_Connected ↳ Flag set to true if PI is connected
Timers List of timers (names)
List_Of_Sync_RIs List of synchronous required interfaces
List_Of_Sync_PIs List of synchronous provided interfaces
Sync_RIs_Parent ↳ and corresponding parent function name
ASN1_Modules List of ASN.1 modules containing types used in this function
ASN1_Files List of ASN.1 files containing types used in this function
List_Of_ASync_RIs vector tag: list of asynchronous required interfaces
Async_RIs_Parent ↳ Corresponding parent function name
ASync_RI_Param_Name ↳ parameter name of the required interface
ASync_RI_Param_Type ↳ ASN1 typename of the parameter
Data_View DOCUMENTATION MISSING
Shared_Lib_Dir DOCUMENTATION MISSING
Binary_Path DOCUMENTATION MISSING
Timer_Resolution DOCUMENTATION MISSING
Skeletons DOCUMENTATION MISSING
Other_Files DOCUMENTATION MISSING
Check_Data_View DOCUMENTATION MISSING
Shared_Types DOCUMENTATION MISSING
Output_Dir DOCUMENTATION MISSING
Use_POHIC DOCUMENTATION MISSING
Debug_Flag DOCUMENTATION MISSING
Target DOCUMENTATION MISSING
Interface_View DOCUMENTATION MISSING
Glue DOCUMENTATION MISSING
No_Stdlib_Flag DOCUMENTATION MISSING
Deployment_View DOCUMENTATION MISSING

templates/skeletons/sub/interface.tmplt

This file is processed twice, first time for required interfaces of the function from Interface View, second time for the provided interfaces. The results are parameters for processing function.tmplt

Parameter name Description
Name The name of the interface
Direction "PI" or "RI"
Kind CYCLIC|PROTECTED|UNPROTECTED_OPERATION)
Parent_Function The name of the function
Language The implementation language of the function
Property_Names All AADL properties (names) associated to the function
Property_Values ↳ and corresponding values
Param_Names List of parameter names
Param_Types ↳ Corresponding parameter types
Param_Directions ↳ Corresponding direction
Param_Encodings ↳ Corresponding ASN.1 encoding
Is_Timer Flag set to true if this is a timer interface
Period Property of the interface
WCET Property of the interface
Queue_Size Property of the interface
IF_Property_Names and Values User-defined properties (vector tag)
IF_Property_Values DOCUMENTATION MISSING
Remote_Languages DOCUMENTATION MISSING
Param_ASN1_Modules DOCUMENTATION MISSING
Remote_Interface_Names DOCUMENTATION MISSING
Remote_Function_Names DOCUMENTATION MISSING
Param_Basic_Types DOCUMENTATION MISSING
Interface_View DOCUMENTATION MISSING
Check_Data_View DOCUMENTATION MISSING
Shared_Lib_Dir DOCUMENTATION MISSING
Use_POHIC DOCUMENTATION MISSING
Skeletons DOCUMENTATION MISSING
Debug_Flag DOCUMENTATION MISSING
Output_Dir DOCUMENTATION MISSING
Timer_Resolution DOCUMENTATION MISSING
Target DOCUMENTATION MISSING
Binary_Path DOCUMENTATION MISSING
Other_Files DOCUMENTATION MISSING
Deployment_View DOCUMENTATION MISSING
Shared_Types DOCUMENTATION MISSING
Data_View DOCUMENTATION MISSING
No_Stdlib_Flag DOCUMENTATION MISSING
Glue DOCUMENTATION MISSING

templates/skeletons/sub/makefile.tmplt

This template is processed when makefile-filename.tmplt exists. The output of this template is saved to the file with name returned by processing makefile-filename.tmplt In directory [functionname]/[ languagename]

Parameter name Description
Name The function name
ASN1_Files List of all ASN.1 files
ASN1_Modules List of all ASN.1 modules
Is_Type Flag set to True for function type
Instance_Of Name of function type if instance
Has_CP True if context parameters are defined for this function
Property_Names Function user-defined property names (goes in pair with Property_Values)
Property_Values Function user-defined property values (goes in pair with Property_Names)
Is_Shared_Type True if component is an instance of a function in the shared types folder
Language Implementation language of the function
Shared_Lib_Dir Path to the shared component type folder
List_Of_PIs List of all provided interfaces (names only)

templates/concurrency_view/sub/trigger.tmplt

This file is processed for every node. The result of this file indicates if the rest of templates for given node will be processed.

Parameter name Description
Filename_Is_Present true if file with name returned by filenode.tmplt exists
Skeletons from kazoo configuration
Glue from kazoo configuration
No_Stdlib_Flag Command line-flag --no-stdlib to avoid loading ocarina_components.aadl
Timer_Resolution Value of command line --timer
Output_Dir Value or command line -o to set the output folder
Interface_View Interface view filename
Binary_Path DOCUMENTATION MISSING
Check_Data_View Value of command line flag --check-dataview
Debug_Flag Value of command line flag --debug (or -g)
Use_POHIC Value of command line flag --polyorb-hi-c (or -p)
Other_Files List of AADL files passed to the command line
Deployment_View Deployment view filename
Data_View Data view filename
CPU_Family CPU Kind (e.g. leon3)
CPU_Platform AADL CPU_Platform (e.g. PLATFORM_NATIVE)
CPU_Name CPU AADL Identifier (e.g. x86_inst)
Target Value of command line flag --target=Target
CPU_Classifier AADL CPU Classifier (e.g. ocarina_processors_x86::x86.linux)
Shared_Types List of available component types
Shared_Lib_Dir Folder hosting the shared component types
Is_Distributed True if the system contains at least one bus

templates/concurrency_view/sub/thread.tmplt

This file is processed for every thread in every partition in every node.

Parameter name Description
Thread_Name Thread name
Partition_Name Partition containing this thread
Entry_Port_Name Name of the PI
RCM One of "CYCLIC_OPERATION", "SPORADIC_OPERATION"
Need_Mutex True if the PI is shared with others in the protected block
Pro_Block_Name Name of the protected function
Node_Name Name of the deployment node
Remote_Threads Vector tag: output remote thread list
Remote_PIs ↳ Associated PI Name
Remote_PI_Sorts ↳ Optional param type of the remote thread
Remote_PI_Modules ↳ Asn1 module of the optional param type
Name
Kind
Parent_Function Tags related to the PI that is at the origin of the thread creation: shoud be useless here
Param_Names
Period
WCET
Queue_Size relevant here
IF_Property_Names
Skeletons from kazoo configuration
Glue from kazoo configuration
Param_Directions DOCUMENTATION MISSING
Is_Timer DOCUMENTATION MISSING
Debug_Flag DOCUMENTATION MISSING
Timer_Resolution DOCUMENTATION MISSING
Param_Encodings DOCUMENTATION MISSING
Interface_View Interface view filename
IF_Property_Values DOCUMENTATION MISSING
Language Implementation language of the function
Binary_Path DOCUMENTATION MISSING
Remote_Function_Names DOCUMENTATION MISSING
Deployment_View DOCUMENTATION MISSING
No_Stdlib_Flag DOCUMENTATION MISSING
Remote_Languages DOCUMENTATION MISSING
Param_ASN1_Modules DOCUMENTATION MISSING
Output_Dir DOCUMENTATION MISSING
RI_Port_Names DOCUMENTATION MISSING
Param_Types DOCUMENTATION MISSING
Remote_Interface_Names DOCUMENTATION MISSING
Check_Data_View Value of command line flag --check-dataview
Use_POHIC Value of command line flag --polyorb-hi-c (or -p)
Other_Files List of AADL files passed to the command line
Data_View Data view filename
Param_Basic_Types DOCUMENTATION MISSING
Target Value of command line flag --target=Target
Priority DOCUMENTATION MISSING
Dispatch_Offset_ms DOCUMENTATION MISSING
Stack_Size_In_Bytes DOCUMENTATION MISSING
Shared_Types List of available component types
Shared_Lib_Dir Folder hosting the shared component types

templates/concurrency_view/sub/pi.tmplt

The template pi.tmplt is evaluated many times for every protected and unprotected provided interface. The result of every evaluation is joined to one string and passed as a parameter to block.tmplt

Parameter name Description
Name The name of the interface
Kind The RCM Kind
Parent_Function The name of the function
Param_Names List of parameter names
Param_Types ↳ Corresponding parameter types
Param_Directions ↳ Corresponding direction
Is_Timer DOCUMENTATION MISSING
Param_Encodings DOCUMENTATION MISSING
Caller_Is_Local DOCUMENTATION MISSING
IF_Property_Values DOCUMENTATION MISSING
Queue_Size DOCUMENTATION MISSING
Language Implementation language of the function
Protected_Block_Name DOCUMENTATION MISSING
Remote_Languages DOCUMENTATION MISSING
Param_ASN1_Modules DOCUMENTATION MISSING
Partition_Name DOCUMENTATION MISSING
Calling_Threads DOCUMENTATION MISSING
IF_Property_Names DOCUMENTATION MISSING
Period DOCUMENTATION MISSING
Remote_Interface_Names DOCUMENTATION MISSING
WCET DOCUMENTATION MISSING
Remote_Function_Names DOCUMENTATION MISSING
Param_Basic_Types DOCUMENTATION MISSING

templates/concurrency_view/sub/ri.tmplt

The template ri.tmplt is evaluated many times for every required interface. The result of every evaluation is koined to one string and passed as a parameter to block.tmplt

Parameter name Description
Name The name of the interface
Kind The RCM Kind
Parent_Function The name of the function
Param_Names List of parameter names
Param_Types Corresponding parameter types
Param_Directions Corresponding direction
Is_Timer DOCUMENTATION MISSING
Param_Encodings DOCUMENTATION MISSING
IF_Property_Values DOCUMENTATION MISSING
Queue_Size DOCUMENTATION MISSING
Language DOCUMENTATION MISSING
Remote_Languages DOCUMENTATION MISSING
Param_ASN1_Modules DOCUMENTATION MISSING
Partition_Name DOCUMENTATION MISSING
Calling_Threads DOCUMENTATION MISSING
IF_Property_Names DOCUMENTATION MISSING
Period DOCUMENTATION MISSING
Remote_Interface_Names DOCUMENTATION MISSING
WCET DOCUMENTATION MISSING
Remote_Function_Names DOCUMENTATION MISSING
Param_Basic_Types DOCUMENTATION MISSING

templates/concurrency_view/sub/block.tmplt

This template is evaluated for every block.

Parameter name Description
Name Protected block name
Language Implementation language
Calling_Threads List of calling threads
Protected_PIs Protected Provided interfaces (from pi.tmplt)
Unprotected_PIs Unprotected Provided interfaces (from pi.tmplt)
Required Required interfaces (from ri.tmplt)
List_Of_PIs List of all provided interfaces (names only)
List_Of_ASync_RIs Vector tag: name of asynchronous RIs
ASync_RI_Param_Name ↳ corresponding parameter Name
ASync_RI_Param_Type ↳ corresponding parameter ASN.1 type
RIs_Have_Params DOCUMENTATION MISSING
List_Of_Sync_RIs List of synchronous RIs
List_Of_ASync_PIs Vector tag: name of asynchronous PIs
ASync_PI_Kind ↳ CYCLIC_OPERATION or SPORADIC_OPERATION
ASync_PI_Is_Connected ↳ Flag set to true if PI is connected
ASync_PI_Param_Name ↳ corresponding parameter Name
ASync_PI_Param_Type ↳ corresponding parameter ASN.1 type
Timer_Resolution DOCUMENTATION MISSING
Property_Names Vector tag: AADL Property name
Property_Values ↳ corresponding AADL property value
Skeletons Command line flag (--gw)
Interface_View Interface view filename
Binary_Path DOCUMENTATION MISSING
CP_Names Vector tag: context parameter names
CP_Values ↳ value
CP_Asn1Modules ↳ ASN.1 module
CP_Asn1Filenames ↳ ASN.1 file name
CP_Types ↳ Context parameter ASN.1 type
Deployment_View Path/name of Deployment view file
No_Stdlib_Flag command line flag --no-stdlib
Glue command line flag --glue
Partition_Name Name of the partition containing this function
Async_RIs_Parent DOCUMENTATION MISSING
Zip_File DOCUMENTATION MISSING
Node_Name DOCUMENTATION MISSING
List_Of_Sync_PIs DOCUMENTATION MISSING
Has_Context True if function has context parameters
Output_Dir Output folder (by default: work)
PIs_Have_Params DOCUMENTATION MISSING
Timers DOCUMENTATION MISSING
Check_Data_View Value of command line flag --check-dataview
Use_POHIC Value of command line flag --polyorb-hi-c (or -p)
Other_Files List of AADL files passed to the command line
Sync_RIs_Parent DOCUMENTATION MISSING
List_Of_RIs List of required interface
Data_View Data view filename
Target Value of command line flag --target=Target
Shared_Types List of available component types
Shared_Lib_Dir Folder hosting the shared component types
Is_Type True if function is a function type
Instance_Of DOCUMENTATION MISSING
Debug_Flag if -g is set in the command line
Is_Shared_Type True if component is an instance of a function in the shared types folder

templates/concurrency_view/sub/partition.tmplt

This file is evaluated for every partition.

Parameter name Description
Name Partition name (usually the name of the binary)
Threads Code generated for the threads
Thread_Names Tag: list of thread names
Node_Name Name of the node containing this partition
Blocks Code generated for protected functions
Block_Names Tag: list of block (user functions) names
Coverage True if user requested code coverage enable
Package_Name AADL Package name for the target (e.g. ocarina_porocessors_x86)
CPU_Name CPU AADL Identifier (e.g. x86_inst)
CPU_Family CPU Kind (e.g. leon3)
CPU_Instance AADL component instance (e.g. rtems_posix)
CPU_Platform AADL CPU_Platform (e.g. PLATFORM_NATIVE)
CPU_Classifier AADL CPU Classifier (e.g. ocarina_processors_x86::x86.linux)
VP_Name Virtual processor name on which the partition is bounded
VP_Platform Virtual processor platform (e.g. PLATFORM_AIR)
VP_Classifier Virtual processor classifier
Bound_Functions List of user functions from Interface view
Thread_Src_Name Vector tag : connection thread name (source)
Thread_Dst_Name ↳ connection thread name (destination)
Thread_Src_Port ↳ connection port name (source)
Thread_Dst_Port ↳ connection port name (dest)
In_Port_Names Vector tag: input ports of the partition
In_Port_Thread_Name ↳ corresponding thread inside the partition
In_Port_Type_Name ↳ corresponding parameter type name (optional)
Out_Port_Names Vector tag: output ports of the partition
Out_Port_Type_Name ↳ corresponding parameter type name (optional)
Part_Out_Port_Name Vector tag: output ports of the partition (can be several times the same)
Connected_Threads ↳ Corresponding thread connected to it
Block_Instance_Of DOCUMENTATION MISSING
Thread_Has_Param DOCUMENTATION MISSING
Memory_Region DOCUMENTATION MISSING
VP_Package_Name DOCUMENTATION MISSING
Ada_Runtime DOCUMENTATION MISSING
Block_Languages For each block: implementation language
VP_Duration DOCUMENTATION MISSING
Device_CPU DOCUMENTATION MISSING
Device_Bus_Name DOCUMENTATION MISSING
Device_Init DOCUMENTATION MISSING
Device_AADL_Pkg DOCUMENTATION MISSING
Device_ASN1_Module DOCUMENTATION MISSING
Device_Port_Name DOCUMENTATION MISSING
Device_Config DOCUMENTATION MISSING
Device_Names DOCUMENTATION MISSING
Device_ASN1_File DOCUMENTATION MISSING
Device_Classifier DOCUMENTATION MISSING
Device_Language DOCUMENTATION MISSING
Device_ASN1_Sort DOCUMENTATION MISSING
Out_Port_Remote_Function DOCUMENTATION MISSING
In_Port_Queue_Size DOCUMENTATION MISSING
Block_FPGAConf DOCUMENTATION MISSING
Out_Port_Remote_Port_Name DOCUMENTATION MISSING
Out_Port_Remote_Partition DOCUMENTATION MISSING
Out_Port_Queue_Size DOCUMENTATION MISSING
Block_Is_Shared_Type True if parent of the instance is a shared component
Shared_Lib_Dir Folder hosting the shared component types
Property_Names DOCUMENTATION MISSING
Property_Values DOCUMENTATION MISSING
Block_Default_Codegen DOCUMENTATION MISSING

templates/concurrency_view/sub/node.tmplt

This file is evaluated for every node. The result of this file is saved to the file with name returned by filenode.tmplt. The result is also used as a parameter for system.tmplt.

Parameter name Description
Node_Name Name of the node from deployment view
Partition_Names Tag listing the partitions in this node
Has_Memory Boolean flag indicating that a memory is defined for this node
Partitions List of rendered code for partitions
VP_Names Vector tag: list of virtual processors on this node
VP_Package_Names ↳ Corresponding package name
VP_Platforms ↳ Corresponding platform name
VP_Classifiers ↳ Corresponding aadl classifier
Package_Name DOCUMENTATION MISSING
CPU_Family DOCUMENTATION MISSING
CPU_Classifier AADL CPU Classifier (e.g. ocarina_processors_x86::x86.linux)
CPU_Name DOCUMENTATION MISSING
CPU_Platform DOCUMENTATION MISSING
Ada_Runtime DOCUMENTATION MISSING
CPU_Instance DOCUMENTATION MISSING
Device_CPU DOCUMENTATION MISSING
Device_Bus_Name DOCUMENTATION MISSING
Device_AADL_Pkg DOCUMENTATION MISSING
Device_ASN1_Module DOCUMENTATION MISSING
Device_Port_Name DOCUMENTATION MISSING
Device_Config DOCUMENTATION MISSING
Device_Names DOCUMENTATION MISSING
Device_ASN1_File DOCUMENTATION MISSING
Device_Classifier DOCUMENTATION MISSING
Device_Language DOCUMENTATION MISSING
Device_ASN1_Sort DOCUMENTATION MISSING
Device_Init DOCUMENTATION MISSING
Timer_Resolution DOCUMENTATION MISSING
Interface_View DOCUMENTATION MISSING
Data_View DOCUMENTATION MISSING
Shared_Lib_Dir DOCUMENTATION MISSING
Check_Data_View DOCUMENTATION MISSING
Other_Files DOCUMENTATION MISSING
Target DOCUMENTATION MISSING
Output_Dir DOCUMENTATION MISSING
Deployment_View DOCUMENTATION MISSING
Binary_Path DOCUMENTATION MISSING
Use_POHIC DOCUMENTATION MISSING
Debug_Flag DOCUMENTATION MISSING
No_Stdlib_Flag DOCUMENTATION MISSING
Shared_Types DOCUMENTATION MISSING
Skeletons DOCUMENTATION MISSING
Glue DOCUMENTATION MISSING
Block_Instance_Of DOCUMENTATION MISSING
Block_Languages DOCUMENTATION MISSING
Block_Names DOCUMENTATION MISSING

templates/concurrency_view/sub/system.tmplt

This file is evaluated for every node. The result of this file is save to the file with name returned by filesys.tmplt.

Parameter name Description
Nodes Code generated for the nodes
Node_Names Vector Tag of node names
Node_CPU ↳ Corresponding CPU name (e.g. x86_linux)
Node_Platform ↳ Corresponding platform (e.g. PLATFORM_AIR)
Node_CPU_Classifier ↳ Corresponding CPU Classifier (ocarina...::x86_linux)
Node_Major_Frame ↳ Corresponding Time in milliseconds allocated to the CPU (TSP only)
Partition_Names Vector Tag of partition names
Partition_Node ↳ Corresponding node name
Partition_CPU ↳ Corresponding CPU name
Partition_Duration ↳ Corresponding time allocation (TSP only)
Partition_VP ↳ Corresponding Virtual processor binding (TSP only)
Threads Code generated for the threads (from thread.tmplt)
Thread_Names List of all threads in the complete system
Target_Packages List of all target package names in the complete system
Part_Source_Name Inter-partition connections : partition source name (vector tag)
Part_Source_Port ↳ Corresponding port name
Part_Dest_Name ↳ Corresponding name of the remote partition
Part_Dest_Port ↳ Corresponding name of the port on the remote partition
Bus_Names Vector tag: busses present in the system
Bus_AADL_Package ↳ Corresponding AADL Package
Bus_Classifier ↳ Corresponding AADL classifier
Device_Node_Name
Device_Partition
Device_AADL_Pkg
Device_Classifier
Device_CPU
Device_Config
Device_Bus_Name
Device_Port_Name
Device_ASN1_File
Device_ASN1_Sort
Device_ASN1_Module Device drivers (vector tag)
Unique_Dev_ASN1_Files List of ASN.1 files/module/type for device configuration with no duplicates (vector tag)
Unique_Dev_ASN1_Mod ↳ corresponding asn1 module
Unique_Dev_ASN1_Sorts ↳ type name
Connect_From_Part Vector tag - bus connection: partition source
Connect_Via_Bus ↳ bus name
Connect_Port_Name ↳ port name
Debug_Flag DOCUMENTATION MISSING
Timer_Resolution DOCUMENTATION MISSING
Skeletons DOCUMENTATION MISSING
Interface_View Interface view filename
Binary_Path DOCUMENTATION MISSING
Block_Names DOCUMENTATION MISSING
Deployment_View DOCUMENTATION MISSING
No_Stdlib_Flag DOCUMENTATION MISSING
Glue DOCUMENTATION MISSING
Device_Names DOCUMENTATION MISSING
Output_Dir DOCUMENTATION MISSING
Node_Has_Memory DOCUMENTATION MISSING
Check_Data_View Value of command line flag --check-dataview
Use_POHIC Value of command line flag --polyorb-hi-c (or -p)
Other_Files List of AADL files passed to the command line
Data_View Data view filename
Target Value of command line flag --target=Target
Device_Language DOCUMENTATION MISSING
Device_Init DOCUMENTATION MISSING
Shared_Types Complete list of available component types
Shared_Lib_Dir Folder hosting the shared component types
Used_Shared_Types List of actually used shared component types
Block_Languages DOCUMENTATION MISSING