Changeset 225 for trunk


Ignore:
Timestamp:
Mar 30, 2012, 4:04:51 PM (13 years ago)
Author:
bouyer
Message:

Normalize trace: address and data in hex, the rest (way/set/trdid/etc) in dec.

File:
1 edited

Legend:

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

    r221 r225  
    1 /* -*- c++ -*-C
     1/* i*- c++ -*-C
    22 * File : vci_cc_vcache_wrapper_v4.cpp
    33 * Copyright (c) UPMC, Lip6, SoC
     
    495495                  << " dcache change at cycle " << std::dec << m_cpt_total_cycles
    496496                  << " for adresse " << std::hex << addr
    497                   << " / HIT = " << cache_hit << std::endl;
     497                  << " / HIT = " << std::dec << cache_hit << std::endl;
    498498        m_debug_previous_hit = cache_hit;
    499499    }
     
    36123612if ( m_debug_dcache_fsm )
    36133613{
    3614     std::cout << "  <PROC.DCACHE_MISS_VICTIM> Select a slot:"
     3614    std::cout << "  <PROC.DCACHE_MISS_VICTIM> Select a slot:" << std::dec
    36153615              << " / way = "   << way
    36163616              << " / set = "   << set
     
    36393639if ( m_debug_dcache_fsm )
    36403640{
    3641     std::cout << "  <PROC.DCACHE_MISS_INVAL> inval line:"
     3641    std::cout << "  <PROC.DCACHE_MISS_INVAL> inval line:" << std::dec
    36423642              << " / way = "   << way
    36433643              << " / set = "   << set
     
    38293829    {
    38303830        std::cout << "  <PROC.DCACHE_MISS_UPDT> Write one word:"
    3831                   << " address = " << r_dcache_vci_paddr.read()
     3831                  << " address = " << std::hex << r_dcache_vci_paddr.read()
    38323832                  << " / data = "  << r_vci_rsp_fifo_dcache.read()
    3833                   << " / way = "   << r_dcache_miss_way.read()
     3833                  << " / way = "   << std::dec << r_dcache_miss_way.read()
    38343834                  << " / set = "   << r_dcache_miss_set.read()
    38353835                  << " / word = "  << r_dcache_miss_word.read() << std::endl;
     
    47254725    std::cout << "  <PROC.CLEANUP_DATA_GO> Cleanup request for icache:" << std::hex
    47264726              << " address = " << (r_dcache_cleanup_line.read()*m_dcache_words*4)
    4727               << " / trdid = " << r_cleanup_trdid.read() << std::endl;
     4727              << " / trdid = " << std::dec << r_cleanup_trdid.read() << std::endl;
    47284728}
    47294729#endif
     
    47444744    std::cout << "  <PROC.CLEANUP_INS_GO> Cleanup request for dcache:" << std::hex
    47454745              << " address = " << (r_icache_cleanup_line.read()*m_icache_words*4)
    4746               << " / trdid = " << r_cleanup_trdid.read() << std::endl;
     4746              << " / trdid = " << std::dec << r_cleanup_trdid.read() << std::endl;
    47474747}
    47484748#endif
Note: See TracChangeset for help on using the changeset viewer.