Changeset 103 for trunk/IPs/systemC/processor/Morpheo/Common/include
- Timestamp:
- Jan 16, 2009, 5:55:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Common/include/ToBase2.h
r88 r103 17 17 std::ostringstream res; 18 18 T mask = 1<<(size-1); 19 20 while (mask != 0)19 20 for (uint32_t i=0; i<size; ++i) 21 21 { 22 22 res << ((value&mask)?'1':'0');
Note: See TracChangeset
for help on using the changeset viewer.