Lines Matching defs:object
177 const sc_dt::uint64& object;
187 : wif_trace(name_, wif_name_), object(object_), old_value(object_),
199 return object != old_value;
209 if ((object & mask) != object)
222 buf[bitindex] = (object & bit_mask)? '1' : '0';
228 old_value = object;
243 const sc_dt::int64& object;
253 : wif_trace(name_, wif_name_), object(object_), old_value(object_),
265 return object != old_value;
275 if ((object & mask) != (sc_dt::uint64)object)
288 buf[bitindex] = (object & bit_mask)? '1' : '0';
294 old_value = object;
312 const bool& object;
319 : wif_trace( name_, wif_name_ ), object( object_ ), old_value( object_ )
328 return object != old_value;
334 if( object == true ) {
339 old_value = object;
353 const sc_dt::sc_bit& object;
360 : wif_trace(name_, wif_name_), object(object_), old_value(object_)
368 return object != old_value;
373 if (object == true) {
378 old_value = object;
392 const sc_dt::sc_logic& object;
400 : wif_trace(name_, wif_name_), object(object_), old_value(object_)
409 return object != old_value;
417 wif_char = map_sc_logic_state_to_wif_state(object.to_char());
420 old_value = object;
436 const sc_dt::sc_unsigned& object;
444 : wif_trace(name_, wif_name_), object(object_), old_value(object_.length())
446 old_value = object;
452 return object != old_value;
460 if ( buf.size() < (size_t)object.length() ) {
461 size_t sz = ( (size_t)object.length() + 4096 ) & (~(size_t)(4096-1));
466 for(int bitindex = object.length() - 1; bitindex >= 0; --bitindex) {
467 *buf_ptr++ = "01"[object[bitindex].to_bool()];
471 old_value = object;
476 bit_width = object.length();
492 const sc_dt::sc_signed& object;
500 : wif_trace(name_, wif_name_), object(object_), old_value(object_.length())
502 old_value = object;
508 return object != old_value;
516 if ( buf.size() < (size_t)object.length() ) {
517 size_t sz = ( (size_t)object.length() + 4096 ) & (~(size_t)(4096-1));
522 for(int bitindex = object.length() - 1; bitindex >= 0; --bitindex) {
523 *buf_ptr++ = "01"[object[bitindex].to_bool()];
528 old_value = object;
533 bit_width = object.length();
548 const sc_dt::sc_uint_base& object;
557 : wif_trace(name_, wif_name_), object(object_), old_value(object_.length())
559 old_value = object;
565 return object != old_value;
573 for(bitindex = object.length() - 1; bitindex >= 0; --bitindex) {
574 *buf_ptr++ = "01"[object[bitindex].to_bool()];
578 old_value = object;
583 bit_width = object.length();
599 const sc_dt::sc_int_base& object;
607 : wif_trace(name_, wif_name_), object(object_), old_value(object_.length())
609 old_value = object;
615 return object != old_value;
623 for(bitindex = object.length() - 1; bitindex >= 0; --bitindex) {
624 *buf_ptr++ = "01"[object[bitindex].to_bool()];
629 old_value = object;
634 bit_width = object.length();
652 const sc_dt::sc_fxval& object;
660 : wif_trace( name_, wif_name_ ), object( object_ ), old_value( object_ )
669 return object != old_value;
675 std::fprintf( f, "assign %s %f ; \n", wif_name.c_str(), object.to_double() );
676 old_value = object;
693 const sc_dt::sc_fxval_fast& object;
702 : wif_trace(name_, wif_name_), object( object_ ), old_value( object_ )
711 return object != old_value;
717 std::fprintf( f, "assign %s %f ; \n", wif_name.c_str(), object.to_double() );
718 old_value = object;
736 const sc_dt::sc_fxnum& object;
745 object( object_ ),
751 old_value = object;
758 return object != old_value;
767 if ( buf.size() < (size_t)object.wl() ) {
768 size_t sz = ( (size_t)object.wl() + 4096 ) & (~(size_t)(4096-1));
773 for(int bitindex = object.wl() - 1; bitindex >= 0; --bitindex)
775 *buf_ptr ++ = "01"[object[bitindex]];
780 old_value = object;
786 bit_width = object.wl();
804 const sc_dt::sc_fxnum_fast& object;
814 object( object_ ),
820 old_value = object;
827 return object != old_value;
836 if ( buf.size() < (size_t)object.wl() ) {
837 size_t sz = ( (size_t)object.wl() + 4096 ) & (~(size_t)(4096-1));
842 for(int bitindex = object.wl() - 1; bitindex >= 0; --bitindex)
844 *buf_ptr ++ = "01"[object[bitindex]];
849 old_value = object;
855 bit_width = object.wl();
870 const unsigned& object;
880 : wif_trace(name_, wif_name_), object(object_), old_value(object_),
894 return object != old_value;
904 if ((object & mask) != object) {
912 buf[bitindex] = (object & bit_mask)? '1' : '0';
918 old_value = object;
934 const unsigned short& object;
945 : wif_trace(name_, wif_name_), object(object_), old_value(object_), mask(0xffff)
958 return object != old_value;
968 if ((object & mask) != object) {
976 buf[bitindex] = (object & bit_mask)? '1' : '0';
982 old_value = object;
997 const unsigned char& object;
1007 : wif_trace(name_, wif_name_), object(object_), old_value(object_), mask(0xff)
1020 return object != old_value;
1030 if ((object & mask) != object) {
1038 buf[bitindex] = (object & bit_mask)? '1' : '0';
1044 old_value = object;
1059 const unsigned long& object;
1069 : wif_trace(name_, wif_name_), object(object_), old_value(object_),
1083 return object != old_value;
1093 if ((object & mask) != object) {
1101 buf[bitindex] = (object & bit_mask)? '1' : '0';
1107 old_value = object;
1122 const int& object;
1132 : wif_trace(name_, wif_name_), object(object_), old_value(object_),
1146 return object != old_value;
1156 if (((unsigned) object & mask) != (unsigned) object) {
1164 buf[bitindex] = (object & bit_mask)? '1' : '0';
1170 old_value = object;
1185 const short& object;
1195 : wif_trace(name_, wif_name_), object(object_), old_value(object_), mask(0xffff)
1208 return object != old_value;
1218 if (((unsigned short) object & mask) != (unsigned short) object) {
1226 buf[bitindex] = (object & bit_mask)? '1' : '0';
1232 old_value = object;
1247 const char& object;
1257 : wif_trace(name_, wif_name_), object(object_), old_value(object_), mask(0xff)
1270 return object != old_value;
1280 if (((unsigned char) object & mask) != (unsigned char) object) {
1288 buf[bitindex] = (object & bit_mask)? '1' : '0';
1294 old_value = object;
1309 const long& object;
1319 : wif_trace(name_, wif_name_), object(object_), old_value(object_),
1333 return object != old_value;
1343 if (((unsigned long) object & mask) != (unsigned long) object) {
1350 buf[bitindex] = (object & bit_mask)? '1' : '0';
1356 old_value = object;
1371 const float& object;
1378 : wif_trace(name_, wif_name_), object(object_), old_value(object_)
1386 return object != old_value;
1391 std::fprintf(f,"assign %s %f ; \n", wif_name.c_str(), object);
1392 old_value = object;
1406 const double& object;
1413 : wif_trace(name_, wif_name_), object(object_), old_value(object_)
1421 return object != old_value;
1426 std::fprintf(f,"assign %s %f ; \n", wif_name.c_str(), object);
1427 old_value = object;
1445 const unsigned& object;
1460 : wif_trace(name_, wif_name_), object(object_), old_value(object_),
1486 return object != old_value;
1494 if (object >= nliterals) { // Note unsigned value is always greater than 0
1504 lit = literals[object];
1507 old_value = object;
1527 object( object_ ),
1536 object.to_string().c_str() );
1537 old_value = object;
1541 { return !(object == old_value); }
1544 { bit_width = object.length(); }
1548 const T& object;