partition.tmplt 1.09 KB
Newer Older
Maxime Perrotin's avatar
Maxime Perrotin committed
1
2
@@-- The following tags are available in this template:
@@--
3
4
5
6
7
8
9
10
11
12
@@-- @_Name_@            : Partition name (usually the name of the binary)
@@-- @_Threads_@         : List of threads
@@-- @_Blocks_@          :  List of protected functions
@@-- @_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
@@TABLE@@
23
   @_Threads_@   @@-- should have 'Indent
Maxime Perrotin's avatar
Maxime Perrotin committed
24
25
26
@@END_TABLE@@

@@TABLE@@
27
   @_Blocks_@   @@-- should have 'Indent
Maxime Perrotin's avatar
Maxime Perrotin committed
28
29
30
@@END_TABLE@@

end @_CAPITALIZE:Partition_Name_@;