Jump to content

Is there a simple systemc channel with a blocking write and read function?


Recommended Posts

Posted
Hi,

I'm looking for a simple channel to use in system-c between sc_modules for the purpose of hardware modelling.
The functionality I'm looking for is basically an sc_fifo with size 0. A write should be blocking until the other side does a read. And a read vica-versa (should block until the other side writes).
I want the functionality as if I would implement a valid/ready handshake with the data I'm transferring trough the port.

Does such a channel exist, and if not what are alternatives I could use ? Trying to keep it as easy to use and as little error prone as possible.

I'm not looking to synthesis the code (purely for modelling).

Thanks a lot for your help :)

Michael

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