Changeset 88 for trunk/IPs/systemC/Environment/selftest
- Timestamp:
- Dec 10, 2008, 7:31:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/Environment/selftest/main.cpp
r81 r88 4 4 using namespace std; 5 5 using namespace environment; 6 using namespace morpheo; 6 7 7 8 #define _TEST_IMEMORY_ true … … 206 207 dcache_miss_penality, 207 208 1 , 208 // 209 // cache_shared_nb_port , 209 210 cache_shared_nb_line , 210 211 cache_shared_size_line , … … 218 219 nb_tty, 219 220 name_tty, 220 false, 221 false, // don't execute xtty 221 222 222 223 nb_component_ramlock, … … 458 459 ICACHE_REQ_VAL [i][j]->write((addr < addr_max) and ((rand()%100)<percent_transaction_icache_req)); 459 460 ICACHE_REQ_CONTEXT_ID [i][j]->write(0); 460 ICACHE_REQ_ADDRESS [i][j]->write(addr );461 ICACHE_REQ_ADDRESS [i][j]->write(addr>>2); 461 462 ICACHE_REQ_PACKET_ID [i][j]->write(addr>>2); 462 463 ICACHE_REQ_TYPE [i][j]->write(ICACHE_TYPE_LOAD); … … 535 536 ICACHE_REQ_VAL [0][0]->write(1); 536 537 ICACHE_REQ_CONTEXT_ID [0][0]->write(0); 537 ICACHE_REQ_ADDRESS [0][0]->write(0xe0000000 );538 ICACHE_REQ_ADDRESS [0][0]->write(0xe0000000>>2); 538 539 ICACHE_REQ_PACKET_ID [0][0]->write(21); 539 540 ICACHE_REQ_TYPE [0][0]->write(ICACHE_TYPE_LOAD); … … 561 562 ICACHE_REQ_VAL [0][0]->write(1); 562 563 ICACHE_REQ_CONTEXT_ID [0][0]->write(0); 563 ICACHE_REQ_ADDRESS [0][0]->write(0xa0000000 );564 ICACHE_REQ_ADDRESS [0][0]->write(0xa0000000>>2); 564 565 ICACHE_REQ_PACKET_ID [0][0]->write(21); 565 566 ICACHE_REQ_TYPE [0][0]->write(ICACHE_TYPE_LOAD);
Note: See TracChangeset
for help on using the changeset viewer.