Jump to content

Recommended Posts

Posted

Hi Folks

I want to create the custome socket with custome payload and a set of convinient APIs for communication(e.g. read_fw, read_bw, write_fw,wrte_bw)

Can anyone provide some example to start with.

Normally I should first define an interface with virtual functions and then a channel which implement these functions and then use sc_port/sc_export which is templatized on this interface. So there are 3 things. If I create the custom socket like this. Is it TLM2 socket.

I tried to see the tlm_initiator_socket implementation, it creates fw/bw interfaces(abstract classes) with virtual functions which is clear but after that it is not clear. Is there also we have 3 different things.

 

Thanks

Kamlesh

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.

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