You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating multiple tlm_target instances inside one sc_module, all socket member variables will have the same name in the object hierarchy, leading to the warning:
Warning: (W505) object already exists: <some_path>.socket. Latter declaration will be renamed to <some_path>.socket_0
In file: kernel/sc_object_manager.cpp:153
It would be an easy fix to extend the existing constructor with a socket_name argument:
When creating multiple
tlm_target
instances inside onesc_module
, allsocket
member variables will have the same name in the object hierarchy, leading to the warning:It would be an easy fix to extend the existing constructor with a socket_name argument:
SystemC-Components/src/components/scc/tlm_target.h
Line 53 in 7d8a017
By adding a default value for "socket", the code will remain compatible to existing usages.
The text was updated successfully, but these errors were encountered: