Jump to content
robert_anji

Number of threads, methods, signals etc. in the simulation.

Recommended Posts

I was wondering whether it is possible to query (via some systemc function call(s)) the number of threads, methods, signals etc. that are present in the systemc simulation from within the simulation itself?

We would like to display this in a GUI.

Thanks for any replies!

Share this post


Link to post
Share on other sites

Yes, this is possible in a standardized way since IEEE 1666-2005, via the hierarchy traversal functions, since all of these objects are elements of the SystemC object hierarchy. See "Here's Exactly What You Can Do with the SystemC 2005 Standard" from John Aynsley (Doulos) in the section "The object in question" for some examples.

Greetings from Oldenburg,

Philipp

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

×