Lines Matching refs:SC_NS
23 ev2.notify(150, SC_NS);
34 ev.notify(250, SC_NS);
38 sc_start(100, SC_NS);
40 sc_assert( sc_time_stamp() == sc_time(100, SC_NS) );
42 sc_start(10, SC_NS, SC_RUN_TO_TIME);
43 sc_assert( sc_time_stamp() == sc_time(110, SC_NS) );
45 sc_start(10, SC_NS, SC_EXIT_ON_STARVATION);
46 sc_assert( sc_time_stamp() == sc_time(110, SC_NS) );
48 sc_start(80, SC_NS, SC_EXIT_ON_STARVATION);
54 sc_assert( sc_time_stamp() == sc_time(150, SC_NS) ); // FAILS. Does not see ev2
56 sc_start(50, SC_NS, SC_EXIT_ON_STARVATION);
57 sc_assert( sc_time_stamp() == sc_time(150, SC_NS) );
59 sc_start(50, SC_NS, SC_RUN_TO_TIME);
60 sc_assert( sc_time_stamp() == sc_time(200, SC_NS) );
64 sc_assert( sc_time_stamp() == sc_time(250, SC_NS) );
68 sc_assert( sc_time_stamp() == sc_time(250, SC_NS) );
70 ev.notify(10, SC_NS);
72 sc_assert( sc_time_stamp() == sc_time(260, SC_NS) );
74 ev.notify(10, SC_NS);
75 sc_start(sc_time(100, SC_NS), SC_EXIT_ON_STARVATION);
76 sc_assert( sc_time_stamp() == sc_time(270, SC_NS) );
78 ev.notify(10, SC_NS);
79 sc_start(sc_time(100, SC_NS)); // SC_RUN_TO_TIME
80 sc_assert( sc_time_stamp() == sc_time(370, SC_NS) );