Jump to content

Exemple Interconnect using tlm_init/targ_sockets

Recommended Posts

Thanks, but in this example they use a convenience sockets and I can`t use that.... In my project I need to have an Interconnect that contains a Child module ( so I have an hierarchical binding that is not supported by the (tagged) sockets ). So I need an Interconnect that support hierarchical binding.

The tlm_*_sockets don`t have a registers, so I`m not really sure how to implement them.....

Link to comment
Share on other sites

You might have a look at https://github.com/Minres/SystemC-Components/blob/master/incl/scc/router.h.

This one uses mixins to enhance the functionality of tlm::tlm_initiator_socket/tlm::tlm_target_socket but basically implementes what you are describing. An example how to use it can be found here: https://github.com/Minres/SystemC-Components-Test/blob/master/examples/simple_system/simple_system.cpp

Best regards

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...