Hi, Is there a function in SystemC which returns the time of the next event? Or if not exists how to implement it? For example I have clock model with 1MHz frequency and I run the model with sc_start(100, SC_NS). The next scheduled event is at 500ns. The code looks like this .. sc_start(100, SC_NS); next_time = get_next_event_time(); //get_next_event_time() should return with 500 ..