Searched refs:tmp1 (Results 1 - 25 of 53) sorted by relevance

123

/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/addition/increment/
H A Dincrement.cpp44 int tmp1; local
62 tmp1 = in_value1.read();
66 tmp1 = tmp1 + 1;
67 tmp1 = tmp1 + ONE;
68 tmp1 = tmp1 + eins;
75 out_value1.write(tmp1);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/subtract/decrement/
H A Dstimulus.cpp47 int tmp1; local
50 tmp1 = 0;
56 out_value1.write(tmp1);
58 cout << "Stimuli: " << tmp1 << " " << tmp2 << endl;
59 tmp1 = tmp1 + 1;
H A Ddecrement.cpp45 int tmp1; local
64 tmp1 = in_value1.read();
68 tmp1 = tmp1 - 1;
69 tmp1 = tmp1 - ONE;
70 tmp1 = tmp1 - eins;
71 tmp1--;
80 out_value1.write(tmp1);
[all...]
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/subtract/bitwidth/
H A Dstimulus.cpp47 sc_signed tmp1(2);
52 tmp1 = "0b00";
59 out_value1.write(tmp1);
63 cout << "Stimuli: "<< tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << endl;
64 tmp1 = tmp1 + 1;
H A Dbitwidth.cpp43 sc_biguint<2> tmp1; local
64 tmp1 = in_value1.read();
71 tmp1a = tmp1 - tmp1;
73 tmp2a = tmp2 - tmp1;
75 tmp3a = tmp3 - tmp1;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/divide/datatypes/
H A Dstimulus.cpp47 sc_unsigned tmp1(2);
56 tmp1 = "01";
66 out_value1.write(tmp1);
70 cout << "Stimuli: "<< tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << endl;
72 tmp1 = tmp1 + 1;
73 if (tmp1 == zero_2) tmp1 = "01";
H A Ddatatypes.cpp43 sc_biguint<2> tmp1; local
66 tmp1 = in_value1.read();
76 tmp1r = tmp4 / tmp1;
78 tmp2r = tmp1 / tmp4;
80 tmp3r = tmp3 / tmp1;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/addition/datatypes/
H A Dstimulus.cpp46 sc_signed tmp1(8);
54 tmp1 = "00000000";
64 out_value1.write(tmp1);
70 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " " << tmp5 << " " << endl;
71 tmp1 = tmp1 + 1;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/subtract/datatypes/
H A Dstimulus.cpp47 sc_signed tmp1(8);
54 tmp1 = "00000000";
64 out_value1.write(tmp1);
70 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " " << tmp5 << endl;
71 tmp1 = tmp1 + 1;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/subtract/sharing/
H A Dstimulus.cpp47 sc_signed tmp1(4);
53 tmp1 = "0b0000";
61 out_value1.write(tmp1);
66 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " " << tmp5 << endl;
67 tmp1 = tmp1 + 1;
H A Dsharing.cpp43 sc_bigint<4> tmp1; local
65 tmp1 = in_value1.read();
74 tmp1 = tmp1 - 4;
81 out_value1.write(tmp1);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/or/datatypes/
H A Dstimulus.cpp47 sc_signed tmp1(8);
55 tmp1 = "0b01010101";
65 out_value1.write(tmp1);
72 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " "
74 tmp1 = tmp1 + 2;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/shl/datatypes/
H A Dstimulus.cpp47 sc_signed tmp1(8);
56 tmp1 = "0b11011011";
65 out_value1.write(tmp1);
71 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " " << tmp5 << " " << endl;
72 tmp1 = tmp1 + 1;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/shl/sharing/
H A Dstimulus.cpp47 sc_signed tmp1(8);
56 tmp1 = "0b11011011";
65 out_value1.write(tmp1);
71 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " " << tmp5 << " " << endl;
72 tmp1 = tmp1 + 1;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/shr/sharing/
H A Dstimulus.cpp47 sc_signed tmp1(8);
56 tmp1 = "0b11011011";
65 out_value1.write(tmp1);
71 cout << "Stimuli: " << tmp1 << " " << tmp2 << " " << tmp3 << " " << tmp4 << " " << tmp5 << " " << endl;
72 tmp1 = tmp1 + 1;
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/divide/divide/
H A Ddivide.cpp43 int tmp1; local
64 tmp1 = in_value1.read();
71 tmp1 = tmp1/2;
79 out_value1.write(tmp1);
89 tmp1 /= 3;
97 out_value1.write(tmp1);
107 tmp1 = (tmp2/tmp3).to_int();
117 out_value1.write(tmp1);
/gem5/src/systemc/tests/systemc/misc/stars/star110069/
H A Dstar110069.cpp44 unsigned int tmp1; local
62 tmp1 = in_value1.read().to_uint();
67 tmp2 = memory[tmp1];
70 out_value1.write( sc_bv<8>( tmp1 ) );
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/addition/sharing/
H A Dsharing.cpp42 sc_bigint<4> tmp1; local
63 tmp1 = in_value1.read();
70 tmp1 = tmp1 + 10;
78 out_value1.write(tmp1);
88 tmp1 = tmp1 + 1;
96 out_value1.write(tmp1);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/addition/addition/
H A Daddition.cpp42 int tmp1; local
63 tmp1 = in_value1.read();
70 tmp1 = tmp1 + 1;
78 out_value1.write(tmp1);
88 out_value1.write(tmp1++);
98 out_value1.write(++tmp1);
108 tmp1 = tmp1 + 254;
116 out_value1.write(tmp1);
[all...]
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/subtract/subtract/
H A Dsubtract.cpp43 int tmp1; local
64 tmp1 = in_value1.read();
71 tmp1 = tmp1 - 1;
79 out_value1.write(tmp1);
89 out_value1.write(tmp1--);
99 out_value1.write(--tmp1);
109 tmp1 = tmp1 - 254;
117 out_value1.write(tmp1);
[all...]
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/if_test/conditions/
H A Dconditions.cpp43 sc_biguint<4> tmp1; local
69 tmp1 = in_value1.read();
75 if ((tmp1==4) && (tmp2<6) || (tmp5+tmp4.to_int()==6)) {
78 out_value1.write(tmp1);
87 out_value2.write(tmp1);
92 tmp1 = in_value1.read();
99 cond_tmp = (tmp1==4) && (tmp2<6) || (tmp5+tmp4.to_int()==6);
103 out_value3.write(tmp1);
110 out_value4.write((tmp3.to_int()==4) && (tmp1<6) ||
111 (tmp5+tmp2.to_int()==6)?tmp2a:tmp1);
[all...]
/gem5/src/systemc/tests/systemc/misc/cae_test/general/arith/addition/bitwidth/
H A Dbitwidth.cpp42 sc_bigint<4> tmp1; local
64 tmp1 = in_value1.read();
73 tmp1 = tmp1 + tmp2;
75 tmp3 = tmp1 + tmp3;
77 tmp6 = tmp2 + tmp1;
85 out_value1.write(tmp1);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/and/and_1/
H A Dand_1.cpp43 signed int tmp1; local
65 tmp1 = in_value1.read();
73 tmp1 = tmp1 & 0x0f & 0x12;
81 out_value1.write(tmp1);
93 tmp1 &= 0x03;
101 out_value1.write(tmp1);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/not/not_1/
H A Dnot_1.cpp43 signed int tmp1; local
65 tmp1 = in_value1.read();
73 tmp1 = ~ tmp1 ;
81 out_value1.write(tmp1);
93 tmp1 = ~(0x03);
101 out_value1.write(tmp1);
/gem5/src/systemc/tests/systemc/misc/cae_test/general/bitwise/or/or_1/
H A Dor_1.cpp43 signed int tmp1; local
65 tmp1 = in_value1.read();
73 tmp1 = tmp1 | 0x0f | 0x12;
81 out_value1.write(tmp1);
93 tmp1 |= 0x03;
101 out_value1.write(tmp1);

Completed in 24 milliseconds

123