Jump to content

Recommended Posts

Posted

Hi Roman Popov,

I'm just exploring if there are any ways to generate trace for the list of functions that are called during the simulation. My idea is to utilize this execution trace to debug the model to make sure that the sequence of activities that needs to be performed are in order.

I can do this using step by step debugging, but it consumes lot of time. If there are any ways to generate a text file with a list of function call details, this would help.

Thanks,

R.Adiga 

  • 2 weeks later...
Posted

Hello @R.Adiga,

I have developed something similar you can have a look here: https://github.com/AmeyaVS/trace-ninja (Still under development but basic functionality implemented for getting traces).

If you are developing on Linux I would suggest of having a look here: https://github.com/namhyung/uftrace , which offers much better tracing capabilities and lower latencies.

Both the methodologies are dependent on using GCC toolchain for building the SystemC library.

The only advantage you get on using my project is that it would work under Cygwin/Windows with GCC compiler (Not tested under MinGW).

Regards,

Ameya Vikram Singh

 

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