Jump to content

Recommended Posts

Is there anybody to understand that I can use sc_fifo with socket? 

I use to send transaction via socket from module A to B, and inside module B, I hope to use fifo feature to send to module C.

I'm not expert of systemC so would you let me know if I can do?

If there is any good example, let me know.

Thanks.

 

Link to post
Share on other sites

Actually you cannot use sc_core::sc_fifo for this as it takes ownership of the data which doesn't play well with the concepts of the generic payload. But there are event queues in tlm_utils for this (tlm_utils::peq_with_get and tlm_utils::peq_with_cb_and_phase).

Link to post
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.

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