Searched refs:to_int (Results 26 - 50 of 94) sorted by relevance

1234

/gem5/src/systemc/tests/systemc/misc/unit/data/datawidth_bool_to_signed/promote/
H A Ddatawidth.cpp59 tmp_result = tmp_a.to_int() + tmp_b.to_int();
/gem5/src/systemc/tests/systemc/misc/unit/data/datawidth_bool_to_signed/promote_extension/
H A Ddatawidth.cpp59 tmp_result = tmp_a.to_int() + tmp_b.to_int();
/gem5/src/systemc/tests/systemc/misc/unit/data/datawidth_bool_to_signed/promote_lost_carry/
H A Ddatawidth.cpp59 tmp_result = tmp_a.to_int() + tmp_b.to_int();
/gem5/src/systemc/tests/systemc/misc/unit/data/datawidth_bool_to_signed/promote_truncation/
H A Ddatawidth.cpp59 tmp_result = tmp_a.to_int() + tmp_b.to_int();
/gem5/src/systemc/tests/systemc/misc/unit/data/datawidth_bool_to_signed/truncation/
H A Ddatawidth.cpp59 tmp_result = tmp_a.to_int() + tmp_b.to_int();
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt12.1/
H A Dram.cpp50 address = addr.read().to_int();
52 global_mem[address] = datain.read().to_int();
H A Daccessor.cpp74 datai = datain.read().to_int();
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt12.2/
H A Dram.cpp49 address = addr.read().to_int();
52 memory[address] = datain.read().to_int();
H A Daccessor.cpp74 datai = datain.read().to_int();
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/if_test/conditions/
H A Dconditions.cpp75 if ((tmp1==4) && (tmp2<6) || (tmp5+tmp4.to_int()==6)) {
83 if ((in_value1.read().to_uint()==4) && (in_value2.read().to_int()<6) ||
84 (in_value4.read().to_int()+in_value5.read()==6)) {
99 cond_tmp = (tmp1==4) && (tmp2<6) || (tmp5+tmp4.to_int()==6);
110 out_value4.write((tmp3.to_int()==4) && (tmp1<6) ||
111 (tmp5+tmp2.to_int()==6)?tmp2a:tmp1);
116 tmp5 = tmp2.to_int();
117 out_value5.write((in_value3.read().to_int()==4) &&
118 (in_value1.read().to_int()<6) ||
119 (in_value5.read()+in_value2.read().to_int()
[all...]
/gem5/src/systemc/tests/systemc/datatypes/int/misc/test03/
H A Dtest03.cpp12 TEST(BI(3,0).to_int())
17 TEST(I(3,0).to_int())
22 TEST(UI(3,0).to_int())
27 TEST(UBI(3,0).to_int())
/gem5/src/systemc/tests/systemc/misc/synth/bubble/
H A Dstim.h151 cout << "\t\t " << a1.read().to_int() << " \t\t "
152 << d1.read().to_int() << endl;
153 cout << "\t\t " << a2.read().to_int() << " \t\t "
154 << d2.read().to_int() << endl;
155 cout << "\t\t " << a3.read().to_int() << " \t\t "
156 << d3.read().to_int() << endl;
157 cout << "\t\t " << a4.read().to_int() << " \t\t "
158 << d4.read().to_int() << endl;
159 cout << "\t\t " << a5.read().to_int() << " \t\t "
160 << d5.read().to_int() << end
[all...]
H A Dbubble.h164 if (B[i].to_int() > B[i+1].to_int()) { // if #1
171 minel = C[i].to_int(); // MOVE
180 if (B[x].to_int() > B[x-1].to_int()) {
/gem5/src/systemc/tests/systemc/misc/unit/aproc_halt/disaproc2/
H A Ddisaproc2.cpp76 c = a.read().to_int() + b.read().to_int();
79 c = a.read().to_int() - b.read().to_int();
114 d = a.read().to_int() * b.read().to_int();
117 if (b.read().to_int() == 0) {
118 d = a.read().to_int() / (b.read().to_int() + 1);
121 d = a.read().to_int() /
[all...]
/gem5/src/systemc/tests/systemc/misc/stars/star113623/
H A Dtest.cpp78 cout << c.read().to_int() << endl;
80 cout << c.read().to_int() << endl;
85 cout << c.read().to_int() << endl;
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt11.1/
H A Dmean.cpp64 i = a.read().to_int();
65 j = b.read().to_int();
66 k = c.read().to_int();
67 l = d.read().to_int();
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt11.2/
H A Dmean.cpp64 i = in.read().to_int();
66 j = in.read().to_int();
68 k = in.read().to_int();
70 l = in.read().to_int();
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt11.3/
H A Dmean.cpp65 i = in.read().to_int();
67 j = in.read().to_int();
69 k = in.read().to_int();
71 l = in.read().to_int();
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt11.4/
H A Dmean.cpp66 i = in.read().to_int();
68 j = in.read().to_int();
70 k = in.read().to_int();
72 l = in.read().to_int();
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt11.5/
H A Dmean.cpp67 i = in.read().to_int();
69 j = in.read().to_int();
71 k = in.read().to_int();
73 l = in.read().to_int();
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt11.6/
H A Dmean.cpp66 i = in.read().to_int();
68 j = in.read().to_int();
70 k = in.read().to_int();
72 l = in.read().to_int();
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt11.7/
H A Dmean.cpp67 i = in.read().to_int();
73 j = in.read().to_int();
79 k = in.read().to_int();
85 l = in.read().to_int();
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/case/inlining/
H A Dinlining.cpp92 tmp1 = in_value1.read().to_int();
93 tmp2 = in_value2.read().to_int();
/gem5/src/systemc/tests/systemc/misc/stars/star102573/
H A Dstar102573.cpp68 inp_tmp = tmp2.to_int() + i ;
70 inp_tmp = inp_tmp - tmp2.to_int() ;
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int/mixed/
H A Dtest_int.cpp119 cout << "sc8 = " << sc8.to_int() << endl;
120 cout << "sc4 = " << sc4.to_int() << endl;
165 bva = b & lva.to_int();
189 su8 = bva.to_int() | ss8;

Completed in 19 milliseconds

1234