Jump to content

bind socket between tlm and simple initiator socket

Recommended Posts



recently I tried to conncted socket between tlm initiator socket to simple initiator socket,

my code is shown as below:


(actually I modify from example "at_4_pahse")


In select_initiator.h, I declare tlm::tlm_initiator_socket<> initiator_socket;

and in.cpp : initiator_socket(*this) ; (bind to interface)


and in initiator_top.h, I declare

tlm_utils::simple_initiator_socket<initiator_top> initiator_socket;

select_initiator m_initiator;



How do I connect tlm_initiator_socket to simple_initiator_socket in initiator_top.cpp??

 I tried to write m_initiator.initiator_socket(initiator_socket);

but it shows "somplete binding failed"


thanks in advanced!

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...