/gem5/src/systemc/tests/systemc/datatypes/int/sc_int/partselect/32bit/signed/ |
H A D | select.cpp | 45 sc_int<WIDTH> Bx,By; local 51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx; 52 sc_assert( By == Bx ); 55 Bx = j; 56 By.range(WIDTH-1,i) = Bx.range(WIDTH-1,i); 58 By.range(i-1,0) = Bx.range(i-1,0); 59 sc_assert( Bx == By );
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int/partselect/32bit/unsigned/ |
H A D | select.cpp | 45 sc_uint<WIDTH> Bx,By; local 51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx; 52 sc_assert( By == Bx ); 55 Bx = j; 56 By.range(WIDTH-1,i) = Bx.range(WIDTH-1,i); 58 By.range(i-1,0) = Bx.range(i-1,0); 59 sc_assert( Bx == By );
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int/partselect/64bit/signed/ |
H A D | select.cpp | 45 sc_int<WIDTH> Bx,By; local 51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx; 52 sc_assert( By == Bx ); 55 Bx = j; 56 By.range(WIDTH-1,i) = Bx.range(WIDTH-1,i); 58 By.range(i-1,0) = Bx.range(i-1,0); 59 sc_assert( Bx == By );
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int/partselect/64bit/unsigned/ |
H A D | select.cpp | 45 sc_uint<WIDTH> Bx,By; local 51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx; 52 sc_assert( By == Bx ); 55 Bx = j; 56 By.range(WIDTH-1,i) = Bx.range(WIDTH-1,i); 58 By.range(i-1,0) = Bx.range(i-1,0); 59 sc_assert( Bx == By );
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int_base/partselect/32bit/signed/ |
H A D | select.cpp | 45 sc_int_base Bx(WIDTH),By(WIDTH); 51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx; 52 sc_assert( By == Bx ); 55 Bx = j; 56 By.range(WIDTH-1,i) = Bx.range(WIDTH-1,i); 58 By.range(i-1,0) = Bx.range(i-1,0); 59 sc_assert( Bx == By );
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int_base/partselect/32bit/unsigned/ |
H A D | select.cpp | 45 sc_uint_base Bx(WIDTH), By(WIDTH); 51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx; 52 sc_assert( By == Bx ); 55 Bx = j; 56 By.range(WIDTH-1,i) = Bx.range(WIDTH-1,i); 58 By.range(i-1,0) = Bx.range(i-1,0); 59 sc_assert( Bx == By );
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int_base/partselect/64bit/signed/ |
H A D | select.cpp | 45 sc_int_base Bx(WIDTH),By(WIDTH); 51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx; 52 sc_assert( By == Bx ); 55 Bx = j; 56 By.range(WIDTH-1,i) = Bx.range(WIDTH-1,i); 58 By.range(i-1,0) = Bx.range(i-1,0); 59 sc_assert( Bx == By );
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int_base/partselect/64bit/unsigned/ |
H A D | select.cpp | 45 sc_uint_base Bx(WIDTH),By(WIDTH); 51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx; 52 sc_assert( By == Bx ); 55 Bx = j; 56 By.range(WIDTH-1,i) = Bx.range(WIDTH-1,i); 58 By.range(i-1,0) = Bx.range(i-1,0); 59 sc_assert( Bx == By );
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int/bitselect/32bit/signed/ |
H A D | select.cpp | 45 sc_int<WIDTH> Bx, By; local 51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx; 52 sc_assert( By == Bx ); 55 Bx = j; 56 sc_assert( (bool) Bx[i] == (j & (1<<i)? 1 : 0) ); 57 By[i] = Bx[i];
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int/bitselect/32bit/unsigned/ |
H A D | select.cpp | 45 sc_uint<WIDTH> Bx, By; local 51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx; 52 sc_assert( By == Bx ); 55 Bx = j; 56 sc_assert( (bool) Bx[i] == (j & (1<<i)? 1 : 0) ); 57 By[i] = Bx[i];
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int/bitselect/64bit/signed/ |
H A D | select.cpp | 45 sc_int<WIDTH> Bx,By; local 51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx; 52 sc_assert( By == Bx ); 55 Bx = j; 56 sc_assert( (bool) Bx[i] == (j & (uint64(1)<<i)? 1 : 0) ); 57 By[i] = Bx[i];
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int/bitselect/64bit/unsigned/ |
H A D | select.cpp | 45 sc_uint<WIDTH> Bx,By; local 51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx; 52 sc_assert( By == Bx ); 55 Bx = j; 56 sc_assert( (bool) Bx[i] == (j & (uint64(1)<<i)? 1 : 0) ); 57 By[i] = Bx[i];
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int_base/bitselect/32bit/signed/ |
H A D | select.cpp | 45 sc_int_base Bx(WIDTH), By(WIDTH); 51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx; 52 sc_assert( By == Bx ); 55 Bx = j; 56 sc_assert( (bool) Bx[i] == (j & (1<<i)? 1 : 0) ); 57 By[i] = Bx[i];
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int_base/bitselect/32bit/unsigned/ |
H A D | select.cpp | 45 sc_uint_base Bx(WIDTH), By(WIDTH); 51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx; 52 sc_assert( By == Bx ); 55 Bx = j; 56 sc_assert( (bool) Bx[i] == (j & (1<<i)? 1 : 0) ); 57 By[i] = Bx[i];
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int_base/bitselect/64bit/signed/ |
H A D | select.cpp | 45 sc_int_base Bx(WIDTH),By(WIDTH); 51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx; 52 sc_assert( By == Bx ); 55 Bx = j; 56 sc_assert( (bool) Bx[i] == (j & (uint64(1)<<i)? 1 : 0) ); 57 By[i] = Bx[i];
|
/gem5/src/systemc/tests/systemc/datatypes/int/sc_int_base/bitselect/64bit/unsigned/ |
H A D | select.cpp | 45 sc_uint_base Bx(WIDTH),By(WIDTH); 51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx; 52 sc_assert( By == Bx ); 55 Bx = j; 56 sc_assert( (bool) Bx[i] == (j & (uint64(1)<<i)? 1 : 0) ); 57 By[i] = Bx[i];
|