Changeset 31 for trunk/modules
- Timestamp:
- Apr 22, 2010, 2:55:29 PM (15 years ago)
- Location:
- trunk/modules
- Files:
-
- 4 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]); -
trunk/modules/vci_mem_cache_v2/caba/source/include/mem_cache_directory_v2.h
r2 r31 255 255 256 256 for(size_t i=0; i<m_ways; i++){ 257 if(!m_dir_tab[set][ way].valid){257 if(!m_dir_tab[set][i].valid){ 258 258 way=i; 259 259 return DirectoryEntry(m_dir_tab[set][way]); -
trunk/modules/vci_mem_cache_v3/caba/source/include/mem_cache_directory_v3.h
r2 r31 294 294 295 295 for(size_t i=0; i<m_ways; i++){ 296 if(!m_dir_tab[set][ way].valid){296 if(!m_dir_tab[set][i].valid){ 297 297 way=i; 298 298 return DirectoryEntry(m_dir_tab[set][way]); -
trunk/modules/vci_mem_cache_v4/caba/source/include/mem_cache_directory_v4.h
r2 r31 289 289 290 290 for(size_t i=0; i<m_ways; i++){ 291 if(!m_dir_tab[set][ way].valid){291 if(!m_dir_tab[set][i].valid){ 292 292 way=i; 293 293 return DirectoryEntry(m_dir_tab[set][way]);
Note: See TracChangeset
for help on using the changeset viewer.