Searched refs:to_bool (Results 1 - 25 of 41) sorted by relevance

12

/gem5/src/systemc/tests/systemc/misc/stars/star107468/
H A Dstar107468.cpp50 a = x.to_bool();
/gem5/src/systemc/tests/systemc/datatypes/bit/sc_bitref/test01/
H A Dtest_bitref.cpp50 sc_nassert( bv[0].to_bool() );
51 sc_assert ( !bv[0].to_bool() );
52 sc_assert( (~bv[0]).to_bool() );
58 sc_assert ( bv[1].to_bool() );
59 sc_nassert( (~bv[1]).to_bool() );
64 sc_nassert( bv[0].to_bool() );
65 sc_assert( bv[1].to_bool() );
127 sc_assert( !lv[0].to_bool() );
128 sc_assert( (~lv[0]).to_bool() );
131 sc_assert( lv[5].to_bool() );
[all...]
/gem5/src/systemc/tests/systemc/misc/unit/data/general/std_ulogic_tilda/
H A Dstd_ulogic_tilda.cpp52 a = !value1.to_bool();
53 b = !value0.to_bool();
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/addition/datatypes/
H A Ddatatypes.cpp110 tmp2r = tmp6 + tmp1 + tmp10[2].to_bool(); // treat tmp10[2] as carry in
114 tmp4r -= tmp11[0][0].to_bool();
/gem5/ext/systemc/src/sysc/datatypes/bit/
H A Dsc_bit.cpp99 : m_val( a.to_bool() )
H A Dsc_bit.h225 bool to_bool() const // non-VSIA function in class:sc_dt::sc_bit
261 { os << to_bool(); }
H A Dsc_logic.h191 : m_val( to_value( a.to_bool() ) )
265 bool to_bool() const function in class:sc_dt::sc_logic
/gem5/src/systemc/dt/bit/
H A Dsc_bit.cc97 sc_bit::sc_bit(const sc_logic &a) : m_val(a.to_bool()) // non-VSIA
/gem5/src/systemc/tests/systemc/misc/synth/add_chain/
H A Dadd_chain.h106 sum = sum.to_uint() + a[i].to_bool();
/gem5/src/systemc/tests/systemc/misc/synth/add_chain_FUNC/
H A Dadd_chain.cpp106 sum = sum.to_uint() + a[i].to_bool();
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/not/datatypes/
H A Ddatatypes.cpp115 tmp6r = ~ tmp8[0].to_bool();
/gem5/src/systemc/ext/dt/bit/
H A Dsc_bit.hh217 bool to_bool() const { return m_val; } function in class:sc_dt::sc_bit
245 void print(::std::ostream &os=::std::cout) const { os << to_bool(); }
H A Dsc_logic.hh160 explicit sc_logic(const sc_bit &a) : m_val(to_value(a.to_bool())) {}
240 to_bool() const function in class:sc_dt::sc_logic
/gem5/src/base/
H A Dstr.hh183 to_bool(const std::string &value, bool &retval) function
/gem5/src/systemc/tests/systemc/datatypes/bit/sc_bit/test01/
H A Dtest01.cpp73 sc_assert(b.to_bool());
75 sc_assert(!b.to_bool());
/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_uint_base.h218 bool to_bool() const function in class:sc_dt::sc_uint_bitref_r
225 { os << to_bool(); }
918 m_obj_p->set( m_index, b.to_bool() );
926 m_obj_p->set( m_index, b.to_bool() );
H A Dsc_int_base.h225 bool to_bool() const function in class:sc_dt::sc_int_bitref_r
232 { os << to_bool(); }
H A Dsc_int_base.cpp529 set( i, sc_logic( a.get_bit( i ) ).to_bool() );
H A Dsc_uint_base.cpp500 set( i, sc_logic( a.get_bit( i ) ).to_bool() );
/gem5/src/systemc/ext/dt/int/
H A Dsc_uint_base.hh207 bool to_bool() const { return operator uint64 (); } function in class:sc_dt::sc_uint_bitref_r
210 void print(::std::ostream &os=::std::cout) const { os << to_bool(); }
913 m_obj_p->set(m_index, b.to_bool());
920 m_obj_p->set(m_index, b.to_bool());
H A Dsc_int_base.hh218 bool to_bool() const { return operator uint64(); } function in class:sc_dt::sc_int_bitref_r
222 void print(::std::ostream& os=::std::cout) const { os << to_bool(); }
/gem5/ext/systemc/src/sysc/tracing/
H A Dsc_wif_trace.cpp467 *buf_ptr++ = "01"[object[bitindex].to_bool()];
523 *buf_ptr++ = "01"[object[bitindex].to_bool()];
574 *buf_ptr++ = "01"[object[bitindex].to_bool()];
624 *buf_ptr++ = "01"[object[bitindex].to_bool()];
H A Dsc_vcd_trace.cpp471 *rawdata_ptr++ = "01"[object[bitindex].to_bool()];
533 *rawdata_ptr++ = "01"[object[bitindex].to_bool()];
590 *rawdata_ptr++ = "01"[object[bitindex].to_bool()];
646 *rawdata_ptr++ = "01"[object[bitindex].to_bool()];
/gem5/src/sim/
H A Dserialize.hh352 return to_bool(s, value);
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dsc_fxnum.cpp907 if( bv[k].to_bool() )

Completed in 62 milliseconds

12