Commit d6f6a381 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix regression in simulation template

parent ab9982a2
......@@ -126,7 +126,7 @@ package body @_CAPITALIZE:Name_@_Events is
Callback : access procedure (Event : asn1SccObservable_Event;
Limit_Reached : out Boolean))
is
@@IF@@ @_ASync_RI_Param_Name_@
@@IF@@ @_ASync_RI_Param_Name_@ /= ""
Iterator : @_CAPITALIZE:REPLACE_ALL(-/_):ASync_RI_Param_Type_@_Pkg.Instance;
Param : asn1Scc@_CAPITALIZE:REPLACE_ALL(-/_):ASync_RI_Param_Type_@;
@@END_IF@@
......@@ -145,7 +145,7 @@ package body @_CAPITALIZE:Name_@_Events is
(Kind => Msg_OUT_PRESENT,
Msg_Out => (Kind => @_CAPITALIZE:List_Of_ASync_RIs_@_PRESENT, others => <>)));
@@IF@@ @_ASync_RI_Param_Name_@
@@IF@@ @_ASync_RI_Param_Name_@ /= ""
for Each of Iterator loop
-- Iterate exhaustively over the interface parameter
Param := @_CAPITALIZE:REPLACE_ALL(-/_):ASync_RI_Param_Type_@_Pkg.To_ASN1 (Each);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment