/gem5/src/systemc/tests/systemc/communication/sc_signal/register_port/test01/ |
H A D | test01.cpp | 46 top<int> t1( "t1" );
|
/gem5/src/systemc/tests/systemc/communication/sc_signal/register_port/test02/ |
H A D | test02.cpp | 46 top<bool> t1( "t1" );
|
/gem5/src/systemc/tests/systemc/communication/sc_signal/register_port/test03/ |
H A D | test03.cpp | 46 top<sc_logic> t1( "t1" );
|
/gem5/src/systemc/tests/systemc/misc/stars/star125412/ |
H A D | test.cpp | 54 class top : public sc_module class in inherits:sc_module 57 SC_HAS_PROCESS(top); 59 top(sc_module_name name) : sc_module(name) function in class:top 82 top top1("Top1");
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/self_reset_bug/ |
H A D | self_reset_bug.cpp | 86 Top top("top"); 90 sc_assert( top.f0 ); 91 sc_assert( top.f1 ); 92 sc_assert( top.f2 ); 93 sc_assert( top.f3 );
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/proc_ctrl_immed/ |
H A D | proc_ctrl_immed.cpp | 367 Top top("top"); 371 sc_assert( top.f0 ); 372 sc_assert( top.f1 ); 373 sc_assert( top.f2 ); 374 sc_assert( top.f3 ); 375 sc_assert( top.f4 ); 376 sc_assert( top.f5 ); 377 sc_assert( top.f6 ); 378 sc_assert( top [all...] |
/gem5/src/systemc/tests/systemc/1666-2011-compliance/method_with_reset/ |
H A D | method_with_reset.cpp | 391 Top top("top"); 395 sc_assert( top.f0 ); 396 sc_assert( top.f1 ); 397 sc_assert( top.f2 ); 398 sc_assert( top.f3 ); 399 sc_assert( top.f4 ); 400 sc_assert( top.f5 ); 401 sc_assert( top.f10 ); 402 sc_assert( top [all...] |
/gem5/src/systemc/tests/systemc/1666-2011-compliance/proc_ctrl/ |
H A D | proc_ctrl.cpp | 258 Top top("top");
261 sc_assert(top.f1);
262 sc_assert(top.f2);
263 sc_assert(top.f3);
264 sc_assert(top.f4);
265 sc_assert(top.f5);
266 sc_assert(top.f6);
267 sc_assert(top.f7);
268 sc_assert(top [all...] |
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/sc_spawn_options/test01/ |
H A D | test01.cpp | 65 class top : public sc_module class in inherits:sc_module 68 SC_HAS_PROCESS(top); 70 top(sc_module_name name) : sc_module(name) function in class:top 91 sc_bind(&top::round_robin, this, "1", sc_ref(e1), sc_ref(e2), 3), 99 sc_bind(&top::round_robin, this, "2", sc_ref(e2), sc_ref(e3), 3), 107 sc_bind(&top::round_robin, this, "3", sc_ref(e3), sc_ref(e4), 3), 115 sc_bind(&top::round_robin, this, "4", sc_ref(e4), sc_ref(e1), 3), 135 top top1("Top1");
|
/gem5/src/systemc/tests/systemc/bugs/async_reset_init/ |
H A D | async_reset_init.cpp | 108 module top("top"); 109 top.rst_in(rst_sig); 114 top.ev.notify(SC_ZERO_TIME); 120 top.ev.notify(SC_ZERO_TIME); 122 top.ev.notify(SC_ZERO_TIME); 128 top.ev.notify(SC_ZERO_TIME);
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/method_suspends_itself/ |
H A D | method_suspends_itself.cpp | 391 Top top("top"); 395 sc_assert( top.f0 ); 396 sc_assert( top.f1 ); 397 sc_assert( top.f2 ); 398 sc_assert( top.f3 ); 399 sc_assert( top.f4 ); 400 sc_assert( top.f5 ); 401 sc_assert( top.f6 ); 402 sc_assert( top [all...] |
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_delta_count/ |
H A D | sc_delta_count.cpp | 186 Top top("top"); 192 top.ev.notify(); // Wake from 1st pause on immed notification 206 sc_assert( top.last_time == sc_time_stamp() ); 210 sc_assert( top.count == 10 ); 211 // sc_assert( top.last_time == sc_time_stamp() ); 213 top.ev.notify(SC_ZERO_TIME); // Wake from 2nd pause on delta notification 216 sc_assert( top.last_time == sc_time_stamp() ); 218 top.ev.notify(1, SC_NS); // Wake from 3rd pause on timed notification 221 sc_assert( top [all...] |
/gem5/src/systemc/tests/systemc/1666-2011-compliance/proc_ctrl_timeout/ |
H A D | proc_ctrl_timeout.cpp | 310 Top top("top"); 314 sc_assert( top.f1 ); 315 sc_assert( top.f2 ); 316 sc_assert( top.f3 ); 317 sc_assert( top.f4 ); 318 sc_assert( top.f5 ); 319 sc_assert( top.f6 ); 320 sc_assert( top.f7 ); 321 sc_assert( top [all...] |
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/test01/ |
H A D | test01.cpp | 68 class top : public sc_module class in inherits:sc_module 71 SC_HAS_PROCESS(top); 73 top(sc_module_name name) : sc_module(name) function in class:top 91 sc_bind(&top::round_robin, this, "1", sc_ref(e1), sc_ref(e2), 3), "t1") , 93 sc_bind(&top::round_robin, this, "2", sc_ref(e2), sc_ref(e3), 3), "t2") , 95 sc_bind(&top::round_robin, this, "3", sc_ref(e3), sc_ref(e4), 3), "t3") , 97 sc_bind(&top::round_robin, this, "4", sc_ref(e4), sc_ref(e1), 3), "t4") , 106 sc_spawn(&r, sc_bind(&top::wait_and_end, this, i)); 113 sc_spawn(&r, sc_bind(&top::wait_and_end, this, i)); 165 top top [all...] |
/gem5/src/systemc/tests/systemc/1666-2011-compliance/disable_enable/ |
H A D | disable_enable.cpp | 120 Top top("top"); 124 sc_assert( top.f0 ); 125 sc_assert( top.f1 ); 126 sc_assert( top.f2 ); 127 sc_assert( top.f3 ); 128 sc_assert( top.f4 ); 129 sc_assert( top.f5 );
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/throw_it/ |
H A D | throw_it.cpp | 343 Top top("top"); 347 sc_assert( top.f1 ); 348 sc_assert( top.f2 ); 349 sc_assert( top.f3 ); 350 sc_assert( top.f4 ); 351 sc_assert( top.f5 ); 352 sc_assert( top.f6 ); 353 sc_assert( top.f7 ); 354 sc_assert( top [all...] |
/gem5/src/systemc/tests/systemc/utils/sc_vector/test05/ |
H A D | test05.cpp | 101 module top("top"); 106 sc_assert( top.in.size() == size ); 113 port_vec::iterator mid = top.in( fifo_1 ); 114 sc_assert( ( mid - top.in.begin() ) - half == 0 ); 117 mid = top.in.bind( fifo_2.begin(), fifo_2.end(), mid ); 118 sc_assert( mid == top.in.end() ); 122 top.sub.in( fifo_a, fifo_a + half );
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/async_reset_port/ |
H A D | async_reset_port.cpp | 328 Top top("top"); 332 sc_assert(top.m->f1); 333 sc_assert(top.m->f2); 334 sc_assert(top.m->f3); 335 sc_assert(top.m->f4); 336 sc_assert(top.m->f5); 337 sc_assert(top.m->f6); 338 sc_assert(top.m->f7); 339 sc_assert(top [all...] |
/gem5/src/systemc/tests/systemc/1666-2011-compliance/async_reset/ |
H A D | async_reset.cpp | 570 Top top("top"); 574 sc_assert(top.f1); 575 sc_assert(top.f2); 576 sc_assert(top.f3); 577 sc_assert(top.f4); 578 sc_assert(top.f5); 579 sc_assert(top.f6); 580 sc_assert(top.f7); 581 sc_assert(top [all...] |
/gem5/src/systemc/tests/systemc/1666-2011-compliance/proc_ctrl_priority/ |
H A D | proc_ctrl_priority.cpp | 345 Top top("top"); 349 sc_assert( top.f1 ); 350 sc_assert( top.f2 ); 351 sc_assert( top.f3 ); 352 sc_assert( top.f4 ); 353 sc_assert( top.f5 ); 354 sc_assert( top.f6 ); 355 sc_assert( top.f7 ); 356 sc_assert( top [all...] |
/gem5/src/systemc/tests/systemc/1666-2011-compliance/include_descendants/ |
H A D | include_descendants.cpp | 302 Top top("top"); 306 sc_assert( top.f1 ); 307 sc_assert( top.f2 ); 308 sc_assert( top.f3 ); 309 sc_assert( top.f4 ); 310 sc_assert( top.f5 ); 311 sc_assert( top.f6 ); 312 sc_assert( top.f7 ); 313 sc_assert( top [all...] |
/gem5/ext/systemc/src/sysc/qt/md/ |
H A D | sparc.h | 112 #define QUICKTHREADS_ARGS_MD(top) \ 113 (QUICKTHREADS_SPUT ((top), QUICKTHREADS_O7, ((void *)(((int)qt_start)-8))), \ 114 QUICKTHREADS_SPUT ((top), QUICKTHREADS_I6, 0)) 121 off the top of the stack. To prevent errors, we always allocate 8
|
/gem5/ext/systemc/src/sysc/utils/ |
H A D | sc_pq.h | 54 void* top() const function in class:sc_core::sc_ppq_base 113 // returns the value of the top element in the priority queue. 114 T top() const function in class:sc_core::sc_ppq 115 { return (T) sc_ppq_base::top(); }
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/child_proc_control/ |
H A D | child_proc_control.cpp | 195 Top top("top"); 199 sc_assert( top.proc_count == top.n ); 201 sc_assert( top.f0 ); 202 sc_assert( top.f1 ); 204 for (int i = 0; i < top.n; i++) 206 sc_assert( top.c0[i] ); 207 sc_assert( top.c1[i] ); 208 sc_assert( top [all...] |
/gem5/src/systemc/tests/systemc/1666-2011-compliance/late_reset_bug/ |
H A D | late_reset_bug.cpp | 80 Top top("top"); 84 sc_assert( top.f0 ); 85 sc_assert( top.f1 );
|