Jump to content

How to implement the "outstanding" feature of a bus?

Recommended Posts

Hi everyone,

           As we know the master (initiator) and slave (target) interfaces of a bus usually support "outstanding".  In my bus model, I use buffers (std::vector<*tlm_generic_payload>) to store outstanding requests. But I'm not sure this is a good choice. Is it possible to describe "outstanding" just using TLM without such explict buffers?

Link to comment
Share on other sites

  • 3 weeks later...

If you are using TLM-2, you should be only buffering the references and not the data itself. Backpressure can be modeled using the TLM_ACCEPT mechanism. If your bus allows more than one outstanding request, you will need some form of storage for those references, and std::vector should be fine.

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