Lines Matching defs:low_i

104 void sc_uint_bitref::concat_set(int64 src, int low_i)
107 *this = aa = (low_i < 64) ? src >> low_i : src >> 63;
110 void sc_uint_bitref::concat_set(const sc_signed& src, int low_i)
113 if ( low_i < src.length() )
114 *this = aa = 1 & (src >> low_i);
119 void sc_uint_bitref::concat_set(const sc_unsigned& src, int low_i)
122 if ( low_i < src.length() )
123 *this = aa = 1 & (src >> low_i);
128 void sc_uint_bitref::concat_set(uint64 src, int low_i)
131 *this = aa = (low_i < 64) ? src >> low_i : 0;
152 bool sc_uint_subref_r::concat_get_ctrl( sc_digit* dst_p, int low_i ) const
159 dst_i = low_i / BITS_PER_DIGIT;
160 left_shift = low_i % BITS_PER_DIGIT;
161 end_i = (low_i + (m_left-m_right)) / BITS_PER_DIGIT;
172 bool sc_uint_subref_r::concat_get_data( sc_digit* dst_p, int low_i ) const
182 dst_i = low_i / BITS_PER_DIGIT;
183 left_shift = low_i % BITS_PER_DIGIT;
184 high_i = low_i + (m_left-m_right);
285 void sc_uint_subref::concat_set(int64 src, int low_i)
288 *this = aa = (low_i < 64) ? src >> low_i : src >> 63;
291 void sc_uint_subref::concat_set(const sc_signed& src, int low_i)
294 if ( low_i < src.length() )
295 *this = aa = src >> low_i;
300 void sc_uint_subref::concat_set(const sc_unsigned& src, int low_i)
303 if ( low_i < src.length() )
304 *this = aa = src >> low_i;
309 void sc_uint_subref::concat_set(uint64 src, int low_i)
312 *this = aa = (low_i < 64) ? src >> low_i : 0;
583 bool sc_uint_base::concat_get_ctrl( sc_digit* dst_p, int low_i ) const
590 dst_i = low_i / BITS_PER_DIGIT;
591 left_shift = low_i % BITS_PER_DIGIT;
592 end_i = (low_i + (m_len-1)) / BITS_PER_DIGIT;
608 // array of sc_unsigned digits starting with the bit specified by low_i within
617 // low_i = first bit within dst_p to be set.
619 bool sc_uint_base::concat_get_data( sc_digit* dst_p, int low_i ) const
629 dst_i = low_i / BITS_PER_DIGIT;
630 left_shift = low_i % BITS_PER_DIGIT;
631 high_i = low_i + (m_len-1);
687 void sc_uint_base::concat_set(int64 src, int low_i)
689 *this = (low_i < 64) ? src >> low_i : src >> 63;
692 void sc_uint_base::concat_set(const sc_signed& src, int low_i)
694 if ( low_i < src.length() )
695 *this = src >> low_i;
700 void sc_uint_base::concat_set(const sc_unsigned& src, int low_i)
702 if ( low_i < src.length() )
703 *this = src >> low_i;
708 void sc_uint_base::concat_set(uint64 src, int low_i)
710 *this = (low_i < 64) ? src >> low_i : 0;