Changeset 59 for sources/src/sc_uint.h
- Timestamp:
- Feb 6, 2017, 11:35:42 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/src/sc_uint.h
r52 r59 20 20 #include <sc_bv.h> 21 21 #include <cstdlib> 22 //#include <stdint.h> 22 23 23 24 // ---------------------------------------------------------------------------- … … 75 76 }; 76 77 77 #define DECLAR_UINT_TYPE(W) template<> struct s_uint_type<W> { typedef smallest_uint uint_type; }// not declared as uint 16because << operator threats like a character78 #define DECLAR_UINT_TYPE(W) template<> struct s_uint_type<W> { typedef smallest_uint uint_type; }// not declared as uint8 because << operator threats like a character 78 79 DECLAR_UINT_TYPE(1); 79 80 DECLAR_UINT_TYPE(2); … … 280 281 template <int W2> 281 282 inline sc_uint<W2> operator , (const sc_uint_subref_r & v) const { 282 std::cerr << "Warning : \n"; // ??283 283 return sc_uint<W2> (v.read()); 284 284 }
Note: See TracChangeset
for help on using the changeset viewer.