Changeset 971 for trunk/modules


Ignore:
Timestamp:
Apr 6, 2015, 4:45:23 PM (10 years ago)
Author:
alain
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/vci_block_device_tsar/caba/source/src/vci_block_device_tsar.cpp

    r898 r971  
    294294            }
    295295
    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/*
     297if ( 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*/
    310313        }
    311314        else
     
    316319    }
    317320    //////////////////
    318     case M_READ_BURST:  // Compute the number of words and the number of flits in the burst
     321    case M_READ_BURST:  // Compute number of words and number of flits in the burst
    319322                        // The number of flits can be smaller than the number of words
    320323                        // in case of 8 bytes flits...
     
    508511        {
    509512
    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/*
     514std::cout << "***** Block content before write for lba "
     515          << std::hex << r_lba.read() << " ***********" << std::endl;
     516for ( 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}
     524std::cout << "**********************************************************"
     525          << std::endl;
     526*/
    523527
    524528            r_latency_count = m_latency;
Note: See TracChangeset for help on using the changeset viewer.