hassan Posted June 2, 2016 Report Share Posted June 2, 2016 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 Quote Link to comment Share on other sites More sharing options...
apfitch Posted June 2, 2016 Report Share Posted June 2, 2016 Perhaps you are simulating an un-timed system? Or you don't have any objections and your test environment is quitting too early? Alan Quote Link to comment Share on other sites More sharing options...
hassan Posted June 3, 2016 Author Report Share Posted June 3, 2016 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!! Quote Link to comment Share on other sites More sharing options...
Stephan Gerth Posted June 7, 2016 Report Share Posted June 7, 2016 This is a little bit like finding the needle in the haystack. Can you please provide your actual code? Quote Link to comment Share on other sites More sharing options...
hassan Posted June 10, 2016 Author Report Share Posted June 10, 2016 Thanks, this happened because the lack of objections as Alan said Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.