Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
kazoo
Commits
e9e0631b
Commit
e9e0631b
authored
Aug 03, 2019
by
Maxime Perrotin
Browse files
Update template for pohiada
parent
74eb3409
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/concurrency_view/ada_pohi_gpr/partition.tmplt
View file @
e9e0631b
...
...
@@ -21,12 +21,24 @@
@@--
@
_Thread_Dst_Name_
@
:
Vector
tag
:
connection
thread
name
(
dest
)
@@--
@
_Thread_Src_Port_
@
:
Vector
tag
:
connection
port
name
(
source
)
@@--
@
_Thread_Dst_Port_
@
:
Vector
tag
:
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_Thread_Name_
@
:
|
_
corresponding
thread
inside
the
partition
@@--
@
_Out_Port_Type_Name_
@
:
|
_
corresponding
parameter
type
name
(
optional
)
--
Node
name
:
@
_Name_
@
--
Execution
platform
:
@
_CPU_Platform_
@
@@
IF
@@
@
_CPU_Platform_
@
=
"PLATFORM_GNAT_RUNTIME"
--
Ada
runtime
:
@
_Ada_Runtime_
@
@@
END_IF
@@
@@--
Not
all
systems
use
Ada
so
we
must
not
always
include
Ada
dataview
folder
@@
TABLE
@@
@@
IF
@@
@
_LOWER
:
Block_Languages_
@
=
sdl
or
@
_LOWER
:
Block_Names_
@
=
ada
@@
SET
@@
Need_Ada
=
TRUE
@@
END_IF
@@
@@
END_TABLE
@@
--
with
"polyorb_hi"
;
with
"/home/taste/tool-inst/include/ocarina/runtime/polyorb-hi-ada/polyorb_hi"
;
...
...
@@ -41,7 +53,9 @@ project @_CAPITALIZE:Name_@ is
(
"."
,
"/home/taste/tool-inst/include/ocarina/runtime/polyorb-hi-ada"
,
"../../dataview/C"
,
@@
IF
@@
@
_Need_Ada_
@
=
TRUE
"../../dataview/Ada"
,
@@
END_IF
@@
@@
TABLE
@@
@@
IF
@@
@
_Block_Languages_
@
=
sdl
"../../@_LOWER:Block_Names_@/@_UPPER:Block_Languages_@/code"
,
...
...
@@ -53,7 +67,7 @@ project @_CAPITALIZE:Name_@ is
"../deploymentview_final/@_LOWER:Name_@"
)
&
external_as_list
(
"ADA_INCLUDE_PATH"
,
":"
);
for
Object_Dir
use
"obj"
;
for
Object_Dir
use
"obj
_ada
"
;
for
Exec_Dir
use
"../../binaries"
;
for
Languages
use
(
"Ada"
,
"C"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment