Searched refs:SC_US (Results 1 - 14 of 14) sorted by relevance

/gem5/src/systemc/tests/systemc/misc/unit/control/wait/
H A Dwait.cpp41 using sc_core::SC_US;
54 if (sc_core::sc_time_stamp() < sc_time(2000, SC_US)) {
58 if (sc_core::sc_time_stamp() < sc_time(3000, SC_US)) {
59 sc_time delay(10, SC_US);
64 if (sc_core::sc_time_stamp() < sc_time(4000, SC_US)) {
72 SC_CTOR(Wait) : clk( "clk", 10, SC_US, 0.5, 100, SC_US) {
78 sc_time delay(10, SC_US);
88 SC_WAIT_UNTIL(sc_core::sc_time_stamp() > sc_time(1000, SC_US));
109 sc_core::sc_start(sc_time(15, SC_US));
[all...]
/gem5/src/systemc/tests/systemc/kernel/sc_time/test19/
H A Dtest19.cpp75 check_time( sc_time(1000, SC_NS), SC_US, "1 us" );
76 check_time( sc_time( 0.1, SC_US), SC_NS, "100 ns" );
77 check_time( sc_time( 1, SC_US), SC_US, "1 us" );
78 check_time( sc_time( 10, SC_US), SC_US, "10 us" );
79 check_time( sc_time( 100, SC_US), SC_US, "100 us" );
80 check_time( sc_time(1000, SC_US), SC_MS, "1 ms" );
/gem5/src/systemc/core/
H A Dtime.cc41 [::sc_core::SC_US] = "us",
50 [::sc_core::SC_US] = "SC_US",
59 [::sc_core::SC_US] = 1.0e-6,
68 [::sc_core::SC_US] = 1ULL * 1000 * 1000,
H A Dsc_time_python.cc74 .value("SC_US", sc_core::SC_US)
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_pause/
H A Dsc_pause.cpp236 sc_assert( sc_time_stamp() == sc_time(42, SC_US) );
242 sc_assert( sc_time_stamp() == sc_time(42, SC_US) );
251 sc_assert( sc_time_stamp() == sc_time(42, SC_US) );
254 wait(2, SC_US);
255 sc_assert( sc_time_stamp() == sc_time(44, SC_US) );
261 sc_assert( sc_time_stamp() == sc_time(44, SC_US) );
282 sc_assert( sc_time_stamp() == sc_time(42, SC_US) );
287 sc_assert( sc_time_stamp() == sc_time(42, SC_US) );
296 sc_assert( sc_time_stamp() == sc_time(42, SC_US) );
313 top.timed_ev.notify(42, SC_US);
[all...]
/gem5/src/systemc/tests/systemc/compliance_1666/test00/
H A Dtest00.cpp37 using sc_core::SC_US;
237 sc_assert(sc_time_stamp() == sc_time(5, SC_US));
239 sc_assert(sc_time_stamp() == sc_time(30, SC_US));
249 sc_assert(sc_time_stamp() == sc_time(15, SC_US));
251 sc_assert(sc_time_stamp() == sc_time(25, SC_US));
299 wait(5, SC_US);
301 wait(5, SC_US);
304 wait(5, SC_US);
306 wait(5, SC_US);
308 wait(5, SC_US);
[all...]
/gem5/src/systemc/ext/core/
H A Dsc_time.hh46 SC_US, enumerator in enum:sc_core::sc_time_unit
H A D_using.hh151 using sc_core::SC_US;
/gem5/ext/systemc/src/sysc/tracing/
H A Dsc_trace_file_base.cpp209 case SC_US: v = v * 1e-6; break;
H A Dsc_vcd_trace.cpp1721 { sc_time(1, SC_US).to_seconds(), "1 us" },
1722 { sc_time(10, SC_US).to_seconds(), "10 us" },
1723 { sc_time(100, SC_US).to_seconds(),"100 us" },
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_time.h63 SC_US, enumerator in enum:sc_core::sc_time_unit
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_vector/
H A Dsc_vector.cpp346 wait(10, SC_US);
/gem5/src/systemc/tests/systemc/1666-2011-compliance/throw_it/
H A Dthrow_it.cpp281 wait(1, SC_US);
/gem5/src/systemc/tests/systemc/kernel/sc_time/test01/
H A Dtest01.cpp206 sc_time t2( 1.2345, SC_US );

Completed in 23 milliseconds