Jump to content
hassan

sc_time_stamp is always zero

Recommended Posts

Hello everyone,

 

I am trying to capture the simulation time at which the uvm_transaction is transferred to the DUT, but whenever I try to get the sc_time_stamp, it is always zero, on the other hand the sc_delta_count seems working.

What could be the reason behind that?

Thanks in advance

Share this post


Link to post
Share on other sites

I tried  to add some delay using sc_core::wait in the function that writes to the DUT, but during run-time sometimes it exits normally after reaching the wait function for the first time and sometimes a segmentation fault occurs.

I used gdb for debugging, once it reaches

    at /usr/local/systemc-2.3.1/include/sysc/kernel/sc_wait.h:77
77        wait( sc_time( v, tu, simc ), simc );

it exits normally!!

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.


×
×
  • Create New...