Searched refs:tmp2 (Results 1 - 25 of 55) sorted by relevance

123

/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/addition/increment/
H A Dincrement.cpp45 sc_bigint<5> tmp2; local
63 tmp2 = in_value2.read();
69 tmp2 = tmp2 + 1;
70 tmp2 = tmp2 + ONE;
71 tmp2 = tmp2 + eins;
76 out_value2.write(tmp2);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/subtract/decrement/
H A Dstimulus.cpp48 sc_signed tmp2(4);
51 tmp2 = "0001";
57 out_value2.write(tmp2);
58 cout << "Stimuli: " << tmp1 << " " << tmp2 << endl;
60 tmp2 = tmp2 + 1;
H A Ddecrement.cpp46 sc_bigint<4> tmp2; local
65 tmp2 = in_value2.read();
72 tmp2 = tmp2 - 1;
73 tmp2 = tmp2 - ONE;
74 tmp2 = tmp2 - eins;
75 tmp2--;
81 out_value2.write(tmp2);
[all...]
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/subtract/bitwidth/
H A Dstimulus.cpp48 sc_signed tmp2(4);
53 tmp2 = "0b0001";
60 out_value2.write(tmp2);
63 cout << "Stimuli: "<< tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << endl;
65 tmp2 = tmp2 + 1;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/divide/datatypes/
H A Dstimulus.cpp48 sc_signed tmp2(2);
57 tmp2 = "10";
67 out_value2.write(tmp2);
70 cout << "Stimuli: "<< tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << endl;
74 tmp2 = tmp2 + 1;
75 if (tmp2 == zero_2) tmp2 = "01";
/gem5/src/systemc/tests/systemc/misc/stars/star110069/
H A Dstar110069.cpp45 unsigned int tmp2; local
63 tmp2 = in_value2.read().to_uint();
67 tmp2 = memory[tmp1];
68 cout << "memory content " << tmp2 << endl;
71 out_value2.write( sc_bv<8>( tmp2 ) );
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/addition/datatypes/
H A Dstimulus.cpp47 sc_signed tmp2(8);
55 tmp2 = "00000001";
65 out_value2.write(tmp2);
70 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " " << tmp5 << " " << endl;
72 tmp2 = tmp2 + 2;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/subtract/datatypes/
H A Dstimulus.cpp48 sc_signed tmp2(8);
55 tmp2 = "00000001";
65 out_value2.write(tmp2);
70 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " " << tmp5 << endl;
72 tmp2 = tmp2 + 2;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/subtract/sharing/
H A Dstimulus.cpp48 sc_signed tmp2(5);
54 tmp2 = "0b00001";
62 out_value2.write(tmp2);
66 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " " << tmp5 << endl;
68 tmp2 = tmp2 + 1;
H A Dsharing.cpp44 sc_biguint<5> tmp2; local
66 tmp2 = in_value2.read();
75 tmp2 = tmp2 - 4;
82 out_value2.write(tmp2);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/or/datatypes/
H A Dstimulus.cpp48 sc_signed tmp2(8);
56 tmp2 = "0b00000010";
66 out_value2.write(tmp2);
72 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " "
75 tmp2 = tmp2 + 1;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/shl/datatypes/
H A Dstimulus.cpp48 sc_signed tmp2(8);
57 tmp2 = "0b00000001";
66 out_value2.write(tmp2);
71 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " " << tmp5 << " " << endl;
73 tmp2 = tmp2 + 1;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/shl/sharing/
H A Dstimulus.cpp48 sc_signed tmp2(8);
57 tmp2 = "0b00000001";
66 out_value2.write(tmp2);
71 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " " << tmp5 << " " << endl;
73 tmp2 = tmp2 + 1;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/shr/sharing/
H A Dstimulus.cpp48 sc_signed tmp2(8);
57 tmp2 = "0b00000001";
66 out_value2.write(tmp2);
71 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " " << tmp5 << " " << endl;
73 tmp2 = tmp2 + 1;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/addition/addition/
H A Daddition.cpp43 sc_bigint<4> tmp2; local
64 tmp2 = in_value2.read();
71 tmp2 = tmp2 + 1;
79 out_value2.write(tmp2);
89 out_value2.write(tmp2++);
99 out_value2.write(++tmp2);
109 tmp2 = tmp2 + 254;
117 out_value2.write(tmp2);
[all...]
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/divide/divide/
H A Ddivide.cpp44 sc_bigint<4> tmp2; local
65 tmp2 = in_value2.read();
72 tmp2 = tmp2/2;
80 out_value2.write(tmp2);
90 tmp2 /= 3;
107 tmp1 = (tmp2/tmp3).to_int();
109 tmp2 = tmp2/tmp4;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/subtract/subtract/
H A Dsubtract.cpp44 sc_bigint<4> tmp2; local
65 tmp2 = in_value2.read();
72 tmp2 = tmp2 - 1;
80 out_value2.write(tmp2);
90 out_value2.write(tmp2--);
100 out_value2.write(--tmp2);
110 tmp2 = tmp2 - 14;
118 out_value2.write(tmp2);
[all...]
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/case/balancing/
H A Dbalancing.cpp45 sc_bigint<4> tmp2; local
101 tmp2 = in_value2.read();
102 tmp1 = tmp2;
112 out_tmp2 = tmp2*tmp2*tmp2;
145 out_tmp2 = tmp2*tmp2*tmp2;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/modulo/
H A Dmodulo.cpp44 sc_bigint<4> tmp2; local
65 tmp2 = in_value2.read();
72 tmp2 = tmp2%5;
80 out_value2.write(tmp2);
90 tmp2 %= 3;
98 out_value2.write(tmp2);
108 tmp1 = (tmp2%tmp3).to_int();
110 tmp2 = tmp2
[all...]
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/mult/
H A Dmult.cpp44 sc_bigint<4> tmp2; local
65 tmp2 = in_value2.read();
72 tmp2 = tmp2 * 2;
80 out_value2.write(tmp2);
90 tmp2 *= 2;
98 out_value2.write(tmp2);
107 tmp1 = (tmp2*tmp3).to_int();
108 tmp2 = tmp2*tmp
[all...]
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/addition/sharing/
H A Dsharing.cpp43 sc_biguint<5> tmp2; local
64 tmp2 = in_value2.read();
71 tmp2 = tmp2 + 10;
79 out_value2.write(tmp2);
89 tmp2 = tmp2 + 10;
97 out_value2.write(tmp2);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/if_test/balancing/
H A Dbalancing.cpp44 sc_biguint<4> tmp2; local
95 tmp2 = in_value2.read();
98 if (tmp2<4) {
100 out_tmp2 = tmp2*tmp2*tmp2;
102 } else if (tmp2<8) {
106 } else if (tmp2<12) {
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/if_test/fsm/
H A Dfsm.cpp44 sc_biguint<4> tmp2; local
96 tmp2 = in_value2.read();
99 if (tmp2<4) {
101 out_tmp2 = tmp2*tmp2*tmp2;
103 } else if (tmp2<8) {
107 } else if (tmp2<12) {
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/and/and_1/
H A Dand_1.cpp44 unsigned int tmp2; local
66 tmp2 = in_value2.read();
74 tmp2 = tmp2 & 0x0f & 0x13 ;
82 out_value2.write(tmp2);
94 tmp2 &= 0x03;
102 out_value2.write(tmp2);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/not/not_1/
H A Dnot_1.cpp44 unsigned int tmp2; local
66 tmp2 = in_value2.read();
74 tmp2 = ~ tmp2 ;
82 out_value2.write(tmp2);
94 tmp2 = ~(0x03);
102 out_value2.write(tmp2);

Completed in 17 milliseconds

123