Unverified Commit e2e48d80 authored by Jerome Hugues's avatar Jerome Hugues Committed by GitHub
Browse files

Merge pull request #215 from bouazizrahma/fix_bug_THREAD_INSTANCE_NAME

fix a bug in mapping thread_instance_name for ports manipulation in BA
parents 7a648ea5 e916bda7
......@@ -4419,9 +4419,9 @@ package body Ocarina.Backends.C_Common.Mapping is
Converted : Name_Id;
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;
return To_Lower (Converted);
end Map_Thread_Port_Variable_Name;
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