/gem5/src/systemc/tests/systemc/datatypes/int/sc_int_base/bitselect/32bit/signed/ |
H A D | select.cpp | 52 sc_assert( By == Bx ); 56 sc_assert( (bool) Bx[i] == (j & (1<<i)? 1 : 0) ); 58 sc_assert( (bool) By[i] == (j & (1<<i)? 1 : 0) );
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int_base/bitselect/32bit/unsigned/ |
H A D | select.cpp | 52 sc_assert( By == Bx ); 56 sc_assert( (bool) Bx[i] == (j & (1<<i)? 1 : 0) ); 58 sc_assert( (bool) By[i] == (j & (1<<i)? 1 : 0) );
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int_base/bitselect/64bit/signed/ |
H A D | select.cpp | 52 sc_assert( By == Bx ); 56 sc_assert( (bool) Bx[i] == (j & (uint64(1)<<i)? 1 : 0) ); 58 sc_assert( (bool) By[i] == (j & (uint64(1)<<i)? 1 : 0) );
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int_base/bitselect/64bit/unsigned/ |
H A D | select.cpp | 52 sc_assert( By == Bx ); 56 sc_assert( (bool) Bx[i] == (j & (uint64(1)<<i)? 1 : 0) ); 58 sc_assert( (bool) By[i] == (j & (uint64(1)<<i)? 1 : 0) );
|
/gem5/src/systemc/tests/systemc/bugs/instantiation_detection/ |
H A D | instantiation_detection.cpp | 66 sc_assert( create<sub_module>("sub_module") == NULL ); 67 sc_assert( create<sc_in<bool> >("port") == NULL ); 68 sc_assert( create<sc_export<sc_signal_in_if<bool> > >("export") == NULL ); 69 sc_assert( create<sc_signal<bool> >("signal") == NULL ); 107 sc_assert( create<sc_in<bool> >("port") == NULL ); 108 sc_assert( create<sc_export<sc_signal_in_if<bool> > >("export") == NULL );
|
/gem5/src/systemc/tests/systemc/compliance_1666/test205/ |
H A D | test205.cpp | 13 sc_assert(sc_time_stamp() == sc_time(0, SC_NS));
15 sc_assert(sc_time_stamp() == sc_time(3, SC_NS));
23 sc_assert(sc_time_stamp() == sc_time(4, SC_NS));
25 sc_assert(sc_time_stamp() == sc_time(7, SC_NS));
43 sc_assert(sc_time_stamp() == sc_time(8, SC_NS));
45 sc_assert(sc_time_stamp() == sc_time(11, SC_NS));
|
/gem5/src/systemc/tests/systemc/misc/unit/data/general/subvector/stab2/ |
H A D | stab2.cpp | 54 sc_assert( x[i] == ((i & 1) ^ ((i >> 1) & 1)) ); 60 // sc_assert( y[i] == char((i & 1) ^ ((i >> 2) & 1)) ); 61 sc_assert( y[i] == ((i & 1) ^ ((i >> 2) & 1)) ); 67 sc_assert( (bool) z[i] == (((i >> 2) & 1) ^ ((i >> 1) & 1)) ); 73 sc_assert( (bool) w[i] == (((i >> 3) & 1) ^ ((i >> 1) & 1)) ); 117 sc_assert( foo[j] == x[i + j] ); 118 sc_assert( foo1[224 - j] == x[i + j] ); 119 sc_assert( foo2.range(449,225) == foo1 ); 120 sc_assert( foo2.range(224,0) == foo ); 125 sc_assert( foo [all...] |
/gem5/src/systemc/tests/systemc/1666-2011-compliance/odds_and_ends/ |
H A D | odds_and_ends.cpp | 122 sc_assert( sc_time_stamp() == sc_time(10, SC_NS) || sc_time_stamp() == sc_time(20, SC_NS) ); 129 sc_assert( sc_time_stamp() == sc_time(10, SC_NS) || sc_time_stamp() == sc_time(20, SC_NS) ); 144 sc_assert( sc_time_stamp() == sc_time(105, SC_NS) ); 145 sc_assert( !sc_is_unwinding() ); 151 sc_assert( sc_time_stamp() == sc_time(125, SC_NS) ); 152 sc_assert( !sc_is_unwinding() ); 162 if (t3a.valid()) sc_assert( t3a.terminated() ); 163 if (t3b.valid()) sc_assert( t3b.terminated() ); 173 sc_assert( sc_time_stamp() == sc_time(10, SC_NS) ); 180 sc_assert( sc_time_stam [all...] |
/gem5/src/systemc/tests/systemc/datatypes/int/string_conversion/test01/ |
H A D | test01.cpp | 56 sc_assert( b == a ); 61 sc_assert( b == a ); 66 // sc_assert( b == a ); 71 sc_assert( b == a ); 76 sc_assert( b == a ); 81 // sc_assert( b == a ); 86 sc_assert( b == a ); 91 sc_assert( b == a ); 96 // sc_assert( b == a ); 101 sc_assert( [all...] |
/gem5/src/systemc/tests/systemc/datatypes/int/string_conversion/test02/ |
H A D | test02.cpp | 56 sc_assert( b == a ); 61 sc_assert( b == a ); 66 // sc_assert( b == a ); 71 sc_assert( b == a ); 76 sc_assert( b == a ); 81 // sc_assert( b == a ); 86 sc_assert( b == a ); 91 sc_assert( b == a ); 96 // sc_assert( b == a ); 101 sc_assert( [all...] |
/gem5/src/systemc/tests/systemc/compliance_1666/test235a/ |
H A D | test235a.cpp | 58 sc_assert(p1.size() == 1);
59 sc_assert(p2.size() == 1);
60 sc_assert(p3.size() == 2);
61 sc_assert(p4.size() == 3);
62 sc_assert(p5.size() == 0);
63 sc_assert(p6.size() == 1);
64 sc_assert(p7.size() == 2);
65 sc_assert(p8.size() == 0);
66 sc_assert(p9.size() == 1);
67 sc_assert(p1 [all...] |
/gem5/src/systemc/tests/systemc/utils/sc_report/test05/ |
H A D | catch_actions.cpp | 55 sc_assert( !(actions & SC_THROW) ); 57 sc_assert( actions & SC_THROW ); 77 sc_assert(last_report_thrown == false); 81 sc_assert(act == SC_DISPLAY); 82 sc_assert(sc_report_handler::get_catch_actions() == (SC_DISPLAY | SC_LOG));
|
/gem5/src/systemc/tests/systemc/compliance_1666/test001/ |
H A D | test001.cpp | 12 sc_assert(std::string(this->kind()) == "sc_module");
22 sc_assert(std::string(basename()) == "mod0");
38 sc_assert(sc_get_current_process_handle().proc_kind() == SC_METHOD_PROC_);
42 sc_assert(sc_get_current_process_handle().proc_kind() == SC_THREAD_PROC_);
49 sc_assert(std::string(sc_get_current_process_handle().name()) == "top.mod0.g");
78 void p2() { int i; ch.read(i); sc_assert(i == 333); }
96 sc_assert(std::string(sc_get_current_process_handle().get_process_object()->basename()) == "action");
131 sc_assert(s[0] == '_');
133 sc_assert(!s.empty());
136 sc_assert(charse [all...] |
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_except.cpp | 41 sc_assert( m_proc_p ); 54 sc_assert( m_proc_p ); 96 sc_assert( false && "Unhandled kill/reset, should never happen" );
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/late_reset_bug/ |
H A D | late_reset_bug.cpp | 71 sc_assert( count == 1 ); // FAILS !!!!!! 84 sc_assert( top.f0 ); 85 sc_assert( top.f1 );
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/living_dead_bug/ |
H A D | living_dead_bug.cpp | 70 sc_assert( false ); // FAILS!!!!!! 82 sc_assert( top.f0 ); 83 sc_assert( top.f1 );
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/mixed_child_procs/ |
H A D | mixed_child_procs.cpp | 138 default: sc_assert(false); break; 149 default: sc_assert(false); break; 158 default: sc_assert(false); break; 176 case 1: sc_assert(sc_time_stamp() == sc_time(10, SC_NS)); f1[i]=1; break; 179 default: sc_assert(false); break; 195 sc_assert( top.index == top.n ); 199 sc_assert( top.f0[i] ); 200 sc_assert( top.f1[i] ); 204 sc_assert( top.f2[i] ); 205 sc_assert( to [all...] |
/gem5/src/systemc/tests/systemc/misc/unit/data/general/subvector/stab1/ |
H A D | stab1.cpp | 54 sc_assert( x[i] == ((i & 1) ^ ((i >> 1) & 1)) ); 60 // sc_assert( y[i] == char((i & 1) ^ ((i >> 2) & 1)) ); 61 sc_assert( y[i] == ((i & 1) ^ ((i >> 2) & 1)) ); 67 sc_assert( (bool) z[i] == (((i >> 2) & 1) ^ ((i >> 1) & 1)) ); 73 sc_assert( (bool) w[i] == (((i >> 3) & 1) ^ ((i >> 1) & 1)) ); 115 sc_assert( foo[j] == x[i + j] ); 116 sc_assert( foo1[224 - j] == x[i + j] ); 124 sc_assert( bar[j] == y[i + j] ); 125 sc_assert( bar1[41 - j] == y[i + j] ); 133 sc_assert( ba [all...] |
/gem5/src/systemc/tests/systemc/1666-2011-compliance/virtual_bind/ |
H A D | virtual_bind.cpp | 60 sc_assert(false); 80 sc_assert(false); 149 sc_assert( top.chan.f1 ); 150 sc_assert( top.child->chan.f1 ); 151 sc_assert( top.child->p.f2 ); 152 sc_assert( top.child->xp.f3 );
|
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith01/ |
H A D | arith01.cpp | 73 sc_assert(z == v31.q); 96 sc_assert(y == v.q); 103 sc_assert(y == v.q); 110 sc_assert(y == v.q); 117 sc_assert(y == v.q); 124 sc_assert(y == v.q);
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_vector/ |
H A D | sc_vector.cpp | 70 sc_assert( weird_arg == "The Creator" || weird_arg == "WeIrD_aRg" ); 206 sc_assert( ports.size() == static_cast<unsigned int>(N) ); 207 sc_assert( kids.size() == static_cast<unsigned int>(N) ); 214 sc_assert( kids[i].p.get_interface() == ports[i].get_interface() ); 228 sc_assert( &*(assembly.begin()) == &(*initiator_vec.begin()).port ); 229 // sc_assert( &*(assembly.end()) == &(*initiator_vec.end()).port ); 230 sc_assert( assembly.size() == initiator_vec.size() ); 233 sc_assert( &assembly[i] == &initiator_vec[i].port ); 234 sc_assert( &assembly.at(i) == &initiator_vec[i].port ); 245 sc_assert( element [all...] |
/gem5/src/systemc/tests/systemc/compliance_1666/test219/ |
H A D | test219.cpp | 47 sc_assert(sc_time_stamp() == sc_time(10, SC_NS));
52 sc_assert(sc_time_stamp() == sc_time(15, SC_NS));
73 sc_assert(top.m->prim.count == 1);
74 sc_assert(top.m->ME_count == 1);
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int/concat/signed/32bit/ |
H A D | concat.cpp | 51 sc_assert( a_si32 == b_si32 );
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int/concat/signed/64bit/ |
H A D | concat.cpp | 51 sc_assert( a_si64 == b_si64 );
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int/concat/unsigned/32bit/ |
H A D | concat.cpp | 51 sc_assert( a_su32 == b_su32 );
|