/gem5/src/systemc/tests/systemc/misc/unit/control/wait/ |
H A D | wait.cpp | 41 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 D | test19.cpp | 75 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 D | time.cc | 41 [::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 D | sc_time_python.cc | 74 .value("SC_US", sc_core::SC_US)
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_pause/ |
H A D | sc_pause.cpp | 236 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 D | test00.cpp | 37 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 D | sc_time.hh | 46 SC_US, enumerator in enum:sc_core::sc_time_unit
|
H A D | _using.hh | 151 using sc_core::SC_US;
|
/gem5/ext/systemc/src/sysc/tracing/ |
H A D | sc_trace_file_base.cpp | 209 case SC_US: v = v * 1e-6; break;
|
H A D | sc_vcd_trace.cpp | 1721 { 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 D | sc_time.h | 63 SC_US, enumerator in enum:sc_core::sc_time_unit
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_vector/ |
H A D | sc_vector.cpp | 346 wait(10, SC_US);
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/throw_it/ |
H A D | throw_it.cpp | 281 wait(1, SC_US);
|
/gem5/src/systemc/tests/systemc/kernel/sc_time/test01/ |
H A D | test01.cpp | 206 sc_time t2( 1.2345, SC_US );
|