Lines Matching refs:src

266     virtual void concat_set(sc_dt::int64 src, int low_i);
267 virtual void concat_set(const sc_dt::sc_signed& src, int low_i);
268 virtual void concat_set(const sc_dt::sc_unsigned& src, int low_i);
269 virtual void concat_set(const sc_dt::sc_lv_base& src, int low_i);
270 virtual void concat_set(sc_dt::uint64 src, int low_i);
384 virtual inline void concat_set(sc_dt::int64 src, int low_i);
385 virtual inline void concat_set(const sc_dt::sc_lv_base& src, int low_i);
386 virtual inline void concat_set(const sc_dt::sc_signed& src, int low_i);
387 virtual inline void concat_set(const sc_dt::sc_unsigned& src, int low_i);
388 virtual inline void concat_set(sc_dt::uint64 src, int low_i);
477 // src = source value.
478 // low_i = bit within src to serve as low order bit of this object
483 sc_dt::int64 src, int low_i)
487 base_write(src >> low_i);
491 base_write( (src < 0 ) ? src >> 63 : 0 );
497 const sc_dt::sc_lv_base& src, int low_i)
499 sc_dt::sc_unsigned tmp(src.length());
500 tmp = src >> low_i;
506 const sc_dt::sc_signed& src, int low_i)
508 base_write( (src >> low_i).to_uint64());
513 const sc_dt::sc_unsigned& src, int low_i)
515 base_write( (src >> low_i).to_uint64());
520 sc_dt::uint64 src, int low_i)
522 base_write( ( low_i < 64 ) ? src >> low_i : 0 );
1302 virtual inline void concat_set(sc_dt::int64 src, int low_i)
1303 { *this = (src >> ((low_i < 64) ? low_i : 63)); }
1305 virtual inline void concat_set(const sc_dt::sc_lv_base& src, int low_i)
1306 { if (low_i < 64) *this = src >> low_i; else *this = 0; }
1308 virtual inline void concat_set(const sc_dt::sc_signed& src, int low_i)
1309 { *this = (src >> low_i); }
1310 virtual inline void concat_set(const sc_dt::sc_unsigned& src, int low_i)
1311 { *this = (src >> low_i); }
1312 virtual inline void concat_set(sc_dt::uint64 src, int low_i)
1313 { *this = (low_i < 64) ? src >> low_i : (sc_dt::uint64)0; }
1630 // src = value to use to set this object instance's value.
1631 // low_i = bit in src that is to be the low order bit of the value to set.
1634 void sc_uint_sigref::concat_set(sc_dt::int64 src, int low_i)
1636 *this = (low_i < 64) ? src >> low_i : src >> 63;
1640 void sc_uint_sigref::concat_set(const sc_dt::sc_signed& src, int low_i)
1642 if ( low_i < src.length() )
1643 *this = src >> low_i;
1645 *this = (src < 0) ? (sc_dt::uint64)-1 : 0;
1649 void sc_uint_sigref::concat_set(const sc_dt::sc_lv_base& src, int low_i)
1651 if ( low_i < src.length() )
1652 *this = (src >> low_i).to_uint64();
1658 void sc_uint_sigref::concat_set(const sc_dt::sc_unsigned& src, int low_i)
1660 if ( low_i < src.length() )
1661 *this = src >> low_i;
1667 void sc_uint_sigref::concat_set(sc_dt::uint64 src, int low_i)
1669 *this = (low_i < 64) ? src >> low_i : 0;