Searched refs:shift_index_min (Results 1 - 3 of 3) sorted by relevance

/gem5/ext/dsent/model/electrical/
H A DBarrelShifter.cc71 unsigned int shift_index_min = getParameter("ShiftIndexMin"); local
79 ASSERT(shift_index_min <= number_shift_bits,
82 ASSERT(shift_index_max >= shift_index_min && shift_index_max <= number_shift_bits,
94 if (shift_index_min != number_shift_bits)
95 for (unsigned int i = shift_index_min; i <= shift_index_max; ++i)
105 if (number_shift_bits == 0 || (shift_index_min == number_shift_bits))
109 for (unsigned int i = shift_index_min; i <= shift_index_max; ++i)
117 for (unsigned int i = shift_index_min; i <= shift_index_max; ++i)
136 const String& n_min = (String) pow(2, shift_index_min);
144 for (unsigned int i = shift_index_min;
203 unsigned int shift_index_min = getParameter("ShiftIndexMin"); local
[all...]
/gem5/ext/dsent/model/optical/
H A DOpticalLinkBackendRx.cc139 unsigned int shift_index_min = (unsigned int)ceil(log2(deserialization_ratio)); local
140 unsigned int shift_index_max = std::max(shift_index_min, (unsigned int) ceil(log2(out_bits)) - 1);
144 getGenProperties()->set("ShiftIndexMin", shift_index_min);
151 barrel_shift->setParameter("ShiftIndexMin", shift_index_min);
214 unsigned int shift_index_min = getGenProperties()->get("ShiftIndexMin"); local
241 for (unsigned int i = shift_index_min; i <= shift_index_max; ++i)
H A DOpticalLinkBackendTx.cc126 unsigned int shift_index_min = (unsigned int)ceil(log2(serialization_ratio)); local
127 unsigned int shift_index_max = std::max(shift_index_min, (unsigned int) ceil(log2(in_bits)) - 1);
131 getGenProperties()->set("ShiftIndexMin", shift_index_min);
138 barrel_shift->setParameter("ShiftIndexMin", shift_index_min);
207 unsigned int shift_index_min = getGenProperties()->get("ShiftIndexMin").toUInt(); local
215 for (unsigned int i = shift_index_min; i <= shift_index_max; ++i)

Completed in 8 milliseconds