partition.tmplt 1.03 KB
Newer Older
Maxime Perrotin's avatar
Maxime Perrotin committed
1
2
@@-- The following tags are available in this template:
@@--
3
@@-- @_Name_@            : Partition name (usually the name of the binary)
Maxime Perrotin's avatar
Maxime Perrotin committed
4
5
@@-- @_Threads_@         : Code generated for the threads
@@-- @_Blocks_@          : Code generated for protected functions
6
7
8
9
10
11
12
@@-- @_Coverage_@        : True if user requested code coverage enable
@@-- @_Package_Name_@    : AADL Package name for the target (e.g. ocarina_porocessors_x86)
@@-- @_CPU_Name_@        : CPU Name (e.g. x86_linux)
@@-- @_CPU_Platform_@    : AADL CPU_Platform (e.g. PLATFORM_NATIVE)
@@-- @_CPU_Classifier_@  : AADL CPU Classifier (e.g. ocarina_processors_x86::x86.linux)
@@-- @_Bound_Functions_@ : List of user functions from Interface view

Maxime Perrotin's avatar
Maxime Perrotin committed
13
14
package @_CAPITALIZE:Partition_Name_@ is

15
16
17
18
19
20
21
--  Coverage        : @_Coverage_@
--  Package Name    : @_Package_Name_@
--  CPU Name        : @_CPU_Name_@
--  CPU Platform    : @_CPU_Platform_@
--  CPU Classifier  : @_CPU_Classifier_@
--  Bound Functions : @_Bound_Functions_@

Maxime Perrotin's avatar
Maxime Perrotin committed
22
   @_Threads'Indent_@
Maxime Perrotin's avatar
Maxime Perrotin committed
23

Maxime Perrotin's avatar
Maxime Perrotin committed
24
   @_Blocks'Indent_@
Maxime Perrotin's avatar
Maxime Perrotin committed
25
26

end @_CAPITALIZE:Partition_Name_@;