Changeset 788


Ignore:
Timestamp:
Sep 3, 2014, 10:56:02 AM (7 years ago)
Author:
meunier
Message:

MESI Branch:

  • Frozen cycle correction (Hao)
Location:
branches/MESI/modules/vci_mem_cache/caba/source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/MESI/modules/vci_mem_cache/caba/source/include/vci_mem_cache.h

    r785 r788  
    542542      void reset_counters();
    543543      void print_stats(bool activity_counters, bool stats);
    544       void print_trace( size_t detailled = 0 );
     544      void print_trace(size_t detailled = 0);
    545545      void cache_monitor(addr_t addr);
    546546      void start_monitor(addr_t addr, addr_t length);
  • branches/MESI/modules/vci_mem_cache/caba/source/src/vci_mem_cache.cpp

    r785 r788  
    891891
    892892    /////////////////////////////////////////
    893     tmpl(void)::print_stats(bool activity_counters)
     893    tmpl(void)::print_stats(bool activity_counters, bool stats)
     894    /////////////////////////////////////////
     895    // @param stats is unused at the moment
    894896    {
    895897        std::cout << "**********************************" << std::dec << std::endl;
     
    76837685            case CC_SEND_CONFIG_IDLE:    // XRAM_RSP FSM has highest priority
    76847686                {
    7685                     bool cc_send_updt_delay = not r_read_to_cc_send_type.read() and r_tgt_rsp_fsm.read() == TGT_RSP_CLEANUP and
     7687                    bool cc_send_updt_delay = r_tgt_rsp_fsm.read() == TGT_RSP_CLEANUP and
    76867688                                              r_read_to_cc_send_nline.read() == r_cleanup_to_tgt_rsp_nline.read() and
    76877689                                              m_read_to_cc_send_srcid_fifo.read() == r_cleanup_to_tgt_rsp_srcid.read();
     
    77527754            case CC_SEND_WRITE_IDLE:     // CONFIG FSM has highest priority
    77537755                {
    7754                     bool cc_send_updt_delay = not r_read_to_cc_send_type.read() and r_tgt_rsp_fsm.read() == TGT_RSP_CLEANUP and
     7756                    bool cc_send_updt_delay = r_tgt_rsp_fsm.read() == TGT_RSP_CLEANUP and
    77557757                                              r_read_to_cc_send_nline.read() == r_cleanup_to_tgt_rsp_nline.read() and
    77567758                                              m_read_to_cc_send_srcid_fifo.read() == r_cleanup_to_tgt_rsp_srcid.read();
     
    78197821            case CC_SEND_XRAM_RSP_IDLE:   // CAS FSM has highest priority
    78207822                {
    7821                     bool cc_send_updt_delay = not r_read_to_cc_send_type.read() and r_tgt_rsp_fsm.read() == TGT_RSP_CLEANUP and
     7823                    bool cc_send_updt_delay = r_tgt_rsp_fsm.read() == TGT_RSP_CLEANUP and
    78227824                                              r_read_to_cc_send_nline.read() == r_cleanup_to_tgt_rsp_nline.read() and
    78237825                                              m_read_to_cc_send_srcid_fifo.read() == r_cleanup_to_tgt_rsp_srcid.read();
     
    78867888            case CC_SEND_CAS_IDLE:   // CLEANUP FSM has highest priority
    78877889                {
    7888                     bool cc_send_updt_delay = not r_read_to_cc_send_type.read() and r_tgt_rsp_fsm.read() == TGT_RSP_CLEANUP and
     7890                    bool cc_send_updt_delay = r_tgt_rsp_fsm.read() == TGT_RSP_CLEANUP and
    78897891                                              r_read_to_cc_send_nline.read() == r_cleanup_to_tgt_rsp_nline.read() and
    78907892                                              m_read_to_cc_send_srcid_fifo.read() == r_cleanup_to_tgt_rsp_srcid.read();
     
    79537955            case CC_SEND_READ_IDLE:    // WRITE FSM has highest priority 
    79547956                {
    7955                     bool cc_send_updt_delay = not r_read_to_cc_send_type.read() and r_tgt_rsp_fsm.read() == TGT_RSP_CLEANUP and
     7957                    bool cc_send_updt_delay = r_tgt_rsp_fsm.read() == TGT_RSP_CLEANUP and
    79567958                                              r_read_to_cc_send_nline.read() == r_cleanup_to_tgt_rsp_nline.read() and
    79577959                                              m_read_to_cc_send_srcid_fifo.read() == r_cleanup_to_tgt_rsp_srcid.read();
Note: See TracChangeset for help on using the changeset viewer.