Commit e916bda7 authored by bouazizrahma's avatar bouazizrahma
Browse files

fix a bug in mapping thread_instance_name for ports manipulation in BA

parent 7a648ea5
...@@ -4419,9 +4419,9 @@ package body Ocarina.Backends.C_Common.Mapping is ...@@ -4419,9 +4419,9 @@ package body Ocarina.Backends.C_Common.Mapping is
Converted : Name_Id; Converted : Name_Id;
begin begin
Get_Name_String (CTU.To_C_Name Get_Name_String (CTU.To_C_Name
(Display_Name (Identifier (E)))); (Display_Name (Identifier
(Parent_Subcomponent (E)))));
Add_Str_To_Name_Buffer ("_thread");
Converted := Name_Find; Converted := Name_Find;
return To_Lower (Converted); return To_Lower (Converted);
end Map_Thread_Port_Variable_Name; end Map_Thread_Port_Variable_Name;
......
Markdown is supported
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