Changeset 72 for trunk/IPs/systemC/processor/Morpheo/Common
- Timestamp:
- Jan 29, 2008, 1:34:47 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Common/include/BitManipulation.h
r71 r72 189 189 T range (T data, uint32_t index_max, uint32_t index_min) 190 190 { 191 return gen_mask<T>(index_max-index_min+1) & (data <<index_min);191 return (mask<T>(data,index_max,index_min) >> index_min); 192 192 } 193 193
Note: See TracChangeset
for help on using the changeset viewer.