Changeset 31 for trunk/modules/vci_mem_cache_v1
- Timestamp:
- Apr 22, 2010, 2:55:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_mem_cache_v1/caba/source/include/mem_cache_directory_v1.h
r2 r31 194 194 } 195 195 if ( hit ) { 196 m_lru_tab[set][way].recent = true;197 196 return DirectoryEntry(m_dir_tab[set][way]); 198 197 } else { … … 255 254 256 255 for(size_t i=0; i<m_ways; i++){ 257 if(!m_dir_tab[set][ way].valid){256 if(!m_dir_tab[set][i].valid){ 258 257 way=i; 259 258 return DirectoryEntry(m_dir_tab[set][way]);
Note: See TracChangeset
for help on using the changeset viewer.