Ignore:
Timestamp:
Jul 18, 2013, 10:49:36 AM (11 years ago)
Author:
cfuguet
Message:

Bugfix in vci_mem_cache:

  • Adding missing "strings" for print_trace() function
  • Adding alloc_ivt fsm (Invalidate Table) in the

print_trace() function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/v5/modules/vci_mem_cache/caba/source/src/vci_mem_cache.cpp

    r442 r445  
    266266{
    267267  "ALLOC_DIR_RESET",
     268  "ALLOC_DIR_CONFIG",
    268269  "ALLOC_DIR_READ",
    269270  "ALLOC_DIR_WRITE",
     
    283284{
    284285  "ALLOC_UPT_WRITE",
    285   "ALLOC_UPT_XRAM_RSP",
    286   "ALLOC_UPT_MULTI_ACK",
    287   "ALLOC_UPT_CLEANUP",
    288   "ALLOC_UPT_CAS"
     286  "ALLOC_UPT_CAS",
     287  "ALLOC_UPT_MULTI_ACK"
     288};
     289const char *alloc_ivt_fsm_str[] =
     290{
     291  "ALLOC_IVT_WRITE",
     292  "ALLOC_IVT_XRAM_RSP",
     293  "ALLOC_IVT_CLEANUP",
     294  "ALLOC_IVT_CAS",
     295  "ALLOC_IVT_CONFIG"
    289296};
    290297const char *alloc_heap_fsm_str[] =
     
    601608            << " | " << ixr_cmd_fsm_str[r_ixr_cmd_fsm.read()]
    602609            << " | " << ixr_rsp_fsm_str[r_ixr_rsp_fsm.read()]
    603             << " | " << xram_rsp_fsm_str[r_xram_rsp_fsm] << std::endl;
     610            << " | " << xram_rsp_fsm_str[r_xram_rsp_fsm.read()] << std::endl;
    604611  std::cout << "  "  << alloc_dir_fsm_str[r_alloc_dir_fsm.read()]
    605612            << " | " << alloc_trt_fsm_str[r_alloc_trt_fsm.read()]
    606613            << " | " << alloc_upt_fsm_str[r_alloc_upt_fsm.read()]
     614            << " | " << alloc_ivt_fsm_str[r_alloc_ivt_fsm.read()]
    607615            << " | " << alloc_heap_fsm_str[r_alloc_heap_fsm.read()] << std::endl;
    608616}
     
    50005008std::cout << "  <MEMC " << name()
    50015009          << " CLEANUP_SEND_CLACK> Send the response to a cleanup request:"
    5002           << " srcid = " << std::dec << r_cleanup_srcid.read() << std::endl;
     5010          << " nline = "   << std::hex << r_cleanup_nline.read()
     5011          << " / way = "   << std::dec << r_cleanup_way.read()
     5012          << " / srcid = " << std::dec << r_cleanup_srcid.read()
     5013          << std::endl;
    50035014#endif
    50045015      break;
     
    61736184if(m_debug)
    61746185std::cout << "  <MEMC " << name()
    6175           << " CC_SEND_XRAM_RSP_INVAL_NLINE> BC-Inval for line "
     6186          << " CC_SEND_XRAM_RSP_INVAL_NLINE> Multicast-Inval for line "
    61766187          << std::hex << r_xram_rsp_to_cc_send_nline.read() << std::endl;
    61776188#endif
Note: See TracChangeset for help on using the changeset viewer.