Changeset 101 for trunk/IPs/systemC/Environment/Cache/src
- Timestamp:
- Jan 15, 2009, 6:19:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/Environment/Cache/src/Cache_OneLevel_access.cpp
r81 r101 20 20 // << " * direction : " << dir << std::endl; 21 21 22 // no difference with the simple read cached (have no add a prefetch cache) 22 23 switch (type) 23 24 { 24 case UNCACHED : return access_uncached (num_port,address,trdid ); break; 25 case INVALIDATE : return access_invalidate (num_port,address,trdid ); break; 26 case FLUSH : return access_flush (num_port,address,trdid ); break; 27 case PREFETCH : // no difference with the simple read cached (have no add a prefetch cache) 28 case CACHED : return access_cached (num_port,address,trdid,dir); break; 29 default : std::cout << "<Cache_Onelevel.access> unknow type : " << std::endl; exit(1); break; 25 case UNCACHED : return access_uncached (num_port,address,trdid ); break; 26 case INVALIDATE : return access_invalidate (num_port,address,trdid ); break; 27 case FLUSH : return access_flush (num_port,address,trdid ); break; 28 case PREFETCH : return access_prefetch (num_port,address,trdid ); break; 29 case LOCK : return access_lock (num_port,address,trdid ); break; 30 case SYNCHRONIZATION : return access_synchronization (num_port,address,trdid ); break; 31 case CACHED : return access_cached (num_port,address,trdid,dir); break; 32 default : std::cout << "<Cache_Onelevel.access> unknow type : " << std::endl; exit(1); break; 30 33 } 31 34 }
Note: See TracChangeset
for help on using the changeset viewer.