Jump to content
Sign in to follow this  
manuelselva

Inter modules communciation

Recommended Posts

Hi,

 

In my systemc design, I am making high level abstractions about my system. I am not considering at all the time required to transfert information from one module to another. In this case, what are the arguments of not using "standard C++" communication means to let my modules exchange this information ? Do these arguments exist meaning that it's better choiche to go to ports and channels even in this case ?

 

Thank you for your help,

 

-----

Manu

Share this post


Link to post
Share on other sites

I guess the main advantage of using SystemC is that ports/modules/channels give you a standard approach. Even if you don't care about time passing, you may well care about the order that things happen in, and then events and time are still useful. Also of course you get a ready to use threading library and scheduler.

 

The disadvantage might be simulation speed compared to pure C++. And of course you have to learn SystemC.

 

The main advantage of C++ is that you can do exactly what you want (you're free!)

The main disadvantage of C++ is that you can do exactly what you want :-) (You're re-inventing the wheel)

 

regards

Alan

Share this post


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.

Sign in to follow this  

×
×
  • Create New...