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

/gem5/ext/dsent/model/electrical/
H A DBarrelShifter.cc72 unsigned int shift_index_max = getParameter("ShiftIndexMax"); local
82 ASSERT(shift_index_max >= shift_index_min && shift_index_max <= number_shift_bits,
95 for (unsigned int i = shift_index_min; i <= shift_index_max; ++i)
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)
135 const String& n_max = (String) pow(2, shift_index_max+1);
144 for (unsigned int i = shift_index_min; i <= shift_index_max; ++i)
204 unsigned int shift_index_max = getParameter("ShiftIndexMax"); local
212 for (unsigned int i = shift_index_min; i <= shift_index_max;
[all...]
/gem5/ext/dsent/model/optical/
H A DOpticalLinkBackendRx.cc140 unsigned int shift_index_max = std::max(shift_index_min, (unsigned int) ceil(log2(out_bits)) - 1); local
145 getGenProperties()->set("ShiftIndexMax", shift_index_max);
150 barrel_shift->setParameter("ShiftIndexMax", shift_index_max);
215 unsigned int shift_index_max = getGenProperties()->get("ShiftIndexMax"); local
241 for (unsigned int i = shift_index_min; i <= shift_index_max; ++i)
H A DOpticalLinkBackendTx.cc127 unsigned int shift_index_max = std::max(shift_index_min, (unsigned int) ceil(log2(in_bits)) - 1); local
132 getGenProperties()->set("ShiftIndexMax", shift_index_max);
137 barrel_shift->setParameter("ShiftIndexMax", shift_index_max);
208 unsigned int shift_index_max = getGenProperties()->get("ShiftIndexMax").toUInt(); local
215 for (unsigned int i = shift_index_min; i <= shift_index_max; ++i)

Completed in 9 milliseconds