Changeset 128 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/include
- Timestamp:
- Jun 26, 2009, 10:43:23 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Types.h
r81 r128 47 47 public : entry_t () 48 48 { 49 _entry = NULL; 49 50 }; 50 51 public : entry_t (uint32_t size) : _size (size) … … 53 54 54 55 // initialisation 55 for (uint32_t i=0; i<size; i++) 56 _entry [i] = false; 56 reset (); 57 57 } 58 58 59 59 public : ~entry_t () 60 60 { 61 delete _entry; 61 if (_entry != NULL) 62 delete [] _entry; 63 } 64 65 public : void reset () 66 { 67 // initialisation 68 for (uint32_t i=0; i<_size; i++) 69 _entry [i] = false; 62 70 } 63 71
Note: See TracChangeset
for help on using the changeset viewer.