Searched refs:WIDTH (Results 26 - 43 of 43) sorted by relevance

12

/gem5/src/systemc/tests/systemc/datatypes/int/sc_int/bitselect/64bit/unsigned/
H A Dselect.cpp40 #define WIDTH 64 macro
45 sc_uint<WIDTH> Bx,By;
47 for(unsigned int i = 0; i < WIDTH; i++){
51 /* ( By.range(WIDTH-1, i+1), By.range(i,0) ) = Bx;
/gem5/src/systemc/tests/systemc/misc/semantic/2.4/
H A DT_2_4_1_1.cpp42 const int WIDTH = 13; variable
43 typedef sc_lv<WIDTH> my_vector;
66 return a.range(WIDTH - 1, 0) | b;
73 return a & b.range(2*WIDTH - 1, WIDTH);
81 sc_biguint<WIDTH> c, d;
82 sc_biguint<WIDTH*2> e;
/gem5/src/systemc/tests/systemc/misc/semantic/2.3/T_2_3_1_3/
H A DT_2_3_1_3.cpp42 const int WIDTH = 8; variable
43 typedef sc_lv<WIDTH> my_vector;
53 sc_bigint<WIDTH> c, d;
54 sc_bigint<WIDTH*2> e;
/gem5/src/systemc/tests/systemc/misc/semantic/2.3/T_2_3_1_4/
H A DT_2_3_1_4.cpp42 const int WIDTH = 8; variable
43 typedef sc_lv<WIDTH> my_vector;
53 sc_biguint<WIDTH> c, d;
54 sc_biguint<WIDTH*2> e;
/gem5/src/systemc/tests/systemc/misc/semantic/2.3/T_2_3_3_1/
H A DT_2_3_3_1.cpp42 const int WIDTH = 8; variable
43 typedef sc_lv<WIDTH> my_vector;
53 sc_bigint<WIDTH> c, d;
54 sc_bigint<WIDTH*2> e;
/gem5/src/systemc/tests/systemc/misc/semantic/2.3/T_2_3_4_1/
H A DT_2_3_4_1.cpp42 const int WIDTH = 8; variable
43 typedef sc_lv<WIDTH> my_vector;
53 sc_biguint<WIDTH> c, d;
54 sc_biguint<WIDTH*2> e;
/gem5/src/systemc/tests/systemc/misc/semantic/2.3/T_2_3_5_1/
H A DT_2_3_5_1.cpp42 const int WIDTH = 13; variable
43 typedef sc_lv<WIDTH> my_vector;
81 sc_biguint<WIDTH> c, d;
82 sc_biguint<WIDTH*2> e;
/gem5/src/systemc/tests/systemc/misc/synth/add_chain_FUNC/
H A Dadd_chain.h39 #define WIDTH 8 // Width of stimulus vector macro
H A Dreset_stim.cpp86 char buffer[WIDTH+1];
/gem5/src/systemc/tests/systemc/misc/semantic/2.3/T_2_3_1_1/
H A DT_2_3_1_1.cpp42 const int WIDTH = 8; variable
43 typedef sc_bv<WIDTH> my_vector;
/gem5/src/systemc/tests/systemc/misc/semantic/2.3/T_2_3_1_2/
H A DT_2_3_1_2.cpp42 const int WIDTH = 8; variable
43 typedef sc_lv<WIDTH> my_vector;
/gem5/src/systemc/tests/systemc/misc/semantic/2.3/T_2_3_1_5_neg/
H A DT_2_3_1_5_neg.cpp42 const int WIDTH = 8; variable
43 typedef sc_bv<WIDTH> my_vector;
/gem5/src/systemc/tests/systemc/misc/semantic/2.3/T_2_3_2_1/
H A DT_2_3_2_1.cpp42 const int WIDTH = 8; variable
43 typedef sc_lv<WIDTH> my_vector;
/gem5/src/systemc/tests/systemc/misc/semantic/2.3/T_2_3_2_5_neg/
H A DT_2_3_2_5_neg.cpp42 const int WIDTH = 8; variable
43 typedef sc_lv<WIDTH> my_vector;
/gem5/src/systemc/tests/systemc/misc/semantic/2.5/
H A DT_2_5_1_1.cpp42 const int WIDTH = 13; variable
43 typedef sc_bv<WIDTH> my_vector;
81 sc_biguint<WIDTH> c, d;
82 sc_biguint<WIDTH*2> e;
/gem5/src/dev/net/
H A Dsinicreg.hh37 #define __SINIC_VAL32(NAME, OFFSET, WIDTH) \
38 static const uint32_t NAME##_width = WIDTH; \
40 static const uint32_t NAME##_mask = (1 << WIDTH) - 1; \
41 static const uint32_t NAME = ((1 << WIDTH) - 1) << OFFSET; \
47 #define __SINIC_VAL64(NAME, OFFSET, WIDTH) \
48 static const uint64_t NAME##_width = WIDTH; \
50 static const uint64_t NAME##_mask = (ULL(1) << WIDTH) - 1; \
51 static const uint64_t NAME = ((ULL(1) << WIDTH) - 1) << OFFSET; \
/gem5/src/systemc/tests/systemc/datatypes/misc/concat/test02/
H A Dtest02.cpp83 #define LENGTH(LEFT,WIDTH) \
86 if ( width != (WIDTH) ) \
88 << #LEFT << ".concat_length() expected " << (WIDTH) \
92 #define LENGTHS(WIDTH) \
94 LENGTH(left_sc_bigint12,WIDTH) \
95 LENGTH(left_sc_biguint12,WIDTH) \
96 LENGTH(left_sc_int12,WIDTH) \
97 LENGTH(left_sc_uint12,WIDTH) \
/gem5/src/systemc/tests/systemc/misc/synth/add_chain/
H A Dreset_stim.h85 char buffer[WIDTH+1];

Completed in 15 milliseconds

12