Searched refs:to_string (Results 1 - 25 of 205) sorted by relevance

123456789

/gem5/src/systemc/tests/systemc/bugs/sc_bigint_part_select/test01/
H A Dtest01.cpp52 cout << " bw:" << bigword.to_string(SC_HEX)
53 << "\n f0:" << bigword.range( 11, 0).to_string(SC_HEX)
54 << "\n f1:" << bigword.range( 23, 12).to_string(SC_HEX)
55 << "\n f2:" << bigword.range( 35, 24).to_string(SC_HEX)
56 << "\n f3:" << bigword.range( 47, 36).to_string(SC_HEX)
57 << "\n f4:" << bigword.range( 59, 48).to_string(SC_HEX)
58 << "\n f5:" << bigword.range( 71, 60).to_string(SC_HEX)
59 << "\n f6:" << bigword.range( 83, 72).to_string(SC_HEX)
60 << "\n f7:" << bigword.range( 95, 84).to_string(SC_HEX)
/gem5/src/systemc/tests/systemc/bugs/bug_70/
H A Dbug_70.cpp15 cout << "a: " << a.to_string(SC_HEX) << endl ;
16 cout << "b: " << b.to_string(SC_HEX) << " - So far so good" << endl ;
17 cout << "c: " << c.to_string(SC_HEX) << " - So far so good" << endl ;
22 cout << "a: " << a.to_string(SC_HEX) << endl ;
23 cout << "b: " << b.to_string(SC_HEX) << endl ;
24 cout << "c: " << c.to_string(SC_HEX) << endl ;
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dsc_fxcast_switch.cpp64 sc_fxcast_switch::to_string() const function in class:sc_dt::sc_fxcast_switch
66 return sc_dt::to_string( m_sw );
73 os << sc_dt::to_string( m_sw );
81 os << "sw = " << sc_dt::to_string( m_sw ) << ::std::endl;
H A Dsc_fxdefs.h72 const std::string to_string( sc_enc );
79 return os << to_string( enc );
101 const std::string to_string( sc_q_mode );
108 return os << to_string( q_mode );
130 const std::string to_string( sc_o_mode );
137 return os << to_string( o_mode );
154 const std::string to_string( sc_switch );
161 return os << to_string( sw );
178 const std::string to_string( sc_fmt );
185 return os << to_string( fm
[all...]
H A Dsc_fxdefs.cpp61 to_string( sc_enc enc ) function in namespace:sc_dt
82 to_string( sc_q_mode q_mode ) function in namespace:sc_dt
113 to_string( sc_o_mode o_mode ) function in namespace:sc_dt
140 to_string( sc_switch sw ) function in namespace:sc_dt
160 to_string( sc_fmt fmt ) function in namespace:sc_dt
H A Dsc_fxtype_params.cpp61 sc_fxtype_params::to_string() const function in class:sc_dt::sc_fxtype_params
74 s += sc_dt::to_string( m_q_mode );
76 s += sc_dt::to_string( m_o_mode );
89 os << to_string();
H A Dsc_fxnum.cpp263 sc_fxnum::to_string() const function in class:sc_dt::sc_fxnum
265 return std::string( m_rep->to_string( SC_DEC, -1, SC_F, &m_params ) );
269 sc_fxnum::to_string( sc_numrep numrep ) const function in class:sc_dt::sc_fxnum
271 return std::string( m_rep->to_string( numrep, -1, SC_F, &m_params ) );
275 sc_fxnum::to_string( sc_numrep numrep, bool w_prefix ) const function in class:sc_dt::sc_fxnum
277 return std::string( m_rep->to_string( numrep, (w_prefix ? 1 : 0),
282 sc_fxnum::to_string( sc_fmt fmt ) const function in class:sc_dt::sc_fxnum
284 return std::string( m_rep->to_string( SC_DEC, -1, fmt, &m_params ) );
288 sc_fxnum::to_string( sc_numrep numrep, sc_fmt fmt ) const function in class:sc_dt::sc_fxnum
290 return std::string( m_rep->to_string( numre
294 sc_fxnum::to_string( sc_numrep numrep, bool w_prefix, sc_fmt fmt ) const function in class:sc_dt::sc_fxnum
673 sc_fxnum_fast::to_string() const function in class:sc_dt::sc_fxnum_fast
679 sc_fxnum_fast::to_string( sc_numrep numrep ) const function in class:sc_dt::sc_fxnum_fast
685 sc_fxnum_fast::to_string( sc_numrep numrep, bool w_prefix ) const function in class:sc_dt::sc_fxnum_fast
692 sc_fxnum_fast::to_string( sc_fmt fmt ) const function in class:sc_dt::sc_fxnum_fast
698 sc_fxnum_fast::to_string( sc_numrep numrep, sc_fmt fmt ) const function in class:sc_dt::sc_fxnum_fast
704 sc_fxnum_fast::to_string( sc_numrep numrep, bool w_prefix, sc_fmt fmt ) const function in class:sc_dt::sc_fxnum_fast
[all...]
H A Dsc_fxval.cpp68 sc_fxval::to_string() const function in class:sc_dt::sc_fxval
70 return std::string( m_rep->to_string( SC_DEC, -1, SC_E ) );
74 sc_fxval::to_string( sc_numrep numrep ) const function in class:sc_dt::sc_fxval
76 return std::string( m_rep->to_string( numrep, -1, SC_E ) );
80 sc_fxval::to_string( sc_numrep numrep, bool w_prefix ) const function in class:sc_dt::sc_fxval
82 return std::string( m_rep->to_string( numrep, (w_prefix ? 1 : 0), SC_E ) );
86 sc_fxval::to_string( sc_fmt fmt ) const function in class:sc_dt::sc_fxval
88 return std::string( m_rep->to_string( SC_DEC, -1, fmt ) );
92 sc_fxval::to_string( sc_numrep numrep, sc_fmt fmt ) const function in class:sc_dt::sc_fxval
94 return std::string( m_rep->to_string( numre
98 sc_fxval::to_string( sc_numrep numrep, bool w_prefix, sc_fmt fmt ) const function in class:sc_dt::sc_fxval
482 to_string( const scfx_ieee_double& id, sc_numrep numrep, int w_prefix, function in namespace:sc_dt
510 sc_fxval_fast::to_string() const function in class:sc_dt::sc_fxval_fast
516 sc_fxval_fast::to_string( sc_numrep numrep ) const function in class:sc_dt::sc_fxval_fast
522 sc_fxval_fast::to_string( sc_numrep numrep, bool w_prefix ) const function in class:sc_dt::sc_fxval_fast
529 sc_fxval_fast::to_string( sc_fmt fmt ) const function in class:sc_dt::sc_fxval_fast
535 sc_fxval_fast::to_string( sc_numrep numrep, sc_fmt fmt ) const function in class:sc_dt::sc_fxval_fast
541 sc_fxval_fast::to_string( sc_numrep numrep, bool w_prefix, sc_fmt fmt ) const function in class:sc_dt::sc_fxval_fast
[all...]
/gem5/src/systemc/dt/fx/
H A Dsc_fxcast_switch.cc66 sc_fxcast_switch::to_string() const function in class:sc_dt::sc_fxcast_switch
68 return sc_dt::to_string(m_sw);
74 os << sc_dt::to_string(m_sw);
82 os << "sw = " << sc_dt::to_string(m_sw) << ::std::endl;
H A Dsc_fxdefs.cc60 to_string(sc_enc enc) function in namespace:sc_dt
79 to_string(sc_q_mode q_mode) function in namespace:sc_dt
108 to_string(sc_o_mode o_mode) function in namespace:sc_dt
134 to_string(sc_switch sw) function in namespace:sc_dt
154 to_string(sc_fmt fmt) function in namespace:sc_dt
H A Dsc_fxnum.cc228 sc_fxnum::to_string() const function in class:sc_dt::sc_fxnum
230 return std::string(m_rep->to_string(SC_DEC, -1, SC_F, &m_params));
234 sc_fxnum::to_string(sc_numrep numrep) const function in class:sc_dt::sc_fxnum
236 return std::string(m_rep->to_string(numrep, -1, SC_F, &m_params));
240 sc_fxnum::to_string(sc_numrep numrep, bool w_prefix) const function in class:sc_dt::sc_fxnum
242 return std::string(m_rep->to_string(numrep, (w_prefix ? 1 : 0),
247 sc_fxnum::to_string(sc_fmt fmt) const function in class:sc_dt::sc_fxnum
249 return std::string(m_rep->to_string(SC_DEC, -1, fmt, &m_params));
253 sc_fxnum::to_string(sc_numrep numrep, sc_fmt fmt) const function in class:sc_dt::sc_fxnum
255 return std::string(m_rep->to_string(numre
259 sc_fxnum::to_string(sc_numrep numrep, bool w_prefix, sc_fmt fmt) const function in class:sc_dt::sc_fxnum
608 sc_fxnum_fast::to_string() const function in class:sc_dt::sc_fxnum_fast
614 sc_fxnum_fast::to_string(sc_numrep numrep) const function in class:sc_dt::sc_fxnum_fast
620 sc_fxnum_fast::to_string(sc_numrep numrep, bool w_prefix) const function in class:sc_dt::sc_fxnum_fast
627 sc_fxnum_fast::to_string(sc_fmt fmt) const function in class:sc_dt::sc_fxnum_fast
633 sc_fxnum_fast::to_string(sc_numrep numrep, sc_fmt fmt) const function in class:sc_dt::sc_fxnum_fast
639 sc_fxnum_fast::to_string(sc_numrep numrep, bool w_prefix, sc_fmt fmt) const function in class:sc_dt::sc_fxnum_fast
[all...]
H A Dsc_fxval.cc68 sc_fxval::to_string() const function in class:sc_dt::sc_fxval
70 return std::string(m_rep->to_string(SC_DEC, -1, SC_E));
74 sc_fxval::to_string(sc_numrep numrep) const function in class:sc_dt::sc_fxval
76 return std::string(m_rep->to_string(numrep, -1, SC_E));
80 sc_fxval::to_string(sc_numrep numrep, bool w_prefix) const function in class:sc_dt::sc_fxval
82 return std::string(m_rep->to_string(numrep, (w_prefix ? 1 : 0), SC_E));
86 sc_fxval::to_string(sc_fmt fmt) const function in class:sc_dt::sc_fxval
88 return std::string(m_rep->to_string(SC_DEC, -1, fmt));
92 sc_fxval::to_string(sc_numrep numrep, sc_fmt fmt) const function in class:sc_dt::sc_fxval
94 return std::string(m_rep->to_string(numre
98 sc_fxval::to_string(sc_numrep numrep, bool w_prefix, sc_fmt fmt) const function in class:sc_dt::sc_fxval
444 to_string(const scfx_ieee_double &id, sc_numrep numrep, int w_prefix, function in namespace:sc_dt
472 sc_fxval_fast::to_string() const function in class:sc_dt::sc_fxval_fast
478 sc_fxval_fast::to_string(sc_numrep numrep) const function in class:sc_dt::sc_fxval_fast
484 sc_fxval_fast::to_string(sc_numrep numrep, bool w_prefix) const function in class:sc_dt::sc_fxval_fast
491 sc_fxval_fast::to_string(sc_fmt fmt) const function in class:sc_dt::sc_fxval_fast
497 sc_fxval_fast::to_string(sc_numrep numrep, sc_fmt fmt) const function in class:sc_dt::sc_fxval_fast
503 sc_fxval_fast::to_string(sc_numrep numrep, bool w_prefix, sc_fmt fmt) const function in class:sc_dt::sc_fxval_fast
[all...]
/gem5/src/systemc/tests/systemc/misc/stars/star114203/
H A Dtest.cpp76 cout << bv10.to_string() << endl;
77 cout << bi10.to_string(SC_BIN) << endl;
78 cout << bu10.to_string(SC_BIN) << endl;
/gem5/src/systemc/tests/systemc/datatypes/misc/sign_propagation/
H A Dsign_propagation.cpp56 cout << "I = " << I.to_string(SC_BIN) << " " << I(5,3) << endl;
59 cout << "UI = " << UI.to_string(SC_BIN) << " " << I(5,3) << endl;
62 cout << "BI = " << BI.to_string(SC_BIN) << " " << I(5,3) << endl;
65 cout << "BUI = " << BUI.to_string(SC_BIN) << " " << I(5,3) << endl;
68 cout << "BV = " << BV.to_string(SC_BIN) << " " << I(5,3) << endl;
71 cout << "BBI = " << BBI.to_string(SC_BIN) << " " << I(5,3) << endl;
74 cout << "BBUI = " << BBUI.to_string(SC_BIN) << " " << I(5,3) << endl;
79 cout << "I = " << I.to_string(SC_BIN) << " " << I(5,3) << endl;
82 cout << "UI = " << UI.to_string(SC_BIN) << " " << I(5,3) << endl;
85 cout << "BI = " << BI.to_string(SC_BI
[all...]
/gem5/src/systemc/tests/systemc/datatypes/misc/concat/test06/
H A Dtest06.cpp54 cout << bi2.to_string(SC_BIN) << endl
55 << bi37.to_string(SC_BIN) << endl;
59 cout << bi30.to_string(SC_BIN) << endl;
61 cout << bi30.to_string(SC_BIN) << endl;
65 cout << bi39.to_string(SC_BIN) << endl;
67 cout << bi39.to_string(SC_BIN) << endl;
71 cout << bu39.to_string(SC_BIN) << endl;
73 cout << bu39.to_string(SC_BIN) << endl;
78 cout << bi102.to_string(SC_BIN) << endl;
80 cout << bi102.to_string(SC_BI
[all...]
/gem5/src/systemc/tests/systemc/datatypes/misc/concat/test10/
H A Dtest10.cpp49 cout << "x = " << x.to_string(SC_BIN) << endl << endl;
54 cout << dec << "hi = " << hi.to_string(SC_BIN) << endl
55 << "lo = " << lo.to_string(SC_BIN) << endl
56 << "x = " << x.to_string(SC_BIN) << endl;
/gem5/src/systemc/tests/systemc/misc/stars/star114085/
H A Dtest.cpp58 cout << res.to_string() << "\n";
/gem5/src/systemc/tests/systemc/datatypes/int/string_conversion/test01/
H A Dtest01.cpp53 s = a.to_string();
58 s = a.to_string( SC_BIN );
63 s = a.to_string( SC_BIN_US );
68 s = a.to_string( SC_BIN_SM );
73 s = a.to_string( SC_OCT );
78 s = a.to_string( SC_OCT_US );
83 s = a.to_string( SC_OCT_SM );
88 s = a.to_string( SC_HEX );
93 s = a.to_string( SC_HEX_US );
98 s = a.to_string( SC_HEX_S
[all...]
/gem5/src/systemc/tests/systemc/datatypes/int/string_conversion/test02/
H A Dtest02.cpp53 s = a.to_string();
58 s = a.to_string( SC_BIN );
63 s = a.to_string( SC_BIN_US );
68 s = a.to_string( SC_BIN_SM );
73 s = a.to_string( SC_OCT );
78 s = a.to_string( SC_OCT_US );
83 s = a.to_string( SC_OCT_SM );
88 s = a.to_string( SC_HEX );
93 s = a.to_string( SC_HEX_US );
98 s = a.to_string( SC_HEX_S
[all...]
/gem5/src/systemc/tests/systemc/misc/stars/star130782/
H A Dtest.cpp83 cout << "A = " << A.to_string(SC_HEX) << endl;
84 cout << "Y = " << Y.to_string(SC_HEX) << endl << endl;
99 cout << "A = " << A.to_string(SC_HEX) << endl;
101 cout << "Y = " << Y.to_string(SC_HEX) << endl << endl;
116 cout << "A = " << A.to_string(SC_HEX) << endl;
118 cout << "Y = " << Y.to_string(SC_HEX) << endl << endl;
133 cout << "A = " << A.to_string(SC_HEX) << endl;
135 cout << "Y = " << Y.to_string(SC_HEX) << endl << endl;
/gem5/src/systemc/tests/systemc/misc/stars/star133377/
H A Dtest.cpp49 cout << "sc_int (1) " << sc_bigint<16>(x).to_string(SC_BIN) << endl;
53 << sc_bigint<16>(x).to_string(SC_BIN) << endl;
61 cout << "sc_uint (1) " << sc_biguint<16>(x).to_string(SC_BIN) << endl;
65 << sc_biguint<16>(x).to_string(SC_BIN) << endl;
79 // cout << "sc_bigint (1) " << x.to_string(SC_BIN) << endl;
85 cout << "sc_bigint (2) "<< x.to_string(SC_BIN) << endl;
99 // cout << "sc_biguint (1) " << x.to_string(SC_BIN) << endl;
105 cout << "sc_biguint (2) " << x.to_string(SC_BIN) << endl;
113 cout << "sc_bv (1) " << x.to_string() << endl;
116 cout << "sc_bv (2) " << x.to_string() << end
[all...]
/gem5/src/systemc/tests/systemc/misc/v1.0/blv/
H A Dblv.cpp59 if(st.to_string()!=x.to_string())
75 if((st,st).to_string()!=(x,x).to_string())
81 if(st.range(first,second).to_string()!=x.range(first,second).to_string())
90 if(bv.to_string()!=xv.to_string())
102 if(br.to_string()!=xr.to_string())
[all...]
/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_length_param.cpp64 sc_length_param::to_string() const function in class:sc_dt::sc_length_param
82 os << to_string();
/gem5/src/systemc/tests/systemc/datatypes/fx/arith_big/
H A Dadd_big.cpp53 out << r.to_string(SC_BIN) << " " << flush; \
54 out << r.to_string(SC_HEX) << " " << flush; \
55 out << m.to_string(SC_BIN) << " " << flush; \
56 out << m.to_string(SC_HEX) << "\n" << flush
/gem5/src/systemc/ext/dt/fx/
H A Dsc_fxdefs.hh76 const std::string to_string(sc_enc);
81 return os << to_string(enc);
102 const std::string to_string(sc_q_mode);
107 return os << to_string(q_mode);
128 const std::string to_string( sc_o_mode );
133 return os << to_string(o_mode);
149 const std::string to_string(sc_switch);
154 return os << to_string(sw);
170 const std::string to_string(sc_fmt);
175 return os << to_string(fm
[all...]

Completed in 24 milliseconds

123456789