Changeset 81 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/SelfTest/include/Memory.h
- Timestamp:
- Apr 15, 2008, 8:40:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/SelfTest/include/Memory.h
-
Property
svn:keywords
set to
Id
r75 r81 79 79 morpheo::behavioural::Tdcache_data_t rdata; 80 80 81 if (type == DCACHE_TYPE_LOAD) 81 if ((type == DCACHE_TYPE_LOAD_8 ) or 82 (type == DCACHE_TYPE_LOAD_16) or 83 (type == DCACHE_TYPE_LOAD_32) or 84 (type == DCACHE_TYPE_LOAD_64) ) 82 85 rdata = read (context, address, type); 83 86 else … … 265 268 switch(i->_type) 266 269 { 267 case DCACHE_TYPE_LOAD : std::cout << "DCACHE_TYPE_LOAD "; break;268 270 case DCACHE_TYPE_LOCK : std::cout << "DCACHE_TYPE_LOCK "; break; 269 271 case DCACHE_TYPE_INVALIDATE : std::cout << "DCACHE_TYPE_INVALIDATE "; break; … … 271 273 case DCACHE_TYPE_FLUSH : std::cout << "DCACHE_TYPE_FLUSH "; break; 272 274 case DCACHE_TYPE_SYNCHRONIZATION : std::cout << "DCACHE_TYPE_SYNCHRONIZATION"; break; 275 case DCACHE_TYPE_LOAD_8 : std::cout << "DCACHE_TYPE_LOAD_8 "; break; 276 case DCACHE_TYPE_LOAD_16 : std::cout << "DCACHE_TYPE_LOAD_16 "; break; 277 case DCACHE_TYPE_LOAD_32 : std::cout << "DCACHE_TYPE_LOAD_32 "; break; 278 case DCACHE_TYPE_LOAD_64 : std::cout << "DCACHE_TYPE_LOAD_64 "; break; 273 279 case DCACHE_TYPE_STORE_8 : std::cout << "DCACHE_TYPE_STORE_8 "; break; 274 280 case DCACHE_TYPE_STORE_16 : std::cout << "DCACHE_TYPE_STORE_16 "; break; … … 302 308 memory -> access (2, 0x1b, DCACHE_TYPE_STORE_8 , 0x19811221); 303 309 304 TEST(morpheo::behavioural::Tdcache_data_t, memory -> access (2, 0x10, DCACHE_TYPE_LOAD, 0), 0xdeadbeef); 305 TEST(morpheo::behavioural::Tdcache_data_t, memory -> access (2, 0x14, DCACHE_TYPE_LOAD, 0), 0x12345678); 306 TEST(morpheo::behavioural::Tdcache_data_t, memory -> access (2, 0x18, DCACHE_TYPE_LOAD, 0), 0x21071981); 310 TEST(morpheo::behavioural::Tdcache_data_t, memory -> access (2, 0x10, DCACHE_TYPE_LOAD_32, 0), 0xdeadbeef); 311 TEST(morpheo::behavioural::Tdcache_data_t, memory -> access (2, 0x14, DCACHE_TYPE_LOAD_32, 0), 0x12345678); 312 TEST(morpheo::behavioural::Tdcache_data_t, memory -> access (2, 0x18, DCACHE_TYPE_LOAD_32, 0), 0x21071981); 313 314 TEST(morpheo::behavioural::Tdcache_data_t, memory -> access (2, 0x10, DCACHE_TYPE_LOAD_32, 0), 0xdeadbeef); 315 TEST(morpheo::behavioural::Tdcache_data_t, memory -> access (2, 0x10, DCACHE_TYPE_LOAD_16, 0), 0xbeef); 316 TEST(morpheo::behavioural::Tdcache_data_t, memory -> access (2, 0x12, DCACHE_TYPE_LOAD_16, 0), 0xdead); 317 TEST(morpheo::behavioural::Tdcache_data_t, memory -> access (2, 0x10, DCACHE_TYPE_LOAD_8 , 0), 0xef); 318 TEST(morpheo::behavioural::Tdcache_data_t, memory -> access (2, 0x11, DCACHE_TYPE_LOAD_8 , 0), 0xbe); 319 TEST(morpheo::behavioural::Tdcache_data_t, memory -> access (2, 0x12, DCACHE_TYPE_LOAD_8 , 0), 0xad); 320 TEST(morpheo::behavioural::Tdcache_data_t, memory -> access (2, 0x13, DCACHE_TYPE_LOAD_8 , 0), 0xde); 307 321 308 322 TEST(morpheo::behavioural::Tdcache_data_t, memory -> read_lsq (2, 0x10, OPERATION_MEMORY_LOAD_8_Z ), 0x000000ef); -
Property
svn:keywords
set to
Note: See TracChangeset
for help on using the changeset viewer.