/gem5/src/systemc/tests/tlm/cancel_all/ |
H A D | cancel_all.cpp | 31 m_peq.notify( *trans, phase, sc_time(rand() % 100, SC_NS) ); 33 wait(50, SC_NS); 43 m_peq.notify( *trans, phase, sc_time(rand() % 100, SC_NS) ); 45 wait(50, SC_NS); 49 wait(50, SC_NS); 61 sc_assert( t >= sc_time(0, SC_NS) && t <= sc_time(50, SC_NS) ); 68 sc_assert( t >= sc_time(50, SC_NS) && t <= sc_time(100, SC_NS) ); 91 wait(1000, SC_NS); [all...] |
/gem5/src/systemc/tests/systemc/bugs/async_reset_init/ |
H A D | async_reset_init.cpp | 113 sc_start(10, SC_NS); 115 sc_start(10, SC_NS); 119 sc_start(10, SC_NS); 121 sc_start(10, SC_NS); 123 sc_start(10, SC_NS); 127 sc_start(10, SC_NS); 129 sc_start(10, SC_NS);
|
/gem5/src/systemc/tests/systemc/communication/sc_mutex/test02/ |
H A D | test02.cpp | 54 wait( 1, SC_NS ); 58 wait( 2, SC_NS ); 64 wait( 3, SC_NS ); 96 wait( 2, SC_NS ); 100 wait( 4, SC_NS ); 106 wait( 3, SC_NS ); 136 sc_start( 40, SC_NS );
|
/gem5/src/systemc/tests/systemc/communication/sc_prim_channel/test05/ |
H A D | test05.cpp | 74 next_trigger(10, SC_NS); 80 write_event_1.notify(20, SC_NS); 83 write_event_2.notify(5, SC_NS); 86 write_event_2.notify(5, SC_NS); 87 write_event_1.notify(5, SC_NS); 96 next_trigger(10, SC_NS, write_event_1 & write_event_2); 150 sc_start(120, SC_NS);
|
/gem5/src/systemc/tests/systemc/communication/sc_prim_channel/test08/ |
H A D | test08.cpp | 74 next_trigger(10, SC_NS); 81 write_event_1.notify(20, SC_NS); 84 write_event_2.notify(5, SC_NS); 87 write_event_2.notify(5, SC_NS); 88 write_event_1.notify(5, SC_NS); 97 const sc_time t(10, SC_NS); 152 sc_start(120, SC_NS);
|
/gem5/src/systemc/tests/systemc/communication/sc_prim_channel/test15/ |
H A D | test15.cpp | 76 wait(10, SC_NS); 82 write_event_1.notify(20, SC_NS); 85 write_event_2.notify(5, SC_NS); 88 write_event_2.notify(5, SC_NS); 89 write_event_1.notify(5, SC_NS); 99 wait(10, SC_NS, write_event_1 & write_event_2); 154 sc_start(120, SC_NS);
|
/gem5/src/systemc/tests/systemc/communication/sc_prim_channel/test16/ |
H A D | test16.cpp | 76 wait(10, SC_NS); 82 write_event_1.notify(20, SC_NS); 85 write_event_2.notify(5, SC_NS); 88 write_event_2.notify(5, SC_NS); 89 write_event_1.notify(5, SC_NS); 97 sc_time t(10, SC_NS); 155 sc_start(120, SC_NS);
|
/gem5/src/systemc/tests/systemc/communication/sc_semaphore/test02/ |
H A D | test02.cpp | 54 wait( 1, SC_NS ); 58 wait( 2, SC_NS ); 64 wait( 3, SC_NS ); 96 wait( 2, SC_NS ); 100 wait( 4, SC_NS ); 106 wait( 3, SC_NS ); 136 sc_start( 40, SC_NS );
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/async_reset/ |
H A D | async_reset.cpp | 124 wait(1, SC_NS); 128 wait(10, SC_NS); 132 wait(sc_time(20, SC_NS) - sc_time_stamp()); 136 wait(1, SC_NS); 140 wait(1, SC_NS); 144 wait(sc_time(30, SC_NS) - sc_time_stamp()); 148 wait(1, SC_NS); 152 wait(1, SC_NS); 156 wait(1, SC_NS); 160 wait(1, SC_NS); [all...] |
/gem5/src/systemc/tests/systemc/bugs/bug_147853/ |
H A D | bug_147853.cpp | 16 SC_CTOR(Test) :d(5,SC_NS) { 26 sc_clock clk("clk",10,SC_NS); 32 sc_start(50,SC_NS);
|
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/sc_barrier/test01/ |
H A D | test01.cpp | 19 wait(5.0, SC_NS); 25 wait(11.0, SC_NS); 42 sc_start(1000, SC_NS);
|
/gem5/src/systemc/tests/systemc/kernel/process_control/test07/ |
H A D | test07.cpp | 104 wait( 100, SC_NS ); 110 wait( 100, SC_NS ); 117 wait( 50, SC_NS ); 124 wait( 50, SC_NS ); 128 wait( 100, SC_NS ); 132 wait( 100, SC_NS ); 136 wait( 100, SC_NS ); 141 wait( 100, SC_NS ); 150 wait( 100, SC_NS ); 154 wait( 50, SC_NS ); [all...] |
/gem5/src/systemc/tests/systemc/misc/stars/star114477/ |
H A D | test.cpp | 57 sc_start(0, SC_NS); 63 sc_start( 5, SC_NS ); 65 sc_start( 5, SC_NS );
|
/gem5/src/systemc/tests/systemc/misc/stars/star130786/ |
H A D | test.cpp | 89 sc_clock clk("clk", 50, SC_NS, 0.5, 0, SC_NS, false); 98 sc_start(75, SC_NS); // Run for 1-1/2 clock cycles
|
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt4.1/ |
H A D | main.cpp | 57 sc_clock clk("CLOCK", 20.0, SC_NS, 0.5, 0.0, SC_NS); 65 sc_start(1000, SC_NS);
|
/gem5/src/systemc/tests/systemc/tracing/wif_trace/pct1/ |
H A D | main.cpp | 49 sc_clock clock("CLK", 10.0, SC_NS, 0.5, 0.0, SC_NS); 65 sc_start(500, SC_NS);
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_delta_count/ |
H A D | sc_delta_count.cpp | 88 ev.notify(1, SC_NS); 93 wait(1, SC_NS); 94 ev.notify(1, SC_NS); 98 wait(2, SC_NS); 103 ev.notify(1, SC_NS); 104 wait(2, SC_NS); 110 ev2.notify(1, SC_NS); 111 ev3.notify(2, SC_NS); 112 wait(3, SC_NS); 208 sc_start(1, SC_NS); [all...] |
/gem5/src/systemc/core/ |
H A D | time.cc | 40 [::sc_core::SC_NS] = "ns", 49 [::sc_core::SC_NS] = "SC_NS", 58 [::sc_core::SC_NS] = 1.0e-9, 67 [::sc_core::SC_NS] = 1ULL * 1000 * 1000 * 1000,
|
/gem5/src/systemc/tests/systemc/communication/sc_export/test04/ |
H A D | test04.cpp | 15 sc_start(1, SC_NS);
|
/gem5/src/systemc/tests/systemc/communication/sc_semaphore/test04/ |
H A D | test04.cpp | 58 sc_start( 5, SC_NS );
|
/gem5/src/systemc/tests/systemc/compliance_1666/test106/ |
H A D | test106.cpp | 8 using sc_core::SC_NS;
23 wait(10, SC_NS);
25 wait(10, SC_NS);
27 wait(10, SC_NS);
|
/gem5/src/systemc/tests/systemc/kernel/sc_process_b/test01/ |
H A D | test01.cpp | 62 sc_start( 5, SC_NS );
|
/gem5/src/systemc/tests/systemc/misc/stars/star113623/ |
H A D | test.cpp | 73 sc_clock clk("CLK", 10, SC_NS, 0.5, 0.0, SC_NS); 79 sc_start(10, SC_NS); 81 sc_start(10, SC_NS);
|
/gem5/src/systemc/tests/systemc/misc/stars/star123845/ |
H A D | test.cpp | 51 sc_start( 100, SC_NS );
|
/gem5/src/systemc/tests/systemc/misc/unit/methodology/file_io/input_char_sc_signed/ |
H A D | input_char_sc_signed.cpp | 50 sc_start(0, SC_NS);
|