Changeset 971 for trunk/modules
- Timestamp:
- Apr 6, 2015, 4:45:23 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_block_device_tsar/caba/source/src/vci_block_device_tsar.cpp
r898 r971 294 294 } 295 295 296 //////////////////////////////////////////////////////////////////////////////////////// 297 //std::cout << "***** Block content after read for lba " 298 // << std::hex << r_lba.read() << " **************" << std::endl; 299 //for ( size_t line=0 ; line<16 ; line++ ) 300 //{ 301 // for ( size_t word=0 ; word<8 ; word++ ) 302 // { 303 // std::cout << std::hex << r_local_buffer[line*8 + word] << " "; 304 // } 305 // std::cout << std::endl; 306 //} 307 //std::cout << "**********************************************************" << std::endl; 308 //////////////////////////////////////////////////////////////////////////////////////// 309 296 /* 297 if ( r_lba.read() == 0 ) 298 { 299 std::cout << "***** Block content after read for lba " 300 << std::hex << r_lba.read() << " **************" << std::endl; 301 for ( size_t line=0 ; line<16 ; line++ ) 302 { 303 for ( size_t word=0 ; word<8 ; word++ ) 304 { 305 std::cout << std::hex << r_local_buffer[line*8 + word] << " "; 306 } 307 std::cout << std::endl; 308 } 309 std::cout << "**********************************************************" 310 << std::endl; 311 } 312 */ 310 313 } 311 314 else … … 316 319 } 317 320 ////////////////// 318 case M_READ_BURST: // Compute the number of words and thenumber of flits in the burst321 case M_READ_BURST: // Compute number of words and number of flits in the burst 319 322 // The number of flits can be smaller than the number of words 320 323 // in case of 8 bytes flits... … … 508 511 { 509 512 510 //////////////////////////////////////////////////////////////////////////////////////// 511 //std::cout << "***** Block content before write for lba " 512 // << std::hex << r_lba.read() << " ***********" << std::endl; 513 //for ( size_t line=0 ; line<16 ; line++ ) 514 //{ 515 // for ( size_t word=0 ; word<8 ; word++ ) 516 // { 517 // std::cout << std::hex << r_local_buffer[line*8 + word] << " "; 518 // } 519 // std::cout << std::endl; 520 //} 521 //std::cout << "**********************************************************" << std::endl; 522 //////////////////////////////////////////////////////////////////////////////////////// 513 /* 514 std::cout << "***** Block content before write for lba " 515 << std::hex << r_lba.read() << " ***********" << std::endl; 516 for ( size_t line=0 ; line<16 ; line++ ) 517 { 518 for ( size_t word=0 ; word<8 ; word++ ) 519 { 520 std::cout << std::hex << r_local_buffer[line*8 + word] << " "; 521 } 522 std::cout << std::endl; 523 } 524 std::cout << "**********************************************************" 525 << std::endl; 526 */ 523 527 524 528 r_latency_count = m_latency;
Note: See TracChangeset
for help on using the changeset viewer.