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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×